Selecting partial holes for drilling operation

Here's the place for discussion related to CAM/CNC and the development of the Path module.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
fletch
Posts: 42
Joined: Sat Mar 26, 2022 2:49 am
Location: UK

Re: Selecting partial holes for drilling operation

Post by fletch »

I have accidentally discovered a workaround to select arcs for holes: select all the arcs you want to use then create the drill operation and immediately 'Add' them to the operation (before removing any holes that may have been automatically selected).

It's not very flexible, in that you can't add more arcs but it seems to work for me.
MRx
Posts: 319
Joined: Wed Jul 08, 2020 5:59 am
Location: Tainan / Taiwan

Re: Selecting partial holes for drilling operation

Post by MRx »

It's pretty easy to add arc support to the drill operation, I did that myself here. but my drilling operation is already quite different from the upstream freecad code.

I suggest looking at the code it's not so difficult.

For example:
https://github.com/FreeCAD/FreeCAD/blob ... illable.py

def isDrillable(
obj, candidate, tooldiameter=None, vector=App.Vector(0, 0, 1), allowPartial=False
):

allowPartial is by default set to False if you set it to True it should allow half circles.
Post Reply