Script or something like it to make a slot

 From:  fcwilt
9876.5 In reply to 9876.4 
Hi,

I use 3mm as the radius for M5 holes.

Let's say I want to create a slot for a M5 machine screw so the piece with the slot can be adjusted one M5 diameter.

Currently to create the slot outline I do the following:

Step 1 - draw a line 6 mm line (one M5 diameter)

Step 2 - draw a circle with R=3 (M5 radius) at each end of the line

Step 3 - draw lines connecting the two circles (quad to tangent) at the top and bottom of the circles

Step 4 - use the boolean union operation on the two circles and the two lines creating the slot outline (after cleanup)


Now I can place the slot outline on a solid at the desired locations and use the boolean difference operation to create slots in the solid.


So the operation I envision would allow me to specify just the R=3 and the 6mm slot length yielding the finished slot outline.

Frederick

EDITED: 26 Mar by FCWILT