Skip to content

Commit bf97548

Browse files
authored
Merge pull request #7 from Irev-Dev/update-polyRoundExtrude-api-a-little
Change polyRoundExtrude h to length in the api for consistency
2 parents ad61abc + 9b235f2 commit bf97548

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

polyround.scad

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ let(
159159
finalPolyhedronFaces
160160
];
161161

162-
module polyRoundExtrude(radiiPoints,h=5,r1=1,r2=1,fn=10,convexity=10) {
163-
polyhedronPointsNFaces=extrudePolygonWithRadius(radiiPoints,h,r1,r2,fn);
162+
module polyRoundExtrude(radiiPoints,length=5,r1=1,r2=1,fn=10,convexity=10) {
163+
polyhedronPointsNFaces=extrudePolygonWithRadius(radiiPoints,length,r1,r2,fn);
164164
polyhedron(points=polyhedronPointsNFaces[0], faces=polyhedronPointsNFaces[1], convexity=convexity);
165165
}
166166

roundAnythingExamples.scad

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ module radiusExtrudeExample(){
203203
}
204204

205205
module polyRoundExtrudeExample(){
206-
radiiPointsbrah=[[10,0,10],[20,20,1.1],[8,7,10],[0,7,0.3],[5,3,0.1],[-4,0,1]];
207-
polyRoundExtrude(radiiPointsbrah,2,0.5,-0.8,fn=8);
206+
radiiPoints=[[10,0,10],[20,20,1.1],[8,7,10],[0,7,0.3],[5,3,0.1],[-4,0,1]];
207+
polyRoundExtrude(radiiPoints,2,0.5,-0.8,fn=8);
208208
}
209209

210210
module gridpattern(memberW = 4, sqW = 12, iter = 5, r = 3){

0 commit comments

Comments
 (0)