Commit Graph

3512 Commits

Author SHA1 Message Date
LarryWoestman
8922936b3d Path: Allow error diff's to be as long as necessary. 2022-09-10 09:29:58 -07:00
LarryWoestman
3347315fad Path: Fixed test00010 sensitivity to terminal column count. 2022-09-10 09:29:58 -07:00
Markus Lampert
2b4fc1223f Fixed handling of App::PropertyPercent in SetupSheet save/load 2022-09-06 21:23:12 -07:00
sliptonic
ac0a8b6458 Merge pull request #7454 from sliptonic/PathFeedRateBug
Fix bug when testing verticallity during PathFeedRate generation
2022-09-06 16:29:48 -05:00
sliptonic
4a4ae6c923 Fix bug when testing verticallity during PathFeedRate generation 2022-09-06 15:50:06 -05: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
wmayer
236b40ab65 Path: modernize C++: replace 'typedef' with 'using' 2022-08-29 22:21:01 +02:00
agren
65bafb36dc Merge branch 'master' into remove-dead-code 2022-08-26 20:29:39 +02:00
berniev
180edfa3cc Mod: Single arg ctors must be explicit 2022-08-24 16:55:20 +02:00
Jonas Bähr
46cee50bd5 Fix build on MacOS-X 10.14: missing Xerces include dir
This undoes most of the Xerces related part of the commits listed below.
The issue resolved here is that the Xerces include dir *is* set in the
CMakeLists.txt of src/Base, but it got removed from various App and Gui
dirs in src/Mod. If those now include a header from src/Base, which
itself includes xercesc, the build fails using Apple clang version 11.0.0
(clang-1100.0.33.17) on Mojave, configured using cmake 3.22.1, with
errors like the following:

In file included from .../src/Mod/Part/App/FeaturePartBoolean.cpp:34:
In file included from .../src/App/Application.h:33:
.../src/Base/Parameter.h:54:10: fatal error: 'xercesc/util/XercesDefs.hpp' file not found
 #include <xercesc/util/XercesDefs.hpp>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

Finally, a full list of the commits that introduced this spurious include
dir optimization for reference:
- Drawing: commit f4411478d106ba9f4827754a50efa53bd7767a66
- Image: commit e3476815c04c571199779bd1e444b950e6398025
- Import: commit b7b264e52c8fd97e83987c4ce42ce563170c8918
- Inspection: commit 1f64d8b1b8fcabe983c6e5e624d65766b4429ea0
- Mesh: commit 5a8fed0720d681cdbb9fedc840d2532c4f2f6042
- Part: commit 26bb65f11f4b51e5e47b65b2d6049ece10705a83
- PartDesign: commit f4e49f2aecf08f2337e84510ed019b7fa4b685a3
- Path: commit e3d9cc98577d2073297d55ffd8de28dd50f8444c
- Points: commit 09f3e867cdccd31294cced4e3c73015d3add3f4a
- Raytracing: commit 7b92dedc53f09e2ce8365408f3003e5700aebfc8
- ReverseEnginering: commit eeacc51ad0cd82e5f17d63207f78f79eb20bf9a9
- Robot: commit 4d06684cbd0328e4f43c78b5dab7e7fcebab148d
- Sketcher: commit 079125665495a08a7e2e2a4f01da406128dca625
- Spreadsheet: commit 514097954e95c04a7ec9d7e8ec1afc3aac3dd8d
- Start: commit 2ea2bb0dc393d7b8b41e9137c6d4ae40ce29719d
- Surface: commit 272268dd6c0b460ae9aeecdf371495ea26aa044d
- TechDraw: commit c70fdc3e0aa6b409626a6fa6b7266d05f3338c6d
- Test: commit 49a07b121e08e9bf3fef0f414a8da5602533592e
- Web: commit a93a23d7e4da13b2d5c37ac087b2dcf41aae197d
2022-08-24 07:40:04 +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
wmayer
8c298493de Mod: replace std::ifstream/std::ofstream with Base::ifstream/Base::ofstream 2022-08-21 12:46:53 +02:00
wmayer
c87e1cc1c2 clang: fix warnings [-Winconsistent-missing-override] 2022-08-09 17:36:25 +02:00
berniev
71dc5ead2f Mod: Use override etc 2 2022-08-09 12:52:26 +02:00
sliptonic
ebb0f5934c Merge pull request #7333 from mlampert/bugfix/external-thread-issues
PATH: Bugfix/external thread issues
2022-08-08 10:11:23 -05:00
berniev
f4ffd15864 Mod: redundant void 2 2022-08-08 10:27:50 +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
berniev
53ba98d636 Mod: use empty 2022-08-06 19:30:13 +02:00
berniev
47ac049e14 Mod: use emplace_back 2022-08-05 10:36:16 +02: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
Markus Lampert
a8d4733086 Added borderline interface to voronoi edge 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
d1332def5c [Path] remove unnecessary Python check
we only support Python 3
2022-07-31 05:27:03 +02:00
wmayer
af71685a50 Path: [skip ci] Fix several clazy issues:
* Missing reference in range-for with non trivial type [-Wclazy-range-loop-reference]
2022-07-25 12:21:32 +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
Uwe
763a575b23 Mod: remove some unnecessary nullptr checks 2022-07-18 12:58:12 +02:00
Uwe
c619e7bbda [Path] remove superfluous nullptr checks 2022-07-18 02:52:48 +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
70ad469f8b Generator can produce G73 (chipbreak) commands instead of G83.
Add tests
2022-07-16 11:30:16 -05:00
wmayer
9c9d053147 Path: replace PyObject_IsTrue with Base::asBoolean 2022-07-16 12:44:38 +02:00
wmayer
60d3a18453 Path: fixes -Woverloaded-virtual 2022-07-16 12:15:41 +02:00
Benjamin Alterauge
9983531cc3 Remove duplicate source code 2022-07-16 10:55:24 +02: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