Commit Graph

40 Commits

Author SHA1 Message Date
Russell Johnson
5e9cd07ef6 Path: Black code formatting only 2021-09-24 06:38:39 -05:00
Russell Johnson
2384ad9860 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
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
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
Patrick Felixberger
97de8ac2eb 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
73bd992015 Allow deletion of dressup even if model is not setup correctly. 2020-01-03 19:00:15 -08:00
luz.paz
ea0868a433 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
7219f6446d Addressed pylint warnings for PathDressups 2019-07-01 15:32:54 -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
pekkaroi
fbb0039774 PATH Fix bug on finding minimum Z on DressupRampEntry 2018-10-25 11:02:02 -03: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
bf46c47616 Removed PathGeom class and moved functionality into module interface. 2018-06-19 21:38:20 -07:00
pekkaroi
bce18dfb5c Improve backwards compatibility 2018-05-28 10:12:07 -03:00
pekkaroi
4cff32cc25 Cleaning 2018-05-28 10:12:06 -03:00
pekkaroi
645f980a31 Improved naming of the new parameters 2018-05-28 10:12:06 -03:00
pekkaroi
2fdfb0a485 Add IgnoreAbove parameter to not generate ramp above certain heights 2018-05-28 10:12:03 -03:00
luz.paz
2d5cc6a1ed Path: misc. source comment typos 2018-04-25 11:03:10 +02:00
luz.paz
0720c5e233 Crowdin: Path string fixes 2018-04-25 11:03:10 +02: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
d538e88815 Prevent adding an entry method dressup to an op that's already has one. 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
Unknown
f5146508bb Misc. typos 2017-12-06 20:59:55 +01:00
pekkaroi
b210eccf09 Path: Allow adjusting of feed rate in DressupRampEntry 2017-11-28 19:17:41 +01: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
0e794681ec Reduced ramp entry log level to info. 2017-08-19 13:30:03 +02:00
Markus Lampert
5ae7ebd12c Fixed up onDelete for dogbone and ramp entry as well. 2017-07-29 11:58:43 +02:00
luzpaz
f2e672263c Path: typo fix 2017-07-10 19:29:55 -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
Pekka Roivainen
0e9a3c48cb Path: Add PathDressupRampEntry.py to CMakeList 2017-06-12 11:32:29 +02:00
Pekka Roivainen
fb36252880 Path: DressupRampEntry Method3 improvement + flake8 2017-06-11 17:46:03 +02:00
Pekka Roivainen
7209d2737d Path: DressupRampEntry bug fix + added RampMethod3 2017-06-11 17:46:03 +02:00
Pekka Roivainen
a9e1d8173f Added Helix. Other cleanup and fixes. 2017-06-11 17:46:03 +02:00
Pekka Roivainen
cad471d6b9 added second method for ramping 2017-06-11 17:46:03 +02:00
Pekka Roivainen
6e12b5ca2e DressupRampEntry initial commit 2017-06-11 17:46:03 +02:00