AnsweredAssumed Answered

I want to convert .sldprt files to .stl using C# or Python.

Question asked by Umar Dastgir on May 1, 2019

Hello everyone,

 

I am a beginner to solidworks and want to write a script that converts .sldprt to .stl file. I do realize that using a GUI, this is quite easy to accomplish. I can install Solidworks and use Save As... option. I can also use CADExchanger or GrabCAD. However, I wan't to accomplish this using a Python/C# script.

 

I do know that there are Solidworks libraries available in C#, however, I am not entirely sure whether they provide .sldprt import and .stl export functionality. Can someone point me in the right direction as to where to start?

 

Thank you

Outcomes