How does one specify an anchor at the origin? #1431
-
Using a previous version of BOSL2 I built a model which was a union of multiple calls of the skin() module with each being passed a sequence of profiles generated by offset_stroke(). The profiles were aligned in X & Y by the origin and the lists of Z values passed to each call of skin() aligned the resulting polyhedrons in Z. Now that skin() aligns to anchors I don't know how to preserve my desired alignment. Is there a way to specify an anchor at the origin? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Anchoring to the origin should be achieved with anchor="origin", which is the default. This appears to be working properly. The docs seem to be missing the section on named anchors for skin(). |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
That is a bug in offset stroke. It is supposed to have a default anchor of "origin" but the default isn't given. Setting cp is one workaround. Should be fixed in the PR. |
Beta Was this translation helpful? Give feedback.
Anchoring to the origin should be achieved with anchor="origin", which is the default. This appears to be working properly. The docs seem to be missing the section on named anchors for skin().