Thingiverse
Bezier Library for OpenScad
par ckirby
123
Téléchargements
80
Likes
0
Makes
See http://github.com/uplake/BezierScad
Updated 5/10/13--fixed triangle winding in centered BezWall; use polyhedron for variable-height BezArc.
I wanted a bezier library that could handle an arbitrary number of control points. When working on thingiverse.com/thing:77586, I also wanted to rotate extrude a "wall" defined by a bezier path and a width.
BezWall is the workhorse function. The "ctlPts" parameter accepts between 1-8 bezier control points.
The parameters "width" and "height" accept static values (e.g., 5) specifying the width and height of the wall. If height is 0, it will generate a 2d object you can extrude yourself.
The alternate parameters "widthCtls" and "heightCtls" accept an array of values that will be bezier-interpolated along the length of the wall.
If the "centered" parameter is "true", the wall is centered on the path defined by "ctlPts". Otherwise, one edge of the wall is defined by "ctlPts".
At the moment, there is no documentation! But
Updated 5/10/13--fixed triangle winding in centered BezWall; use polyhedron for variable-height BezArc.
I wanted a bezier library that could handle an arbitrary number of control points. When working on thingiverse.com/thing:77586, I also wanted to rotate extrude a "wall" defined by a bezier path and a width.
BezWall is the workhorse function. The "ctlPts" parameter accepts between 1-8 bezier control points.
The parameters "width" and "height" accept static values (e.g., 5) specifying the width and height of the wall. If height is 0, it will generate a 2d object you can extrude yourself.
The alternate parameters "widthCtls" and "heightCtls" accept an array of values that will be bezier-interpolated along the length of the wall.
If the "centered" parameter is "true", the wall is centered on the path defined by "ctlPts". Otherwise, one edge of the wall is defined by "ctlPts".
At the moment, there is no documentation! But
Vous avez imprimé ce modèle ? Connectez-vous et partagez votre make !
Connectez-vous pour laisser un commentaire
Se connecterPas encore de commentaires – soyez le premier !