mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-24 07:13:34 +02:00
use rails2sections
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
use <ellipse_extrude.scad>;
|
||||
use <curve.scad>;
|
||||
use <sweep.scad>;
|
||||
use <paths2sections.scad>;
|
||||
use <rails2sections.scad>;
|
||||
use <shape_trapezium.scad>;
|
||||
use <ptf/ptf_rotate.scad>;
|
||||
|
||||
@@ -52,7 +52,7 @@ module dragon_head() {
|
||||
|
||||
translate([0, 0, -2])
|
||||
rotate([90, 0, -90])
|
||||
sweep(paths2sections([path1, path2, path3, path4, path5]));
|
||||
sweep(rails2sections([path1, path2, path3, path4, path5]));
|
||||
|
||||
translate([0, 0, -3.25])
|
||||
rotate([90, 0, -90])
|
||||
|
@@ -1,7 +1,7 @@
|
||||
use <hull_polyline3d.scad>;
|
||||
use <bezier_curve.scad>;
|
||||
use <ptf/ptf_rotate.scad>;
|
||||
use <paths2sections.scad>;
|
||||
use <rails2sections.scad>;
|
||||
use <experimental/hollow_out_sweep.scad>;
|
||||
use <experimental/tri_bisectors.scad>;
|
||||
|
||||
@@ -26,7 +26,7 @@ module hollow_out_vase(ctrl_pts, t_step, line_diameter, fn, line_style) {
|
||||
fpt = ctrl_pts[len(ctrl_pts) - 1];
|
||||
|
||||
a_step = 360 / fn;
|
||||
sects = paths2sections([
|
||||
sects = rails2sections([
|
||||
for(a = [0:a_step:360 - a_step])
|
||||
[for(p = bezier) ptf_rotate(p, [0, 0, a])]
|
||||
]);
|
||||
|
Reference in New Issue
Block a user