Thingiverse
OpenSCAD Wedge Module/Library
di WilliamsOb
32
Download
17
Likes
0
Makes
This is a simple and performant library for drawing wedges with no artifacts (e.g. no clipping/mask rectangles or similar) as well as wedges greater than 180 degrees. It does this using polygon() and some hacky-but-elegant flattening and re-creating of the points array.
The module accepts 4 arguments: The radius of which to draw the wedge, the starting and ending angles in degrees, and an optional parameter indicating how many fragments the wedge should have. The final parameter defaults to the number of degrees in the arc but can be overridden with $fn or whatever you like.
This module concerns itself with the 2 dimensional aspect of the wedge; using linear_extrude() handles the 3rd dimension.
This module is also utilized by my fillet module [here](http://www.thingiverse.com/thing:1850888).
The module accepts 4 arguments: The radius of which to draw the wedge, the starting and ending angles in degrees, and an optional parameter indicating how many fragments the wedge should have. The final parameter defaults to the number of degrees in the arc but can be overridden with $fn or whatever you like.
This module concerns itself with the 2 dimensional aspect of the wedge; using linear_extrude() handles the 3rd dimension.
This module is also utilized by my fillet module [here](http://www.thingiverse.com/thing:1850888).
Hai stampato questo modello? Accedi e condividi il tuo make!
Accedi per lasciare un commento
AccediAncora nessun commento – sii il primo!