mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-19 13:01:37 +02:00
rename
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
use <_impl/_catmull_rom_spline.scad>;
|
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))
|
let(leng = len(points))
|
||||||
concat(
|
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>;
|
use <hull_polyline3d.scad>;
|
||||||
|
|
||||||
pts = [
|
pts = [
|
||||||
@@ -33,7 +33,7 @@ pts = [
|
|||||||
|
|
||||||
t_step = 0.1;
|
t_step = 0.1;
|
||||||
tightness = 0;
|
tightness = 0;
|
||||||
points = catmull_rom_spline(t_step, pts, tightness);
|
points = curve(t_step, pts, tightness);
|
||||||
|
|
||||||
hull_polyline3d(points, 5);
|
hull_polyline3d(points, 5);
|
||||||
*/
|
*/
|
@@ -8,6 +8,6 @@ next:
|
|||||||
- vx_contour
|
- vx_contour
|
||||||
- polygon_hull
|
- polygon_hull
|
||||||
- polyhedron_hull
|
- polyhedron_hull
|
||||||
- catmull_rom_spline
|
- curve
|
||||||
- bauer_spiral
|
- bauer_spiral
|
||||||
- fibonacci_lattice
|
- fibonacci_lattice
|
Reference in New Issue
Block a user