Repository navigation
Joint center references on bodies and between surfaces? #22893
Answered by
LucasValeQueiroz
Nov 27, 2026
Replies: 1 comment 3 replies
|
Joint origins ( To center a long shaft between the handle's inner faces without manual offset math:
Both constraints solve together, so the shaft stays centered on the holes and midway between the inner faces even if the shaft length or handle width changes. |
3 replies
Answer selected by
PIXEL-PEN
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Joint origins (
Snapincrates/doc/src/joints.rs:82-172) don't have a single-pick "between two faces" snap yet, but joints and assembly constraints accept construction planes (Snap::Plane, lines142-151), and multiple constraints between the same two parts compose (crates/engine/src/cmd/assembly_constraint.rs:4-6, 29-33).To center a long shaft between the handle's inner faces without manual offset math:
SOLID -> CONSTRUCT -> Midplane,construct.plane.midplane) between the two inner faces of the latch handle, and a second Midplane between the two end faces of the shaft.SOLID -> ASSEMBLE -> Constrain) between the shaft's cylindrical face and…