mirror of
https://github.com/Irev-Dev/Round-Anything.git
synced 2025-01-17 02:58:14 +01:00
Merge pull request #7 from Irev-Dev/update-polyRoundExtrude-api-a-little
Change polyRoundExtrude h to length in the api for consistency
This commit is contained in:
commit
bf97548f88
@ -159,8 +159,8 @@ let(
|
|||||||
finalPolyhedronFaces
|
finalPolyhedronFaces
|
||||||
];
|
];
|
||||||
|
|
||||||
module polyRoundExtrude(radiiPoints,h=5,r1=1,r2=1,fn=10,convexity=10) {
|
module polyRoundExtrude(radiiPoints,length=5,r1=1,r2=1,fn=10,convexity=10) {
|
||||||
polyhedronPointsNFaces=extrudePolygonWithRadius(radiiPoints,h,r1,r2,fn);
|
polyhedronPointsNFaces=extrudePolygonWithRadius(radiiPoints,length,r1,r2,fn);
|
||||||
polyhedron(points=polyhedronPointsNFaces[0], faces=polyhedronPointsNFaces[1], convexity=convexity);
|
polyhedron(points=polyhedronPointsNFaces[0], faces=polyhedronPointsNFaces[1], convexity=convexity);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -203,8 +203,8 @@ module radiusExtrudeExample(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
module polyRoundExtrudeExample(){
|
module polyRoundExtrudeExample(){
|
||||||
radiiPointsbrah=[[10,0,10],[20,20,1.1],[8,7,10],[0,7,0.3],[5,3,0.1],[-4,0,1]];
|
radiiPoints=[[10,0,10],[20,20,1.1],[8,7,10],[0,7,0.3],[5,3,0.1],[-4,0,1]];
|
||||||
polyRoundExtrude(radiiPointsbrah,2,0.5,-0.8,fn=8);
|
polyRoundExtrude(radiiPoints,2,0.5,-0.8,fn=8);
|
||||||
}
|
}
|
||||||
|
|
||||||
module gridpattern(memberW = 4, sqW = 12, iter = 5, r = 3){
|
module gridpattern(memberW = 4, sqW = 12, iter = 5, r = 3){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user