Commit Graph

56 Commits

Author SHA1 Message Date
Markus Lampert
934b0aaa07 Consistent black formatting of all Path python files 2022-02-28 21:06:16 -08:00
Markus Lampert
8583894284 Remove pylint annotations and script 2022-02-28 21:02:45 -08:00
sliptonic
b39272cf96 dogbone, boundary, ramp entry dressup tranlation fixes 2022-01-25 09:58:51 -06:00
sliptonic
946944e1de Black - Job
Holding tag black

Feature extension black

Dressup boundary and dogbone black
2022-01-25 09:58:51 -06:00
Russell Johnson
ae7a8752fb Path: LGTM cleanup 2021-08-27 22:37:41 -05:00
sliptonic
515c7deb21 Merge pull request #4634 from mlampert/bugfix/issue-2839-dogbone-visualisation
[Path]: Bugfix/issue 2839 dogbone visualisation
2021-03-25 22:17:31 -05:00
Markus Lampert
67555d2cc3 Fixed coin import for py3 class initialisation 2021-03-18 18:00:55 -07:00
Markus Lampert
e510d095c4 Moved coin import under GuiUp clause 2021-03-18 11:44:57 -07:00
Markus Lampert
1704f42fb4 Cleanup marker after deleting them 2021-03-17 20:06:01 -07:00
Markus Lampert
c343533604 Added visualisation for dogbones during editing 2021-03-17 19:46:51 -07:00
Markus Lampert
fb49fb2470 Dogbone resiliency against noop moves 2021-03-15 22:39:27 -07:00
Markus Lampert
ef6d526bc3 Dogbone resiliency against comments between moves 2021-03-15 22:39:18 -07:00
Markus Lampert
35efc4ec4d Don't insert dogbone between two straight segments 2021-03-15 22:39:09 -07:00
Patrick Felixberger
536adcfda7 Added gui support for lead in/out dressup 2020-12-23 12:05:49 +01: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
Eric Trombly
070099daa4 fix some typos in recent lazyloader implementation 2020-04-15 12:32:48 -05:00
Eric Trombly
7fe094ac02 add lazyloader support
lazy_loader is copied to Ext now, modified external imports to lazy_load

add a few more imports to be lazy loaded, think the install path is correct now

[TD]"<" symbol embedded in html

revert changes to path modules for testing

use lazyloader in PathAreaOp.py

add back in deferred loading

temp change to print error message in tests

temp change to print error message in tests

add _init__.py to lazy_loader

make install in CMakeLists.txt one line
2020-04-13 21:14:34 -05:00
Markus Lampert
81f809cfcf Removed dead code for debugging shortcut warnings. 2020-01-03 23:13:55 -08:00
Markus Lampert
edd46bc7d0 Deletion of dogbone dressup should not rely on the model being properly setup. 2020-01-03 19:00:15 -08:00
Markus Lampert
296058d6dd Added ToolController creation 2019-11-28 17:31:35 -08:00
Markus Lampert
8896a84372 More dogbond pylint cleanup 2019-07-01 15:29:51 -07:00
Markus Lampert
8769618cab Fixed pylint warnings for PathDressupDogbone 2019-07-01 15:29:51 -07:00
sliptonic
b55c210f39 remove unnecessary imports. normalize debug log levels 2019-06-21 13:01:01 -05:00
Markus Lampert
285efa3379 Dressup gui import cleanup 2019-06-02 11:30:18 -07:00
luz.paz
aedb888ae3 Path: source comment typo fixes
Found via `codespell`
2019-05-30 19:57:25 +02:00
Markus Lampert
fe8677fab1 Also restore position of base op when dressup is deleted. 2018-11-04 14:50:04 -03:00
Markus Lampert
bfcd21361f Insert dressups at the same position in the operations list as the parent op is/was 2018-11-04 14:50:04 -03:00
Markus Lampert
8030e96e54 Fixed dogbone support for CCW profiles. 2018-09-11 07:24:39 +02:00
markus
7c048482bf Hiding all/most properties that are supposed to be hidden on document restore again. 2018-09-01 21:01:04 +02:00
Markus Lampert
ebf84ff152 Fixed holding tags issue with Path's at the same height as the tag top. 2018-07-06 22:08:47 -07:00
Markus Lampert
b24e95b7c1 Removed PathGeom class and moved functionality into module interface. 2018-06-19 21:38:20 -07:00
luz.paz
fa8f012108 Path: moved '\n' out of translation()
Instead it is appended to the end of the `FreeCAD.Console.Print.....()`
2018-02-11 10:49:19 +01:00
Markus Lampert
23f88c5d85 Fixed 2885, dogbone maintaining F parameter. 2018-01-22 19:40:50 +01:00
Markus Lampert
c3f03d3696 Removed ToolController from all dressups and replaced with recursive search for the base op's ToolController. 2018-01-22 19:40:50 +01:00
Markus Lampert
8511597a4c Made dogbone resilient to all dressups and profiles. 2018-01-22 19:40:50 +01:00
sliptonic
12e6533df4 Path: rename dressup commands to conform to standard
PEP8 cleanup
2018-01-16 00:32:35 -06:00
Markus Lampert
dce9c0e385 Refactored use of iteritems into function to deal with python 2.7 and 3 compatibility. 2017-10-22 18:18:10 -07:00
Markus Lampert
beaf21d43a Cleaned up dogbone dressup. 2017-09-26 10:51:17 -03:00
Markus Lampert
ef93ba1d42 Fixed moving operation back into job. 2017-09-08 12:25:58 +02:00
Markus Lampert
c0d1fa49a6 Added delete operation functionality;
fixed adding to job for dressups.
2017-09-08 12:25:58 +02:00
Markus Lampert
8c085226d7 split PathJob into model and gui;
Made PathJob a regular feature and moved operations into child compound;
Added stock feature.
2017-09-08 12:25:58 +02:00
Markus Lampert
e0ebe92d1c Added full unit test to make sure tool chain works correctly. 2017-08-24 20:31:57 -07:00
Markus Lampert
a076179cf0 Start of dogbone unit tests. 2017-08-24 20:31:57 -07:00
Markus Lampert
0d00b0ef7e Fixed up onDelete for dogbone and ramp entry as well. 2017-07-29 11:58:43 +02:00
Markus Lampert
104eb53a8b Fixed Contour.Direction and simplified Dogbone.Side determination. 2017-07-10 19:17:41 -03:00
Markus Lampert
1bda01646d Fixed strongarming 'Side' for dogbnoe. 2017-07-10 19:17:41 -03:00
Markus Lampert
d99950010e Fixed Dogbone creation to work for PathContour again. 2017-07-10 19:17:41 -03:00
Markus Lampert
7d44c26b38 Fixed deletion of dressup - clearing child object pointer prevents Tree from moving it to the root of the tree. 2017-06-26 11:10:15 -03: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