POST PROCESSOR Confusion

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
User avatar
mp77Bushnell
Posts: 50
Joined: Sun Dec 23, 2018 3:34 pm

POST PROCESSOR Confusion

Post by mp77Bushnell »

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.2
Locale: English/United States (en_US)
Installed mods: 
  * A2plus 0.4.56a
  * dxf-library
  * Help 1.0.3
  * InventorLoader 1.3.0
  * sheetmetal 0.2.49
No clue what I’m doing wrong.
Is it a “design error?
Is it something in job setup (Ive tried multiple times.
I’ve chosen 1 job..


I have my “design” from Design Parts
Have it in Pathworkbench
Set up a job (at least that's what I thought I did.
Selected job
The chose Post Processor.

Then MANY messages: (which I cant find help with)
More than a few mention “graph must be a DAG and researching that seems to go into discussion of “spread sheet… I DO NOT have a spreadsheet
Says I should select a single job which I’ve done
To MY Knowledge I’ve not done anything to model after a recompute
( even closed th3e file and reopened it)
One suggestion alluded to thickness… I tried that (or at least tried)
“tutorials on net are no help (can’t even remember one that helps with errors)
One post said :
Aha...I had mistaken the face named in the Support property for one of the inner side walls not the top you specify.
I’ve yet to find where “Support Property is hidden ..



I would love to be able to research and find what I’m doing wrong if I knew where but so far the Forum is my only hope. Is there a place to find info?
I’ve attached the file and hopefully someone can help.
Here are the errors (please note I mentioned above some things that seem to suggest these don't seem right)

Code: Select all

20:04:28 Please select a single job or other path object
20:04:39 Please select a single job or other path object
20:11:38 1e-07 <App> Document.cpp(3191): The graph must be a DAG.
20:11:38 0.0043758 <App> Document.cpp(3546): _911_stirrup_body_mov#Model still touched after recompute
20:12:06 27.8664 <App> Document.cpp(3191): The graph must be a DAG.
20:12:06 27.8736 <App> Document.cpp(3546): _911_stirrup_body_mov#Model still touched after recompute
20:13:42 123.827 <App> Document.cpp(3191): The graph must be a DAG.
20:13:42 123.83 <App> Document.cpp(3546): _911_stirrup_body_mov#Model still touched after recompute
20:13:42 123.834 <App> Document.cpp(3191): The graph must be a DAG.
20:13:42 123.837 <App> Document.cpp(3546): _911_stirrup_body_mov#Model still touched after recompute
20:13:42 123.866 <App> Document.cpp(3191): The graph must be a DAG.
20:13:42 123.869 <App> Document.cpp(3546): _911_stirrup_body_mov#Model still touched after recompute
20:13:42 123.917 <App> Document.cpp(3191): The graph must be a DAG.
20:13:42 123.919 <App> Document.cpp(3546): _911_stirrup_body_mov#Model still touched after recompute
20:13:42 123.94 <App> Document.cpp(3191): The graph must be a DAG.
20:13:42 123.944 <App> Document.cpp(3546): _911_stirrup_body_mov#Model still touched after recompute
20:13:42 124.186 <App> Document.cpp(3191): The graph must be a DAG.
20:13:42 124.191 <App> Document.cpp(3546): _911_stirrup_body_mov#Model still touched after recompute
20:14:23 165.711 <App> Document.cpp(3191): The graph must be a DAG.
20:14:23 165.717 <App> Document.cpp(3546): _911_stirrup_body_mov#Model still touched after recompute
20:14:23 165.766 <App> Document.cpp(3191): The graph must be a DAG.
20:14:23 165.769 <App> Document.cpp(3546): _911_stirrup_body_mov#Model still touched after recompute
20:14:23 165.777 <App> Document.cpp(3191): The graph must be a DAG.
20:14:23 165.791 <App> Document.cpp(3546): _911_stirrup_body_mov#Model still touched after recompute
20:14:23 165.804 <App> Document.cpp(3191): The graph must be a DAG.
20:14:23 165.808 <App> Document.cpp(3546): _911_stirrup_body_mov#Model still touched after recompute
20:14:32 174.087 <App> Document.cpp(3191): The graph must be a DAG.
20:14:32 174.091 <App> Document.cpp(3546): _911_stirrup_body_mov#Model still touched after recompute
20:14:45 186.944 <App> Document.cpp(3191): The graph must be a DAG.
20:14:45 186.948 <App> Document.cpp(3546): _911_stirrup_body_mov#Model still touched after recompute
20:14:45 186.953 <App> Document.cpp(3191): The graph must be a DAG.
20:14:45 186.956 <App> Document.cpp(3546): _911_stirrup_body_mov#Model still touched after recompute
20:14:45 186.989 <App> Document.cpp(3191): The graph must be a DAG.
20:14:45 186.993 <App> Document.cpp(3546): _911_stirrup_body_mov#Model still touched after recompute
20:14:45 187.042 <App> Document.cpp(3191): The graph must be a DAG.
20:14:45 187.045 <App> Document.cpp(3546): _911_stirrup_body_mov#Model still touched after recompute
20:14:45 187.065 <App> Document.cpp(3191): The graph must be a DAG.
20:14:45 187.068 <App> Document.cpp(3546): _911_stirrup_body_mov#Model still touched after recompute
20:14:45 187.311 <App> Document.cpp(3191): The graph must be a DAG.
20:14:45 187.317 <App> Document.cpp(3546): _911_stirrup_body_mov#Model still touched after recompute
20:15:22 223.856 <App> Document.cpp(3191): The graph must be a DAG.
20:15:22 223.863 <App> Document.cpp(3546): _911_stirrup_body_mov#Model still touched after recompute
20:15:22 223.911 <App> Document.cpp(3191): The graph must be a DAG.
20:15:22 223.914 <App> Document.cpp(3546): _911_stirrup_body_mov#Model still touched after recompute
20:15:22 223.922 <App> Document.cpp(3191): The graph must be a DAG.
20:15:22 223.937 <App> Document.cpp(3546): _911_stirrup_body_mov#Model still touched after recompute
20:15:22 223.951 <App> Document.cpp(3191): The graph must be a DAG.
20:15:22 223.954 <App> Document.cpp(3546): _911_stirrup_body_mov#Model still touched after recompute
20:15:29 231.385 <App> Document.cpp(3191): The graph must be a DAG.
20:15:29 231.389 <App> Document.cpp(3546): _911_stirrup_body_mov#Model still touched after recompute
20:16:14 276.521 <App> Document.cpp(3191): The graph must be a DAG.
20:16:14 276.525 <App> Document.cpp(3546): _911_stirrup_body_mov#Model still touched after recompute
20:16:19 281.575 <App> Document.cpp(3191): The graph must be a DAG.
20:16:19 281.578 <App> Document.cpp(3546): _911_stirrup_body_mov#Model still touched after recompute
20:17:13 334.881 <App> Document.cpp(3191): The graph must be a DAG.
20:17:13 334.888 <App> Document.cpp(3546): _911_stirrup_body_mov#Model still touched after recompute
20:24:08 Running the Python command 'Path_Post' failed:
Traceback (most recent call last):
File "C:\Program Files\FreeCAD 0.20\Mod\Path\PathScripts\PathPost.py", line 437, in Activated
(fail, rc, filename) = self.exportObjectsWith(slist, job)
File "C:\Program Files\FreeCAD 0.20\Mod\Path\PathScripts\PathPost.py", line 216, in exportObjectsWith
gcode = processor.export(objs, filename, postArgs)
File "C:\Program Files\FreeCAD 0.20\Mod\Path\PathScripts\PathPostProcessor.py", line 105, in export
return self.script.export(obj, filename, args)
File "C:\Program Files/FreeCAD 0.20/Mod/Path/PathScripts/post\KineticNCBeamicon2_post.py", line 227, in export
job = PathUtils.findParentJob(obj)
File "C:\Program Files\FreeCAD 0.20\Mod\Path\PathScripts\PathUtils.py", line 405, in findParentJob
for i in obj.InList:

'_TempObject' object has no attribute 'InList'Running the Python command 'Path_Post' failed:
Traceback (most recent call last):
File "C:\Program Files\FreeCAD 0.20\Mod\Path\PathScripts\PathPost.py", line 437, in Activated
(fail, rc, filename) = self.exportObjectsWith(slist, job)
File "C:\Program Files\FreeCAD 0.20\Mod\Path\PathScripts\PathPost.py", line 216, in exportObjectsWith
gcode = processor.export(objs, filename, postArgs)
File "C:\Program Files\FreeCAD 0.20\Mod\Path\PathScripts\PathPostProcessor.py", line 105, in export
return self.script.export(obj, filename, args)
File "C:\Program Files/FreeCAD 0.20/Mod/Path/PathScripts/post\KineticNCBeamicon2_post.py", line 227, in export
job = PathUtils.findParentJob(obj)
File "C:\Program Files\FreeCAD 0.20\Mod\Path\PathScripts\PathUtils.py", line 405, in findParentJob
for i in obj.InList:

'_TempObject' object has no attribute 'InList'Running the Python command 'Path_Post' failed:
Traceback (most recent call last):
File "C:\Program Files\FreeCAD 0.20\Mod\Path\PathScripts\PathPost.py", line 437, in Activated
(fail, rc, filename) = self.exportObjectsWith(slist, job)
File "C:\Program Files\FreeCAD 0.20\Mod\Path\PathScripts\PathPost.py", line 216, in exportObjectsWith
gcode = processor.export(objs, filename, postArgs)
File "C:\Program Files\FreeCAD 0.20\Mod\Path\PathScripts\PathPostProcessor.py", line 105, in export
return self.script.export(obj, filename, args)
File "C:\Program Files/FreeCAD 0.20/Mod/Path/PathScripts/post\KineticNCBeamicon2_post.py", line 227, in export
job = PathUtils.findParentJob(obj)
File "C:\Program Files\FreeCAD 0.20\Mod\Path\PathScripts\PathUtils.py", line 405, in findParentJob
for i in obj.InList:

'_TempObject' object has no attribute 'InList'Running the Python command 'Path_Post' failed:
Traceback (most recent call last):
File "C:\Program Files\FreeCAD 0.20\Mod\Path\PathScripts\PathPost.py", line 437, in Activated
(fail, rc, filename) = self.exportObjectsWith(slist, job)
File "C:\Program Files\FreeCAD 0.20\Mod\Path\PathScripts\PathPost.py", line 216, in exportObjectsWith
gcode = processor.export(objs, filename, postArgs)
File "C:\Program Files\FreeCAD 0.20\Mod\Path\PathScripts\PathPostProcessor.py", line 105, in export
return self.script.export(obj, filename, args)
File "C:\Program Files/FreeCAD 0.20/Mod/Path/PathScripts/post\KineticNCBeamicon2_post.py", line 227, in export
job = PathUtils.findParentJob(obj)
File "C:\Program Files\FreeCAD 0.20\Mod\Path\PathScripts\PathUtils.py", line 405, in findParentJob
for i in obj.InList:

'_TempObject' object has no attribute 'InList'Running the Python command 'Path_Post' failed:
Traceback (most recent call last):
File "C:\Program Files\FreeCAD 0.20\Mod\Path\PathScripts\PathPost.py", line 437, in Activated
(fail, rc, filename) = self.exportObjectsWith(slist, job)
File "C:\Program Files\FreeCAD 0.20\Mod\Path\PathScripts\PathPost.py", line 216, in exportObjectsWith
gcode = processor.export(objs, filename, postArgs)
File "C:\Program Files\FreeCAD 0.20\Mod\Path\PathScripts\PathPostProcessor.py", line 105, in export
return self.script.export(obj, filename, args)
File "C:\Program Files/FreeCAD 0.20/Mod/Path/PathScripts/post\KineticNCBeamicon2_post.py", line 227, in export
job = PathUtils.findParentJob(obj)
File "C:\Program Files\FreeCAD 0.20\Mod\Path\PathScripts\PathUtils.py", line 405, in findParentJob
for i in obj.InList:

'_TempObject' object has no attribute 'InList'Running the Python command 'Path_Post' failed:
Traceback (most recent call last):
File "C:\Program Files\FreeCAD 0.20\Mod\Path\PathScripts\PathPost.py", line 437, in Activated
(fail, rc, filename) = self.exportObjectsWith(slist, job)
File "C:\Program Files\FreeCAD 0.20\Mod\Path\PathScripts\PathPost.py", line 216, in exportObjectsWith
gcode = processor.export(objs, filename, postArgs)
File "C:\Program Files\FreeCAD 0.20\Mod\Path\PathScripts\PathPostProcessor.py", line 105, in export
return self.script.export(obj, filename, args)
File "C:\Program Files/FreeCAD 0.20/Mod/Path/PathScripts/post\KineticNCBeamicon2_post.py", line 227, in export
job = PathUtils.findParentJob(obj)
File "C:\Program Files\FreeCAD 0.20\Mod\Path\PathScripts\PathUtils.py", line 405, in findParentJob
for i in obj.InList:

'_TempObject' object has no attribute 'InList'Running the Python command 'Path_Post' failed:
Traceback (most recent call last):
File "C:\Program Files\FreeCAD 0.20\Mod\Path\PathScripts\PathPost.py", line 437, in Activated
(fail, rc, filename) = self.exportObjectsWith(slist, job)
File "C:\Program Files\FreeCAD 0.20\Mod\Path\PathScripts\PathPost.py", line 216, in exportObjectsWith
gcode = processor.export(objs, filename, postArgs)
File "C:\Program Files\FreeCAD 0.20\Mod\Path\PathScripts\PathPostProcessor.py", line 105, in export
return self.script.export(obj, filename, args)
File "C:\Program Files/FreeCAD 0.20/Mod/Path/PathScripts/post\KineticNCBeamicon2_post.py", line 227, in export
job = PathUtils.findParentJob(obj)
File "C:\Program Files\FreeCAD 0.20\Mod\Path\PathScripts\PathUtils.py", line 405, in findParentJob
for i in obj.InList:

'_TempObject' object has no attribute 'InList'
I need help! I'd Cap that but no doubt someone would berate me.
Attachments
stirrup for forum.FCStd
(33.53 KiB) Downloaded 32 times
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: POST PROCESSOR Confusion

Post by Kunda1 »

Moved to Path subforum
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
spanner888
Posts: 326
Joined: Tue May 28, 2019 10:51 am

Re: POST PROCESSOR Confusion

Post by spanner888 »

At first I thought that the issue might be that you have given the Job two solids to work with in the model. But checking that shows it does not seem to be the cause of issue you see.

Then I changed the PostProcessor in your file to my prefered one, Grbl, and the post processing succeeds with your file, albiet nothing usefull generated as there are no operations in the Job.

In am not familiar with your chosen PostProcessor of KinectNCBeamcon2, so can't add anything else.
bmsaus4ax
Posts: 255
Joined: Sat Nov 14, 2020 9:16 pm
Location: Bargara, Queensland, Australia UTC+10

Re: POST PROCESSOR Confusion

Post by bmsaus4ax »

mp77Bushnell wrote: Mon Sep 12, 2022 1:08 am

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.2
Locale: English/United States (en_US)
Installed mods: 
  * A2plus 0.4.56a
  * dxf-library
  * Help 1.0.3
  * InventorLoader 1.3.0
  * sheetmetal 0.2.49
No clue what I’m doing wrong.
Is it a “design error?
Not necessarily a design error in itself.
The main thing is that your file does not have an active operation.

A problem with your current models is that they are two separate bodies and will not produce profiles for operations such as pockets or facing without removing the stirrup shape.

To overcome this in the design stage in Part Design WB , build the stirrup on top of the base plate face with Map Sketch To Face and then Pad the sketch, to create the solid model, this is then the model for your Job in the Path WB.

Another option is to combine your two bodies into one solid using the Part WB.
Select both bodies and perform Union in Part workbench, the resulting Fusion becomes the model for the Job in Path WB.

Is it something in job setup (Ive tried multiple times.
I’ve chosen 1 job..


I have my “design” from Design Parts
Have it in Pathworkbench
Set up a job (at least that's what I thought I did.

Selected job
At this point you also have to create and select an Operation for the Post Processor to convert to g-code.
.
The chose Post Processor.

Then MANY messages: (which I cant find help with)


Basically the Post Processor can't find anything to work on. ( no Operation to convert.)

.


I would love to be able to research and find what I’m doing wrong if I knew where but so far the Forum is my only hope. Is there a place to find info?
I’ve attached the file and hopefully someone can help.

I need help! I'd Cap that but no doubt someone would berate me.


The Wiki pages can guide as to the set up of the Operations via menu Help -> User Documentation from within FreeCAD.

You will face another problem when you come to the pocket sections of the stirrup shape also with your current tool selection, it is too big for the cavity, it can be at most the same diameter as the cavity width, 1.117mm.

This reply is a bit minimal , I could do an example file if required.
Post Reply