Engineering
Vai al Modello
SCAD polygon outline module
9
Download
6
Likes
0
Makes
####*An OpenSCAD module to render a 2D polygon outline including rounded vertices/corners.*
It takes a list of vertices as [X,Y] points (vec2), a boolean value for whether to fill the polygon, and a float of the thickness of the outline. The points lie in the centre of the circles which form the outline's vertices.
It supports both filled and unfilled polygons.
#####Example Usage
use
Points = [ [0,0], [0,1], ...];
linear_extrude(5) {
OutlinePolygon(lineThickness=4, fill=false, points=Points, $fn=24);
}
It takes a list of vertices as [X,Y] points (vec2), a boolean value for whether to fill the polygon, and a float of the thickness of the outline. The points lie in the centre of the circles which form the outline's vertices.
It supports both filled and unfilled polygons.
#####Example Usage
use
Points = [ [0,0], [0,1], ...];
linear_extrude(5) {
OutlinePolygon(lineThickness=4, fill=false, points=Points, $fn=24);
}
Hai stampato questo modello? Accedi e condividi il tuo make!
Accedi per lasciare un commento
AccediAncora nessun commento – sii il primo!