Commit Graph

29 Commits

Author SHA1 Message Date
luz paz
aeafcec125 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
luz paz
60c055e62d 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
Daniel Wood
40cdf68491 only reset the Op visibility when the active state is toggled 2020-05-24 07:48:55 +01:00
Mikael Ågren
df177ee4ee Copy all path operations in selection
Changes "Copy operation in the job" from only being able to copy one
operation. To copy all operations in a selection.
The copy command will only be enabled if all selected objects are
copyable.
2020-04-20 22:12:40 +02:00
Mikael Ågren
6b48dfa3e8 Toggle active state of all path operations in selection
Changes "Toggle the Active State of the Operation" from only being
able to toggle one operation. To toggle all operations in a selection.
The toggle command will only be enabled if all selected objects can
be toggled.
2020-04-20 22:10:27 +02:00
Markus Lampert
6ad9dc9df6 Enable loop detection if it /could/ succeed but don't actually calculate it until activated. 2020-01-03 19:00:15 -08:00
Markus Lampert
4befb9c169 Added support for dressups to toggle Active state command. 2019-12-15 17:52:05 -08:00
Zheng, Lei
cfc6c0ee89 Path changes
* Relaxed valid base shape requirement, as long as it can return a
  shape using part.getShape()

* Improve ViewProviderPath performance by sharing the same selection
  observer

* Relocate libarea binary installation
2019-08-17 15:15:48 +02:00
brad
33b6e25582 Path: remove unnecessary imports 2019-06-10 10:50:06 -05:00
brad
8e372108b5 Path: lgtm Cleanup 2019-06-10 10:50:06 -05:00
sliptonic
77a54cf607 Path: Make a command and icon to toggle op active status 2019-04-05 15:04:02 +02:00
easyw
22d5710986 make Loop selection command available outside Path WB 2018-08-08 08:58:22 +02:00
luz.paz
504f6583dd Typos
The stepcode typos aren't to be found upstream. Recomend we merge nonetheless.
2018-01-08 21:07:00 +01:00
Markus Lampert
5ff9f0fa26 Added template export to Path menu, rearranged layout a bit for better consistency. 2017-11-29 21:45:41 +01:00
Markus Lampert
1318b0b8ee Only check for loop detection if PathWorkbench is active. 2017-10-12 10:17:33 +02:00
Markus Lampert
32ac63b4f7 Fixed refactoring errors. 2017-10-08 10:57:08 -07:00
Markus Lampert
72ff144848 Ensure loop detection logic ignores tree selections. 2017-10-08 10:49:52 -07:00
Markus Lampert
50ef191206 Added comment to not remove findShape which doesn't look like it's used or belongs - still has to stay there. 2017-10-08 12:23:11 -03:00
Markus Lampert
c2f440af8c Dwngraded isHorizontal/isVertical error messages for unsuppported types to warnings and cache loop detection result to get a single message - rather than one per second. 2017-10-08 12:23:11 -03:00
Markus Lampert
a6a572b12c Allow passing in additional face names to horizontalFaceLoop to further constrain the solution. 2017-09-28 11:27:46 -07:00
Markus Lampert
01b0225c4e Added loop detection for vertical faces and enhanced usability of loop select command accordingly. 2017-09-28 11:27:46 -07:00
Markus Lampert
6b0f36f189 Extended edge-loop-selection command become active if there is a single edge selected and that edge is only part of one wire in the horizontal plane. 2017-09-28 11:27:46 -07:00
sliptonic
7ba02338f6 Path: cleanup on operation copy 2017-08-28 11:40:33 -03:00
sliptonic
86b86d75a1 Path: Command to duplicate an operation.
Creates a copy of the currently selected operation in the same job
2017-08-28 11:40:33 -03:00
wmayer
f75fe84732 undo removal of function caused by PR494 2017-02-04 15:40:41 +01:00
sliptonic
fbe0ded7cf PATH: post processor tweaks and loop select.
rename generic_post.py: This is actually a post specific to a machine.  The generic name is confusing
fix test case. Contour has no plunge angle
scrubbing postprocessors for python 2 style prints
Keep loop select usable when task panel is open.
2017-02-04 15:36:33 +01:00
Zheng, Lei
be1d0f6151 Path: added Path.fromShapes and Path.sortWires
* Path.fromShapes can now convert any number of shapes to Path with
optimzied travel distances. It internally uses Path.sortWires to
minimize travel distances, and also sort wires by its Z height in case
of sectioned wires.

* The above python function is impelmented in Path::Area class.

* Path::FeatureShape is rewrote to take advantage of these two
functions.

* Add Path::FeatureAreaView to partially display a Path::FeatureArea's
sections.
2017-01-27 17:13:16 +08:00
sliptonic
710624309e really ugly icons.
Maybe someone with talent will help.
2016-10-24 12:49:57 -02:00
sliptonic
327044ff2a Edge Profile operation 2016-10-15 15:25:54 -03:00