1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-29 17:30:11 +02:00

add closed param

This commit is contained in:
Justin Lin
2020-02-28 15:17:59 +08:00
parent 0ce3688981
commit fbbc0f0796
2 changed files with 6 additions and 5 deletions

View File

@@ -46,5 +46,5 @@ module hollow_out_torus_knot(shape, p, q, phi_step, thickness, line_style) {
pts = torus_knot(p, q, phi_step);
sects = sects_by_path(shape, pts);
hollow_out_sweep(concat(sects, [sects[0]]), thickness, line_style);
hollow_out_sweep(sects, thickness, closed = true, style = line_style);
}