Yes, a post processor preferences and options panel is a good idea.
I've solved the situation for my case by modifying the source since I'm building it. But a more general solution would be good.
@+.
I'm not entirely sure what you are meaning by that comment but it sounds like you are saying what Gautier suggested is already present.
If you would have cared to open up the preferences before getting on your soap box you might have noticed the path output section. But I guess that's too much to ask for these days. Also, I have pointed at the job templates several times before which can also specify the post processor - which can also be set in the preferences. Can't help ya if ya ain't using what's there.freman wrote: ↑Sat Oct 26, 2019 7:04 pmI'm not entirely sure what you are meaning by that comment but it sounds like you are saying what Gautier suggested is already present.
He was suggesting an options panel ( presumably a kind of checkbox thing for the binary choice options ) . At the moment, all there is an edit box where you can type in kind of command line option. You need to continually configure this every time you create a job which is quite a drag.
I even find continually needing to select my post processor on every single job a drag. There is little chance I'm flipping constantly from one machine to another needing different PPs each time. Pre-filling the choice with the last used PP would be a nice trivial feature mod that would make the work flow easier. If any typed options could also be made persistent that would get around some of the need for a panel ( though not having to dig around to find the exact text required would still be a plus for a gui approach ).
I was not "getting on my soapbox" I was trying to make a useful suggestion where I thought improvements could be made. I did look at prefs but due to screen size ( I only have 1780x 1240 availablemlampert wrote: ↑Sat Oct 26, 2019 9:58 pm
If you would have cared to open up the preferences before getting on your soap box you might have noticed the path output section. But I guess that's too much to ask for these days. Also, I have pointed at the job templates several times before which can also specify the post processor - which can also be set in the preferences. Can't help ya if ya ain't using what's there.
Code: Select all
Traceback (most recent call last):
File "~/freecad-master-build/Mod/Path/PathScripts/PathPreferencesPathJob.py", line 262, in setProcessorListTooltip
self.setPostProcessorTooltip(self.form.postProcessorList, item.text(), '')
File "~/freecad-master-build/Mod/Path/PathScripts/PathPreferencesPathJob.py", line 255, in setPostProcessorTooltip
processor = self.getPostProcessor(name)
File "~/freecad-master-build/Mod/Path/PathScripts/PathPreferencesPathJob.py", line 249, in getPostProcessor
processor = PostProcessor.load(name)
File "~/freecad-master-build/Mod/Path/PathScripts/PathPostProcessor.py", line 49, in load
exec("import %s as current_post" % postname, namespace) # pylint: disable=exec-used
File "<string>", line 1, in <module>
File "~/freecad-master-build/Mod/Path/PathScripts//post/centroid_post.py", line 82, in <module>
'''.format(__name__, FreeCAD.ActiveDocument.FileName, str(now))
AttributeError: 'NoneType' object has no attribute 'FileName'
Traceback (most recent call last):
File "~/freecad-master-build/Mod/Path/PathScripts/PathPreferencesPathJob.py", line 262, in setProcessorListTooltip
self.setPostProcessorTooltip(self.form.postProcessorList, item.text(), '')
File "~/freecad-master-build/Mod/Path/PathScripts/PathPreferencesPathJob.py", line 255, in setPostProcessorTooltip
processor = self.getPostProcessor(name)
File "~/freecad-master-build/Mod/Path/PathScripts/PathPreferencesPathJob.py", line 249, in getPostProcessor
processor = PostProcessor.load(name)
File "~/freecad-master-build/Mod/Path/PathScripts/PathPostProcessor.py", line 49, in load
exec("import %s as current_post" % postname, namespace) # pylint: disable=exec-used
File "<string>", line 1, in <module>
File "~/freecad-master-build/Mod/Path/PathScripts//post/centroid_post.py", line 82, in <module>
'''.format(__name__, FreeCAD.ActiveDocument.FileName, str(now))
AttributeError: 'NoneType' object has no attribute 'FileName'
Traceback (most recent call last):
File "~/freecad-master-build/Mod/Path/PathScripts/PathPreferencesPathJob.py", line 262, in setProcessorListTooltip
self.setPostProcessorTooltip(self.form.postProcessorList, item.text(), '')
File "~/freecad-master-build/Mod/Path/PathScripts/PathPreferencesPathJob.py", line 255, in setPostProcessorTooltip
processor = self.getPostProcessor(name)
File "~/freecad-master-build/Mod/Path/PathScripts/PathPreferencesPathJob.py", line 249, in getPostProcessor
processor = PostProcessor.load(name)
File "~/freecad-master-build/Mod/Path/PathScripts/PathPostProcessor.py", line 49, in load
exec("import %s as current_post" % postname, namespace) # pylint: disable=exec-used
File "<string>", line 1, in <module>
File "~/freecad-master-build/Mod/Path/PathScripts//post/centroid_post.py", line 82, in <module>
'''.format(__name__, FreeCAD.ActiveDocument.FileName, str(now))
AttributeError: 'NoneType' object has no attribute 'FileName'
Traceback (most recent call last):
File "~/freecad-master-build/Mod/Path/PathScripts/PathPreferencesPathJob.py", line 262, in setProcessorListTooltip
self.setPostProcessorTooltip(self.form.postProcessorList, item.text(), '')
File "~/freecad-master-build/Mod/Path/PathScripts/PathPreferencesPathJob.py", line 255, in setPostProcessorTooltip
processor = self.getPostProcessor(name)
File "~/freecad-master-build/Mod/Path/PathScripts/PathPreferencesPathJob.py", line 249, in getPostProcessor
processor = PostProcessor.load(name)
File "~/freecad-master-build/Mod/Path/PathScripts/PathPostProcessor.py", line 49, in load
exec("import %s as current_post" % postname, namespace) # pylint: disable=exec-used
File "<string>", line 1, in <module>
File "~/freecad-master-build/Mod/Path/PathScripts//post/centroid_post.py", line 82, in <module>
'''.format(__name__, FreeCAD.ActiveDocument.FileName, str(now))
AttributeError: 'NoneType' object has no attribute 'FileName'
Traceback (most recent call last):
File "~/freecad-master-build/Mod/Path/PathScripts/PathPreferencesPathJob.py", line 262, in setProcessorListTooltip
self.setPostProcessorTooltip(self.form.postProcessorList, item.text(), '')
File "~/freecad-master-build/Mod/Path/PathScripts/PathPreferencesPathJob.py", line 255, in setPostProcessorTooltip
processor = self.getPostProcessor(name)
File "~/freecad-master-build/Mod/Path/PathScripts/PathPreferencesPathJob.py", line 249, in getPostProcessor
processor = PostProcessor.load(name)
File "~/freecad-master-build/Mod/Path/PathScripts/PathPostProcessor.py", line 49, in load
exec("import %s as current_post" % postname, namespace) # pylint: disable=exec-used
File "<string>", line 1, in <module>
File "~/freecad-master-build/Mod/Path/PathScripts//post/centroid_post.py", line 82, in <module>
'''.format(__name__, FreeCAD.ActiveDocument.FileName, str(now))
AttributeError: 'NoneType' object has no attribute 'FileName'