mirror of
https://github.com/Irev-Dev/Round-Anything.git
synced 2025-08-30 18:59:50 +02:00
Add individual examples
Having one example per file will make for a integration and there live demo links with CadHub. Resolves #29.
This commit is contained in:
10
examples/mirrorPoints.scad
Normal file
10
examples/mirrorPoints.scad
Normal file
@@ -0,0 +1,10 @@
|
||||
// mirrorPoints example
|
||||
|
||||
include <Round-Anything-1.0.4/polyround.scad>
|
||||
|
||||
centerRadius=7;
|
||||
points=[[0,0,0],[2,8,0],[5,4,3],[15,10,0.5],[10,2,centerRadius]];
|
||||
mirroredPoints=mirrorPoints(points,0,[0,0]);
|
||||
linear_extrude(1)
|
||||
translate([0,-20,0])
|
||||
polygon(polyRound(mirroredPoints,20));
|
Reference in New Issue
Block a user