mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-19 19:09:36 +00:00
Fixed errors with chamfer_mask_*
This commit is contained in:
parent
2673b157a2
commit
255bd8209b
1 changed files with 6 additions and 2 deletions
|
@ -107,7 +107,9 @@ module chamfer_mask_z(l=1.0, chamfer=1.0) {
|
||||||
// chamfer = size of chamfer
|
// chamfer = size of chamfer
|
||||||
// Example:
|
// Example:
|
||||||
// chamfer_mask_y(l=10.0, chamfer=2.0);
|
// chamfer_mask_y(l=10.0, chamfer=2.0);
|
||||||
module chamfer_mask_y(l=1.0, chamfer=1.0) {xrot(90) chamfer_mask(h=l, r=chamfer);}
|
module chamfer_mask_y(l=1.0, chamfer=1.0) {
|
||||||
|
xrot(90) chamfer_mask_z(l=l, chamfer=chamfer);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Creates a shape that can be used to chamfer a 90 degree edge along the X axis.
|
// Creates a shape that can be used to chamfer a 90 degree edge along the X axis.
|
||||||
|
@ -117,7 +119,9 @@ module chamfer_mask_y(l=1.0, chamfer=1.0) {xrot(90) chamfer_mask(h=l, r=chamfer)
|
||||||
// chamfer = size of chamfer
|
// chamfer = size of chamfer
|
||||||
// Example:
|
// Example:
|
||||||
// chamfer_mask_x(l=10.0, chamfer=2.0);
|
// chamfer_mask_x(l=10.0, chamfer=2.0);
|
||||||
module chamfer_mask_x(l=1.0, chamfer=1.0) {yrot(90) chamfer_mask(h=l, r=chamfer);}
|
module chamfer_mask_x(l=1.0, chamfer=1.0) {
|
||||||
|
yrot(90) chamfer_mask_z(l=l, chamfer=chamfer);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Chamfers the edges of a cuboid region containing the given children.
|
// Chamfers the edges of a cuboid region containing the given children.
|
||||||
|
|
Loading…
Reference in a new issue