1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-21 14:04:53 +02:00

add comment

This commit is contained in:
Justin Lin
2021-06-27 10:52:30 +08:00
parent 67f3b36613
commit 9490f960d6

View File

@@ -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]);
*/