Slicer Discord
Yet another Bezier curve implementation – Modelo 3D imprimible de Thingiverse Thingiverse

Yet another Bezier curve implementation

por j12t
2 Descargas
1 Likes
0 Makes
Ver Modelo
There are many Bezier curve implementations out there, but somehow they all think differently from the way I do. This one thinks the way I do when I create a design:

* I have a sequence of points, and I'd like to connect them with "something curvy".
* So in the first iteration, I specify that sequence of points my curve is supposed to go through, like this:

```
polygon( bezier_curve_seq(
[ [ 0, 0 ], [ 10, 0 ], [ 10, 10 ], ...
))
```
and I render it in OpenSCAD, so I can look at it and it indeed goes through the points I want it to go through.
* Now that I have the basic line correct, I make it curvy, by adding the "handle points" (as a drawing program would show them):
```
polygon( bezier_curve_seq(
[ [ 0, 0 ], [ 10, 0 ], [ 10, 10 ], ...
[ [ [ 3, 3], [ 7, 3 ]], [], ...
))
```
simply by adding a second parameter to my existing invocation, without changing what I have already.
* Between any two points of the seque
Fuente
Thingiverse
Lo que necesitas para imprimir: Principiante Baja confianza
Pieza única
Soportes 1/3
Ensamblaje 0/3
Ajustes 1/3
Tamaño de cama 0/3
Postproceso 0/3
Impresora
FDM / FFF
Formato de archivo
STL
Material
Software
Cura, PrusaSlicer o similar
Aún no hay valoraciones
Aún no hay comentarios – ¡sé el primero!

Modelos similares

6 Sugerencias
Feed Blog Slicer Calculadora Búsqueda por imagen Enviar Contacto Discord ☕ Buy me a coffee
DE EN FR ES IT NL

Añadir a colección