1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-09-01 02:33:00 +02:00

use m_transpose

This commit is contained in:
Justin Lin
2022-03-30 21:29:40 +08:00
parent a65a8e60cb
commit 0af33f4008
4 changed files with 10 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
use <polyline_join.scad>;
use <bezier_curve.scad>;
use <ptf/ptf_rotate.scad>;
use <rails2sections.scad>;
use <matrix/m_transpose.scad>;
use <experimental/hollow_out_sweep.scad>;
use <experimental/tri_bisectors.scad>;
@@ -27,7 +27,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 = rails2sections([
sects = m_transpose([
for(a = [0:a_step:360 - a_step])
[for(p = bezier) ptf_rotate(p, [0, 0, a])]
]);