mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-01 04:20:27 +02:00
refactor
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use <util/rand.scad>;
|
||||
use <line3d.scad>;
|
||||
use <hull_polyline3d.scad>;
|
||||
use <polyline_join.scad>;
|
||||
use <experimental/tri_bisectors.scad>;
|
||||
|
||||
// style: LINES or HULL_LINES
|
||||
@@ -49,7 +49,8 @@ module hollow_out_sweep(sections, diameter, closed = false, style = "LINES") {
|
||||
}
|
||||
else if(style == "HULL_LINES") {
|
||||
for(line = lines) {
|
||||
hull_polyline3d(line, diameter = diameter);
|
||||
polyline_join(line)
|
||||
sphere(d = diameter);
|
||||
}
|
||||
}
|
||||
}
|
@@ -9,7 +9,7 @@
|
||||
**/
|
||||
|
||||
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;
|
||||
leng = len(points);
|
||||
|
Reference in New Issue
Block a user