Commit Graph

77 Commits

Author SHA1 Message Date
Gabriel Wicke
cc84287515 Path: Opt into automatic git newline normalization
Avoid spurious diffs from inadvertent newline changes by letting git
normalize newlines in the path module as well, just as a list of other
modules including Draft already do.

This effectively standardizes all checked-in code to Unix newlines, but
checkouts might use CRLF if that is the user preference.
2020-05-31 08:33:29 -07:00
Daniel Wood
760685e2c7 only reset the Op visibility when the active state is toggled 2020-05-24 07:48:55 +01:00
Russell Johnson
0e48eb1e85 Path: PEP8 and LGTM cleanup; Remove extra addProperty() statement
Removed 'EnableRotation' property addition because it is done in PathAreaOp module upon creation and document restore.
2020-05-10 23:07:53 -05:00
Daniel Wood
45d9c23c27 Translate user messages 2020-05-09 10:39:48 +01:00
Daniel Wood
c9dc4963d9 Use PathLog for user notices 2020-05-09 10:35:55 +01:00
Daniel Wood
38a47daca7 PathOp PEP8 Formatting Fixes 2020-05-09 09:02:16 +01:00
Daniel Wood
1d9c1f89bd reword feedrate error when no tool controller is selected 2020-05-09 08:34:55 +01:00
Daniel Wood
526328dca5 Change feedrate error to warning. 2020-05-09 08:34:10 +01:00
Daniel Wood
865f0cc692 remove debug print 2020-04-22 19:36:24 +01:00
Daniel Wood
ca35d67f7f Add cycleTime Attribute to PathOp 2020-04-22 19:10:18 +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
Markus Lampert
81f809cfcf Removed dead code for debugging shortcut warnings. 2020-01-03 23:13:55 -08:00
Markus Lampert
296058d6dd Added ToolController creation 2019-11-28 17:31:35 -08:00
Daniel Wood
8b0e244ed4 Add a coolant feature to the base PathOP 2019-08-28 19:40:08 +01:00
Markus Lampert
221893eeeb Fixed PathHelix assert statements 2019-08-22 18:02:49 +02:00
Markus Lampert
f9e23d21e3 Make Helix op robust against features that don't exist anymore 2019-07-14 21:30:38 -07:00
Markus Lampert
f34ac89266 switched to pylint3 and fixed additional warnings 2019-07-01 15:32:54 -07:00
Markus Lampert
6f52808e91 fixed pylint warning for PathOp 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
luz.paz
aedb888ae3 Path: source comment typo fixes
Found via `codespell`
2019-05-30 19:57:25 +02:00
sliptonic
993d179e7c icon for inactive 2019-04-05 15:04:02 +02:00
luz.paz
c985f9ee79 Misc typos and whitespace fixes
Found via `codespell -q 3 -I ../fc-word-whitelist.txt -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*`
2019-03-31 11:42:36 +02:00
luz.paz
cb768d4087 Crowdin: Path/PathScripts/PathOp.py capitalize string 2019-01-19 23:31:49 -06:00
Markus Lampert
524380cd12 Fixed unit tests to support multiple base models. 2018-09-11 07:24:31 +02:00
Markus Lampert
954771ccba Added automatic setting of operation values from the setup sheet during creation. 2018-09-02 00:32:22 -07:00
Markus Lampert
ebe76319b8 Added name parameter to operation proxy constructor. 2018-09-02 00:32:22 -07:00
Markus Lampert
ee49b9874d Prototype objects for operations and the ability to create them through the regular proxy instantiation. 2018-09-02 00:32:22 -07:00
Markus Lampert
070d17e4e4 Add job as parameter to opSetDefaultValues 2018-09-02 00:32:22 -07:00
Markus Lampert
c495ed43f8 Fixed heights and introduced OpStockZMin/Max. 2018-09-02 00:32:21 -07: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
04807fddd7 Add UseOutline property to PocketShape in order to mill full pockets and not have to add all sub-shapes. 2018-08-18 21:55:26 +02:00
Markus Lampert
02a2376376 Use TC of last operation of a job - bring up dialog if it's the first op of a job. 2018-08-11 11:25:46 +02:00
sliptonic
e92d1018be PEP8 cleanup 2018-07-19 12:06:09 -03:00
sliptonic
024ce84da3 Using PropertyVectorDistance
per yorik: https://forum.freecadweb.org/viewtopic.php?f=3&t=29787#p244785
2018-07-19 12:06:09 -03:00
Markus Lampert
57ee12df60 Prevent user from adding stock features to chamfer. 2018-07-06 22:08:47 -07:00
Markus Lampert
6920a618db Fixed chamfer depth and cleaned up properties. 2018-07-06 22:08:46 -07:00
Markus Lampert
ce7f288110 Rebase chamfer op on engrave-base and enable path generation. 2018-07-06 22:08:46 -07:00
Markus Lampert
b24e95b7c1 Removed PathGeom class and moved functionality into module interface. 2018-06-19 21:38:20 -07:00
Markus Lampert
32cb111721 Filter out duplicate selections 2018-06-04 12:06:42 +02:00
luz.paz
13db1e5349 Crowdin: Path string fixes 2018-04-25 11:03:10 +02:00
sliptonic
07ae0e56c4 Path: Fix MillFace default values
fixes #3324
2018-01-25 18:45:14 -02:00
Markus Lampert
b71eb845fa Fixed initial step down value. 2017-12-23 14:33:20 +01:00
Unknown
3df389f5f2 PATH: typo fixes 2017-12-23 14:27:25 +01:00
Markus Lampert
a84a0ce431 Abort OP creation transaction if TC selection is aborted with cancel, #3274 2017-11-28 12:39:02 -02:00
Markus Lampert
2a443f5ef5 Fixed issue with empty expression. 2017-11-12 11:39:17 +01:00
Markus Lampert
83cf84a961 Fixed job on-demand conversion for FaceMilling. 2017-10-22 11:24:58 -07:00
Markus Lampert
eaa7b6f591 Fixed all ops to use Op...Depth in order to not mess with the expressions. 2017-10-22 11:24:58 -07:00
Markus Lampert
1a29468094 Replaced spreadsheet with dedicated SetupSheet object in order to better support expression setting. 2017-10-22 11:24:58 -07:00
Markus Lampert
704569d1c8 Fixed the name collission issue of expressions. 2017-10-22 11:24:58 -07:00
Markus Lampert
14dfa13ee6 Renamed Settings to SetupSheet. 2017-10-22 11:24:58 -07:00