NXOpen C++ Reference Guide
|
Represents a NXOpen::Importer3MF to be used when importing 3MF Data This class is created using NXOpen::DexManager . More...
Public Types | |
enum | FacetBodyTypes { FacetBodyTypesPsm, FacetBodyTypesNx } |
These represent the type of body that will get created on importing the 3MF file. More... | |
Public Member Functions | |
bool | Cleanup () |
Returns the option to clean up all mesh defects on import Created in NX12.0.1. More... | |
NXOpen::Importer3MF::FacetBodyTypes | FacetBodyType () |
Returns the facet body type Created in NX12.0.1. More... | |
NXString | InputFile () |
Returns an input 3MF file to be imported Created in NX12.0.1. More... | |
double | MinimumAngleFoldedFacets () |
Returns the value for minimum angle for folded facets for a 3MF file to be imported Created in NX12.0.1. More... | |
int | MinimumFacetNumber () |
Returns the value for minimum number of facets for a 3MF file to be imported Created in NX12.0.1. More... | |
void | SetCleanup (bool cleanup) |
Sets the option to clean up all mesh defects on import Created in NX12.0.1. More... | |
void | SetFacetBodyType (NXOpen::Importer3MF::FacetBodyTypes facetBodyType) |
Sets the facet body type Created in NX12.0.1. More... | |
void | SetInputFile (const NXString &filename) |
Sets an input 3MF file to be imported Created in NX12.0.1. More... | |
void | SetInputFile (const char *filename) |
Sets an input 3MF file to be imported Created in NX12.0.1. More... | |
void | SetMinimumAngleFoldedFacets (double minimumAngleFoldedFacets) |
Sets the value for minimum angle for folded facets for a 3MF file to be imported Created in NX12.0.1. More... | |
void | SetMinimumFacetNumber (int minimumFacetNumber) |
Sets the value for minimum number of facets for a 3MF file to be imported Created in NX12.0.1. More... | |
void | SetShowInformationWindow (bool showInformationWindow) |
Sets the indicator for whether to show information window Created in NX12.0.1. More... | |
bool | ShowInformationWindow () |
Returns the indicator for whether to show information window Created in NX12.0.1. More... | |
Public Member Functions inherited from NXOpen::DexBuilder | |
bool | ProcessHoldFlag () |
Returns the process hold flag - set to true if user wants to wait until transaltion process gets completed Created in NX8.0.0. More... | |
void | SetProcessHoldFlag (bool doingFileSave) |
Sets the process hold flag - set to true if user wants to wait until transaltion process gets completed Created in NX8.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... | |
Represents a NXOpen::Importer3MF to be used when importing 3MF Data This class is created using NXOpen::DexManager .
NULL object will be returned from Commit()
To create a new instance of this class, use NXOpen::DexManager::CreateImporter3mf
Default values.
Property | Value |
---|---|
FacetBodyType |
Psm |
MinimumAngleFoldedFacets |
15.0 |
MinimumFacetNumber |
100 |
ShowInformationWindow |
False |
Usable only on Windows
Created in NX12.0.1.
bool NXOpen::Importer3MF::Cleanup | ( | ) |
Returns the option to clean up all mesh defects on import
Created in NX12.0.1.
License requirements : None
NXOpen::Importer3MF::FacetBodyTypes NXOpen::Importer3MF::FacetBodyType | ( | ) |
Returns the facet body type
Created in NX12.0.1.
License requirements : None
NXString NXOpen::Importer3MF::InputFile | ( | ) |
Returns an input 3MF file to be imported
Created in NX12.0.1.
License requirements : None
double NXOpen::Importer3MF::MinimumAngleFoldedFacets | ( | ) |
Returns the value for minimum angle for folded facets for a 3MF file to be imported
Created in NX12.0.1.
License requirements : None
int NXOpen::Importer3MF::MinimumFacetNumber | ( | ) |
Returns the value for minimum number of facets for a 3MF file to be imported
Created in NX12.0.1.
License requirements : None
void NXOpen::Importer3MF::SetCleanup | ( | bool | cleanup | ) |
Sets the option to clean up all mesh defects on import
Created in NX12.0.1.
License requirements : nx_additive_design (" NX Additive Design")
cleanup | cleanup |
void NXOpen::Importer3MF::SetFacetBodyType | ( | NXOpen::Importer3MF::FacetBodyTypes | facetBodyType | ) |
Sets the facet body type
Created in NX12.0.1.
License requirements : nx_additive_design (" NX Additive Design")
facetBodyType | facetbodytype |
void NXOpen::Importer3MF::SetInputFile | ( | const NXString & | filename | ) |
Sets an input 3MF file to be imported
Created in NX12.0.1.
License requirements : nx_additive_design (" NX Additive Design")
filename | filename |
void NXOpen::Importer3MF::SetInputFile | ( | const char * | filename | ) |
Sets an input 3MF file to be imported
Created in NX12.0.1.
License requirements : nx_additive_design (" NX Additive Design")
filename | filename |
void NXOpen::Importer3MF::SetMinimumAngleFoldedFacets | ( | double | minimumAngleFoldedFacets | ) |
Sets the value for minimum angle for folded facets for a 3MF file to be imported
Created in NX12.0.1.
License requirements : nx_additive_design (" NX Additive Design")
minimumAngleFoldedFacets | minimumanglefoldedfacets |
void NXOpen::Importer3MF::SetMinimumFacetNumber | ( | int | minimumFacetNumber | ) |
Sets the value for minimum number of facets for a 3MF file to be imported
Created in NX12.0.1.
License requirements : nx_additive_design (" NX Additive Design")
minimumFacetNumber | minimumfacetnumber |
void NXOpen::Importer3MF::SetShowInformationWindow | ( | bool | showInformationWindow | ) |
Sets the indicator for whether to show information window
Created in NX12.0.1.
License requirements : nx_additive_design (" NX Additive Design")
showInformationWindow | showinformationwindow |
bool NXOpen::Importer3MF::ShowInformationWindow | ( | ) |
Returns the indicator for whether to show information window
Created in NX12.0.1.
License requirements : None