FileObjWriteOptions
ReferencesConstructors
Parameters:
| writeOptions (FileWriteOptions) |
Fields
Properties
Remarks: The path passed to FileExportPlugIn::WriteFile on the Mac is a temporary path. The calling function takes care of moving the temp (.obj) file to it's appropriate location. We can't use that to write that path to construct the .mat file because the calling function doesn't know anything about it. ActualFilePathOnMac is the path of the obj file's ultimate destination. It's only meaningful on the Mac platform.
obsoleteUse NgonMode.
Setting to enable/disable the creation of ngons for the output
Setting to determine whether interior collinear vertexes are part of the ngon.
Remarks: Imagine a plane that has been split and then rejoined. If IncludeUnweldedEdgesInNgons is set to true then you would get an ngon with 6 vertexes, the corners and one on each edge that was split. Setting this to true would remove those 2 vertexes from the interior of the edge. TODO This is not hooked up yet, Dale hasn't made this available yet. See RH-30673.
Remarks: Alias/Wavefront OBJ files are ASCII files. Generally they should have a LF (UNIX) as the end-of-line marker.
Enable/disable export of faces as triangles.
Setting to determine whether object, group or layer names will become "g"s in the OBJ output file
Setting to write an .mtl file and "usemtl"s in the obj file
Enable/disable export of vertex normals, if they exist.
Setting to determine what object names in Rhino will become in the OBJ output file
Enable/Disable bailing when an open mesh is encountered.
Enable/disable export of texture coordinates, if they exist.
Enable/disable export of vertex colors, if they exist.
Setting to determine whether unwelded edges are ignored in the creation of an ngon.
Remarks: Imagine a plane that has been split and then rejoined. This setting determines if you will get one or two ngons in the output. TODO This is not hooked up yet, Dale hasn't made this available yet. See RH-30673.
Setting to transform Rhino's Z axis to OBJ's Y axis
Setting to merge nested layer or group names into a single OBJ group name
Remarks: Setting this to true will take a layer setup like this in Rhino Grandparent Parent Child and make a group name of Grandparent__Parent__Child in obj. If false it will be 3 separate group names in obj and will look like this in the file. g Grandparent Parent Child
Mesh parameters to use when meshing geometry that is not already a mesh.
Minimum number of faces to consider creation of ngon
Number of significant digits to write out for floating point numbers
Setting to enable/disable sorting of OBJ groups
Remarks: This is mainly for the sake of making an obj file more human readable, however, it is important that it happens when a user has opted to write Rhino groups as OBJ "g"s since it is not necessary for every object in Rhino to be part of a group.
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.
trimming curve option
Enable/disable replacing white space with under-bars in material names.
Setting to display color as material when material index for object is -1.
Determines whether to use relative indexing. TRUE = use relative (negative) indexing FALSE = use absolute (positive) indexing
Remarks: This only has an impact on non-mesh output. There is also no interface in the OBJ export plug-in so code executed when set to true has not been thoroughly tested. It has been there forever and migrated with each successive revision of OBJ export code.
Use existing or generate render meshes instead of calling RhinoObject.MeshObjects.
Determines whether to use the simple or detailed meshing dialog.
Export vertex colors as 0 == floats (0.0-1.0) or 1 == ints (0-255)