ddg.conversion.obj.ifs module

ddg.conversion.obj.ifs.ifs_to_obj(ifs, obj_name, file_location, attribute_name='co')[source]

Convert an IndexedFaceSet to an obj wavefront format.

Parameters:
ifsddg.datastructures.indexedfaceset.ifs.IndexedFaceSet
obj_namestring

Name of the surface in the obj file

file_locationstring

Path to where the obj file should be saved

attribute_namestring (default=”co”)

Name of the IndexedFaceSet vertex attribute storing the coordinates

Returns:
None