child cascade #248

Closed
charlyoleg opened this Issue Jan 23, 2013 · 2 comments

Comments

Projects
None yet
2 participants

A module using child[0] can not call an other module using child[0] too!

// ob_child_child.scad

// openscad issue
// a module using child[0] can not call an other module using child[0] too!

module change_color(){
  color([0.9,0.8,0.7])
  child(0);
}

module place_and_color(){
  translate([0,0,1])
  change_color()
  rotate([0,0,90])
  child(0);
}

// this works well
//change_color() cube([1,1,2]);

// this makes the following error message:
// WARNING: Ignoring recursive module instantiation of 'rotate'.
place_and_color() cube([1,1,2]);
Owner

kintel commented Apr 8, 2013

This is related to #116

@ghost ghost assigned kintel Apr 8, 2013

Owner

kintel commented Apr 8, 2013

This is now a duplicate of #116

@kintel kintel closed this Apr 8, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment