Commit Graph

33 Commits

Author SHA1 Message Date
jim
1b1e7e2a23 PathArry translate copies along Z axis as it does along X/Y 2021-09-20 21:10:49 -07:00
Russell Johnson
ff03764e95 Path: Add Active property to PathArray object; Fixes #4704
This property is required for the Path Simulator.  It might also be required for some post-processing procedures.
2021-07-24 22:29:18 -05:00
Russell Johnson
fe06dfefb6 Path: Improve method name for setting editor modes for properties 2021-07-24 22:29:18 -05:00
Russell Johnson
d12312a469 Path: Improve variable names for mode values 2021-07-24 22:29:18 -05:00
Russell Johnson
ffa74e0aa5 Path: Refactor path array algorithm into independent PathArray class
New class is `obj` independent allowing for greater scripting capability.
Added missing `onDocumentRestored()` method to ObjectArray class to handle property visibility and edit modes, per standard Path operations on document restoration.
2021-07-24 22:29:18 -05:00
jim
631e166472 fix whitespace 2021-05-25 18:36:51 -07:00
jim
a62e015427 Clean up logic that tests whether there any base Paths to process 2021-05-25 18:34:19 -07:00
jim
592dba1610 Hide ToolController property. TC can be chosen by the first operation in the PathArray Base property. 2021-05-25 18:24:50 -07:00
jim
837f2c00f3 Wrap strings in QT_TRANSLATE_NOOP 2021-05-25 18:11:15 -07:00
jim
276f8f5fab Fix row-ordering logic when SwapDirection==True 2021-05-24 21:21:17 -07:00
jim
c190fca449 Add PathArray "Jitter" capability to offset each copy by a random distance. Helps create an imperfect "hand-crafted" appearance.
Adds properties:
 - JitterPercent: % of copies that will be randomly offset
 - JitterMagnitude: Maximum distance to offset copies
2021-05-24 21:00:45 -07:00
jim
6c6d62b189 fix whitespace 2021-05-23 19:28:36 -07:00
jim
fdd8126e39 Path: Add PathArray "SwapDirection" property to process copies along X axis before Y axis 2021-05-23 19:25:52 -07:00
jim
c1e9f38b4e PathArray support for multiple paths as base 2021-05-23 19:24:30 -07: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
Markus Lampert
db67c4b4c1 Cleaned up Path op utilities 2019-07-09 19:48:26 -07:00
brad
8e372108b5 Path: lgtm Cleanup 2019-06-10 10:50:06 -05:00
luz.paz
ec12ffae0c Path: source comment typo fixes
Found via `codespell`
2019-05-30 19:57:25 +02:00
luz.paz
0720c5e233 Crowdin: Path string fixes 2018-04-25 11:03:10 +02:00
sliptonic
1719483738 Path: fix bug in polar array 2017-10-15 15:32:50 -05:00
sliptonic
b3be190529 Path: gui cleanup 2017-08-28 11:40:33 -03:00
Pekka Roivainen
527700b60d Path: PathArray support for Polar and 2D arrays 2017-06-11 17:49:38 +02:00
Pekka Roivainen
cdf3215024 Path: Add ToolController property to PathArray Object 2017-06-11 17:49:38 +02:00
Markus Lampert
af699ab7e2 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
ea49943a8f Moved almost all translate implementations away from QtGui. 2017-06-03 15:37:41 -07:00
ml
b417ac153b Fix for 2773 and two other minor fixes. 2016-11-15 22:19:57 -08:00
sliptonic
cddccdf4c7 Tool Library replaces ToolTable Job replaces Project 2016-10-15 15:25:54 -03:00
Yorik van Havre
4375299724 Made Path objects properties translatable - fixes #2524 2016-10-07 22:21:02 -03:00
Yorik van Havre
d2a6c95993 Path: Fixed translation stuff - issue #2443 2016-02-09 17:05:57 -02:00
Yorik van Havre
51919da326 Path: Added pref setting to disable auto-include of new paths in projects 2016-01-24 21:04:02 -02:00
Yorik van Havre
3f35e195dd Path: misc bugfixes + restored node markers 2016-01-21 14:02:56 -02:00
Yorik van Havre
63904377e2 Path: Added new series of tools and fixes
* Fixed UsePlacement property of Path Compounds
* Added Path FaceProfile command - does a simple 2D contour of a face
* Added Path FacePocket command - does a simple 2D pocket of a face
* Added Path Array command - does an array with copies of a path
* Added Path Custom command - to add custom G-Code
* Added Inspect command - to inspect the G-Code of a path
2016-01-19 22:31:46 -02:00