Tutorial - Modeling square cut nut in SolidWorks?
Here is the tutorial. Part-2
Continuing with previous tutorial we have the same part.
Reference Geometry >> Plane.
Offset Top plane by any distance inside the part.
Select the sketch2 under boss-extrude2 and then convert entities.
10mm distance. Uncheck Merge result.
Select bolt body and then check copy. Click OK.
Operation type=Subtract. Main body is nut and the bodies to combine is bolt.
Now move the nut and we have the thread cutted inside the nut and they are perfect since they are cutted exactly through bolt.