Closed Gultak closed 5 months ago
Looks like it only happens, when from=FRONT
:
diff()
cube(60)
attach([FRONT,BACK,RIGHT,LEFT],BOTTOM,align=BOTTOM,
inside=true,overlap=0.1,inset=-0.1)
#cube(20)
attach(TOP,TOP,overlap=0.01) cube(10);
This bug is that the spin of the child is incorrect in some situations. I believe (hope) it is fixed by the PR.
Describe the bug When using
inside=true
together withalign=*
onattach()
the object is positioned unexpectedly.Code To Reproduce Bug
For me it looks like a mismatch between the rotational anchor and the positioning (i.e. it looks like the anchor for positioning is swapped in all directions, not only the "attached" one).
For reference,
align()
handles the same situation as I'd expect.Expected behavior The blue cube should be positioned inside of the yellow cube on the bottom right side.
Additional context Add any other context about the problem here.