mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-03 13:27:29 +02:00
update doc
This commit is contained in:
@@ -11,12 +11,12 @@ It thickens a surface with triangular mesh.
|
|||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
|
use <triangle/tri_delaunay.scad>;
|
||||||
use <surface/sf_thickenT.scad>;
|
use <surface/sf_thickenT.scad>;
|
||||||
|
|
||||||
radius = 100;
|
|
||||||
thickness = .2;
|
thickness = .2;
|
||||||
|
|
||||||
a_step = 10;
|
a_step = 15;
|
||||||
r_step = 0.2;
|
r_step = 0.2;
|
||||||
|
|
||||||
function f(x, y) = (y^2 - x^2) / 4;
|
function f(x, y) = (y^2 - x^2) / 4;
|
||||||
@@ -24,8 +24,8 @@ It thickens a surface with triangular mesh.
|
|||||||
points = [
|
points = [
|
||||||
for(a = [a_step:a_step:360], r = [r_step:r_step:2])
|
for(a = [a_step:a_step:360], r = [r_step:r_step:2])
|
||||||
let(
|
let(
|
||||||
x = round(r * cos(a) * 100) / 100,
|
x = r * cos(a),
|
||||||
y = round(r * sin(a) * 100) / 100
|
y = r * sin(a)
|
||||||
)
|
)
|
||||||
[x, y, f(x, y)]
|
[x, y, f(x, y)]
|
||||||
];
|
];
|
||||||
|
Reference in New Issue
Block a user