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

change param name

This commit is contained in:
Justin Lin
2021-02-18 10:45:44 +08:00
parent d3385b1c2c
commit cb1ffdfac4
19 changed files with 97 additions and 98 deletions

View File

@@ -3,7 +3,7 @@ use <hull_polyline3d.scad>;
use <util/dedup.scad>;
use <turtle/lsystem3.scad>;
thickness = 0.3;
diameter = 0.3;
corner_r = 0.5;
lines = hilbert_curve();
@@ -14,7 +14,7 @@ hilbert_path = dedup(
);
smoothed_hilbert_path = bezier_smooth(hilbert_path, corner_r);
hull_polyline3d(smoothed_hilbert_path, thickness = thickness);
hull_polyline3d(smoothed_hilbert_path, diameter = diameter);
function hilbert_curve() =
let(

View File

@@ -1,6 +1,5 @@
use <shear.scad>;
use <along_with.scad>;
use <hull_polyline3d.scad>;
use <bezier_smooth.scad>;
use <ellipse_extrude.scad>;
use <shape_trapezium.scad>;

View File

@@ -4,7 +4,7 @@ use <hull_polyline3d.scad>;
for(line = hilbert_curve()) {
hull_polyline3d(
[line[0], line[1]],
thickness = 0.5,
diameter = 0.5,
$fn = 4
);
}