NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::Facet::FillHoleBuilder Class Reference

This class finds and fills holes to a prescribed boundary smoothness condition
To create a new instance of this class, use Facet::FacetedBodyCollection::CreateFillHoleBuilder
Default values. More...

Inheritance diagram for NXOpen::Facet::FillHoleBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

List of all members.

Public Types

enum  SmoothTypes { SmoothTypesLinear, SmoothTypesRefined, SmoothTypesTangentBased, SmoothTypesCurvatureBased }
 Smoothness and boundary continuity options. More...
enum  TargetTypes { TargetTypesUserDefined, TargetTypesByNumberOfEdges }
 Options defining how to target holes for filling. More...
enum  Types { TypesFillHole, TypesFillIsland, TypesBridgeGap }
 Hole filling type options. More...

Public Member Functions

NXOpen::SelectICurveListBridgeEdges1 ()
 Returns the first list of edges when bridging holes.
NXOpen::SelectICurveListBridgeEdges2 ()
 Returns the second list of edges when bridging holes.
void ClearHoleFills ()
 Cleans up local meshes associated with each fill.
void ClearHoles ()
 Removes all holes, deletes associated hole polylines.
NXOpen::DisplayableObjectFillHoles (bool globalUpdate)
 Fills targeted holes.
void FindHoles ()
 Locates holes in the mesh and creates polylines around them.
void GetAllHoles (std::vector< NXOpen::DisplayableObject * > &holeCurveTags)
 Gets a list of all holes (represented by polylines).
NXOpen::ICurveGetHoleByIndex (int index)
 Gets a hole given an index into the list of holes.
NXOpen::DisplayableObjectGetHoleFillsOnly ()
 Builds a facet body that contains only the facets of the filled holes.
int GetNumberOfHoles ()
 Gets the number of holes in the target facet body.
void GetTargetHolesByEdgeNumber (int numMaxEdges, std::vector< NXOpen::DisplayableObject * > &holeCurveTags)
 Gets a list of targeted holes (represented by polylines) based on number of edges.
NXOpen::SelectICurveListInnerHole ()
 Returns the Inner Hole in island filling.
int MaxEdges ()
 Returns the maximum number of edges that a targeted hole can have.
NXOpen::SelectICurveListOuterHole ()
 Returns the Outer Hole in island filling.
void SetMaxEdges (int maxEdges)
 Sets the maximum number of edges that a targeted hole can have.
void SetSmoothType (NXOpen::Facet::FillHoleBuilder::SmoothTypes smoothType)
 Sets the boundary smoothness.
void SetTargetType (NXOpen::Facet::FillHoleBuilder::TargetTypes targetType)
 Sets the hole target type when filling holes.
void SetType (NXOpen::Facet::FillHoleBuilder::Types type)
 Sets the hole filling type.
NXOpen::Facet::FillHoleBuilder::SmoothTypes SmoothType ()
 Returns the boundary smoothness.
void SwitchHoleFillType ()
 Switches boundary edge mapping based on the filling type (holes, island, bridge) When filling holes or islands, each hole is defined by a polyline.
NXOpen::Facet::SelectFacetedBodyTargetFacetBody ()
 Returns the facet body we will be filling.
NXOpen::SelectICurveListTargetHole ()
 Returns the hole curves using Fill Hole, User Defined.
NXOpen::Facet::FillHoleBuilder::TargetTypes TargetType ()
 Returns the hole target type when filling holes.
NXOpen::Facet::FillHoleBuilder::Types Type ()
 Returns the hole filling type.

Detailed Description

This class finds and fills holes to a prescribed boundary smoothness condition
To create a new instance of this class, use Facet::FacetedBodyCollection::CreateFillHoleBuilder
Default values.

Property Value

MaxEdges

0

SmoothType

Linear

TargetType

UserDefined


Created in NX6.0.0.


Member Enumeration Documentation

Smoothness and boundary continuity options.

Enumerator:
SmoothTypesLinear 

Linear (triangulated) fill.

SmoothTypesRefined 

Smooth internal fill.

SmoothTypesTangentBased 

Smooth fill, boundary is based on facet body tangent.

SmoothTypesCurvatureBased 

Smooth fill, boundary is based on facet body curvature.

Options defining how to target holes for filling.

Enumerator:
TargetTypesUserDefined 

Fills user-defined target holes.

TargetTypesByNumberOfEdges 

Automatically target holes based on number of edges.

Hole filling type options.

Enumerator:
TypesFillHole 

Fills individual hole(s).

TypesFillIsland 

Fills a hole defined by inner island and outer facet body.

TypesBridgeGap 

Bridges some open boundary edges with a linear fill.


Member Function Documentation

Returns the first list of edges when bridging holes.


Created in NX6.0.0.

License requirements : None

Returns the second list of edges when bridging holes.


Created in NX6.0.0.

License requirements : None

Cleans up local meshes associated with each fill.


Created in NX6.0.0.

License requirements : None

Removes all holes, deletes associated hole polylines.


Created in NX6.0.0.

License requirements : None

Fills targeted holes.

Returns:
updated input facet body
Created in NX6.0.0.

License requirements : None
Parameters:
globalUpdateIf true, update the entire input facet body. If false, GetHoleFillsOnly() may be used to get a facet body that contains only the new facets of the filled holes.

Locates holes in the mesh and creates polylines around them.


Created in NX6.0.0.

License requirements : None

void NXOpen::Facet::FillHoleBuilder::GetAllHoles ( std::vector< NXOpen::DisplayableObject * > &  holeCurveTags)

Gets a list of all holes (represented by polylines).


Created in NX6.0.0.

License requirements : None

Parameters:
holeCurveTagsHole polylines.

Gets a hole given an index into the list of holes.

Returns:
Equals NULL if not found
Created in NX6.0.0.

License requirements : features_modeling ("FEATURES MODELING")
Parameters:
indexIndex into the list of all holes

Builds a facet body that contains only the facets of the filled holes.

Returns:
the fill facet body
Created in NX6.0.0.

License requirements : None

Gets the number of holes in the target facet body.

Returns:

Created in NX6.0.0.

License requirements : features_modeling ("FEATURES MODELING")
void NXOpen::Facet::FillHoleBuilder::GetTargetHolesByEdgeNumber ( int  numMaxEdges,
std::vector< NXOpen::DisplayableObject * > &  holeCurveTags 
)

Gets a list of targeted holes (represented by polylines) based on number of edges.


Created in NX6.0.0.

License requirements : None

Parameters:
numMaxEdgesTargets polylines that have this many edges or less.
holeCurveTagsHole polylines.

Returns the Inner Hole in island filling.


Created in NX6.0.0.

License requirements : None

Returns the maximum number of edges that a targeted hole can have.


Created in NX6.0.0.

License requirements : None

Returns the Outer Hole in island filling.


Created in NX6.0.0.

License requirements : None

Sets the maximum number of edges that a targeted hole can have.


Created in NX6.0.0.

License requirements : None

Parameters:
maxEdgesmax edges

Sets the boundary smoothness.


Created in NX6.0.0.

License requirements : None

Parameters:
smoothTypesmooth type

Sets the hole target type when filling holes.


Created in NX6.0.0.

License requirements : None

Parameters:
targetTypetarget type

Sets the hole filling type.


Created in NX6.0.0.

License requirements : None

Parameters:
typetype

Returns the boundary smoothness.


Created in NX6.0.0.

License requirements : None

Switches boundary edge mapping based on the filling type (holes, island, bridge) When filling holes or islands, each hole is defined by a polyline.

When bridging holes, each individual open edge has its own polyline.


Created in NX6.0.0.

License requirements : None

Returns the facet body we will be filling.


Created in NX6.0.0.

License requirements : None

Returns the hole curves using Fill Hole, User Defined.


Created in NX6.0.0.

License requirements : None

Returns the hole target type when filling holes.


Created in NX6.0.0.

License requirements : None

Returns the hole filling type.


Created in NX6.0.0.

License requirements : None


The documentation for this class was generated from the following file:
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.