mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-13 18:24:28 +02:00
use sweep
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
use <polysections.scad>;
|
use <sweep.scad>;
|
||||||
use <util/reverse.scad>;
|
use <util/reverse.scad>;
|
||||||
|
|
||||||
thickness = 0.05;
|
thickness = 0.05;
|
||||||
@@ -53,5 +53,5 @@ module rose() {
|
|||||||
)
|
)
|
||||||
];
|
];
|
||||||
|
|
||||||
polysections(sections);
|
sweep(sections);
|
||||||
}
|
}
|
@@ -1,6 +1,6 @@
|
|||||||
use <shape_circle.scad>;
|
use <shape_circle.scad>;
|
||||||
use <ptf/ptf_rotate.scad>;
|
use <ptf/ptf_rotate.scad>;
|
||||||
use <polysections.scad>;
|
use <sweep.scad>;
|
||||||
|
|
||||||
r1 = 0.1;
|
r1 = 0.1;
|
||||||
r2 = 50;
|
r2 = 50;
|
||||||
@@ -29,7 +29,7 @@ module simple_seashell(r1, r2, a1, a2, steps) {
|
|||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
rotate([90, 0, 0]) polysections(sections, "HOLLOW");
|
rotate([90, 0, 0]) sweep(sections, "HOLLOW");
|
||||||
}
|
}
|
||||||
|
|
||||||
simple_seashell(r1, r2, a1, a2, steps);
|
simple_seashell(r1, r2, a1, a2, steps);
|
@@ -1,7 +1,7 @@
|
|||||||
use <trim_shape.scad>;
|
use <trim_shape.scad>;
|
||||||
use <bezier_curve.scad>;
|
use <bezier_curve.scad>;
|
||||||
use <path_scaling_sections.scad>;
|
use <path_scaling_sections.scad>;
|
||||||
use <polysections.scad>;
|
use <sweep.scad>;
|
||||||
use <ptf/ptf_rotate.scad>;
|
use <ptf/ptf_rotate.scad>;
|
||||||
use <bijection_offset.scad>;
|
use <bijection_offset.scad>;
|
||||||
use <shape_superformula.scad>;
|
use <shape_superformula.scad>;
|
||||||
@@ -59,8 +59,8 @@ module superformula_vase(phi_step, m, n, n3, d, r1, r2, h1, h2, t_step, twist) {
|
|||||||
outer_sections = cal_sections(superformula2, edge_path2, twist);
|
outer_sections = cal_sections(superformula2, edge_path2, twist);
|
||||||
|
|
||||||
difference() {
|
difference() {
|
||||||
polysections(outer_sections);
|
sweep(outer_sections);
|
||||||
polysections(sections);
|
sweep(sections);
|
||||||
}
|
}
|
||||||
|
|
||||||
linear_extrude(d)
|
linear_extrude(d)
|
||||||
|
Reference in New Issue
Block a user