mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-07-31 20:42:52 +02:00
Fixed frame_ref() and noop()
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user