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:
@@ -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(
|
||||
|
@@ -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>;
|
||||
|
@@ -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
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user