Skip to content

Commit

Permalink
Merge pull request #7 from Irev-Dev/update-polyRoundExtrude-api-a-little
Browse files Browse the repository at this point in the history
Change polyRoundExtrude h to length in the api for consistency
  • Loading branch information
Irev-Dev authored Aug 15, 2020
2 parents ad61abc + 9b235f2 commit bf97548
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions polyround.scad
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ let(
finalPolyhedronFaces
];

module polyRoundExtrude(radiiPoints,h=5,r1=1,r2=1,fn=10,convexity=10) {
polyhedronPointsNFaces=extrudePolygonWithRadius(radiiPoints,h,r1,r2,fn);
module polyRoundExtrude(radiiPoints,length=5,r1=1,r2=1,fn=10,convexity=10) {
polyhedronPointsNFaces=extrudePolygonWithRadius(radiiPoints,length,r1,r2,fn);
polyhedron(points=polyhedronPointsNFaces[0], faces=polyhedronPointsNFaces[1], convexity=convexity);
}

Expand Down
4 changes: 2 additions & 2 deletions roundAnythingExamples.scad
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ module radiusExtrudeExample(){
}

module polyRoundExtrudeExample(){
radiiPointsbrah=[[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);
radiiPoints=[[10,0,10],[20,20,1.1],[8,7,10],[0,7,0.3],[5,3,0.1],[-4,0,1]];
polyRoundExtrude(radiiPoints,2,0.5,-0.8,fn=8);
}

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

0 comments on commit bf97548

Please sign in to comment.