Commit Graph

41 Commits

Author SHA1 Message Date
Markus Lampert
d52fc71663 Blanket black formatting for Path python files 2022-03-20 13:23:48 -07:00
Matti Eiden
af8b6fba07 PathArray: Support applying PathArray on Dressups 2022-03-12 22:31:16 +02:00
Markus Lampert
934b0aaa07 Consistent black formatting of all Path python files 2022-02-28 21:06:16 -08:00
jim
7ab27ff2e2 merge with formatting and translation changes 2022-01-05 15:01:43 -08:00
sliptonic
908622176b PathArray translation cleanup 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
jim
ba4f1b443b allow user to specify a seed value for jitter pseudorandomness so that multiple operations/tools can follow the same sequence 2022-01-02 07:38:56 -08:00
jim
531e9143f4 Correct typo in jitter dimension calculation 2022-01-01 19:59:24 -08:00
jim
6e1784ddba PathArry translate copies along Z axis as it does along X/Y 2021-09-20 21:10:49 -07:00
Russell Johnson
2da26fe715 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
fc70edc66a Path: Improve method name for setting editor modes for properties 2021-07-24 22:29:18 -05:00
Russell Johnson
d8806b0e5c Path: Improve variable names for mode values 2021-07-24 22:29:18 -05:00
Russell Johnson
edc358a4a1 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
815679a487 fix whitespace 2021-05-25 18:36:51 -07:00
jim
b0ab46878b Clean up logic that tests whether there any base Paths to process 2021-05-25 18:34:19 -07:00
jim
9234c33db1 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
4e2137b358 Wrap strings in QT_TRANSLATE_NOOP 2021-05-25 18:11:15 -07:00
jim
a3f37025b1 Fix row-ordering logic when SwapDirection==True 2021-05-24 21:21:17 -07:00
jim
daddf550aa 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
0495310984 fix whitespace 2021-05-23 19:28:36 -07:00
jim
db8a6116da Path: Add PathArray "SwapDirection" property to process copies along X axis before Y axis 2021-05-23 19:25:52 -07:00
jim
e8e1b4ce94 PathArray support for multiple paths as base 2021-05-23 19:24:30 -07: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
Markus Lampert
5659a0ecc0 Cleaned up Path op utilities 2019-07-09 19:48:26 -07:00
brad
4cbdf78836 Path: lgtm Cleanup 2019-06-10 10:50:06 -05:00
luz.paz
aedb888ae3 Path: source comment typo fixes
Found via `codespell`
2019-05-30 19:57:25 +02:00
luz.paz
13db1e5349 Crowdin: Path string fixes 2018-04-25 11:03:10 +02:00
sliptonic
2a7ba6f61f Path: fix bug in polar array 2017-10-15 15:32:50 -05:00
sliptonic
a15421e9cc Path: gui cleanup 2017-08-28 11:40:33 -03:00
Pekka Roivainen
af68de8231 Path: PathArray support for Polar and 2D arrays 2017-06-11 17:49:38 +02:00
Pekka Roivainen
44bbffe48a Path: Add ToolController property to PathArray Object 2017-06-11 17:49:38 +02: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
ml
0c5d5566ab Fix for 2773 and two other minor fixes. 2016-11-15 22:19:57 -08:00
sliptonic
5398c58d6b Tool Library replaces ToolTable Job replaces Project 2016-10-15 15:25:54 -03:00
Yorik van Havre
a50bd5dc88 Made Path objects properties translatable - fixes #2524 2016-10-07 22:21:02 -03:00
Yorik van Havre
7ff4e28599 Path: Fixed translation stuff - issue #2443 2016-02-09 17:05:57 -02:00
Yorik van Havre
cbdd18cef6 Path: Added pref setting to disable auto-include of new paths in projects 2016-01-24 21:04:02 -02:00
Yorik van Havre
2ed8e5dd99 Path: misc bugfixes + restored node markers 2016-01-21 14:02:56 -02:00
Yorik van Havre
0d22ca8eaf 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