Previous topic

6.3.8. document3D.generateComposition — models for openPLM

Next topic

6.4. gdoc – Google Document Application

This Page

Languages

Previous versions

1.2
1.1

6.3.9. document3D.mesh — models for openPLM

Habla sobre los modelos

class openPLM.apps.document3D.mesh.GeometryWriter(shape, quality_factor)[source]

Bases: object

Tool to convert an OpenCascade shape into a javascript file.

Model attributes:
 
shape

SimpleShape that contains the geometry

quality_factor

quality of applied to the geometry

write_geometries(identifier, filename, pov_filename)[source]

Write the geometry to filename (javascript) * and pov_filename (POVRay) identifier is the name of the generated variable describing the whole geometry.