Commit Graph

38 Commits

Author SHA1 Message Date
mlampert
ebc1190d8b PATH: Feature/dogbone ii (#7660)
* Start of new dogbone dressup

* Added Instruction and tangents support for G2/3 moves

* Added Maneuver class to represent a set of moves and process them coherently

* Created kinks and verify their creation.

* Added dogbone detection and verification

* Simplified gcode strings

* Added horizontal t-bones generation

* Added support for vertical t-bone

* Consolidated t-bone creation

* Added support for pathLength

* Added support for tbone on short edge

* Added support for long edges

* Added support for dogbones

* Fixed dogbone for non-horizontal lead-in

* Horizontal bone adaptive length tests

* Fixed dogbone angle and adaptive length

* Some code cleanup

* Added adaptive length tests for dogbones

* Split base data classes into their own PathLanguage module.

* Splitting dogboneII implementation into its constituents

* Moved adaptive length into DogbonII module

* Separate dogboneII generator test cases and changed interface to allow for dynamic length calculations

* Unit tests for length calculation

* Initial DogboneII unit test

* Unit tests and fixes for plunge move handling

* Unit tests for the remaining styles and incision strategies

* Basic DogboneII gui

* Added support for markers

* Better color and selection scheme for markers

* Cleaned up import statements

* Added DogboneII to Path WB init

* Support for dogbone on dogbone and fixed t-bone generation

* Fixed t-bone on short leg bones

* Fixed tbone on short edge when short edge is m1

* Fixed t-bone on long edge for m0/m1 and CW/CCW

* Removed redundant code

* Removed redundant 'Dress-up' from menu entries

* black code formatting

* added generator to cmake

* Fixed typos
2022-11-02 15:25:09 -05:00
Markus Lampert
a5fad7e052 Moved the rest of the operations into Path.Op (.Gui) module 2022-10-11 21:43:09 -07:00
Markus Lampert
45f2765418 Moved all Path operations with model and gui into Path.Op module 2022-10-11 21:43:08 -07:00
Markus Lampert
289c1f8c87 Moved dressups into Path.Dressup module 2022-10-11 21:43:08 -07:00
Markus Lampert
233c92b79e Moved PathLog to Path.Log and import it by default 2022-10-11 21:43:08 -07:00
sliptonic
3f557dd48d fix ordering of edges in loop generation 2022-02-18 13:46:47 -06:00
sliptonic
af0411a897 Translation cleanup: PathCommands 2022-01-03 10:48:39 -06:00
sliptonic
0fae42230c 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
0504ebc704 Path: Add Array operation to recognized Active types for toggle 2021-07-24 22:29:18 -05:00
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