NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::Features::FlatteningAndFormingBuilderEx Class Reference

This class will provide the solution to unwrap 3D non-planar, curved geometry to a 2D plane. More...

Inheritance diagram for NXOpen::Features::FlatteningAndFormingBuilderEx:
NXOpen::Features::FeatureBuilder NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Types

enum  Constraints { ConstraintsNoConstraints, ConstraintsFixedElements }
 No constraints options. More...
 
enum  DistortionMap { DistortionMapNone, DistortionMapLength, DistortionMapArea, DistortionMapAngle }
 Distortion Map options. More...
 
enum  Types { TypesCalculation, TypesReuse }
 Flattening Types. More...
 

Public Member Functions

NXOpen::ScCollectorAuxiliaryFaces ()
 Returns the auxiliary faces that will be used to calculate the mapping of being flattened separatly and then connected to the flattened source faces
Created in NX12.0.0. More...
 
NXOpen::Features::FlatteningAndFormingBuilderEx::Constraints ConstraintOptions ()
 Returns the option to minimize the disturbance
Created in NX12.0.0. More...
 
NXOpen::SectionCutCurves ()
 Returns the cut curves on or close to the source face can be used to tear the source face along these curvesto reduce the distortion during flattening
Created in NX12.0.0. More...
 
NXOpen::CoordinateSystemDestinationCoordinateSystem ()
 Returns the coordinate system
Created in NX12.0.0. More...
 
NXOpen::Features::FlatteningAndFormingBuilderEx::DistortionMap DistortionMapOptions ()
 Returns the option to display the distortion map on the source faces. More...
 
NXOpen::NXObjectListFixedElementsList ()
 Returns the list of points, curves or edges or faces of the source faces that act as fixed items
Created in NX12.0.0. More...
 
NXOpen::SelectNXObjectFlatteningFeature ()
 Returns the flattening feature whose unwrapping mapping can be used to replay the unwrap or wrap on other objects
Created in NX12.0.0. More...
 
NXOpen::SelectNXObjectOuterBoundary ()
 Returns the outer boundary of the source face that could have the longest length
Created in NX12.0.0. More...
 
bool ReverseTransformation ()
 Returns the flag indicating if the reverse transformation will be used in the opposite direction
Created in NX12.0.0. More...
 
void SetConstraintOptions (NXOpen::Features::FlatteningAndFormingBuilderEx::Constraints constraintOptions)
 Sets the option to minimize the disturbance
Created in NX12.0.0. More...
 
void SetDestinationCoordinateSystem (NXOpen::CoordinateSystem *coordSystem)
 Sets the coordinate system
Created in NX12.0.0. More...
 
void SetDistortionMapOptions (NXOpen::Features::FlatteningAndFormingBuilderEx::DistortionMap distortionMapOptions)
 Sets the option to display the distortion map on the source faces. More...
 
void SetReverseTransformation (bool reverseTransformation)
 Sets the flag indicating if the reverse transformation will be used in the opposite direction
Created in NX12.0.0. More...
 
void SetSourceDirection (NXOpen::Direction *sourceDirection)
 Sets the source direction determines the orientation of the flattened surface. More...
 
void SetSourceOrigin (NXOpen::Point *sourceOrigin)
 Sets the source origin is a point on one of the source face. More...
 
void SetSourceVDirection (NXOpen::Direction *sourceVDirection)
 Sets the secondary direction is the cross product of primary direction and source face normal
Created in NX12.0.0. More...
 
void SetType (NXOpen::Features::FlatteningAndFormingBuilderEx::Types type)
 Sets the type
Created in NX12.0.0. More...
 
NXOpen::DirectionSourceDirection ()
 Returns the source direction determines the orientation of the flattened surface. More...
 
NXOpen::ScCollectorSourceFaces ()
 Returns the source faces that will be used to calculate the mapping of being flattened
Created in NX12.0.0. More...
 
NXOpen::PointSourceOrigin ()
 Returns the source origin is a point on one of the source face. More...
 
NXOpen::DirectionSourceVDirection ()
 Returns the secondary direction is the cross product of primary direction and source face normal
Created in NX12.0.0. More...
 
NXOpen::SelectNXObjectListTransformationObjects ()
 Returns the transformation objects are additional objects that can be flattened with the same mapping. More...
 
NXOpen::Features::FlatteningAndFormingBuilderEx::Types Type ()
 Returns the type
Created in NX12.0.0. More...
 
- Public Member Functions inherited from NXOpen::Features::FeatureBuilder
NXOpen::Features::FeatureCommitFeature ()
 Commits the feature parameters and creates the feature. More...
 
NXOpen::Features::FeatureGetFeature ()
 Returns the feature currently being edited by this builder. More...
 
void HideInternalParentFeatureAfterEdit (NXOpen::Features::Feature *parentFeature)
 Re-suppress an internal parent feature (a slave feature) after it has been edited. More...
 
bool ParentFeatureInternal ()
 Returns whether or not the latest timestamped parent feature of this feature should be made internal
Created in NX5.0.0. More...
 
bool PatchSolutionFlag ()
 Returns the patch solution flag
Created in NX8.0.1. More...
 
NXString PatchSurfaceFilename ()
 Returns the patch surface filename
Created in NX8.0.1. More...
 
void SetParentFeatureInternal (NXOpen::Features::Feature *parentFeature)
 Set the parent features which would be internal or slaves to the feature being created or commited
Created in NX6.0.0. More...
 
void SetParentFeatureInternal (bool isInternal)
 Sets whether or not the latest timestamped parent feature of this feature should be made internal
Created in NX5.0.0. More...
 
void SetPatchSolutionFlag (bool optionValue)
 Sets the patch solution flag
Created in NX8.0.1. More...
 
void SetPatchSurfaceFilename (const NXString &surfaceFilename)
 Sets the patch surface filename
Created in NX8.0.1. More...
 
void SetPatchSurfaceFilename (const char *surfaceFilename)
 Sets the patch surface filename
Created in NX8.0.1. More...
 
void SetSurroundingPatchSurfaceFilename (const NXString &surroundingSurfaceFilename)
 Sets the surrounding patch surface filename
Created in NX8.0.1. More...
 
void SetSurroundingPatchSurfaceFilename (const char *surroundingSurfaceFilename)
 Sets the surrounding patch surface filename
Created in NX8.0.1. More...
 
void ShowInternalParentFeatureForEdit (NXOpen::Features::Feature *parentFeature)
 Unsuppress an internal parent feature (a slave feature) so it can be edited. More...
 
NXString SurroundingPatchSurfaceFilename ()
 Returns the surrounding patch surface filename
Created in NX8.0.1. More...
 
void UnsetParentFeatureInternal (NXOpen::Features::Feature *parentFeature)
 Set the internal parent feature of the feature being edited to external
Created in NX6.0.0. More...
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 Commits any edits that have been applied to the builder. More...
 
void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
NXOpen::NXObjectGetObject ()
 Returns the object currently being edited by this builder. More...
 
void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

This class will provide the solution to unwrap 3D non-planar, curved geometry to a 2D plane.

The transformation mapping of unwrapping non-planar faces to a plane can be used bi-directional. Unwrapping geometry and wrapping geometry from a plane to the 3D shape.
To create a new instance of this class, use NXOpen::Features::FreeformSurfaceCollection::CreateFlatteningAndFormingBuilderEx
Default values.

Property Value

ConstraintOptions

NoConstraints

DistortionMapOptions

None

ReverseTransformation

0


Created in NX12.0.0.

Member Enumeration Documentation

No constraints options.

The options provides ability to add consrtaints to control the distortion of the flattening result

Enumerator
ConstraintsNoConstraints 

no constraints

ConstraintsFixedElements 

fixed elements

Distortion Map options.

The options provides ability to display a distortion map on the source faces.

Enumerator
DistortionMapNone 

No distortion map.

DistortionMapLength 

Distortion of length.

DistortionMapArea 

Distortion of area.

DistortionMapAngle 

Shear distortion of U/V directions.

Flattening Types.

Enumerator
TypesCalculation 

This option faces to be flattened will be used to calculate the mapping.

The mapping can also be applied to additional transformation objects.

TypesReuse 

This option uses a transformation maping of an existing flattening feature to reapply it in its original or reversed direction to additional transformation objects.

Member Function Documentation

NXOpen::ScCollector* NXOpen::Features::FlatteningAndFormingBuilderEx::AuxiliaryFaces ( )

Returns the auxiliary faces that will be used to calculate the mapping of being flattened separatly and then connected to the flattened source faces
Created in NX12.0.0.



License requirements : None

NXOpen::Features::FlatteningAndFormingBuilderEx::Constraints NXOpen::Features::FlatteningAndFormingBuilderEx::ConstraintOptions ( )

Returns the option to minimize the disturbance
Created in NX12.0.0.



License requirements : None

NXOpen::Section* NXOpen::Features::FlatteningAndFormingBuilderEx::CutCurves ( )

Returns the cut curves on or close to the source face can be used to tear the source face along these curvesto reduce the distortion during flattening
Created in NX12.0.0.



License requirements : None

NXOpen::CoordinateSystem* NXOpen::Features::FlatteningAndFormingBuilderEx::DestinationCoordinateSystem ( )

Returns the coordinate system
Created in NX12.0.0.



License requirements : None

NXOpen::Features::FlatteningAndFormingBuilderEx::DistortionMap NXOpen::Features::FlatteningAndFormingBuilderEx::DistortionMapOptions ( )

Returns the option to display the distortion map on the source faces.

Distortion caused by flattening will be marked up as color map
Created in NX12.0.0.

License requirements : None

NXOpen::NXObjectList* NXOpen::Features::FlatteningAndFormingBuilderEx::FixedElementsList ( )

Returns the list of points, curves or edges or faces of the source faces that act as fixed items
Created in NX12.0.0.



License requirements : None

NXOpen::SelectNXObject* NXOpen::Features::FlatteningAndFormingBuilderEx::FlatteningFeature ( )

Returns the flattening feature whose unwrapping mapping can be used to replay the unwrap or wrap on other objects
Created in NX12.0.0.



License requirements : None

NXOpen::SelectNXObject* NXOpen::Features::FlatteningAndFormingBuilderEx::OuterBoundary ( )

Returns the outer boundary of the source face that could have the longest length
Created in NX12.0.0.



License requirements : None

bool NXOpen::Features::FlatteningAndFormingBuilderEx::ReverseTransformation ( )

Returns the flag indicating if the reverse transformation will be used in the opposite direction
Created in NX12.0.0.



License requirements : None

void NXOpen::Features::FlatteningAndFormingBuilderEx::SetConstraintOptions ( NXOpen::Features::FlatteningAndFormingBuilderEx::Constraints  constraintOptions)

Sets the option to minimize the disturbance
Created in NX12.0.0.



License requirements : studio_free_form ("STUDIO FREE FORM")

Parameters
constraintOptionsconstraintoptions
void NXOpen::Features::FlatteningAndFormingBuilderEx::SetDestinationCoordinateSystem ( NXOpen::CoordinateSystem coordSystem)

Sets the coordinate system
Created in NX12.0.0.



License requirements : studio_free_form ("STUDIO FREE FORM")

Parameters
coordSystemcoordsystem
void NXOpen::Features::FlatteningAndFormingBuilderEx::SetDistortionMapOptions ( NXOpen::Features::FlatteningAndFormingBuilderEx::DistortionMap  distortionMapOptions)

Sets the option to display the distortion map on the source faces.

Distortion caused by flattening will be marked up as color map
Created in NX12.0.0.

License requirements : studio_free_form ("STUDIO FREE FORM")

Parameters
distortionMapOptionsdistortionmapoptions
void NXOpen::Features::FlatteningAndFormingBuilderEx::SetReverseTransformation ( bool  reverseTransformation)

Sets the flag indicating if the reverse transformation will be used in the opposite direction
Created in NX12.0.0.



License requirements : studio_free_form ("STUDIO FREE FORM")

Parameters
reverseTransformationreversetransformation
void NXOpen::Features::FlatteningAndFormingBuilderEx::SetSourceDirection ( NXOpen::Direction sourceDirection)

Sets the source direction determines the orientation of the flattened surface.


Created in NX12.0.0.

License requirements : studio_free_form ("STUDIO FREE FORM")

Parameters
sourceDirectionsourcedirection
void NXOpen::Features::FlatteningAndFormingBuilderEx::SetSourceOrigin ( NXOpen::Point sourceOrigin)

Sets the source origin is a point on one of the source face.

It is required to establish the flattening plane
Created in NX12.0.0.

License requirements : studio_free_form ("STUDIO FREE FORM")

Parameters
sourceOriginsourceorigin
void NXOpen::Features::FlatteningAndFormingBuilderEx::SetSourceVDirection ( NXOpen::Direction sourceVDirection)

Sets the secondary direction is the cross product of primary direction and source face normal
Created in NX12.0.0.



License requirements : studio_free_form ("STUDIO FREE FORM")

Parameters
sourceVDirectionsourcevdirection
void NXOpen::Features::FlatteningAndFormingBuilderEx::SetType ( NXOpen::Features::FlatteningAndFormingBuilderEx::Types  type)

Sets the type
Created in NX12.0.0.



License requirements : studio_free_form ("STUDIO FREE FORM")

Parameters
typetype
NXOpen::Direction* NXOpen::Features::FlatteningAndFormingBuilderEx::SourceDirection ( )

Returns the source direction determines the orientation of the flattened surface.


Created in NX12.0.0.

License requirements : None

NXOpen::ScCollector* NXOpen::Features::FlatteningAndFormingBuilderEx::SourceFaces ( )

Returns the source faces that will be used to calculate the mapping of being flattened
Created in NX12.0.0.



License requirements : None

NXOpen::Point* NXOpen::Features::FlatteningAndFormingBuilderEx::SourceOrigin ( )

Returns the source origin is a point on one of the source face.

It is required to establish the flattening plane
Created in NX12.0.0.

License requirements : None

NXOpen::Direction* NXOpen::Features::FlatteningAndFormingBuilderEx::SourceVDirection ( )

Returns the secondary direction is the cross product of primary direction and source face normal
Created in NX12.0.0.



License requirements : None

NXOpen::SelectNXObjectList* NXOpen::Features::FlatteningAndFormingBuilderEx::TransformationObjects ( )

Returns the transformation objects are additional objects that can be flattened with the same mapping.

Transformation objects are required objects for Forming and Reuse .
Created in NX12.0.0.

License requirements : None

NXOpen::Features::FlatteningAndFormingBuilderEx::Types NXOpen::Features::FlatteningAndFormingBuilderEx::Type ( )

Returns the type
Created in NX12.0.0.



License requirements : None


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