Complete the code to create an angle mate between two components.
mate = assembly.AddMate3(swMateType_e.swMateANGLE, swMateAlign_e.swAlignALIGNED, [1], comp1, comp2, 45, 0, 0, 0, 0, 0, 0, 0, 0)
The angle mate requires the alignment parameter to be swAlignALIGNED to set the angle correctly.
Complete the code to set the width mate between two planar faces.
widthMate = assembly.AddMate3(swMateType_e.swMateWIDTH, swMateAlign_e.swAlignALIGNED, [1], face1, face2, 0, 0, 0, 0, 0, 0, 0, 0, 0)
For width mates, swAlignANTI_ALIGNED is used to properly define the width direction between faces.
Fix the error in the path mate creation code by filling the correct parameter.
pathMate = assembly.AddMate3(swMateType_e.swMatePATH, [1], swMateAlign_e.swAlignALIGNED, pathComp, comp, 0, 0, 0, 0, 0, 0, 0, 0, 0)
The second parameter for path mates should be swAlignNONE because path mates do not use alignment in the same way as angle or width mates.
Fill both blanks to create an angle mate with flipped alignment and 30 degrees angle.
angleMate = assembly.AddMate3(swMateType_e.swMateANGLE, [1], compA, compB, [2], 0, 0, 0, 0, 0, 0, 0, 0, 0)
The flipped alignment is swAlignFLIPPED and the angle is set to 30 degrees.
Fill all three blanks to create a width mate with anti-aligned option and zero offset.
widthMate = assembly.AddMate3(swMateType_e.swMateWIDTH, [1], faceX, faceY, [2], [3], 0, 0, 0, 0, 0, 0, 0, 0)
The width mate requires swAlignANTI_ALIGNED for alignment and zero offset values (0, 0).
