mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-20 05:21:38 +02:00
add filled_thicnkess param
This commit is contained in:
@@ -11,8 +11,9 @@ p = 2;
|
|||||||
q = 3;
|
q = 3;
|
||||||
phi_step = 0.05;
|
phi_step = 0.05;
|
||||||
rows = 6;
|
rows = 6;
|
||||||
wall_thickness = 1;
|
wall_thickness = 1.25;
|
||||||
filled = true;
|
filled = true;
|
||||||
|
filled_thicnkess = wall_thickness * .25;
|
||||||
|
|
||||||
torus_knot_maze();
|
torus_knot_maze();
|
||||||
|
|
||||||
@@ -64,7 +65,7 @@ module torus_knot_maze() {
|
|||||||
|
|
||||||
if(filled) {
|
if(filled) {
|
||||||
path_extrude(
|
path_extrude(
|
||||||
shape_square(size = [rows, wall_thickness * .05]),
|
shape_square(size = [rows, filled_thicnkess]),
|
||||||
path,
|
path,
|
||||||
closed = true,
|
closed = true,
|
||||||
method = "EULER_ANGLE"
|
method = "EULER_ANGLE"
|
||||||
|
Reference in New Issue
Block a user