Commit Graph

65 Commits

Author SHA1 Message Date
wmayer
662e305dc3 Path: make export macro accessible in header file
It's not recommended any more to keep the export macro in the PreCompiled.h because many IDEs fail to fetch the export macro and raise a parsing error instead.
2023-08-08 17:27:28 +02:00
wmayer
4366128cc4 Path: modernize C++: use override 2023-08-04 17:09:53 +02:00
wmayer
c242b5de5b Path: fixes #9403: Memory leak in Path 2023-05-12 10:43:29 +02:00
xtemp09
59a208e81b Fixed segmentation fault in Path workbench
Closes #6286.
2023-04-21 21:57:52 +07:00
Uwe
960ace8034 [Path] improve PreCompiled.h handling 2022-12-07 19:51:19 +01:00
Uwe
423c330534 [Path] improve PreCompiled.h handling 2022-12-07 19:51:19 +01:00
luz paz
d46e2b3569 Path: remove leftover .zip archive in PathSimulator directory
Closes #7816
2022-12-03 18:10:34 -06:00
luz paz
7a8a453746 Path: remove trailing whitespace 2022-11-18 00:01:25 +01:00
Uwe
8f2720b8b7 [Path] PathSimulator: remove unused includes
- also some sorting
2022-11-11 04:04:33 +01:00
Markus Lampert
29a7dc144e Removed deprecated and obsolete Path.Tool and Path.Tooltable 2022-10-11 21:43:08 -07:00
berniev
6953310116 Mod: Single arg ctors must be explicit 2022-08-24 16:55:20 +02:00
berniev
ddafb98813 Mod: Use override etc 2 2022-08-09 12:52:26 +02:00
berniev
da9ebc572f Mod: redundant void 2 2022-08-08 10:27:50 +02:00
Uwe
c35579227b [Path] remove superfluous nullptr checks 2022-07-18 02:52:48 +02:00
wmayer
7b591da9f5 Path: modernize C++11
* use nullptr
2022-03-23 19:26:15 +01:00
wmayer
0054cbddaa Fix coverity issue:
* CID 332682: Resource leak
* CID 350607: Resource leak
* CID 332677: Resource leak
2022-03-14 11:35:04 +01:00
mosfet80
f12eccd9e8 Path: fix build failure for OCCT >= 7.6.1 2022-02-09 12:55:37 +01:00
luz paz
810d41ce52 Path: fix typo in author's name 2021-12-10 02:36:56 +01: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
luz.paz
6df8201186 Fix typos [skip-ci]
Found via codespell v1.17.0.dev0  
``` 
codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,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,orgin,orginx,orginy,ot,pard,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
```
2020-05-12 10:04:29 +02:00
Daniel Wood
65dcdf1515 Try and catch errors when getting the tool profile 2020-05-04 20:53:36 +01:00
Daniel Wood
15a1d34b69 Clean up debug prints 2020-05-04 20:53:36 +01:00
Daniel Wood
ef4074a6a8 check the toolbit shape is valid 2020-05-04 20:53:36 +01:00
Daniel Wood
2c3a72fa8b use the tool resolution to determin face position 2020-05-04 20:53:36 +01:00
Daniel Wood
ee541db390 Remove and silence some debug prints 2020-05-04 20:53:36 +01:00
Daniel Wood
30aa633e83 Extract the shape of the tool from the solid shape 2020-05-04 20:53:36 +01:00
Daniel Wood
2b4655f4da use the tool resolution to determin face position 2020-05-04 20:53:36 +01:00
Daniel Wood
697ea501ee Remove and silence some debug prints 2020-05-04 20:53:35 +01:00
Daniel Wood
73f031b234 Extract the shape of the tool from the solid shape 2020-05-04 20:53:35 +01:00
Daniel Wood
ba2d263dac use the tool resolution to determin face position 2020-05-04 20:52:40 +01:00
Daniel Wood
c013fbf1b3 Remove and silence some debug prints 2020-05-04 20:52:40 +01:00
Daniel Wood
980d9a929a Extract the shape of the tool from the solid shape 2020-05-04 20:52:40 +01:00
Daniel Wood
54e4b8a05f Allow passing the tool shape from python 2020-05-04 20:52:40 +01:00
Daniel Wood
8994829a16 pass the tool shape to the CSimTool and handle the shape internally 2020-05-04 20:52:40 +01:00
luz.paz
aedb888ae3 Path: source comment typo fixes
Found via `codespell`
2019-05-30 19:57:25 +02:00
Abdullah Tahiri
5866306efd Path: PathSimulator PCH 2019-05-03 23:15:09 +02:00
wmayer
8d8255981f PVS: V730 Not all members of a class are initialized inside the constructor 2019-03-12 18:33:25 +01:00
Ryan Pavlik
25332ba033 Fix ninja warnings about duplicate rules for Mod/Path/Init.py
Both Path/App and Path/PathSimulator/App were copying it.
2018-08-11 17:39:14 +02:00
Shai Seger
15c2b9a28c fix FreeCad crash when no tool is assigned to an operation 2018-05-11 10:17:16 -03:00
wmayer
cb4a5ee180 set exception message when returning with 0 2018-05-05 22:44:29 +02:00
Shai Seger
8d4f31f021 fix bug tracker issue id:0003450 : Freecad crash when simulating without operations. 2018-05-04 00:59:16 +03:00
wmayer
73522c3d10 fix scan coverity issues 2018-02-10 14:29:49 +01:00
wmayer
cc715465d0 fix warning: private field 'm_lx' is not used [-Wunused-private-field]
fix warning: private field 'm_ly' is not used [-Wunused-private-field]
2018-02-10 12:28:50 +01:00
Shai Seger
627c4e7906 Give default values to cutting edge angle so simulations with work even if user did not specify a valid cutting angle. 2018-01-24 17:43:06 +01:00
luz.paz
2009f9a611 Path: source typo fix 2018-01-15 21:05:03 -05:00
Sammel Lothar LTS
b6304d16a7 Fix Path Keep View and Sim in Sync,typo Linuxcnc_post 2018-01-09 16:46:12 -02:00
wmayer
780d1791f3 add occ library dir to PathSimulator 2017-11-01 13:19:09 +01:00
Shai Seger
ea4f6f2b2d PathSimulator: move all changes to branch path_simulator 2017-10-31 11:10:23 -02:00
Shai Seger
3a28e4f621 Solve the C++/Python type checking issue 2017-10-31 11:10:23 -02:00
Shai Seger
f531914007 change abs to fabs (for linux compatibility) 2017-10-31 11:10:23 -02:00