mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-21 14:04:53 +02:00
add comment
This commit is contained in:
@@ -137,3 +137,28 @@ thickness = 5;
|
||||
|
||||
sf_thickenT(pts, thickness);
|
||||
*/
|
||||
|
||||
/*
|
||||
use <surface/sf_thickenT.scad>;
|
||||
|
||||
radius = 100;
|
||||
width = 2;
|
||||
thickness = .2;
|
||||
|
||||
a_step = 10;
|
||||
r_step = 0.2;
|
||||
|
||||
function f(x, y) = (pow(y,2)/pow(2, 2))-(pow(x,2)/pow(2, 2));
|
||||
|
||||
points = [
|
||||
for(a = [a_step:a_step:360])
|
||||
for(r = [r_step:r_step:2])
|
||||
let(
|
||||
x = round(r * cos(a) * 100) / 100,
|
||||
y = round(r * sin(a) * 100) / 100
|
||||
)
|
||||
[x, y, f(x, y)]
|
||||
];
|
||||
|
||||
sf_thickenT(points, thickness, direction = [0, 0, 1]);
|
||||
*/
|
Reference in New Issue
Block a user