Commit Graph

72 Commits

Author SHA1 Message Date
sliptonic
0352ddca13 Additional changes to support G73 2022-07-16 11:30:16 -05:00
Markus Lampert
e44c402268 Removed debugging globals 2022-04-04 21:12:45 -07:00
Markus Lampert
122fd49b37 Remove pylint annotations and script 2022-02-28 21:02:45 -08:00
sliptonic
95a83c811b 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
de6977db73 translation cleanup PathGeom 2022-01-03 10:48:39 -06:00
sliptonic
0fae42230c 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
c1a8d2cb02 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
c71c022b15 Merge pull request #4446 from Schildkroet/deburr_improve
[0.20][PATH] Deburr improve
2021-07-20 12:29:31 -05:00
luz paz
19080b58b3 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
1aeb28cf67 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
3e801a02eb Merge branch 'master' into deburr_improve 2021-05-29 21:40:11 +02:00
sliptonic
08ea37c3b4 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
e545f32aef [PATH] Updated copyright 2021-02-13 17:37:24 +01:00
Patrick F
cdcd83c060 [PATH] Fixed leadinout problems with full circles and side detection 2021-02-13 17:32:54 +01:00
Markus Lampert
8bd4f0889b Added support for Part.OffsetCurve to flipEdge. 2021-02-11 22:58:37 -08:00
Markus Lampert
eeb91c6798 Fixed segmentation for unknown shapes, leaving that to the experts. 2021-02-11 21:29:52 -08:00
sliptonic
4fc7a0e599 Fix bug in where wiresForPath would error on empty list 2020-12-15 12:09:13 -06:00
Markus Lampert
1e4ba68d4b meld h and v speeds for v-carve commands depending on incline 2020-12-13 11:31:58 -08: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
sliptonic
faa4bfb484 discretizing 2020-03-26 13:26:05 -05:00
Markus Lampert
dc9e0dca5b Improved precision and stability of splitting an arc 2020-02-03 20:47:05 -08:00
Markus Lampert
81bbb0066d Removed dead code for debugging shortcut warnings. 2020-01-03 23:13:55 -08:00
Markus Lampert
9f6714e930 Added support for flipping a BezierCurve edge 2020-01-03 19:00:15 -08:00
Markus Lampert
305d4236f8 Fixed engraving support for generic b-spline curves 2020-01-03 19:00:15 -08:00
Markus Lampert
fd9b2d4cdb Fix tag dressup to deal with inactive base operation 2019-12-15 17:51:43 -08:00
Markus Lampert
d0e16a58ef Added boundary dressup to restrict path to another shape. 2019-11-05 19:18:39 -08:00
Markus Lampert
5ee3f26f9f Addressed pylint warnings for PathGeom 2019-07-01 15:58:34 -07:00
sliptonic
617c619d2f remove unnecessary imports. normalize debug log levels 2019-06-21 13:01:01 -05:00
luz.paz
ec12ffae0c Path: source comment typo fixes
Found via `codespell`
2019-05-30 19:57:25 +02:00
Markus Lampert
bd2beb0bf2 Added support for feeds and speeds to to cmdsForEdge. 2019-01-24 10:13:44 -02:00
luz.paz
579e588395 Path: source comment typo fixes
Found via `codespell`
2018-12-27 10:22:36 -02:00
Markus Lampert
f58431d1ff Added approximation for hyperbola curves. 2018-09-02 00:32:22 -07:00
Markus Lampert
f06306794c 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
9dbeb6f2b1 Added vertical/horizontal support for SurfaceOfRevolution. 2018-08-10 10:43:33 -03:00
Markus Lampert
3232d79335 Fixed flipping of an arc if the arc is rotated. 2018-07-06 22:08:46 -07:00
Markus Lampert
e1af026933 Added basic chamfer test case for offsetting a wire. 2018-07-06 22:08:46 -07:00
Markus Lampert
cfd2c5ad96 Fixed flipping of b-spline and enabled unit test for it. 2018-07-06 22:08:46 -07:00
Markus Lampert
06bc9a120b Added flipping of edge to PathGeom. 2018-07-06 22:08:46 -07:00
Markus Lampert
bf46c47616 Removed PathGeom class and moved functionality into module interface. 2018-06-19 21:38:20 -07:00
Markus Lampert
644e4afc77 Add support for full circles to PathGeom. 2018-06-15 11:32:06 -03:00
luzpaz
47cbc42de0 Path: typos 2018-01-07 18:43:16 -02:00
Unknown
f92d63008e PATH: typo fixes 2017-12-23 14:27:25 +01:00
Markus Lampert
53dc025ca1 Fixed range issue in comparing edges when they have different # vertexes 2017-11-28 12:39:02 -02:00
Markus Lampert
bba9499f48 Reduced log level for debug messages. 2017-10-22 12:02:21 -07:00
Markus Lampert
4497d21717 PathGeom isHorizontal/isVertical rely on bound box for unknown shapes. 2017-10-10 12:55:59 +02:00
Markus Lampert
c2f440af8c 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
329f013f01 Added explicit support for BSPlineCurve to isHorizontal/isVertical. 2017-10-08 12:23:11 -03:00
Markus Lampert
c33b6610ce Added more cleanup to the pocket shape face before extrusion - greatly improves stability. 2017-10-02 01:21:13 +02:00
Markus Lampert
b86878d2c9 Fixed face combining and moved to PathGeom. 2017-10-02 01:21:13 +02:00