importOBJ Namespace Reference

OBJ file format importer and exporter. More...

Functions

def export (exportList, filename)
 
def findVert (aVertex, aList)
 
def getIndices (shape, offset)
 

Variables

 p = Draft.precision()
 
 pythonopen = open
 

Detailed Description

OBJ file format importer and exporter.

This module provides tools to import and export OBJ files. It is an alternative tothe standard Mesh OBJ importer/exporter and supports exporting faces with more than 3 vertices.

Function Documentation

def importOBJ.export (   exportList,
  filename 
)
def importOBJ.findVert (   aVertex,
  aList 
)

Referenced by getIndices().

def importOBJ.getIndices (   shape,
  offset 
)

References findVert(), and DraftGeomUtils.geomType().

Referenced by export().

Variable Documentation

importOBJ.p = Draft.precision()
importOBJ.pythonopen = open

Referenced by export().