Tool handling issues

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!
Post Reply
chrisb
Veteran
Posts: 54288
Joined: Tue Mar 17, 2015 9:14 am

Tool handling issues

Post by chrisb »

I found two issues related to tool handling:
- I cannot load an xml tooltable (export is ok).
- When I have two jobs, the second is renamed: Creation of a toolcontroller cannot find the job and creates the controller on top level,
Error message says:

Code: Select all

Didn't find the jobJob001
OS: Ubuntu 14.04.5 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10686 (Git)
Build type: None
Branch: master
Hash: a253af0b9fb24d5b765d2d86a6adb9d6744991e6
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.1.0
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
sliptonic
Veteran
Posts: 3460
Joined: Tue Oct 25, 2011 10:46 pm
Location: Columbia, Missouri
Contact:

Re: Tool handling issues

Post by sliptonic »

chrisb wrote:I found two issues related to tool handling:
- I cannot load an xml tooltable (export is ok).
- When I have two jobs, the second is renamed: Creation of a toolcontroller cannot find the job and creates the controller on top level,
Error message says:

Code: Select all

Didn't find the jobJob001
Thanks chrisb. Sorry I've been slow responding lately. I'm away for a few days helping my parents move and won't be back to a regular schedule for a while yet. Could you please make a mantis ticket for these so I don't forget?
User avatar
bill
Posts: 376
Joined: Fri Jan 09, 2015 9:25 pm

Re: Tool handling issues

Post by bill »

It looks like PATH HELIX Operation is not aware of the changes made to the Tool Handing/TC/LastTool etc. since last Tool Handling modifications.

Running the Python command 'Path_Helix' failed:

Traceback (most recent call last):
File "/usr/lib/freecad-daily/Mod/Path/PathScripts/PathHelix.py", line 472, in Activated
toolLoad = PathUtils.getLastToolLoad(obj)

'module' object has no attribute 'getLastToolLoad'


Can someone verify!
chrisb
Veteran
Posts: 54288
Joined: Tue Mar 17, 2015 9:14 am

Re: Tool handling issues

Post by chrisb »

I can confirm this plus an additional observation: The helix is in the tree not below the job object like the other operations. I don't know if it was there before.

OS: Ubuntu 14.04.5 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10707 (Git)
Build type: None
Branch: master
Hash: 04a3283000cfdf92b26c54fd4ae7a0fbd636a74b
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.1.0
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Jakob Lundberg
Posts: 8
Joined: Sun Apr 09, 2017 6:26 am

Re: Tool handling issues

Post by Jakob Lundberg »

Does this also affect the Holding Tags Dressup? I am getting

Code: Select all

PathPost.DEBUG: obj: HoldingTagsDressup
Running the Python command 'Path_Post' failed:
Traceback (most recent call last):
  File "/usr/lib/freecad-daily/Mod/Path/PathScripts/PathPost.py", line 248, in Activated
    if obj.ToolController.ToolNumber != currTool:

'FeaturePython' object has no attribute 'ToolController'

Code: Select all

OS: Ubuntu 16.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10707 (Git)
Build type: None
Branch: master
Hash: 04a3283000cfdf92b26c54fd4ae7a0fbd636a74b
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Post Reply