1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-19 04:51:26 +02:00
This commit is contained in:
Justin Lin
2020-11-30 08:12:27 +08:00
parent 483f204f70
commit ecedb79988
2 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
use <_impl/_catmull_rom_spline.scad>;
function catmull_rom_spline(t_step, points, tightness = 0) =
function curve(t_step, points, tightness = 0) =
let(leng = len(points))
concat(
[
@@ -14,7 +14,7 @@ function catmull_rom_spline(t_step, points, tightness = 0) =
);
/*
use <catmull_rom_spline.scad>;
use <curve.scad>;
use <hull_polyline3d.scad>;
pts = [
@@ -33,7 +33,7 @@ pts = [
t_step = 0.1;
tightness = 0;
points = catmull_rom_spline(t_step, pts, tightness);
points = curve(t_step, pts, tightness);
hull_polyline3d(points, 5);
*/

View File

@@ -8,6 +8,6 @@ next:
- vx_contour
- polygon_hull
- polyhedron_hull
- catmull_rom_spline
- curve
- bauer_spiral
- fibonacci_lattice