Fixed frame_ref() and noop()

This commit is contained in:
Revar Desmera 2019-04-24 23:12:05 -07:00
parent ccd3dbca01
commit b54b3fd57b
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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()