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

use ptf_rotate

This commit is contained in:
Justin Lin
2020-03-24 17:21:17 +08:00
parent ec0c1fa9ae
commit 55c9493fca
9 changed files with 119 additions and 15 deletions

View File

@@ -1,6 +1,6 @@
use <hull_polyline3d.scad>;
use <bezier_curve.scad>;
use <rotate_p.scad>;
use <ptf/ptf_rotate.scad>;
use <paths2sections.scad>;
use <experimental/hollow_out_sweep.scad>;
use <experimental/tri_bisectors.scad>;
@@ -28,7 +28,7 @@ module hollow_out_vase(ctrl_pts, t_step, width, fn, line_style) {
a_step = 360 / fn;
sects = paths2sections([
for(a = [0:a_step:360 - a_step])
[for(p = bezier) rotate_p(p, [0, 0, a])]
[for(p = bezier) ptf_rotate(p, [0, 0, a])]
]);
// body