Public Member Functions | |
| HRESULT | BuildNormalmap ([in] BSTR bszSelection) |
| HRESULT | SimplifyMesh ([in] BSTR bszSelection) |
| HRESULT | ChangeSSLevel ([in] int iDiff) |
| HRESULT | ShowMeshEditSettings ([in] BSTR WinID) |
| HRESULT | TipSelection ([in] BSTR bszSelection) |
| HRESULT | NormalSweepSelection ([in] BSTR bszSelection,[in] VARIANT vSegments,[in] VARIANT vRegions,[in] VARIANT vMode,[in] VARIANT vAvgNrm,[in] VARIANT vStep) |
| HRESULT | WeldSelection ([in] BSTR bszSelection) |
| HRESULT | DeleteElements ([in] BSTR bszSelection) |
| HRESULT | FlipFacesNormals ([in] BSTR bszSelection) |
| HRESULT | SplitPolygons ([in] BSTR bszSelection) |
| HRESULT | MergePolygons ([in] BSTR bszSelection) |
| HRESULT | ExtrudeSelection ([in] BSTR bszSelection) |
| HRESULT | DuplicateSelection ([in] BSTR bszSelection) |
| HRESULT | MirrorSelection ([in] BSTR bszSelection) |
| HRESULT | Subdivide ([in] BSTR bszSelection) |
| HRESULT | Smoothdivide ([in] BSTR bszSelection) |
| HRESULT | AddFace ([in] BSTR bszSelection) |
| HRESULT | WeldPairs ([in] BSTR bszSelection) |
| HRESULT | CancelSelectionBasedTool () |
| HRESULT | ActivateSelectionTool () |
| HRESULT | GrowPointEditSelection ([in] BSTR bszSelection) |
| HRESULT | ShrinkPointEditSelection ([in] BSTR bszSelection) |
| HRESULT | SmoothPointEditSelection ([in] BSTR bszSelection) |
| HRESULT | OutlinePointEditSelection ([in] BSTR bszSelection) |
| HRESULT | SelectConnected ([in] BSTR bszSelection) |
| HRESULT | InvertConnected ([in] BSTR bszSelection) |
| HRESULT | PeDeselect ([in] BSTR bszSelection) |
| HRESULT | InvertSelection ([in] BSTR bszSelection) |
| HRESULT | ConvertSelection ([in] BSTR bszSelection,[in] BSTR bszSelectionType) |
| HRESULT | SetLockSelection ([in] BSTR bszNode,[in] BSTR bszSelection) |
| HRESULT | ResetLockSelection ([in] BSTR bszNode) |
| HRESULT | ShrinkWrap ([in] BSTR bszSelection) |
| HRESULT | Scissors ([in] BSTR bszSelection) |
| HRESULT | DisplacementMapping ([in] BSTR bszSelection) |
| HRESULT | EndDisplacementMapping ([in] BSTR bszSelection) |
| HRESULT | AddSdsVertexWeight ([in] BSTR bszSelection,[in] VARIANT vWeight) |
| HRESULT | AddSdsEdgeWeight ([in] BSTR bszSelection,[in] VARIANT vWeight) |
| HRESULT | ActivatePointEditWidget ([in] BSTR szGroup,[in] BSTR szWidget,[in] BSTR szAspect) |
| HRESULT | EnableDisplacementBrush () |
| HRESULT | BevelTool ([in] BSTR bszSelection,[in] VARIANT vQuads,[in] VARIANT vUpdate,[in] VARIANT vOffset,[in] VARIANT vHeight) |
| HRESULT | AddMirrorModeler ([in] BSTR bszSelection) |
| HRESULT | RemoveMirrorPlane ([in] BSTR bszSelection) |
| HRESULT | ShowMirrorProperties ([in] BSTR bszSelection) |
| HRESULT | UpdateMirrorPlane ([in] BSTR bszSelection) |
| HRESULT | CreateHair ([in] BSTR bszSelection) |
| HRESULT | EnableHairBrush ([in] BSTR bszTool) |
| HRESULT | TogglePeTool ([in] BSTR szToolName,[in] BSTR szSelection) |
| HRESULT | HairPreset ([in] BSTR bszNode,[in] BSTR bszPreset) |
| HRESULT | FlattenNodes ([in] BSTR bszSelection) |
| HRESULT | SmoothNormals ([in] BSTR bszSelection) |
| HRESULT | FacetedNormals ([in] BSTR bszSelection) |
| HRESULT | AutofacetNormals ([in] BSTR bszSelection,[in] VARIANT vAngle) |
| HRESULT | HealVertices ([in] BSTR bszSelection,[in] VARIANT vRadius) |
| HRESULT | UpdateMirrorPosition ([in] BSTR bszSelection) |
| HRESULT | UpdateMirrorNormal ([in] BSTR bszSelection) |
| HRESULT | SelectMaterial ([in] BSTR bszSelection) |
| HRESULT | ApplySelectionTool ([in] BSTR szWidget,[in] BSTR szCommand) |
| HRESULT | FlipEdge ([in] BSTR bszSelection) |
| HRESULT | OptimizeTriangulation ([in] BSTR bszSelection) |
| HRESULT | SeparateSelected ([in] BSTR bszSelection) |
| HRESULT | SelectPath ([in] BSTR bszSelection) |
| HRESULT | CollapseLoop ([in] BSTR bszSelection) |
| HRESULT | HideSelected ([in] BSTR bszSelection) |
| HRESULT | ShowHiddenPeGeometry ([in] BSTR bszSelection) |
| HRESULT | OpenMaterialEditor () |
| HRESULT | ToggleTool (BSTR szToolName) |
| HRESULT | StartPaintFaceTool () |
| HRESULT | RepaintMaterial (BSTR szSelection, RtUlong dwMaterialIndex) |
| HRESULT | SetMaterial (BSTR szSelection) |
| HRESULT | ResetSds (BSTR szSelection, VARIANT vEdgeWeights, VARIANT vVertexWeights, VARIANT vSsLevel) |
| HRESULT | ActivateBooleansTool (BSTR szOperation, BSTR szSelection) |
| HRESULT | Quadrify ([in] BSTR bszSelection) |
| HRESULT | OpenMeshEditorPanel ([in] BSTR szPanel,[in] RtUlong dwGroupId,[in] RtUlong dwAspect,[in] RtUlong dwAllowAspects) |
| HRESULT | FlattenAxes ([in] BSTR bszSelection) |
| HRESULT IRiMeshModifiers::BuildNormalmap | ( | [in] BSTR | bszSelection | ) |
Build normal map.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.BuildNormalmap('');
| HRESULT IRiMeshModifiers::SimplifyMesh | ( | [in] BSTR | bszSelection | ) |
Simplify mesh.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.SimplifyMesh('');
| HRESULT IRiMeshModifiers::ChangeSSLevel | ( | [in] int | iDiff | ) |
Change subdivision surface level.
| iDiff | [in] Specify +1 to "add" or -1 to "remove". |
MeshModifiers.ChangeSSLevel(+1);
| HRESULT IRiMeshModifiers::ShowMeshEditSettings | ( | [in] BSTR | WinID | ) |
Show mesh editor settings panel.
| WinID | [in] Specify node or '' for current selection. |
MeshModifiers.ShowMeshEditSettings('');
| HRESULT IRiMeshModifiers::TipSelection | ( | [in] BSTR | bszSelection | ) |
Tip selection. Selected nodes must be in point edit mode.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.TipSelection('');
| HRESULT IRiMeshModifiers::NormalSweepSelection | ( | [in] BSTR | bszSelection, | |
| [in] VARIANT | vSegments, | |||
| [in] VARIANT | vRegions, | |||
| [in] VARIANT | vMode, | |||
| [in] VARIANT | vAvgNrm, | |||
| [in] VARIANT | vStep | |||
| ) |
Normal sweep selection. Selected nodes must be in point edit mode.
| bszSelection | [in] Specify node or '' for current selection. | |
| vSegments | [in] Number of segments. | |
| vRegions | [in] Sweep neighboring regions together: boolean true/false. | |
| vMode | [in] Boolean mode 0=disabled, 1,2=boolean, 3=shell | |
| vAvgNrm | [in] Average region normals. | |
| vStep | [in] Specifies step for sweeping. |
MeshModifiers.NormalSweepSelection('', 3, false, 3, true, 3.5);
| HRESULT IRiMeshModifiers::WeldSelection | ( | [in] BSTR | bszSelection | ) |
Weld selection. Selected nodes must be in point edit mode.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.WeldSelection('');
| HRESULT IRiMeshModifiers::DeleteElements | ( | [in] BSTR | bszSelection | ) |
Delete elements. Selected nodes must be in point edit mode.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.DeleteElements('');
| HRESULT IRiMeshModifiers::FlipFacesNormals | ( | [in] BSTR | bszSelection | ) |
Flip faces normals. Selected nodes must be in point edit mode.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.FlipFacesNormals('');
| HRESULT IRiMeshModifiers::SplitPolygons | ( | [in] BSTR | bszSelection | ) |
Split polygons (triangulate). Selected nodes must be in point edit mode.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.SplitPolygons('');
| HRESULT IRiMeshModifiers::MergePolygons | ( | [in] BSTR | bszSelection | ) |
Merge polygons. Selected nodes must be in point edit mode.
| bszSelection | Specify node or '' for current selection. |
MeshModifiers.MergePolygons('');
| HRESULT IRiMeshModifiers::ExtrudeSelection | ( | [in] BSTR | bszSelection | ) |
Extrude selection. Selected nodes must be in point edit mode.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.ExtrudeSelection('');
| HRESULT IRiMeshModifiers::DuplicateSelection | ( | [in] BSTR | bszSelection | ) |
Duplicate selection. Selected nodes must be in point edit mode.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.DuplicateSelection('');
| HRESULT IRiMeshModifiers::MirrorSelection | ( | [in] BSTR | bszSelection | ) |
Mirror selection. Selected nodes must be in point edit mode.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.MirrorSelection('');
| HRESULT IRiMeshModifiers::Subdivide | ( | [in] BSTR | bszSelection | ) |
Subdivide selection. Selected nodes must be in point edit mode.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.Subdivide('');
| HRESULT IRiMeshModifiers::Smoothdivide | ( | [in] BSTR | bszSelection | ) |
Smooth divide selection. Selected nodes must be in point edit mode.
| bszSelection | Specify node or '' for current selection. |
MeshModifiers.Smoothdivide('');
| HRESULT IRiMeshModifiers::AddFace | ( | [in] BSTR | bszSelection | ) |
Add face. Selected nodes must be in point edit mode.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.AddFace('');
| HRESULT IRiMeshModifiers::WeldPairs | ( | [in] BSTR | bszSelection | ) |
Weld selection pairs. Selected nodes must be in point edit mode.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.WeldPairs('');
| HRESULT IRiMeshModifiers::CancelSelectionBasedTool | ( | ) |
Call this function to cancel selection based widget tool.
Function resets selection and activates default selection.
MeshModifiers.CancelSelectionBasedTool();
| HRESULT IRiMeshModifiers::ActivateSelectionTool | ( | ) |
Call this function to activate default selection tool.
MeshModifiers.ActivateSelectionTool();
| HRESULT IRiMeshModifiers::GrowPointEditSelection | ( | [in] BSTR | bszSelection | ) |
Convert selection to points and grow selection to include neighbors.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.GrowPointEditSelection('');
| HRESULT IRiMeshModifiers::ShrinkPointEditSelection | ( | [in] BSTR | bszSelection | ) |
Convert selection to points and shrink selection away from neighbors.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.ShrinkPointEditSelection('');
| HRESULT IRiMeshModifiers::SmoothPointEditSelection | ( | [in] BSTR | bszSelection | ) |
Convert selection to points and smooth the resulting selection.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.SmoothPointEditSelection('');
| HRESULT IRiMeshModifiers::OutlinePointEditSelection | ( | [in] BSTR | bszSelection | ) |
Convert selection to points and get an outline from it.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.OutlinePointEditSelection('');
| HRESULT IRiMeshModifiers::SelectConnected | ( | [in] BSTR | bszSelection | ) |
Select all connected elements.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.SelectConnected('');
| HRESULT IRiMeshModifiers::InvertConnected | ( | [in] BSTR | bszSelection | ) |
Invert selection constrained to connected elements.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.InvertConnected('');
| HRESULT IRiMeshModifiers::PeDeselect | ( | [in] BSTR | bszSelection | ) |
De-select/clear point edit selection.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.PeDeselect('');
| HRESULT IRiMeshModifiers::InvertSelection | ( | [in] BSTR | bszSelection | ) |
Invert selection.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.InvertSelection('');
| HRESULT IRiMeshModifiers::ConvertSelection | ( | [in] BSTR | bszSelection, | |
| [in] BSTR | bszSelectionType | |||
| ) |
Transform current point edit selection, to selection specified by parameter.
Types are:
| bszSelection | [in] Specify node or '' for current selection. | |
| bszSelectionType | [in] Selection type, specify '' to use current point edit selection mode. |
MeshModifiers.ConvertSelection('', 'triangle');
| HRESULT IRiMeshModifiers::SetLockSelection | ( | [in] BSTR | bszNode, | |
| [in] BSTR | bszSelection | |||
| ) |
Activate mesh edit selection to calculate axis lock constraints.
| bszNode | [in] Tool node (/Preferences/Snapping/Point edit snapping/Selection movement lock). | |
| bszSelection | [in] Specify node or '' for current selection. |
var ToolNode = "/Preferences/Snapping/Point edit snapping/Selection movement lock"; MeshModifiers.SetLockSelection(ToolNode, '');
| HRESULT IRiMeshModifiers::ResetLockSelection | ( | [in] BSTR | bszNode | ) |
Deactivate mesh edit selection to calculate axis lock constraints.
| bszNode | [in] Tool node (/Preferences/Snapping/Point edit snapping/Selection movement lock). |
var ToolNode = "/Preferences/Snapping/Point edit snapping/Selection movement lock";
MeshModifiers.ResetLockSelection(ToolNode);
| HRESULT IRiMeshModifiers::ShrinkWrap | ( | [in] BSTR | bszSelection | ) |
Apply shrink-wrap uv mapping, on selection specified by parameter
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.ShrinkWrap('');
| HRESULT IRiMeshModifiers::Scissors | ( | [in] BSTR | bszSelection | ) |
Cut the mesh in PE mode through selected edges.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.Scissors('');
| HRESULT IRiMeshModifiers::DisplacementMapping | ( | [in] BSTR | bszSelection | ) |
Starts displacement mapping tool.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.DisplacementMapping('');
| HRESULT IRiMeshModifiers::EndDisplacementMapping | ( | [in] BSTR | bszSelection | ) |
Ends the displacement mapping tool, by discarding the displacement mapper and preserving the result.
| bszSelection | [in] Specify displacement mapper node to be affected. |
var target = Node.FirstSelected();
var dMapper = target + '/Displacement Mapper';
MeshModifiers.EndDisplacementMapping(dMapper);
| HRESULT IRiMeshModifiers::AddSdsVertexWeight | ( | [in] BSTR | bszSelection, | |
| [in] VARIANT | vWeight | |||
| ) |
Add vertex weight for SDS mesh. If SDS not active, E_FAIL will be returned.
| bszSelection | [in] Specify node or '' for current selection. | |
| vWeight | [in] Weight to add to vertex weight. |
MeshModifiers.AddSdsVertexWeight('', 1.0);
| HRESULT IRiMeshModifiers::AddSdsEdgeWeight | ( | [in] BSTR | bszSelection, | |
| [in] VARIANT | vWeight | |||
| ) |
Add edge weight for SDS mesh. If SDS not active, E_FAIL will be returned.
| bszSelection | [in] Specify node or '' for current selection. | |
| vWeight | [in] Weight to add to edge weight. |
MeshModifiers.AddSdsEdgeWeight('', -0.10);
| HRESULT IRiMeshModifiers::ActivatePointEditWidget | ( | [in] BSTR | szGroup, | |
| [in] BSTR | szWidget, | |||
| [in] BSTR | szAspect | |||
| ) |
Check if current selection is in point edit mode. If not, activate it.
| szGroup | [in] Widget group to activate (location: /Widgets/Tools). | |
| szWidget | [in] Point edit widget to activate (location ie: /Widgets/Tools/Mesh editor/PE rect select). | |
| szAspect | [in] Widget initial aspect.
|
var wGroup = '/Widgets/Tools'; var widget = '/Widgets/Tools/Mesh editor/PE rect select'; var aspect = 'Default'; MeshModifiers.ActivatePointEditWidget(wGroup, widget, aspect);
| HRESULT IRiMeshModifiers::EnableDisplacementBrush | ( | ) |
Show/hide displacement brush in PE mode.
MeshModifiers.EnableDisplacementBrush();
| HRESULT IRiMeshModifiers::BevelTool | ( | [in] BSTR | bszSelection, | |
| [in] VARIANT | vQuads, | |||
| [in] VARIANT | vUpdate, | |||
| [in] VARIANT | vOffset, | |||
| [in] VARIANT | vHeight | |||
| ) |
Bevel polygons. Selected nodes must be in point edit mode.
| bszSelection | [in] Specify node or '' for current selection. | |
| vQuads | [in] Boolean true/false: Specifies whether to connect outer and inner polygon with edges. | |
| vUpdate | [in] Boolean true/false to update selection. | |
| vOffset | [in] Specifies offset for bevel. | |
| vHeight | [in] Specifies height for bevel. |
MeshModifiers.BevelTool('', false, true, .1, .1);
| HRESULT IRiMeshModifiers::AddMirrorModeler | ( | [in] BSTR | bszSelection | ) |
Add mirror modeler to selected nodes.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.AddMirrorModeler('');
| HRESULT IRiMeshModifiers::RemoveMirrorPlane | ( | [in] BSTR | bszSelection | ) |
Remove mirror plane (and mirror modeler node if there are no more planes) from selected nodes.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.RemoveMirrorPlane('');
| HRESULT IRiMeshModifiers::ShowMirrorProperties | ( | [in] BSTR | bszSelection | ) |
Show mirror modeler properties panels for selected nodes.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.ShowMirrorProperties('');
| HRESULT IRiMeshModifiers::UpdateMirrorPlane | ( | [in] BSTR | bszSelection | ) |
Update mirror modeler active plane.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.UpdateMirrorPlane('');
| HRESULT IRiMeshModifiers::CreateHair | ( | [in] BSTR | bszSelection | ) |
Create hair on an object(s).
| bszSelection | [in] Specify nodes or '' for current selected object. |
MeshModifiers.CreateHair('');
| HRESULT IRiMeshModifiers::EnableHairBrush | ( | [in] BSTR | bszTool | ) |
Enable hair brush.
| bszTool | [in] Tool to enable. |
MeshModifiers.EnableHairBrush('');
| HRESULT IRiMeshModifiers::TogglePeTool | ( | [in] BSTR | szToolName, | |
| [in] BSTR | szSelection | |||
| ) |
Check if specified tool is active.
If yes, deactivate it by calling default selection widget.
If not, then activate it.
| szToolName | [in] Widget path. | |
| szSelection | [in] Selection. '' to use default selection. |
MeshModifiers.TogglePeTool('/Widgets/Tools/Mesh editor/PE Add loop','');
| HRESULT IRiMeshModifiers::HairPreset | ( | [in] BSTR | bszNode, | |
| [in] BSTR | bszPreset | |||
| ) |
Sets the hair preset for specified hair node. Used internally by preset buttons.
| bszNode | [in] Node for applying the preset. | |
| bszPreset | [in] Preset identification. |
MeshModifiers.HairPreset('/Project/Space 3D/Cube, 2', 'Hair');
| HRESULT IRiMeshModifiers::FlattenNodes | ( | [in] BSTR | bszSelection | ) |
Flatten specified mesh nodes to Shape and remove unnecessary nodes.
| bszSelection | [in] List of nodes to flatten.
MeshModifiers.FlattenNodes('/Project/Space 3D/Cube;/Project/Space 3D/Sphere');
|
MeshModifiers.FlattenNodes('');
| HRESULT IRiMeshModifiers::SmoothNormals | ( | [in] BSTR | bszSelection | ) |
Generate smooth vertex normals.
| bszSelection | [in] Specify nodes or '' for current selection. |
MeshModifiers.SmoothNormals('');
| HRESULT IRiMeshModifiers::FacetedNormals | ( | [in] BSTR | bszSelection | ) |
Generate faceted vertex normals (uses face normals for vertices).
| bszSelection | [in] Specify nodes or '' for current selection. |
MeshModifiers.FacetedNormals('');
| HRESULT IRiMeshModifiers::AutofacetNormals | ( | [in] BSTR | bszSelection, | |
| [in] VARIANT | vAngle | |||
| ) |
Generate auto-facet vertex normals (based on auto-facet angle).
| bszSelection | [in] Specify nodes or '' for current selection. | |
| vAngle | [in] Check: /Preferences/Mesh Editor Settings location for this setting:
|
MeshModifiers.AutofacetNormals('', 35.0);
| HRESULT IRiMeshModifiers::HealVertices | ( | [in] BSTR | bszSelection, | |
| [in] VARIANT | vRadius | |||
| ) |
Heal vertices (radius setting).
| bszSelection | [in] Specify selection or '' for current selection. | |
| vRadius | [in] Radius for healing, -1 to use settings panel value (0.05 is default). |
MeshModifiers.HealVertices('', -1);
| HRESULT IRiMeshModifiers::UpdateMirrorPosition | ( | [in] BSTR | bszSelection | ) |
Update position for the manual mode mirror tool from info panel.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.UpdateMirrorPosition('');
| HRESULT IRiMeshModifiers::UpdateMirrorNormal | ( | [in] BSTR | bszSelection | ) |
Update normal for the manual mode mirror tool from info panel.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.UpdateMirrorNormal('');
| HRESULT IRiMeshModifiers::SelectMaterial | ( | [in] BSTR | bszSelection | ) |
Select all faces containing selected material.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.SelectMaterial('');
| HRESULT IRiMeshModifiers::ApplySelectionTool | ( | [in] BSTR | szWidget, | |
| [in] BSTR | szCommand | |||
| ) |
Check if current selection is in point edit mode. If not, then activate point-edit mode. Once it is activated, activate specified widget with default selection.
| szWidget | [in] Path to widget: /Widgets/Tools/Mesh editor/PE Select tool | |
| szCommand | [in] apply_cmd:{7DBD4078-6AC7-48f4-A52D-C4A65CAB0C51};select_invselect |
MeshModifiers.ApplySelectionTool('/Widgets/Tools/Mesh editor/PE Select tool','apply_cmd:{7DBD4078-6AC7-48f4-A52D-C4A65CAB0C51};select_invselect');
| HRESULT IRiMeshModifiers::FlipEdge | ( | [in] BSTR | bszSelection | ) |
Flip inner edge.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.FlipEdge('');
| HRESULT IRiMeshModifiers::OptimizeTriangulation | ( | [in] BSTR | bszSelection | ) |
Delaunay triangulation optimize of selected geometry. When no selection done, whole mesh is optimized. http://en.wikipedia.org/wiki/Delaunay_triangulation
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.OptimizeTriangulation('');
| HRESULT IRiMeshModifiers::SeparateSelected | ( | [in] BSTR | bszSelection | ) |
Separate selected geometry from original object and create a new one with selection.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.SeparateSelected('');
| HRESULT IRiMeshModifiers::SelectPath | ( | [in] BSTR | bszSelection | ) |
Select the shortest path between two selected elements.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.SelectPath('');
| HRESULT IRiMeshModifiers::CollapseLoop | ( | [in] BSTR | bszSelection | ) |
Collapse edge/face selection, forming a loop.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.CollapseLoop('');
| HRESULT IRiMeshModifiers::HideSelected | ( | [in] BSTR | bszSelection | ) |
Hide selected geometry, by removing it from control mesh and adding it to editable-shape-hidden connector.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.HideSelected('');
| HRESULT IRiMeshModifiers::ShowHiddenPeGeometry | ( | [in] BSTR | bszSelection | ) |
Show hidden geometry, hidden by the HideSelected tool.
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.ShowHiddenPeGeometry('');
| HRESULT IRiMeshModifiers::OpenMaterialEditor | ( | ) |
Show material editor with current active material.
MeshModifiers.OpenMaterialEditor();
| HRESULT IRiMeshModifiers::ToggleTool | ( | BSTR | szToolName | ) |
Toggles mesh editor helper widget.
| szToolName | [in] Tool to toggle on/off. |
MeshModifiers.ToggleTool('/Widgets/Tools/Material editor/Inspect');
| HRESULT IRiMeshModifiers::StartPaintFaceTool | ( | ) |
Toggles paint face tool.
MeshModifiers.StartPaintFaceTool();
| HRESULT IRiMeshModifiers::RepaintMaterial | ( | BSTR | szSelection, | |
| RtUlong | dwMaterialIndex | |||
| ) |
Repaint material specified by index.
| szSelection | List of nodes to repaint. | |
| dwMaterialIndex | Material index to prepaint with current material. |
MeshModifiers.RepaintMaterial('', 0);
| HRESULT IRiMeshModifiers::SetMaterial | ( | BSTR | szSelection | ) |
Set material to object.
| szSelection | List of nodes to repaint. |
MeshModifiers.SetMaterial('/Project/Space 3D/Cube, 2');
| HRESULT IRiMeshModifiers::ResetSds | ( | BSTR | szSelection, | |
| VARIANT | vEdgeWeights, | |||
| VARIANT | vVertexWeights, | |||
| VARIANT | vSsLevel | |||
| ) |
Reset SDS properties.
| szSelection | [in] List of nodes to reset sds on. | |
| vEdgeWeights | [in] Value for Edge Weights | |
| vVertexWeights | [in] Value for Vertex Weight. | |
| vSsLevel | [in] SDS level. |
MeshModifiers.ResetSds('/Project/Space 3D/Cube, 2', -1, -1, -1);
| HRESULT IRiMeshModifiers::ActivateBooleansTool | ( | BSTR | szOperation, | |
| BSTR | szSelection | |||
| ) |
Activate booleans tool.
| szSelection | List of nodes which will be used as booleans source. | |
| szOperation | Booleaning operation name. Union, Intersection, Cut, Merge, Subtraction, Symdif. |
MeshModifiers.ActivateBooleansTool('/Project/Space 3D/Sphere;/Project/Space 3D/Cube', 'Union');
| HRESULT IRiMeshModifiers::Quadrify | ( | [in] BSTR | bszSelection | ) |
Quadrify selected polygons (or whole model if no selection is made).
| bszSelection | [in] Specify node or '' for current selection. |
MeshModifiers.Quadrify('');
| HRESULT IRiMeshModifiers::OpenMeshEditorPanel | ( | [in] BSTR | szPanel, | |
| [in] RtUlong | dwGroupId, | |||
| [in] RtUlong | dwAspect, | |||
| [in] RtUlong | dwAllowAspects | |||
| ) |
Add panel to mesh editor tool panels.
| szNode | [in] Specify panel to display. | |
| dwGroupId | [in] Panel priority. All panels with higher priority will be removed. | |
| dwAspect | [in] Predefined aspect ID | |
| dwAllowAspects | [in] Allow changing aspects |
MeshModifiers.OpenMeshEditorPanel('%s',1,3,1);
| HRESULT IRiMeshModifiers::FlattenAxes | ( | [in] BSTR | bszSelection | ) |
Flatten axes. Store pivot transformation into mesh and reset pivot to identity.
| bszSelection | [in] Specify node or '' for current selection |
1.5.5