class
Welder
Welds vertices within the geometry or scene together.
Properties
Property | Description |
---|---|
CompactMesh | If true, the welder will call Compact on the geometry after welding. |
IgnoreVertexLocks | If IgnoreVertexLocks is true, then also vertices that are locked may be welded. |
Name | The name of the Welder object. (Inherited from Object) |
OnlyBetweenSceneNodes | If set, only vertices that belong to different scene nodes are considered for the welding. |
OnlyBorders | If set, only vertices that are on the border are considered for the welding. |
OnlyWithinMaterial | If set, only vertices that are within the same material are welded. Vertices on material borders are locked. |
OnlyWithinSceneNode | If set, only vertices that are within the same scene node are welded. |
ProcessSelectionSetID | The ID of the selection set containing the meshes to weld If the ID is -1, all meshes are selected. If both selection set name and ID are set, the name will be used. |
ProcessSelectionSetName | The now of the selection set containing the meshes to weld. If the name is not found, all geometries in the scene will be processed. If both selection set name and ID are set, the name will be used. |
ProgressivePasses | The number of progressive passes. |
Scene | The scene. |
UpdateExtents | If true, the welder will call CalculateExtents on the geometry before welding. |
WeldDist | The distance below which the vertices will be welded. |
Methods
Method | Description |
---|---|
AddObserver | Adds a user-defined observer object to the interface, that will receive events from the interface. (Inherited from Object) |
Clear | Clear all internal states of the object. This will NOT clear the parameters set in the object. (Inherited from ProcessingObject) |
GetClass | Get the name of the Welder class. (Inherited from Object) |
GetPercentDone | Returns the current progress of the processing as a value between 0 and 100. (Inherited from ProcessingObject) |
IsA | Returns true if Welder is a or is a descendant of the class named as the type parameter. (Inherited from Object) |
IsNull | Returns true if the Welder object is invalid. (Inherited from Object) |
IsSameObjectAs | Returns true if the Welder object is valid. (Inherited from Object) |
NonNull | Returns true if the Welder object is valid. (Inherited from Object) |
PrintInfo | Prints the content/info of the Welder object to the log. (Inherited from Object) |
RemoveObserver | Removes a previously added observer object. (Inherited from Object) |
RunProcessing | Runs the processing the object is designed for. If the process succeeds, the return value is NoError. If the process fails, and the error is recoverable, an error code is returned. (Inherited from ProcessingObject) |
ToJSON | Get settings as JSON for debugging purposes. (Inherited from ProcessingObject) |
WeldGeometry | Welds the geometry. |
Static methods
Method | Description |
---|---|
IsClassA | Returns true if the class is a or is a descendant of the class named as the type parameter. (Inherited from Object) |
SafeCast | SafeCast makes sure the input object is of a class that can be cast into spWelder, and if this is the case, returns the object cast into spWelder. (Inherited from Object) |
Properties details
CompactMesh
If true, the welder will call Compact on the geometry after welding.
IgnoreVertexLocks
If IgnoreVertexLocks is true, then also vertices that are locked may be welded.
Name
The name of the Welder object. (Inherited from Object)
OnlyBetweenSceneNodes
If set, only vertices that belong to different scene nodes are considered for the welding.
OnlyBorders
If set, only vertices that are on the border are considered for the welding.
OnlyWithinMaterial
If set, only vertices that are within the same material are welded. Vertices on material borders are locked.
OnlyWithinSceneNode
If set, only vertices that are within the same scene node are welded.
ProcessSelectionSetID
The ID of the selection set containing the meshes to weld If the ID is -1, all meshes are selected. If both selection set name and ID are set, the name will be used.
ProcessSelectionSetName
The now of the selection set containing the meshes to weld. If the name is not found, all geometries in the scene will be processed. If both selection set name and ID are set, the name will be used.
ProgressivePasses
The number of progressive passes.
Scene
The scene.
UpdateExtents
If true, the welder will call CalculateExtents on the geometry before welding.
WeldDist
The distance below which the vertices will be welded.
Methods details
AddObserver
Adds a user-defined observer object to the interface, that will receive events from the interface. (Inherited from Object)
Clear
Clear all internal states of the object. This will NOT clear the parameters set in the object.
GetClass
Get the name of the Welder class. (Inherited from Object)
GetPercentDone
Returns the current progress of the processing as a value between 0 and 100.
IsA
Returns true if Welder is a or is a descendant of the class named as the type parameter. (Inherited from Object)
IsNull
Returns true if the Welder object is invalid. (Inherited from Object)
IsSameObjectAs
Returns true if the Welder object is valid. (Inherited from Object)
NonNull
Returns true if the Welder object is valid. (Inherited from Object)
PrintInfo
Prints the content/info of the Welder object to the log. (Inherited from Object)
RemoveObserver
Removes a previously added observer object. (Inherited from Object)
RunProcessing
Runs the processing the object is designed for. If the process succeeds, the return value is NoError. If the process fails, and the error is recoverable, an error code is returned.
ToJSON
Get settings as JSON for debugging purposes.
WeldGeometry
Welds the geometry.
Static methods details
IsClassA
Returns true if the class is a or is a descendant of the class named as the type parameter. (Inherited from Object)
SafeCast
SafeCast makes sure the input object is of a class that can be cast into spWelder, and if this is the case, returns the object cast into spWelder. (Inherited from Object)