Complete the code to apply a fixed constraint to the selected face.
model.AddFixture([1], "Fixed")
The fixed constraint is applied to a face, so selectedFace is the correct input.
Complete the code to apply a hinge constraint between two components.
assembly.ApplyConstraint([1], componentA, componentB)A hinge constraint allows rotation between two components, so Hinge is correct.
Fix the error in the code to correctly apply a slider constraint.
assembly.ApplyConstraint("[1]", comp1, comp2)
The slider constraint allows linear movement along one axis, so Slider is the correct constraint type.
Fill both blanks to apply a ball constraint and set its limit angle.
constraint = assembly.ApplyConstraint([1], partX, partY) constraint.SetLimitAngle([2])
The ball constraint allows rotation in all directions, and setting the limit angle to 30 degrees restricts its movement accordingly.
Fill all three blanks to create a fixed constraint, name it, and activate it.
fix = model.AddFixture([1], [2]) fix.[3]()
The fixed constraint is applied to face1, named "FixedConstraint", and then activated with Activate().
