Previous topic

6.3.5. document3D.STP_converter_WebGL — models for openPLM

Next topic

6.3.7. document3D.generateDecomposition — models for openPLM

This Page

Languages

Previous versions

1.2
1.1

6.3.6. document3D.generate3D — models for openPLM

Habla sobre los modelos

openPLM.apps.document3D.generate3D.convert_step_file(doc_file_path, doc_file_id, location, thumb_path)[source]
Parameters:
  • doc_file_path – Path of a file .stp
  • doc_file_id – id that is applied for the generation of the tree .arb and the geometries .geo
  • location – Path where to store the files .geo and .arb generated

For a file STEP determined by its path (doc_file_path), it generates its file .arb and its files .geo having count an id determined by doc_file_id and returns in stdout the list of paths of files generated

openPLM.apps.document3D.generate3D.write_arbrefile(product, fileName, location)[source]
Parameters:
  • productProduct relative to the structure of assemblies of a file .stp
  • fileName – Name of the file .stp for which we are going to generate the file .arb
  • location – Path where to store the file .arb generated