hexagon logo

STL creation in python api

Hello ,

 Can we create a .stl file in Simufact python API using .stl creation code just like we do in MATLAB? 

I have tried but the system was showing this errors: 

ModuleNotFoundError: No module named 'stl'

Thanks,

VIgnesh

Parents Reply Children
  • I have few other questions related to python script. 

    1. I am trying to generate random preforms .stl files based on 3D revolution across y-axis using 2D control points, is it possible to do it in Simufact python module since i have been getting this errors. ( i was successfully able to generate them in MATLAB, if its not possible to do it in Simufact python, can i call the MATLAB script to run and generate those files which can be assigned in to Simufact project?) 

    2. can we integrate the strain results of the generated preform obtained from the .stl files from step 1, to generate new .stl files using customizes algorithm based on strain constraints at preferred locations. 

    3. If I have 10 preforms, can I run all 10 preforms simulations at a time which can auto assign themselves to the dies and generate results? 

    Thanks,

    Vignesh.