- Convert the model from CSG to mesh (in this example FreeCAD is used for conversion). The Precision setting is very important for obtaining the correct result.
-
Save the mesh as PLY or STL.
-
Import mesh to Blender.
- Use and Apply the 'Edge Split' modifier.
- Enter Edit Mode, Select the surface (in Face Select mode) that will be a curve source, and 'Separate' it. Use Select Linked (shortcut
L
) to select connected faces.
- Repeat with other curve sources.
- Use Set Origin to Geometry on all separated surfaces.
- Exit Edit Mode and Select separated surfaces. Convert them to curves using Object > Convert > Curve
(or you can use Object Silhouette from the [ Curve Tools ] panel)
- Edit curves to separate holes from external contour.
- Add Pocket and Profile operations :
For pads and pockets some curves may need to be modified in Edit Mode
It's highly recommended to create roughing and finishing passes.
For the roughing pass add an offset by altering cutter's diameter.
For Profile operation, 'First Down' and 'Ramp In' options are recommended. 'First Down' helps avoid non-cutting moves and 'Ramp In' reduces cutter load by avoiding vertical plunge into material.
For Pocket operation instead of 'Ramp In' try using 'Helix enter' option.