NX Open C++ Reference Guide
|
This class will provide the solution to unwrap 3D non-planar, curved geometry to a 2D plane. More...
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::ScCollector * | 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. More... | |
NXOpen::Features::FlatteningAndFormingBuilderEx::Constraints | ConstraintOptions () |
Returns the option to minimize the disturbance Created in NX12.0.0. More... | |
NXOpen::Section * | 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. More... | |
NXOpen::CoordinateSystem * | DestinationCoordinateSystem () |
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::NXObjectList * | 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. More... | |
NXOpen::SelectNXObject * | 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. More... | |
NXOpen::SelectNXObject * | OuterBoundary () |
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::Direction * | SourceDirection () |
Returns the source direction determines the orientation of the flattened surface. More... | |
NXOpen::ScCollector * | SourceFaces () |
Returns the source faces that will be used to calculate the mapping of being flattened Created in NX12.0.0. More... | |
NXOpen::Point * | SourceOrigin () |
Returns the source origin is a point on one of the source face. More... | |
NXOpen::Direction * | SourceVDirection () |
Returns the secondary direction is the cross product of primary direction and source face normal Created in NX12.0.0. More... | |
NXOpen::SelectNXObjectList * | TransformationObjects () |
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::Feature * | CommitFeature () |
Commits the feature parameters and creates the feature. More... | |
NXOpen::Features::Feature * | GetFeature () |
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::NXObject * | Commit () |
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::NXObject * | GetObject () |
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... | |
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.
Flattening Types.
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")
constraintOptions | constraintoptions |
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")
coordSystem | coordsystem |
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")
distortionMapOptions | distortionmapoptions |
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")
reverseTransformation | reversetransformation |
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")
sourceDirection | sourcedirection |
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")
sourceOrigin | sourceorigin |
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")
sourceVDirection | sourcevdirection |
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")
type | type |
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