Bugfixes for anchor changes in masks.scad

This commit is contained in:
Revar Desmera
2019-05-16 13:21:59 -07:00
parent 4f98535141
commit 8b792c9414
2 changed files with 29 additions and 17 deletions

View File

@@ -88,7 +88,7 @@ module circle(r=undef, d=undef, anchor=CENTER) {
module cube(size, center=undef, anchor=ALLNEG)
{
size = scalar_vec3(size);
orient_and_anchor(size, ORIENT_Z, anchor, center, noncentered=ALLPOS, chain=true) {
orient_and_anchor(size, ORIENT_Z, anchor, center, noncentered=ALLNEG, chain=true) {
linear_extrude(height=size.z, convexity=2, center=true) {
square([size.x, size.y], center=true);
}