mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-01 09:49:45 +00:00
Fixed frame_ref() and noop()
This commit is contained in:
parent
ccd3dbca01
commit
b54b3fd57b
2 changed files with 2 additions and 2 deletions
|
@ -268,7 +268,7 @@ module show_anchors(s=10, std=true, custom=true) {
|
|||
// Examples:
|
||||
// frame_ref(25);
|
||||
module frame_ref(s=15) {
|
||||
noop() {
|
||||
cube(0.01, center=true) {
|
||||
attach(RIGHT) anchor_arrow(s=s, color="red", flag=false);
|
||||
attach(BACK) anchor_arrow(s=s, color="green", flag=false);
|
||||
attach(TOP) anchor_arrow(s=s, color="blue", flag=false);
|
||||
|
|
|
@ -1638,7 +1638,7 @@ module nil() union(){}
|
|||
// Description:
|
||||
// Passes through the children passed to it, with no action at all.
|
||||
// Useful while debugging when you want to replace a command.
|
||||
module noop(orient=ORIENT_Z) orient_and_anchor([0,0,0], orient, CENTER, chain=true) {nil(); children();}
|
||||
module noop(orient=ORIENT_Z) orient_and_anchor([0.01,0.01,0.01], orient, CENTER, chain=true) {nil(); children();}
|
||||
|
||||
|
||||
// Module: pie_slice()
|
||||
|
|
Loading…
Reference in a new issue