1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-07 07:16:36 +02:00

update doc

This commit is contained in:
Justin Lin
2021-06-30 17:57:05 +08:00
parent ef9ec57cdc
commit 701bbb47e9

View File

@@ -40,12 +40,12 @@ It thickens a surface with triangular mesh.
use <surface/sf_thickenT.scad>; use <surface/sf_thickenT.scad>;
u_step = 10; u_step = 10;
r_step = 0.2; v_step = 0.2;
thickness = .2; thickness = .2;
points = [ points = [
for(u = [0:u_step:360]) for(u = [0:u_step:360])
for(v = [-1:r_step:1]) for(v = [-1:v_step:1])
let( let(
x = (1 + v / 2 * cos(u / 2)) * cos(u), x = (1 + v / 2 * cos(u / 2)) * cos(u),
y = (1 + v / 2 * cos(u / 2)) * sin(u), y = (1 + v / 2 * cos(u / 2)) * sin(u),
@@ -56,7 +56,7 @@ It thickens a surface with triangular mesh.
triangles = tri_delaunay([ triangles = tri_delaunay([
for(u = [0:u_step:360]) for(u = [0:u_step:360])
for(v = [-1:r_step:1]) for(v = [-1:v_step:1])
[v, u] [v, u]
]); ]);