Bézier surface
von JustinSDK
49
Downloads
43
Likes
0
Makes
[](https://www.youtube.com/watch?v=QkCoZbMBedE)
My library [dotSCAD](https://github.com/JustinSDK/dotSCAD) has a `bezier_surface` function. You can use it to create a bezier surface easilly. For example:
include ;
include ;
include ;
t_step = 0.05;
thickness = 0.5;
ctrl_pts = [
[[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, 100, 0], [60, 120, 35], [90, 100, 60], [200, 100, 45]],
[[0, 150, 0], [60, 150, -35], [90, 180, 60], [200, 150, 45]]
];
g = bezier_surface(t_step, ctrl_pts);
function_grapher(g, thickness);
The thing here is just a demonstration. You can use slides to change z values of 16 control points.
My library [dotSCAD](https://github.com/JustinSDK/dotSCAD) has a `bezier_surface` function. You can use it to create a bezier surface easilly. For example:
include ;
include ;
include ;
t_step = 0.05;
thickness = 0.5;
ctrl_pts = [
[[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, 100, 0], [60, 120, 35], [90, 100, 60], [200, 100, 45]],
[[0, 150, 0], [60, 150, -35], [90, 180, 60], [200, 150, 45]]
];
g = bezier_surface(t_step, ctrl_pts);
function_grapher(g, thickness);
The thing here is just a demonstration. You can use slides to change z values of 16 control points.
JustinSDK veröffentlicht auch auf
4 zusätzliche Modelle auf 1 weiteren Plattformen
Hast du dieses Modell gedruckt? Einloggen und dein Make teilen!
Melde dich an, um einen Kommentar zu hinterlassen
AnmeldenNoch keine Kommentare – sei der Erste!