Search found 100 matches

by EskiBrew
Mon Jun 12, 2023 9:54 am
Forum: Path/CAM
Topic: Pocket operation
Replies: 4
Views: 719

Re: Pocket operation

Pocket operation will do what you require, all you need to do is use the "Extensions" feature and set the "Default length" large enough to remove enough material to clean up the radii. Brilliant, thank you, that works! - I've never used the "Extensions" feature before ...
by EskiBrew
Mon Jun 12, 2023 9:40 am
Forum: Path/CAM
Topic: Pocket operation
Replies: 4
Views: 719

Re: Pocket operation

Without the file it's a guess: Your tool is too big for a pocket, which always stays on the face and cannot go over the hole in the center. Thanks Chris, I can attach the file if that will help. You are right though, the tool is 6mm endmill, the stock is 1.25" (31.75mm) bar so indeed the tool ...
by EskiBrew
Mon Jun 12, 2023 8:50 am
Forum: Path/CAM
Topic: Pocket operation
Replies: 4
Views: 719

Pocket operation

OS: Linux Mint 21 (XFCE/xfce) Word size of FreeCAD: 64-bit Version: 0.21.0.33303 (Git) AppImage Build type: Release Branch: master Hash: 5b075a9938b78076fdde9034de4a05685e42690e Python 3.11.3, Qt 5.15.8, Coin 4.0.0, Vtk 9.2.2, OCC 7.7.1 Locale: English/United Kingdom (en_GB) Installed mods: * Quick...
by EskiBrew
Wed Nov 02, 2022 1:12 pm
Forum: Python scripting and macros
Topic: How to access Task Panel control buttons from python
Replies: 6
Views: 1076

Re: How to access Task Panel control buttons from python

Probably this could be made as a PR to developers, documenting the scope and maybe asking to a more "exposed" reference to the button. (In the sense of some "advised way" to make this action.) Thanks Carlo, it's the first time I've had a go at making a workbench and it's a steep...
by EskiBrew
Wed Nov 02, 2022 9:39 am
Forum: Python scripting and macros
Topic: How to access Task Panel control buttons from python
Replies: 6
Views: 1076

Re: How to access Task Panel control buttons from python

If you dig through the source code and look at the ui files you can usually find the object name and reference that. Thanks Mark - it would probably be a safer solution to have the handle of the button. My way of finding it would not work if the button text has been changed because of translation.....
by EskiBrew
Mon Oct 31, 2022 12:27 am
Forum: Python scripting and macros
Topic: How to access Task Panel control buttons from python
Replies: 6
Views: 1076

Re: How to access Task Panel control buttons from python

Don't worry, I've figured out how to do it with a recursive search through children of the main window - seems to work well. def enableOKButton(self, enabled): mw = FreeCADGui.getMainWindow() okBtn = self.findOkButton(mw) if okBtn != None: okBtn.setEnabled(enabled) def findOkButton(self, obj): if le...
by EskiBrew
Sun Oct 30, 2022 11:27 am
Forum: Python scripting and macros
Topic: How to access Task Panel control buttons from python
Replies: 6
Views: 1076

How to access Task Panel control buttons from python

I'd like to be able to enable or disable the "Ok" button in a TaskPanel but I can't seem to work out how to get the handle for the "Ok" button so that I can use the setEnabled method. Does anyone know how to access those buttons from python?
by EskiBrew
Mon Jun 06, 2022 10:49 am
Forum: Path/CAM
Topic: Ignore missing material
Replies: 3
Views: 595

Re: Ignore missing material

Ah great, thanks Chris, that's useful. I've just tried again with profile instead and it works perfectly.
Screenshot-path2.png
Screenshot-path2.png (66.09 KiB) Viewed 560 times
by EskiBrew
Mon Jun 06, 2022 10:19 am
Forum: Path/CAM
Topic: Ignore missing material
Replies: 3
Views: 595

Ignore missing material

I'm pocketing a part which has a hole drilled through it and I'm wondering how I can get Path to avoid pocketing where the drill hole has already removed material. Screenshot-path.png See the image above - the central hole is first drilled right through then a 6mm end mill is used to form the top po...
by EskiBrew
Mon Feb 07, 2022 7:27 pm
Forum: Python scripting and macros
Topic: What is the "Shape" property of a PartBody
Replies: 9
Views: 1732

Re: What is the "Shape" property of a PartBody

openBrain wrote: Mon Feb 07, 2022 6:25 pm Beware that a Body only has a "virtual" shape that roughly is the shape of the tip.
As a good practice, you should always use copies of shapes :

Code: Select all

body = pad._Body
obj.Shape = body.Shape.copy()
ah ok, good to know.