Commit Graph

70 Commits

Author SHA1 Message Date
Markus Lampert 8583894284 Remove pylint annotations and script 2022-02-28 21:02:45 -08:00
sliptonic 9ca8e01771 fix feedrate update
Fix machinestate to handle drill moves and tests
move feed and rapid declarations to PathGeom
2022-01-15 15:36:12 -06:00
sliptonic 75ac674917 translation cleanup PathGeom 2022-01-03 10:48:39 -06:00
sliptonic 2a22ead350 black reformat
black reformat for PathCommands

Black reform PathCopy

Black reform PathComment

Black reformat PathCustom/gui

Black reformat PathUtil/PathUtils

Black reformat PathHop

Black reformat PathGeom

Black reformat

Black reformat

Black reformat

Black reformat

Black reformat

black reformat

Black reformat

black
2022-01-03 10:48:39 -06:00
luz paz 427a2ab8d6 Path: fix various typos and superfluous whitespace
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,apoints,ba,beginn,behaviour,bloaded,bottome,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,inout,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,ontop,orgin,orginx,orginy,ot,pard,parms,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,./build/doc/SourceDocu`
2021-07-30 11:53:22 -04:00
sliptonic 5f5b3d9b67 Merge pull request #4446 from Schildkroet/deburr_improve
[0.20][PATH] Deburr improve
2021-07-20 12:29:31 -05:00
luz paz 0db5d84a7e Fix source comment typos
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,apoints,ba,beginn,behaviour,bloaded,bottome,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,ontop,orgin,orginx,orginy,ot,pard,parms,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,./build/doc/SourceDocu`
2021-06-10 17:33:40 -04:00
Russell Johnson fd6298d542 Path: Refactor and upgradeExtensions feature, and apply to Adaptive op
Path: Refactor `Extensions` Gui code into independent module. Move the `Extensions` Gui code to independent module so access to other operations will be easier.
Path: Add `Extensions` feature to Adaptive operation
Path: Isolate Adaptive GUI elements in preparation of Adaptive unit tests
Path: Implement `PathLog` debug module
Path: Implement `translate()` for multi-language message support
Path: Fix `StockType`check bug
Path: Relocate `getCutRegionWires()` to `FeatureExtensions` module
Path: Add `Extensions` property checks on document restored
Path: Improve `Extend Outline` feature implementation
Path: Initialize a waterline type extension
Path: Add enable/disable extensions feature. It is quite possible that many complex faces exist that have large quantities of both simple and complex edges.  For this reason, a manual push button to enable Extensions is useful so the users machine is not bogged down with extra or unnecessary computing time.  Extensions are not necessary at all times. This commit also includes an edge count threshold that will disable the Extensions feature temporarily upon initial loading of the Task Panel.  The manual enable button will do just that.
Path: Add enable extensions warning label
Path: Shorten enable/disable Extensions button message
Path: Remove run-time added Task Panel elements - this QButton and QLabel were moved to UI panel directly.
Path: Add include/ignore Edges button
Path: Improve extension preview rendering
Path: Fixes for `useOutline` modification and updates
Path: Add internal feature to cache calculated extensions for reuse
Path: Add `SetupProperties()` function and connect to GUI command
Path: Add `Avoid Face` extension to ignore base face. This feature allows for some simple access to the exterior of a selected face without clearing the face itself.  This will allow for an exterior clearing operation in a simple manner.
Path: Fix bug restricting extensions on internal closed-wires
2021-06-04 09:48:50 -05:00
Schildkroet 412375d703 Merge branch 'master' into deburr_improve 2021-05-29 21:40:11 +02:00
sliptonic 62ed39e010 Merge pull request #4443 from mlampert/bugfix/deburr-offset-part
[Path]: Added support for Part.OffsetCurve to flipEdge.
2021-02-14 17:36:01 -06:00
Patrick F 25fa7c9be1 [PATH] Updated copyright 2021-02-13 17:37:24 +01:00
Patrick F 974c78b090 [PATH] Fixed leadinout problems with full circles and side detection 2021-02-13 17:32:54 +01:00
Markus Lampert e5527025cc Added support for Part.OffsetCurve to flipEdge. 2021-02-11 22:58:37 -08:00
Markus Lampert 95ccfd4505 Fixed segmentation for unknown shapes, leaving that to the experts. 2021-02-11 21:29:52 -08:00
sliptonic b2e015f035 Fix bug in where wiresForPath would error on empty list 2020-12-15 12:09:13 -06:00
Markus Lampert ed7be8674e meld h and v speeds for v-carve commands depending on incline 2020-12-13 11:31:58 -08: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
sliptonic 040324c6ae discretizing 2020-03-26 13:26:05 -05:00
Markus Lampert abb2865e3a Improved precision and stability of splitting an arc 2020-02-03 20:47:05 -08:00
Markus Lampert 81f809cfcf Removed dead code for debugging shortcut warnings. 2020-01-03 23:13:55 -08:00
Markus Lampert af45192916 Added support for flipping a BezierCurve edge 2020-01-03 19:00:15 -08:00
Markus Lampert 06007c6bbe Fixed engraving support for generic b-spline curves 2020-01-03 19:00:15 -08:00
Markus Lampert 3d5d10c4ea Fix tag dressup to deal with inactive base operation 2019-12-15 17:51:43 -08:00
Markus Lampert a27a00064a Added boundary dressup to restrict path to another shape. 2019-11-05 19:18:39 -08:00
Markus Lampert c5c976f204 Addressed pylint warnings for PathGeom 2019-07-01 15:58:34 -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
Markus Lampert af4026bcd5 Added support for feeds and speeds to to cmdsForEdge. 2019-01-24 10:13:44 -02:00
luz.paz 7044147bac Path: source comment typo fixes
Found via `codespell`
2018-12-27 10:22:36 -02:00
Markus Lampert 660b9b38d4 Added approximation for hyperbola curves. 2018-09-02 00:32:22 -07:00
Markus Lampert 478829510e If an edge cannot be flipped, issue a warning and approximate it through straight line segments. 2018-08-22 10:17:46 -03:00
Markus Lampert d30cb78533 Added vertical/horizontal support for SurfaceOfRevolution. 2018-08-10 10:43:33 -03:00
Markus Lampert 664b2da2ee Fixed flipping of an arc if the arc is rotated. 2018-07-06 22:08:46 -07:00
Markus Lampert 1b6d14a8df Added basic chamfer test case for offsetting a wire. 2018-07-06 22:08:46 -07:00
Markus Lampert a605b6ea73 Fixed flipping of b-spline and enabled unit test for it. 2018-07-06 22:08:46 -07:00
Markus Lampert d101111f64 Added flipping of edge to PathGeom. 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 36a82c690d Add support for full circles to PathGeom. 2018-06-15 11:32:06 -03:00
luzpaz f69b789034 Path: typos 2018-01-07 18:43:16 -02:00
Unknown 3df389f5f2 PATH: typo fixes 2017-12-23 14:27:25 +01:00
Markus Lampert 7da187f961 Fixed range issue in comparing edges when they have different # vertexes 2017-11-28 12:39:02 -02:00
Markus Lampert a14d6215fd Reduced log level for debug messages. 2017-10-22 12:02:21 -07:00
Markus Lampert 95817be2ec PathGeom isHorizontal/isVertical rely on bound box for unknown shapes. 2017-10-10 12:55:59 +02:00
Markus Lampert 3afbbfa3da Dwngraded isHorizontal/isVertical error messages for unsuppported types to warnings and cache loop detection result to get a single message - rather than one per second. 2017-10-08 12:23:11 -03:00
Markus Lampert 2b19e69b2e Added explicit support for BSPlineCurve to isHorizontal/isVertical. 2017-10-08 12:23:11 -03:00
Markus Lampert af892cc44a Added more cleanup to the pocket shape face before extrusion - greatly improves stability. 2017-10-02 01:21:13 +02:00
Markus Lampert a6263f4c1a Fixed face combining and moved to PathGeom. 2017-10-02 01:21:13 +02:00
Markus Lampert 6bf9a9758f Added support for bezier curves for isHorizontal/isVertical. 2017-09-28 11:27:47 -07:00
Markus Lampert 3f9fff11bc Added support for Sphere and SurfaceOfExtrusion to isVertical/isHorizontal. 2017-09-28 11:27:46 -07:00