Updated to remove deprecated child(). Also altered local_scale() in transformations.scad to operate on all children.
This commit is contained in:
parent
71837805b3
commit
df6741eae6
|
@ -2,5 +2,5 @@
|
||||||
// © 2010 by Elmo Mäntynen
|
// © 2010 by Elmo Mäntynen
|
||||||
|
|
||||||
module local_scale(v, reference=[0, 0, 0]) {
|
module local_scale(v, reference=[0, 0, 0]) {
|
||||||
translate(-reference) scale(v) translate(reference) child(0);
|
translate(-reference) scale(v) translate(reference) children();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue