Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianVmariano committed Apr 30, 2024
1 parent f9e06f2 commit 92f6c76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion attachments.scad
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@ module attach(parent, child, overlap, align, spin=0, norot, inset=0, shiftout=0,
str("Invalid alignment: align value (",align,") includes component parallel to parent anchor (",anchor,")"));
pos = is_undef(align) ? anchor_data[1] : _find_anchor(anchor+align, $parent_geom)[1];
$attach_anchor = list_set(anchor_data, 1, pos); ///
startdir = two_d? undef
startdir = two_d || is_undef(align)? undef
: anchor==UP || anchor==DOWN ? BACK
: UP - (anchor*UP)*anchor/(anchor*anchor);
enddir = is_undef(child) || child.z==0 ? UP : BACK;
Expand Down

0 comments on commit 92f6c76

Please sign in to comment.