mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-05 14:27:45 +02:00
don't reverse ctrl_pts
This commit is contained in:
@@ -30,12 +30,12 @@ module golden_taiwan(taiwan_fineness, wave_fineness) {
|
|||||||
t_step = wave_fineness;
|
t_step = wave_fineness;
|
||||||
thickness = 100;
|
thickness = 100;
|
||||||
|
|
||||||
ctrl_pts = reverse([
|
ctrl_pts = [
|
||||||
[[0, 0, 20], [60, 0, -35], [90, 0, 60], [200, 0, 5]],
|
[[0, 0, 20], [60, 0, -35], [90, 0, 60], [200, 0, 5]],
|
||||||
[[0, 50, 30], [100, 60, -25], [120, 50, 120], [200, 50, 5]],
|
[[0, 50, 30], [100, 60, -25], [120, 50, 120], [200, 50, 5]],
|
||||||
[[0, 100, 0], [60, 120, 35], [90, 100, 60], [200, 100, 45]],
|
[[0, 100, 0], [60, 120, 35], [90, 100, 60], [200, 100, 45]],
|
||||||
[[0, 123, 0], [60, 123, -35], [90, 123, 60], [200, 123, 45]]
|
[[0, 123, 0], [60, 123, -35], [90, 123, 60], [200, 123, 45]]
|
||||||
]);
|
];
|
||||||
|
|
||||||
bezier = function(points) bezier_curve(t_step, points);
|
bezier = function(points) bezier_curve(t_step, points);
|
||||||
g = sf_splines(ctrl_pts, bezier);
|
g = sf_splines(ctrl_pts, bezier);
|
||||||
|
Reference in New Issue
Block a user