Commit Graph

2487 Commits

Author SHA1 Message Date
mlampert
ebc1190d8b 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
dba0106ce0 Removing obsolete and unused files 2022-10-11 21:43:09 -07:00
Markus Lampert
6ecba4f9ee Moved remaing files out of PathScripts 2022-10-11 21:43:09 -07:00
Markus Lampert
c6c708363b Added PropertyBagGui again for backwards compatibility 2022-10-11 21:43:09 -07:00
Markus Lampert
a5fad7e052 Moved the rest of the operations into Path.Op (.Gui) module 2022-10-11 21:43:09 -07:00
Markus Lampert
080d708f21 Fixed refactor issues breaking unit tests 2022-10-11 21:43:09 -07:00
Markus Lampert
5ca5a94f5e Move Path.Base and Path.Base.Gui refactoring 2022-10-11 21:43:09 -07:00
Markus Lampert
f1596599ee Added PropertyBag compatibility layer to support existing ToolBits 2022-10-11 21:43:09 -07:00
Markus Lampert
9de105e597 Started moving base classes into Path.Base module 2022-10-11 21:43:09 -07:00
Markus Lampert
9ab28b4ec2 Renamed Path.Tools module to Path.Tool 2022-10-11 21:43:08 -07:00
Markus Lampert
29255f0ffd Removed deprecated and obsolete Path.Tool and Path.Tooltable 2022-10-11 21:43:08 -07:00
Markus Lampert
9b7e50ba07 Removed obsolete path profile implementations 2022-10-11 21:43:08 -07:00
Markus Lampert
45f2765418 Moved all Path operations with model and gui into Path.Op module 2022-10-11 21:43:08 -07:00
Markus Lampert
289c1f8c87 Moved dressups into Path.Dressup module 2022-10-11 21:43:08 -07:00
Markus Lampert
20d2d4c8d0 Moved Path ToolBit and Controller into Path.Tools module 2022-10-11 21:43:08 -07:00
Markus Lampert
1d27fb00ec Moved post processing files into new Path python module 2022-10-11 21:43:08 -07:00
Markus Lampert
8c05a46174 Moved PathAdaptive into new Path.Op module 2022-10-11 21:43:08 -07:00
Markus Lampert
233c92b79e Moved PathLog to Path.Log and import it by default 2022-10-11 21:43:08 -07:00
wmayer
6df7cf1afa Path: [skip ci] replace QRegExp with QRegularExpression 2022-10-08 14:07:22 +02:00
Markus Lampert
2b4fc1223f Fixed handling of App::PropertyPercent in SetupSheet save/load 2022-09-06 21:23:12 -07:00
LarryWoestman
2578ee40f5 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
9d01903886 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
815c2f8fcf 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
4a380bfa11 [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
65bafb36dc Merge branch 'master' into remove-dead-code 2022-08-26 20:29:39 +02:00
luz paz
7b10713d6f 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
d54ad5048d Fixed radii calculations and their processing for external threads 2022-08-07 18:01:07 -07:00
Markus Lampert
020f721ec2 Fixed external thread milling orientation and direction 2022-08-07 18:01:07 -07:00
Markus Lampert
b4f553f7e5 Fixed logic error in path selection drill gate. 2022-08-07 18:01:07 -07:00
Markus Lampert
89e783d708 Added check to deal with float nan as cycle time result 2022-08-07 18:01:07 -07:00
Markus Lampert
ad53bf1da2 Enabled exception handling again 2022-08-02 13:32:25 -07:00
Markus Lampert
93703c1921 Moved voronoi classes into Path.Voronoi module. 2022-08-02 13:32:25 -07:00
Markus Lampert
3289b12511 Renamed python class Voronoi to VoronoiDiagram 2022-08-02 13:32:25 -07:00
Markus Lampert
bb9b13a057 vcarve to color all borderline edges and ignore them for path generation 2022-08-02 13:32:25 -07:00
luz paz
bf030f76aa Fix various 'testing inequality to None' syntax issues
Substitute `is not None` for `!= None`
2022-07-31 14:11:48 +02:00
Uwe
6aa7b0d761 [Path] remove check for python 2 2022-07-23 15:12:35 +02:00
Uwe
32ab100ed5 Mod: remove some superfluous Boolean checks (#7213)
* Mod: remove some superfluous Python Boolean checks
2022-07-19 01:35:12 +02:00
Mikael Ågren
188384f11a Remove dead code 2022-07-17 17:39:20 +02:00
sliptonic
c0bf0f5c72 Merge pull request #7168 from sliptonic/feature/camoticstooltable
[Path] export a camotics tooltable
2022-07-17 08:42:43 -05:00
sliptonic
ac49ceb96f 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
b3924df2b7 GUI panel for chipbreaking 2022-07-16 11:30:16 -05:00
sliptonic
0352ddca13 Additional changes to support G73 2022-07-16 11:30:16 -05:00
sliptonic
4f91d4a947 set PathArea section tolerance to 1e-07. 2022-07-14 08:53:26 -05:00
sliptonic
3b6b8b285a 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
6364c75240 Fixes #7164 2022-07-12 14:15:52 -05:00
sliptonic
10abaee855 remove G53 from fixture list 2022-07-12 13:24:05 -05:00
sliptonic
6bc60776f6 Avoid python 3.6 error.
subprocess doesn't have capture_output.
Use subprocess.PIPE instead.
2022-07-12 12:23:06 -05:00
sliptonic
334778c3c0 minor black fixes 2022-07-12 12:22:36 -05:00
sliptonic
427073fa5c export a camotics tooltable 2022-07-12 09:52:59 -05:00
LarryWoestman
93b29c587b Path: Reformatted to a line lenght of 88 using black. 2022-07-11 15:09:15 -07:00