1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-13 18:24:28 +02:00
This commit is contained in:
Justin Lin
2022-02-28 11:07:35 +08:00
parent 8f76446bd8
commit 9a143a9f72
2 changed files with 4 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
use <util/rand.scad>; use <util/rand.scad>;
use <line3d.scad>; use <line3d.scad>;
use <hull_polyline3d.scad>; use <polyline_join.scad>;
use <experimental/tri_bisectors.scad>; use <experimental/tri_bisectors.scad>;
// style: LINES or HULL_LINES // style: LINES or HULL_LINES
@@ -49,7 +49,8 @@ module hollow_out_sweep(sections, diameter, closed = false, style = "LINES") {
} }
else if(style == "HULL_LINES") { else if(style == "HULL_LINES") {
for(line = lines) { for(line = lines) {
hull_polyline3d(line, diameter = diameter); polyline_join(line)
sphere(d = diameter);
} }
} }
} }

View File

@@ -9,7 +9,7 @@
**/ **/
module hull_polyline3d(points, diameter = 1) { module hull_polyline3d(points, diameter = 1) {
echo("`hull_polyline2d` is deprecated since 3.2. Use `polyline_join` instead."); echo("`hull_polyline3d` is deprecated since 3.2. Use `polyline_join` instead.");
radius = diameter / 2; radius = diameter / 2;
leng = len(points); leng = len(points);