Commit Graph

2490 Commits

Author SHA1 Message Date
luzpaz
a3d445e1c9 Path: fix typo in source comments
[skip ci]
2023-06-24 23:49:04 -04:00
Christian Mesh
e74559097b Allow XYZ rotation in placement applied to path
Also fixes an issue with path export where _TempObject (no Placement)
would throw an exception.
2023-02-13 10:41:41 -05:00
Christian Mesh
55f9e4d1dd Apply Placement to simulated/exported GCode
This changed is inspired by (and slightly refactors) the Array Path modifier.

It currently takes the Placement XYZ and Z Angle into consideration.
Future work could also implement rotating the path around the X and Y
axes.
2023-02-13 10:41:41 -05:00
mlampert
1c530b2634 PATH: Feature/dogbone ii (#7660)
* Start of new dogbone dressup

* Added Instruction and tangents support for G2/3 moves

* Added Maneuver class to represent a set of moves and process them coherently

* Created kinks and verify their creation.

* Added dogbone detection and verification

* Simplified gcode strings

* Added horizontal t-bones generation

* Added support for vertical t-bone

* Consolidated t-bone creation

* Added support for pathLength

* Added support for tbone on short edge

* Added support for long edges

* Added support for dogbones

* Fixed dogbone for non-horizontal lead-in

* Horizontal bone adaptive length tests

* Fixed dogbone angle and adaptive length

* Some code cleanup

* Added adaptive length tests for dogbones

* Split base data classes into their own PathLanguage module.

* Splitting dogboneII implementation into its constituents

* Moved adaptive length into DogbonII module

* Separate dogboneII generator test cases and changed interface to allow for dynamic length calculations

* Unit tests for length calculation

* Initial DogboneII unit test

* Unit tests and fixes for plunge move handling

* Unit tests for the remaining styles and incision strategies

* Basic DogboneII gui

* Added support for markers

* Better color and selection scheme for markers

* Cleaned up import statements

* Added DogboneII to Path WB init

* Support for dogbone on dogbone and fixed t-bone generation

* Fixed t-bone on short leg bones

* Fixed tbone on short edge when short edge is m1

* Fixed t-bone on long edge for m0/m1 and CW/CCW

* Removed redundant code

* Removed redundant 'Dress-up' from menu entries

* black code formatting

* added generator to cmake

* Fixed typos
2022-11-02 15:25:09 -05:00
Markus Lampert
039cab4d38 Removing obsolete and unused files 2022-10-11 21:43:09 -07:00
Markus Lampert
6b55f34abe Moved remaing files out of PathScripts 2022-10-11 21:43:09 -07:00
Markus Lampert
68238ccdff Added PropertyBagGui again for backwards compatibility 2022-10-11 21:43:09 -07:00
Markus Lampert
d6293308b4 Moved the rest of the operations into Path.Op (.Gui) module 2022-10-11 21:43:09 -07:00
Markus Lampert
3f068108a8 Fixed refactor issues breaking unit tests 2022-10-11 21:43:09 -07:00
Markus Lampert
16c969c5a3 Move Path.Base and Path.Base.Gui refactoring 2022-10-11 21:43:09 -07:00
Markus Lampert
5f3acd04fe Added PropertyBag compatibility layer to support existing ToolBits 2022-10-11 21:43:09 -07:00
Markus Lampert
998347e97f Started moving base classes into Path.Base module 2022-10-11 21:43:09 -07:00
Markus Lampert
9925c71d36 Renamed Path.Tools module to Path.Tool 2022-10-11 21:43:08 -07:00
Markus Lampert
29a7dc144e Removed deprecated and obsolete Path.Tool and Path.Tooltable 2022-10-11 21:43:08 -07:00
Markus Lampert
2b36448575 Removed obsolete path profile implementations 2022-10-11 21:43:08 -07:00
Markus Lampert
6da2c338df Moved all Path operations with model and gui into Path.Op module 2022-10-11 21:43:08 -07:00
Markus Lampert
4b205943bc Moved dressups into Path.Dressup module 2022-10-11 21:43:08 -07:00
Markus Lampert
8cfe5d7d7d Moved Path ToolBit and Controller into Path.Tools module 2022-10-11 21:43:08 -07:00
Markus Lampert
9037e497db Moved post processing files into new Path python module 2022-10-11 21:43:08 -07:00
Markus Lampert
253d494f17 Moved PathAdaptive into new Path.Op module 2022-10-11 21:43:08 -07:00
Markus Lampert
a5a284b148 Moved PathLog to Path.Log and import it by default 2022-10-11 21:43:08 -07:00
wmayer
16f688e933 Path: [skip ci] replace QRegExp with QRegularExpression 2022-10-08 14:07:22 +02:00
Markus Lampert
d22a880fc9 Fixed handling of App::PropertyPercent in SetupSheet save/load 2022-09-06 21:23:12 -07:00
LarryWoestman
0f698bb9ac Path: Removed the comparison-style postprocessor tests.
Added the ability to output possible arguments to a file.
       Added more tests and fixed some parameter handling.
       Added 4 refactored postprocessors and postprocessor tests.
       Refactored to reduce copyitis, added G73 support
       Re-ordered parameter parsing to better match all postprocessors
2022-09-04 15:22:57 -07:00
sliptonic
c35244e74f Merge pull request #7438 from Syres916/patch-54
[Path] Change Default Drilling Retraction from G99 to G98
2022-09-03 16:54:57 -05:00
Jon Escombe
794a51eecc Fix for Path output file naming issues.
Use the fullPath name when opening dialog, handle cancel cleanly.

These changes fixes the output file file naming for me. Without it,
I just get the unprocessed substitution strings in the current working directory.
2022-09-02 09:11:23 +01:00
Syres916
9ff0ae58da [Path] Change Default Retraction from G99 to G98
See discussion https://forum.freecadweb.org/viewtopic.php?f=15&p=622670#p622670
2022-09-01 10:56:13 +01:00
agren
90ffdda622 Merge branch 'master' into remove-dead-code 2022-08-26 20:29:39 +02:00
luz paz
1a7ddfdc24 Fix typos and whitespace
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,anormal,apoints,ba,beginn,behaviour,bloaded,bottome,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childrens,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,itsel,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oce,oder,ontop,orgin,orginx,orginy,ot,pard,parm,parms,pres,programm,que,rady,recurrance,ro,rougly,seperator,serie,sinc,siz,strack,substraction,te,technic,thist,thru,tread,uint,unter,uptodate,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,./src/Base/StackWalker.cpp,./build/doc/SourceDocu`
2022-08-23 18:49:47 +02:00
Markus Lampert
0200c8d70a Fixed radii calculations and their processing for external threads 2022-08-07 18:01:07 -07:00
Markus Lampert
1e8d1c621c Fixed external thread milling orientation and direction 2022-08-07 18:01:07 -07:00
Markus Lampert
38e34758c7 Fixed logic error in path selection drill gate. 2022-08-07 18:01:07 -07:00
Markus Lampert
ffe0961853 Added check to deal with float nan as cycle time result 2022-08-07 18:01:07 -07:00
Markus Lampert
3408d7c2ca Enabled exception handling again 2022-08-02 13:32:25 -07:00
Markus Lampert
729c24b0f1 Moved voronoi classes into Path.Voronoi module. 2022-08-02 13:32:25 -07:00
Markus Lampert
79021f4913 Renamed python class Voronoi to VoronoiDiagram 2022-08-02 13:32:25 -07:00
Markus Lampert
9cc1d277fa vcarve to color all borderline edges and ignore them for path generation 2022-08-02 13:32:25 -07:00
luz paz
786741c0c0 Fix various 'testing inequality to None' syntax issues
Substitute `is not None` for `!= None`
2022-07-31 14:11:48 +02:00
Uwe
cce5de8087 [Path] remove check for python 2 2022-07-23 15:12:35 +02:00
Uwe
3a50f95be4 Mod: remove some superfluous Boolean checks (#7213)
* Mod: remove some superfluous Python Boolean checks
2022-07-19 01:35:12 +02:00
Mikael Ågren
81d29884fc Remove dead code 2022-07-17 17:39:20 +02:00
sliptonic
ef04487cd1 Merge pull request #7168 from sliptonic/feature/camoticstooltable
[Path] export a camotics tooltable
2022-07-17 08:42:43 -05:00
sliptonic
fa49c07840 Update src/Mod/Path/PathScripts/PathToolBitLibraryGui.py
Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>
2022-07-16 12:16:14 -05:00
sliptonic
9f7c699fb8 GUI panel for chipbreaking 2022-07-16 11:30:16 -05:00
sliptonic
6d81f31f11 Additional changes to support G73 2022-07-16 11:30:16 -05:00
sliptonic
acf2a186e5 set PathArea section tolerance to 1e-07. 2022-07-14 08:53:26 -05:00
sliptonic
c126a8cced Merge pull request #7137 from Russ4262/fix/path_array_polar
Path: Fix Type=Polar regression in PathArray
2022-07-13 18:40:24 -05:00
sliptonic
e141910597 Fixes #7164 2022-07-12 14:15:52 -05:00
sliptonic
a78d504ea4 remove G53 from fixture list 2022-07-12 13:24:05 -05:00
sliptonic
ea1236664c Avoid python 3.6 error.
subprocess doesn't have capture_output.
Use subprocess.PIPE instead.
2022-07-12 12:23:06 -05:00