Russell Johnson
2bc14f84aa
Path: Fix automatic commitTransaction() calls, issue #6149 [Bug]
...
This commit removes the automatic committal of transactions when activated with GUI command. The committal of the transaction is executed with the `accept()` and `reject()` methods of the respective task panel.
2022-03-12 22:05:04 -06:00
Markus Lampert
37095fbf78
Consistent black formatting of all Path python files
2022-02-28 21:06:16 -08:00
Markus Lampert
122fd49b37
Remove pylint annotations and script
2022-02-28 21:02:45 -08:00
sliptonic
cf864c4ff1
dogbone, boundary, ramp entry dressup tranlation fixes
2022-01-25 09:58:51 -06:00
sliptonic
03cb6c965d
Black - Job
...
Holding tag black
Feature extension black
Dressup boundary and dogbone black
2022-01-25 09:58:51 -06:00
Russell Johnson
45529de1f0
Path: LGTM cleanup
2021-08-27 22:37:41 -05:00
sliptonic
e445658596
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
6a3815c9c0
Fixed coin import for py3 class initialisation
2021-03-18 18:00:55 -07:00
Markus Lampert
18a0ff7bd0
Moved coin import under GuiUp clause
2021-03-18 11:44:57 -07:00
Markus Lampert
462b88d074
Cleanup marker after deleting them
2021-03-17 20:06:01 -07:00
Markus Lampert
fb4ec3e18e
Added visualisation for dogbones during editing
2021-03-17 19:46:51 -07:00
Markus Lampert
a589be64d9
Dogbone resiliency against noop moves
2021-03-15 22:39:27 -07:00
Markus Lampert
eb91c02925
Dogbone resiliency against comments between moves
2021-03-15 22:39:18 -07:00
Markus Lampert
02c0a6dd7b
Don't insert dogbone between two straight segments
2021-03-15 22:39:09 -07:00
Patrick Felixberger
9e9c1ed21b
Added gui support for lead in/out dressup
2020-12-23 12:05:49 +01: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
Eric Trombly
08fc5556d5
fix some typos in recent lazyloader implementation
2020-04-15 12:32:48 -05:00
Eric Trombly
24e681c63b
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
81bbb0066d
Removed dead code for debugging shortcut warnings.
2020-01-03 23:13:55 -08:00
Markus Lampert
8d433a43f9
Deletion of dogbone dressup should not rely on the model being properly setup.
2020-01-03 19:00:15 -08:00
Markus Lampert
a5d1203980
Added ToolController creation
2019-11-28 17:31:35 -08:00
Markus Lampert
d47138fd14
More dogbond pylint cleanup
2019-07-01 15:29:51 -07:00
Markus Lampert
e3ce356e4f
Fixed pylint warnings for PathDressupDogbone
2019-07-01 15:29:51 -07:00
sliptonic
617c619d2f
remove unnecessary imports. normalize debug log levels
2019-06-21 13:01:01 -05:00
Markus Lampert
adceb31db3
Dressup gui import cleanup
2019-06-02 11:30:18 -07:00
luz.paz
ec12ffae0c
Path: source comment typo fixes
...
Found via `codespell`
2019-05-30 19:57:25 +02:00
Markus Lampert
a4fb7b6c95
Also restore position of base op when dressup is deleted.
2018-11-04 14:50:04 -03:00
Markus Lampert
fe916e3b58
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
00808f555e
Fixed dogbone support for CCW profiles.
2018-09-11 07:24:39 +02:00
markus
828f6756c4
Hiding all/most properties that are supposed to be hidden on document restore again.
2018-09-01 21:01:04 +02:00
Markus Lampert
5afa5e04cf
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
bf46c47616
Removed PathGeom class and moved functionality into module interface.
2018-06-19 21:38:20 -07:00
luz.paz
52fa10d9ac
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
0e11e83c68
Fixed 2885, dogbone maintaining F parameter.
2018-01-22 19:40:50 +01:00
Markus Lampert
8ecf31feff
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
d1fa0d1d37
Made dogbone resilient to all dressups and profiles.
2018-01-22 19:40:50 +01:00
sliptonic
15c62d3685
Path: rename dressup commands to conform to standard
...
PEP8 cleanup
2018-01-16 00:32:35 -06:00
Markus Lampert
d52fc9ef84
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
1eaf36fd3d
Cleaned up dogbone dressup.
2017-09-26 10:51:17 -03:00
Markus Lampert
d6dcb27dd2
Fixed moving operation back into job.
2017-09-08 12:25:58 +02:00
Markus Lampert
a2edc81400
Added delete operation functionality;
...
fixed adding to job for dressups.
2017-09-08 12:25:58 +02:00
Markus Lampert
52590318ad
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
504e4b7109
Added full unit test to make sure tool chain works correctly.
2017-08-24 20:31:57 -07:00
Markus Lampert
6e1f42606f
Start of dogbone unit tests.
2017-08-24 20:31:57 -07:00
Markus Lampert
5ae7ebd12c
Fixed up onDelete for dogbone and ramp entry as well.
2017-07-29 11:58:43 +02:00
Markus Lampert
69037ed2a1
Fixed Contour.Direction and simplified Dogbone.Side determination.
2017-07-10 19:17:41 -03:00
Markus Lampert
428c47d427
Fixed strongarming 'Side' for dogbnoe.
2017-07-10 19:17:41 -03:00
Markus Lampert
11f7fe990f
Fixed Dogbone creation to work for PathContour again.
2017-07-10 19:17:41 -03:00
Markus Lampert
9626ee24f6
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