Skip to content

FileObjWriteOptions

Public Class

Inheritance Hierarchy

System.Object
Rhino.FileIO.FileObjWriteOptions

Namespace: Rhino.FileIO

Assembly: RhinoCommon (in RhinoCommon.dll)

Syntax

public class FileObjWriteOptions

The FileObjWriteOptions type exposes the following members.

Constructors

Name

Description


Public Method

Initializes a new instance of the FileObjWriteOptions class


Properties

Name

Description


Public Property
ActualFilePathOnMac
Public Property

Obsolete.

Setting to enable/disable the creation of ngons for the output


Public Property
CullUnnecessaryVertexesInNgons

Setting to determine whether interior collinear vertexes are part of the ngon.


Public Property
EolType
Public Property

Enable/disable export of faces as triangles.


Public Property

Setting to determine whether object, group or layer names will become “g”s in the OBJ output file


Public Property

Setting to write an .mtl file and “usemtl”s in the obj file


Public Property

Enable/disable export of vertex normals, if they exist.


Public Property

Setting to determine what object names in Rhino will become in the OBJ output file


Public Property

Enable/Disable bailing when an open mesh is encountered.


Public Property

Enable/disable export of texture coordinates, if they exist.


Public Property

Enable/disable export of vertex colors, if they exist.


Public Property
IncludeUnweldedEdgesInNgons

Setting to determine whether unwelded edges are ignored in the creation of an ngon.


Public Property

Setting to transform Rhino’s Z axis to OBJ’s Y axis


Public Property
MergeNestedGroupingNames

Setting to merge nested layer or group names into a single OBJ group name


Public Property

Mesh parameters to use when meshing geometry that is not already a mesh.


Public Property

Public Property

Minimum number of faces to consider creation of ngon


Public Property

Public Property

Public Property

Public Property

Number of significant digits to write out for floating point numbers


Public Property
SortObjGroups

Setting to enable/disable sorting of OBJ groups


Public Property

Public Property

Determines how coarse the mesh output will be when surface meshing subd objects See comments for ON_SubDDisplayParameters in opennurbs_mesh.h for details regarding numbers used.


Public Property

trimming curve option


Public Property

Enable/disable replacing white space with under-bars in material names.


Public Property

Setting to display color as material when material index for object is -1.


Public Property
UseRelativeIndexing

Determines whether to use relative indexing. TRUE = use relative (negative) indexing FALSE = use absolute (positive) indexing


Public Property

Use existing or generate render meshes instead of calling RhinoObject.MeshObjects.


Public Property

Determines whether to use the simple or detailed meshing dialog.


Public Property

Export vertex colors as 0 == floats (0.0-1.0) or 1 == ints (0-255)


Public Property

Setting to enable/disable line wrapping with ”\“s


Methods

Name

Description


Public Method

Equals

Determines whether the specified object is equal to the current object.

(Inherited from Object.)


Protected Method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.

(Inherited from Object.)


Public Method

GetHashCode

Serves as the default hash function.

(Inherited from Object.)


Public Method

Calculates the transform combination of ZToY and any the translation that might occur in a SavewithOrigin.


Public Method

GetType

Gets the Type of the current instance.

(Inherited from Object.)


Protected Method

MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)


Public Method

ToString

Returns a string that represents the current object.

(Inherited from Object.)


Fields

Name

Description


Public Field
AngleTolRadians

If trim is TL_OBJ_FILE_TRIM_POLYLINE, angle_tol (in radians) controls the level of linearization on parameter space trimming curves.


Public Field
WriteOptions