Commit Graph

45 Commits

Author SHA1 Message Date
Russell Johnson
20e3657125 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
Russell Johnson
6b8b870e21 Path: Fix enumeration dictionary error
This commit corrects an incorrect dictionary key in the enumeration dictionary updated with recent translation fixes.
2022-03-09 21:03:34 -06:00
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
Russell Johnson
61a43a644c Path: Black code formatting only 2021-09-24 06:38:39 -05:00
Russell Johnson
a83871e509 Path: Add Base.Active check early in execute() method
This commit adds a `Base.Active` check to determine if the Base is Active.  If the Base is Inactive, the new code sets the `obj.Path` property to the same inactive message used in PathOp module and the `execution()` method returns immediately, stopping further execution.
2021-09-24 06:38:39 -05: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
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
Patrick Felixberger
c9023a017f Added new feed rate (Ramp Feed Rate) option in PathDressupRampEntry.py
Changed line endings to unix in PathDressupRampEntry.py

Changed line endings to unix in PathDressupRampEntry.py
2020-01-15 17:31:11 +01:00
Markus Lampert
a0d7174a3d Allow deletion of dressup even if model is not setup correctly. 2020-01-03 19:00:15 -08:00
luz.paz
379d041664 Fix typos and some trailing whitespace
Found via:  
```
codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,currenty,dof,doubleclick,dum,eiter,elemente,feld,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml
```
2019-12-03 12:22:59 +01:00
Markus Lampert
04b4db1d8d Addressed pylint warnings for PathDressups 2019-07-01 15:32:54 -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
pekkaroi
ae9786253c PATH Fix bug on finding minimum Z on DressupRampEntry 2018-10-25 11:02:02 -03: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
b24e95b7c1 Removed PathGeom class and moved functionality into module interface. 2018-06-19 21:38:20 -07:00
pekkaroi
1a3996783e Improve backwards compatibility 2018-05-28 10:12:07 -03:00
pekkaroi
0c90118cb3 Cleaning 2018-05-28 10:12:06 -03:00
pekkaroi
3895c9a492 Improved naming of the new parameters 2018-05-28 10:12:06 -03:00
pekkaroi
1aa8601e07 Add IgnoreAbove parameter to not generate ramp above certain heights 2018-05-28 10:12:03 -03:00
luz.paz
5f7df347f8 Path: misc. source comment typos 2018-04-25 11:03:10 +02:00
luz.paz
13db1e5349 Crowdin: Path string fixes 2018-04-25 11:03:10 +02: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
69c1acd391 Prevent adding an entry method dressup to an op that's already has one. 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
Unknown
c8c9b76f43 Misc. typos 2017-12-06 20:59:55 +01:00
pekkaroi
09c11b9505 Path: Allow adjusting of feed rate in DressupRampEntry 2017-11-28 19:17:41 +01: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
a8ea8256bb Reduced ramp entry log level to info. 2017-08-19 13:30:03 +02:00
Markus Lampert
0d00b0ef7e Fixed up onDelete for dogbone and ramp entry as well. 2017-07-29 11:58:43 +02:00
luzpaz
9343f5c616 Path: typo fix 2017-07-10 19:29:55 -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
Pekka Roivainen
dd48cc5f2b Path: Add PathDressupRampEntry.py to CMakeList 2017-06-12 11:32:29 +02:00
Pekka Roivainen
b7876acc43 Path: DressupRampEntry Method3 improvement + flake8 2017-06-11 17:46:03 +02:00
Pekka Roivainen
3209eca10e Path: DressupRampEntry bug fix + added RampMethod3 2017-06-11 17:46:03 +02:00
Pekka Roivainen
8dac1d0b15 Added Helix. Other cleanup and fixes. 2017-06-11 17:46:03 +02:00
Pekka Roivainen
40fe7a04ba added second method for ramping 2017-06-11 17:46:03 +02:00
Pekka Roivainen
f03eee36f8 DressupRampEntry initial commit 2017-06-11 17:46:03 +02:00