wrap.Geom.save

Geom.save(fileName, scaleFactor=1.0)

Save model to OBJ-file with pre-scaling.

Parameters:

fileName : string

Filename to save object in .obj format.

scaleFactor : float

If a scale of the model is very small i.e. the model size does not exceed 1.0, it might lead to round-off errors. If this is the case please pre-scale the model to some reasonable scale (say 1000.0) and downscale it back (say 1 / 1000.0) before saving.