This looks amazing. I can't wait. Do you use IRC or Gitter? For something like this, I'd recommend we meet in the Path room and do an informal walk-thru. It's easier to ask questions in realtime but is still logged and available to anyone who wants to join.shaise wrote: ↑Thu Oct 26, 2017 9:50 amHi Sliptonic,
I have managed to integrate my C++ voxel simulation into FreeCAD. The thing is, since it has C++ code, it can not be a separate module or macro.
I would like to integrate it into main freecad, but before issuing a pull request, I would like to talk to developpers in charge of the Path workbech, to ask some questions and make sure my code is acceptable by them.
Code: Select all
OS: Debian GNU/Linux 8.6 (jessie)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.12600 (Git)
Build type: Unknown
Branch: master
Hash: 987b8db0b5ab31ea4d5148787495b1ed856cef41
Python version: 2.7.9
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: English/UnitedStates (en_US)
Code: Select all
Running the Python command 'Path_Simulator' failed:
Traceback (most recent call last):
File "/home/pekka/builds/FreeCAD/freecad-build2/Mod/Path/PathScripts/PathSimulatorGui.py", line 519, in Activated
pathSimulation.Activate()
File "/home/pekka/builds/FreeCAD/freecad-build2/Mod/Path/PathScripts/PathSimulatorGui.py", line 82, in Activate
self.SimulateMill()
File "/home/pekka/builds/FreeCAD/freecad-build2/Mod/Path/PathScripts/PathSimulatorGui.py", line 154, in SimulateMill
self.SetupSimulation()
File "/home/pekka/builds/FreeCAD/freecad-build2/Mod/Path/PathScripts/PathSimulatorGui.py", line 105, in SetupSimulation
self.SetupOperation(0)
File "/home/pekka/builds/FreeCAD/freecad-build2/Mod/Path/PathScripts/PathSimulatorGui.py", line 112, in SetupOperation
toolProf = self.CreateToolProfile(self.tool, Vector(0,1,0), Vector(0,0,0), self.tool.Diameter / 2.0)
File "/home/pekka/builds/FreeCAD/freecad-build2/Mod/Path/PathScripts/PathSimulatorGui.py", line 392, in CreateToolProfile
lR = Part.makeLine(vBR, vTR)
Line through identic points
Code: Select all
Traceback (most recent call last):
File "/home/pekka/builds/FreeCAD/freecad-build2/Mod/Path/PathScripts/PathSimulatorGui.py", line 243, in PerformCut
self.PerformCutVoxel()
File "/home/pekka/builds/FreeCAD/freecad-build2/Mod/Path/PathScripts/PathSimulatorGui.py", line 213, in PerformCutVoxel
if self.resetSimulation:
AttributeError: PathSimulation instance has no attribute 'resetSimulation'
Traceback (most recent call last):
File "/home/pekka/builds/FreeCAD/freecad-build2/Mod/Path/PathScripts/PathSimulatorGui.py", line 243, in PerformCut
self.PerformCutVoxel()
File "/home/pekka/builds/FreeCAD/freecad-build2/Mod/Path/PathScripts/PathSimulatorGui.py", line 213, in PerformCutVoxel
if self.resetSimulation:
AttributeError: PathSimulation instance has no attribute 'resetSimulation'
....
....