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

use path_scaling_sections

This commit is contained in:
Justin Lin
2021-11-14 18:36:23 +08:00
parent 2600504dd5
commit 884892a3f1
6 changed files with 8 additions and 41 deletions

View File

@@ -1,7 +1,7 @@
use <trim_shape.scad>;
use <bezier_curve.scad>;
use <shape_taiwan.scad>;
use <rail_extruded_sections.scad>;
use <path_scaling_sections.scad>;
use <sweep.scad>;
use <ptf/ptf_rotate.scad>;
use <bijection_offset.scad>;
@@ -19,7 +19,7 @@ module dancing_formosan(x1, x2, x3, y1, y2, y3, twist, t_step) {
function cal_sections(shapt_pts, edge_path, twist) =
let(
sects = rail_extruded_sections(shapt_pts, edge_path),
sects = path_scaling_sections(shapt_pts, edge_path),
leng = len(sects),
twist_step = twist / leng
)