Commit Graph

34 Commits

Author SHA1 Message Date
sliptonic f18c730491 fix #4810
use subprocess.Popen() to avoid executing arbitrary code
2021-12-30 16:32:17 -06:00
sliptonic c21f7ab023 Black reformat 2021-09-29 16:51:00 -05:00
sliptonic 9fbd227456 Job object doesn't exist in this context.
Derive output name in the output section or default if unknown
2021-09-29 16:51:00 -05:00
Ton 380b8f8c14 Update PathSanity.py
Output fillename for the report is now the same as the postprocessor job (job.PostProcessorOutputFile), this way the setup file will be autoloaded in LinuxCNC qtDraggon ui and others based on probe-basic.
There is some error checking missing, the check to see if the job.PostProcessorOutputFile is not empty is not there for example. But since the report can only be generated when there is a postprocessor file this is not a big problem.
2021-06-12 08:25:03 +02:00
Markus Lampert 8e6f964e0d Renamed ToolTable group to Tools in order to (not) set expectations. 2020-12-31 18:40:23 -08:00
Markus Lampert 121152deb9 Use job.ToolTable.Group instead of job.ToolController. 2020-12-31 15:38:18 -08:00
Markus Lampert 9eebafbe4b Added consistent encoding headers and fixed whitespaces 2020-12-03 18:15:36 -08:00
luz paz fe547195bf Path: Change filenames in the rest of the Path code
Reflects changes in 
* PathOpGui.SetupOperation()
* GetResources()
* sPIxmap
* pixmap
* *.UI files

Also contains minor translation context renames (these were edits made near to original intent of this commit)
2020-12-02 06:57:28 -05:00
sliptonic e64f868765 Fix default directory bug 2020-11-15 18:22:45 -06:00
luz paz b75cd3dd52 Path: Fix header uniformity and remove trailing whitespace
This PR fixes header uniformity across all Path files. It also removes all trailing whitespace.
2020-11-05 19:57:21 +01:00
sliptonic 46f050eece handle missing target directory
better output messages
2020-10-14 15:21:27 -05:00
sliptonic c42149b0d4 making it a bit more forgiving of old jobs/tools 2020-10-06 13:47:13 -05:00
sliptonic cfa38c26a4 Ignore old-style tool controllers 2020-10-06 13:47:13 -05:00
sliptonic a8a76deb87 Allow adding a material to the stock object.
Select the stock object and use the Arch Material button to add and assign
the material to the stock.

The only thing affected is the path-sanity report
2020-10-06 13:47:13 -05:00
sliptonic dfc4e53f67 Working html report with asciidoctor 2020-10-06 13:47:13 -05:00
luz.paz aedb888ae3 Path: source comment typo fixes
Found via `codespell`
2019-05-30 19:57:25 +02:00
luz.paz e1446a0b99 [WIP] Crowdin: fixes pre-0.18 release
Includes some whitespace fixes as well
2019-01-30 11:08:03 -02:00
sliptonic ef87018430 crowdin: fix whitespace 2019-01-19 23:31:49 -06:00
luz.paz 7703bc7897 Residual files left to remove \n from translate() 2018-02-12 21:59:37 +01:00
luz.paz fa8f012108 Path: moved '\n' out of translation()
Instead it is appended to the end of the `FreeCAD.Console.Print.....()`
2018-02-11 10:49:19 +01:00
Markus Lampert 27e7dcfe13 Fixed PathSanity. 2017-11-01 10:39:07 -02:00
Markus Lampert 12d23df2ac Removed remaining old accel keys and fixed PathSanity object references. 2017-08-22 10:16:58 -03:00
Markus Lampert 1664e65135 Restored icons for profile ops; cleaned up accel keys. 2017-08-22 10:16:58 -03:00
sliptonic a5a88e5b59 Path: remove obsolete code from cmake
also refactored depthparams and fixes to depths
on various operations
2017-06-28 21:46:44 +02:00
sliptonic 8b804d71ae path: more collision support
Made depthparams an iterable.
2017-06-28 21:46:44 +02:00
sliptonic ad52e41ece Path: cleanup and add collision 2017-06-28 21:46:44 +02:00
Markus Lampert c4cb45c1b4 Replaced Tooltable with Tool in the TC;
Added PropertyTool;
Fixed sanity check.
2017-06-21 11:41:34 -07:00
Markus Lampert 4c3cee03c5 Replaced default context argument with explicit call for pylupdate to pick up the strings and contexts. 2017-06-03 15:37:41 -07:00
Markus Lampert 3368c8682e Moved almost all translate implementations away from QtGui. 2017-06-03 15:37:41 -07:00
Kurt Kremitzki e47edae9c3 Update Path to py3-compatible printing 2017-01-30 10:21:22 +01:00
ml eb9e9096ce Cleaned up Machine removal. 2016-11-02 10:58:35 +01:00
sliptonic 5398c58d6b Tool Library replaces ToolTable Job replaces Project 2016-10-15 15:25:54 -03:00
brad 91978ba1a4 Operations and ToolControllers have labels set automatically.
This will hopefully make things a little clearer
A couple more Sanity checks.
Don't error if no TC in project.
2016-05-23 13:04:58 -03:00
sliptonic a0f332feb0 OCC pocket handles large curves better now. Needs testing
initial commit
2016-05-23 13:04:58 -03:00