Commit Graph

33 Commits

Author SHA1 Message Date
sliptonic
bda9cda18a fix ordering of edges in loop generation 2022-02-18 13:46:47 -06:00
sliptonic
02cbd7c342 Translation cleanup: PathCommands 2022-01-03 10:48:39 -06:00
sliptonic
2a22ead350 black reformat
black reformat for PathCommands

Black reform PathCopy

Black reform PathComment

Black reformat PathCustom/gui

Black reformat PathUtil/PathUtils

Black reformat PathHop

Black reformat PathGeom

Black reformat

Black reformat

Black reformat

Black reformat

Black reformat

black reformat

Black reformat

black
2022-01-03 10:48:39 -06:00
Russell Johnson
ca6f85ff69 Path: Add Array operation to recognized Active types for toggle 2021-07-24 22:29:18 -05: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
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
Daniel Wood
760685e2c7 only reset the Op visibility when the active state is toggled 2020-05-24 07:48:55 +01:00
Mikael Ågren
bd669a603f 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
477f0c913c 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
f7527927c6 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
5df4bbf2f4 Added support for dressups to toggle Active state command. 2019-12-15 17:52:05 -08:00
Zheng, Lei
d93259e238 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
b564189f75 Path: remove unnecessary imports 2019-06-10 10:50:06 -05:00
brad
4cbdf78836 Path: lgtm Cleanup 2019-06-10 10:50:06 -05:00
sliptonic
d5edb6ed2a Path: Make a command and icon to toggle op active status 2019-04-05 15:04:02 +02:00
easyw
c961f8f6b5 make Loop selection command available outside Path WB 2018-08-08 08:58:22 +02:00
luz.paz
a35dd3feea Typos
The stepcode typos aren't to be found upstream. Recomend we merge nonetheless.
2018-01-08 21:07:00 +01:00
Markus Lampert
7803264814 Added template export to Path menu, rearranged layout a bit for better consistency. 2017-11-29 21:45:41 +01:00
Markus Lampert
41a4d71aae Only check for loop detection if PathWorkbench is active. 2017-10-12 10:17:33 +02:00
Markus Lampert
c75b3b911d Fixed refactoring errors. 2017-10-08 10:57:08 -07:00
Markus Lampert
d75a864920 Ensure loop detection logic ignores tree selections. 2017-10-08 10:49:52 -07:00
Markus Lampert
f1a0725087 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
3afbbfa3da 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
aa7d6e1bab Allow passing in additional face names to horizontalFaceLoop to further constrain the solution. 2017-09-28 11:27:46 -07:00
Markus Lampert
55766140c4 Added loop detection for vertical faces and enhanced usability of loop select command accordingly. 2017-09-28 11:27:46 -07:00
Markus Lampert
f8a5715724 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
550d35fb05 Path: cleanup on operation copy 2017-08-28 11:40:33 -03:00
sliptonic
694fb31df1 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
09ef1e9ca9 undo removal of function caused by PR494 2017-02-04 15:40:41 +01:00
sliptonic
899e57fc35 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
a3f46a40e9 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
5ebb079afb really ugly icons.
Maybe someone with talent will help.
2016-10-24 12:49:57 -02:00
sliptonic
df38242063 Edge Profile operation 2016-10-15 15:25:54 -03:00