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:
@@ -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
|
||||
)
|
||||
|
Reference in New Issue
Block a user