Skip to content

Commit

Permalink
Fix issues in profiles.scad
Browse files Browse the repository at this point in the history
* profile_tslot_generic was missing parameter 'core'
* `circle` does not have a parameter 'center'
  • Loading branch information
whi-tw committed Oct 23, 2021
1 parent 9d88138 commit 2e11114
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions profiles.scad
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ module profile_channel(base, side, wall) {
}
}

module profile_tslot_generic (pitch, slot, lip, web, hole) {
module profile_tslot_generic (pitch, slot, lip, web, core, hole) {
// pitch = side width, slot = slot width, lip = thickness of the lip, web = thickness of the web, core = side of the center square, hole = center hole diameter
difference () {
union() {
Expand All @@ -72,7 +72,7 @@ module profile_tslot_generic (pitch, slot, lip, web, hole) {
rotate ([0, 0, -45]) square ([pitch*1.15, web], center=true);
square (core, center=true);
}
circle (hole/2, center = true);
circle (hole/2);
}
}

Expand Down

0 comments on commit 2e11114

Please sign in to comment.