How to set a constraint on an assembly based on faces and not on lengths?

w_s856
w_s856 Member Posts: 63 ✭✭
edited December 2024 in Community Support

Context: https://cad.onshape.com/documents/c326457a6788bf73c38df747/w/5b33f7580add485dd268c063/e/bdadea73543e9531a5d11577?renderMode=0&uiState=677027d6b011fa6254f87917

The battery organizer (the larger piece) has a lid that fits in. I tried to make an assembly to check if the contact is good enough (due to the chamfers I fear that there will be no flat surface to fit) but could not set a limit on the translation that would say "move until this face touches that one".

How can I do that?

—

Note: looks like it will fit, but I am interested in the general answer to the question for learning purposes

Best Answer

Answers