All posts

Siemens NX · assembly

How to constrain a component in Siemens NX (and still leave the motion you want)

The job is not “fully constrained.” The job is: this part sits in the system — where it attaches, how it can move, what it mates to.

NX will let you Fix every component and call the assembly done. That is how a hinge becomes a weld. Read remaining degrees of freedom before you add the last constraint.

Where the commands live

  1. Open the assembly (not the part). Assemblies application.
  2. Fix the grounded component first — usually the tool, the bulkhead, or the vehicle structure. Assembly Constraints → Fix on that component. One Fix. Not every part.
  3. Bring in the next component (Add Component) so it is in the assembly, then constrain it. Do not leave it “just sitting” in absolute space unless it is a sketch for layout only.

Touch/Align, concentric, distance, Fix

  • Touch Align — faces or datums coincide or are parallel with a sense (touch vs align). This is the NX analog of a coincident mate. Use it for a flange to a bulkhead.
  • Concentric (or inferred centerline-to-centerline) — a bore on a tube, a pin in a hole. Leaves rotation about the axis unless you add something that kills it.
  • Distance — offset between faces. Easy to make redundant with Touch Align; one of them will conflict.
  • Parallel / Perpendicular — orientation without locking position. Useful while you still want a slide.
  • Fix — zero DOF. For the base. For a hinge leaf, Fix is the bug.

The Assemble command infers a constraint from the two faces you pick. It is faster than typing the type. It is also how people accidentally Touch Align a third face and lock rotation they meant to keep. After Assemble, open the constraint and read the type.

See remaining DOF

  1. Assembly Navigator: expand the component → Constraints.
  2. Right-click the component → Show Degrees of Freedom (or Information → Assembly → Degrees of Freedom, depending on your NX version).
  3. Drag the component. If it should clock ±5° on a tube and it will not rotate, you overconstrained it. Delete the last angular or extra Touch Align — do not add another Distance to “nudge” it.

When to stop

A plate concentric to a tube OD and flush to a station is two constraints. Clocking is a third if you want it locked. A door hinge is concentric on the pin plus coincident on the inner face — and then you stop. The swing is the remaining DOF. If NX reports fully constrained, you built a weldment.

Conflicting constraints in NX often block the last one rather than painting the whole assembly red. If a new constraint will not apply, Show Constraints of Component on both parts and look for a redundant Distance/angle before you start deleting the first, correct pair.