Export toolpath to obj in prusaslicer g-code viewer
 
Notifications
Clear all

Export toolpath to obj in prusaslicer g-code viewer  

  RSS
nrk
 nrk
(@nrk)
New Member
Export toolpath to obj in prusaslicer g-code viewer

I am trying to understand how to generate the obj file out of the G-code. The way I think I can do it is either by sweeping a profile along the line extracting the coordinates and defining it as the path. Or extruding a profile along the path. This approach takes a lot of computational time ( Even after writing a code to automate the process in FreeCAD/ Abaqus (Related papers: Comparison of CAD and voxel-based modeling methodologies for the mechanical simulation of extrusion-based 3D printed scaffolds, Geometry reconstruction for additive manufacturing from g-code to 3d cad model). Another way would be to create voxels (VOLCO A predictive model for 3D printed microarchitecture) but all these processes are very slow. 

However, the export as obj function in Prusa generates the file very fast. I would appreciate it if somebody could share knowledge on this. 

Posted : 15/02/2023 8:11 pm
Diem
 Diem
(@diem)
Illustrious Member

Take a look at Prusa's Github.

Cheerio,

Posted : 16/02/2023 12:10 am
nrk
 nrk
(@nrk)
New Member
Topic starter answered:
RE: Export toolpath to obj in prusaslicer g-code viewer

Thanks, I have already looked through the Prusa documentation and the only thing I found is https://help.prusa3d.com/article/export-toolpaths-as-obj_1777

Posted : 16/02/2023 2:17 am
Diem
 Diem
(@diem)
Illustrious Member

All of the source code is available here:

https://github.com/prusa3d/PrusaSlicer/

Posted : 16/02/2023 11:45 am
nrk
 nrk
(@nrk)
New Member
Topic starter answered:
RE: Export toolpath to obj in prusaslicer g-code viewer

Thanks, understanding the codes are way beyond my knowledge so I was looking for something in the documentation but I could not find much information.  

Posted : 17/02/2023 3:35 pm
Share: