Commit Graph

49 Commits

Author SHA1 Message Date
wmayer
6a69efc4a6 Path: modernize C++11
* use nullptr
2022-03-23 19:26:15 +01:00
wmayer
0f9768fb33 Fix coverity issue:
* CID 332682: Resource leak
* CID 350607: Resource leak
* CID 332677: Resource leak
2022-03-14 11:35:04 +01:00
mosfet80
b31f4e3cb5 Path: fix build failure for OCCT >= 7.6.1 2022-02-09 12:55:37 +01:00
luz paz
ef824f12e2 Path: fix typo in author's name 2021-12-10 02:36:56 +01: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
luz.paz
d0d2096fc8 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
ed30e0421b Try and catch errors when getting the tool profile 2020-05-04 20:53:36 +01:00
Daniel Wood
3003a16cc6 Clean up debug prints 2020-05-04 20:53:36 +01:00
Daniel Wood
9bdba32f54 check the toolbit shape is valid 2020-05-04 20:53:36 +01:00
Daniel Wood
f8e4222506 use the tool resolution to determin face position 2020-05-04 20:53:36 +01:00
Daniel Wood
455c04f978 Remove and silence some debug prints 2020-05-04 20:53:36 +01:00
Daniel Wood
6dd3e8b7a2 Extract the shape of the tool from the solid shape 2020-05-04 20:53:36 +01:00
Daniel Wood
4c7c000e69 use the tool resolution to determin face position 2020-05-04 20:53:36 +01:00
Daniel Wood
cdcac55e18 Remove and silence some debug prints 2020-05-04 20:53:35 +01:00
Daniel Wood
2ae9967b0f Extract the shape of the tool from the solid shape 2020-05-04 20:53:35 +01:00
Daniel Wood
b2c2cad07d use the tool resolution to determin face position 2020-05-04 20:52:40 +01:00
Daniel Wood
a6563c1170 Remove and silence some debug prints 2020-05-04 20:52:40 +01:00
Daniel Wood
19f3f9ebdd Extract the shape of the tool from the solid shape 2020-05-04 20:52:40 +01:00
Daniel Wood
9fa1a3e8ce Allow passing the tool shape from python 2020-05-04 20:52:40 +01:00
Daniel Wood
0d3d7157f8 pass the tool shape to the CSimTool and handle the shape internally 2020-05-04 20:52:40 +01:00
luz.paz
ec12ffae0c Path: source comment typo fixes
Found via `codespell`
2019-05-30 19:57:25 +02:00
Abdullah Tahiri
45f44a2d9f Path: PathSimulator PCH 2019-05-03 23:15:09 +02:00
wmayer
7e482a5002 PVS: V730 Not all members of a class are initialized inside the constructor 2019-03-12 18:33:25 +01:00
Ryan Pavlik
9fa22576b9 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
b2e9348892 fix FreeCad crash when no tool is assigned to an operation 2018-05-11 10:17:16 -03:00
wmayer
c7e9ff1b62 set exception message when returning with 0 2018-05-05 22:44:29 +02:00
Shai Seger
9111efacb2 fix bug tracker issue id:0003450 : Freecad crash when simulating without operations. 2018-05-04 00:59:16 +03:00
wmayer
b780ba650f fix scan coverity issues 2018-02-10 14:29:49 +01:00
wmayer
c16af94dbe 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
5fd64aa3eb 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
c53f8bbc15 Path: source typo fix 2018-01-15 21:05:03 -05:00
Sammel Lothar LTS
efaabab154 Fix Path Keep View and Sim in Sync,typo Linuxcnc_post 2018-01-09 16:46:12 -02:00
wmayer
2339d6b0be add occ library dir to PathSimulator 2017-11-01 13:19:09 +01:00
Shai Seger
fc94e4f2f4 Solve the C++/Python type checking issue 2017-10-31 11:10:23 -02:00
Shai Seger
da6c885232 change abs to fabs (for linux compatibility) 2017-10-31 11:10:23 -02:00
Shai Seger
62cf54cc5c fix some linux compiler warnings 2017-10-31 11:10:23 -02:00
Shai Seger
6ee622b675 Fixed some non standard c++ operations. 2017-10-31 11:10:23 -02:00
Shai Seger
57f2e68746 Fix another linux compilation issue... 2017-10-31 11:10:23 -02:00
Shai Seger
88f7cc4594 Increase Fast Forward speed
Fix Linux compilation issue (hopefully)
2017-10-31 11:10:23 -02:00
Shai Seger
51f9a8674b Add 2 color stock, speed control and resolution control 2017-10-31 11:10:23 -02:00
Shai Seger
45fa948099 Initial simulation works 2017-10-31 11:10:23 -02:00
Shai Seger
84d037cc4b debugging wip 2017-10-31 11:10:23 -02:00
Shai Seger
1d47ceeaea implement ApplyCommand and SetCurrentTool 2017-10-31 11:10:23 -02:00
Shai Seger
9687b2f864 implement beginSimulation and getResultMesh 2017-10-31 11:10:23 -02:00
Shai Seger
d9c610b044 Finally! the PathSim object is visible at freecad 2017-10-31 11:10:23 -02:00
Shai Seger
0f8659fe83 add python object resistration 2017-10-31 11:10:23 -02:00
Shai Seger
5a2296ea55 initial sim engin added. initial python interface. 2017-10-31 11:10:23 -02:00
Shai Seger
2f786d2287 Add initial class 2017-10-31 11:10:23 -02:00
Shai Seger
84798a6aa6 Add generated PathSimulation Module 2017-10-31 11:10:23 -02:00