![Logo](tetiere_ht.jpg) |
DATAKIT API
V2025.1
|
|
DtkErrorStatus stepw_AddInstanceWithInfo(const int inIDfather, const int inIDchild, const Dtk_transfo &inPosition, const Dtk_string &inInstanceName, const Dtk_InfoPtr &inInstanceInfo)
Adds an instance of a sub-component (child) in a product (father : assembly node)
DtkErrorStatus stepw_CreateReference(stepw_ER &ER, const int inEntityID)
uint32_t Dtk_ID
Definition: define.h:689
DtkErrorStatus stepw_AddInstance(const int inIDfather, const int inIDchild, const Dtk_transfo &inPosition, const Dtk_string &inInstanceName)
Adds an instance of a sub-component (child) in a product (father : assembly node)
This is the Transformation dedicated class.
Definition: dtk_transfo.hpp:19
void * _data
Definition: stepw.hpp:391
DtkErrorStatus stepw_Init3DPart(const int inID)
Initialise the writing of a 3D part : the own 3D part of a product (NOT its sub-components if any !...
Dtk_ErrorStatus stepw_DefineInstancePath(stepw_ERP &ERP, const Dtk_tab< Dtk_ID > &inInstancePath, const bool userid)
DtkErrorStatus stepw_SetReferencePath(stepw_ER &ER, stepw_ERP &ERP)
Dtk_ErrorStatus stepw_Add3DFdtModelDisplay(const Dtk_ModelDisplayPtr &inModelDisplay, const Dtk_FdtPtr &inFDT)
Commands to write a Model Display (type Dtk_ModelDisplay) with a link to a FDT , in a 3d Part.
DtkErrorStatus stepw_Write3DConstructionGeometry(const Dtk_BodyPtr &inBody)
Writes a Body as a Construction Geometry of a 3D part, of any kind (solid, shell / faces,...
Definition: stepw.hpp:394
DtkErrorStatus stepw_WriteAssemblyInstances(const int inID)
Writes instances detained by a product.
DtkErrorStatus stepw_SetModeFdt(const int inMode, const int inPolyline=0)
Activates/Deactivates writing of FDT (ignored if product Step3dWriteFdt is not present)
DtkErrorStatus stepw_Write3DPartMesh(const Dtk_MeshPtr &inMesh)
Writes a Mesh of a 3D part (3D content of a product).
Dtk_ErrorStatus stepw_SetContextTolerance(const double inTol)
Modal setting of Length Tolerance for the 3D geometry (uncertainty) To be called before Init3dPart,...
This is a high level string class.
Definition: dtk_string.hpp:58
void * _data
Definition: stepw.hpp:398
DtkErrorStatus stepw_CreateReferenceToFdt(stepw_ER &ER, const int inEntityID, const int inProductID)
DtkErrorStatus stepw_InitProduct(const Dtk_string &inProductName, int &outID, Dtk_ID inCompID=0)
Initialise the writing of a product (assembly node and/or part with 3D bodies)
DtkErrorStatus stepw_AddReference(stepw_ER &ER)
DtkErrorStatus stepw_Write3DPartBody(const Dtk_BodyPtr &inBody)
Writes a Body of a 3D part (3D content of a product), of any kind (solid, shell / faces,...
DtkErrorStatus stepw_Write3DPartBodyWithMesh(const Dtk_BodyPtr &inBody, const Dtk_MeshPtr &inMesh, const int inMode=0)
Writes a Body of a 3D part (3D content of a product), associated with a Mesh \ brief The Mesh is assu...
Dtk_ErrorStatus stepw_WriteExternalReference(const int inID)
Writes a product as an external reference. Only one per file for a given product.
DtkErrorStatus stepw_SetAnchorProduct(const int stepw_ID, const int user_ID)
DtkErrorStatus stepw_EndProduct(const int inID)
Ends the writing of a product - calls WriteAssemblyInstances if not yet done.
int stepw_AnchorInstanceID(const int user_ID)
DtkErrorStatus stepw_SetModeProp(const int inMode)
Activates/Deactivates writing of Properties : User Attributes, Product Data.
int stepw_AnchorProductID(const int user_ID)
DtkErrorStatus stepw_Write3DPartMeshFromBody(const Dtk_MeshPtr &inMesh, const Dtk_BodyPtr &inBody)
Writes a Mesh of a 3D part (3D content of a product), coming from a Body, BUT does not write the Body...
Dtk_string stepw_GiveUniqueFileName(const Dtk_string &inFileName)
Creates a unique file name for an external reference - applies to the current session (InitFile-EndFi...
Dtk_ErrorStatus stepw_Add3DPartProperty(const Dtk_MetaDataPtr &inProperty)
Commands to write a Property to a Part (at the level of the whole Part) by default,...
DtkErrorStatus stepw_CreateInstancePath(stepw_ERP &ERP)
Dtk_ErrorStatus stepw_AddExternalReference(const Dtk_string &inProductName, const Dtk_string &inFileName, int &outID, Dtk_ID inInstCompId=0)
Declares a product to be written as external reference.
DtkErrorStatus stepw_CreateReferenceToNode(stepw_ER &ER, const int inNodeID, const int inProductID, const char *inRefKind="")
DtkErrorStatus stepw_Add3DPartFDT(const Dtk_FdtPtr &inFDT)
Commands to write a FDT of a 3D Part.
Dtk_ErrorStatus
Definition: error_dtk.hpp:6
DtkErrorStatus stepw_SetPartProperties(const Dtk_InfoPtr &inInfo, const int inItem)
Defines properties to be attached directly to the component : considers the list of Dtk_Val in the Dt...
DtkErrorStatus stepw_SetModeItemName(const int inMode)
Selects a mode of writing names of internal (topological) 3D items (shells, faces,...
DtkErrorStatus stepw_EndFile()
Ends the writing of the STEP file.
DtkErrorStatus stepw_SetModeInfoFirstFace(const int inModeInfoFirstFace)
On a solid or shell, Switches on/off the use of graphic attributes of its First Face as default....
DtkErrorStatus stepw_End3DPart()
Ends the writing of a part : the own 3D part of a product + product definition.
DtkErrorStatus stepw_Write3DAxisSystem(const Dtk_AxisSystemPtr &inAxis)
Writes an Axis System of a 3D part - in STEP it is a construction geometry based on an axis placement...
Dtk_ErrorStatus stepw_Add3DModelDisplay(const Dtk_ModelDisplayPtr &inModelDisplay, const int inMode)
Commands to write a Model Display (type Dtk_ModelDisplay) in a 3d Part.
Dtk_ErrorStatus stepw_AddAnchorItem(const int inEntityID, const int inProductID, const Dtk_string &inGUID)
Dtk_ErrorStatus stepw_AddOverrideInstanceInfo(stepw_ERP &ERP, Dtk_InfoPtr &info)
DtkErrorStatus stepw_InitFile(const Dtk_string &inFileOut, const char *Origin=" user ", const int StepSchema=0)
Initialise a file to be written.
DtkErrorStatus stepw_CreateReferenceToGroup(stepw_ER &ER, const int inEntityID, const int inProductID)
DtkErrorStatus stepw_Write3DPartRoot()
Dtk_ErrorStatus stepw_SetContextUnit(const int inLength, const int inAngle=0)
Modal setting of Units in which the geometries, properties, .. are to be written. To be called before...
This is a high level array class.
Definition: util_stl_dtk.hpp:85
DtkErrorStatus stepw_SetAnchorInstance(const int stepw_ID, const int user_ID)
Definition: stepw.hpp:387
DtkErrorStatus stepw_AddInstanceToPath(stepw_ERP &ERP, const int inInstanceID)
DtkErrorStatus stepw_SetHeaderData(const int inNumItem, const wchar_t *inValItem)
Sets values of fields in Header.
Dtk_tab< Dtk_dir > Dtk_ID Dtk_InfoPtr inInfo
Definition: pdfw.hpp:676
DtkErrorStatus stepw_SetModeCompress(const int inMode)
Selects a mode of writing compact or compressed step files.
Dtk_tab< Dtk_dir > Dtk_ID & outID
Definition: pdfw.hpp:675
Dtk_string stepw_GiveUniqueProductName(const Dtk_string &inProductName)
Creates a unique product name. If already recorded as "name" or "name--ii" while ii is an integer,...
const Dtk_string & inInstanceName
Definition: catiav5w.hpp:618
Dtk_ErrorStatus stepw_SetConversionLengthUnit(const int inLength)
Modal setting of Length Units in which the geometries, properties, .. are to be converted and written...
Dtk_ErrorStatus stepw_InitPropertySet(const int inMode)
Commands Dtk_MetaData to be to be written, attached to the whole Part, or to the following Item to be...
void stepw_InitNodeContext(const int inNodeID)
Initialises the context to write items in a node of the model (internal model tree,...
void stepw_EndNodeContext(const int inNodeID=0)
Dtk_ErrorStatus stepw_SetNextSubBody(const int mode)
int stepw_WhichProductID(const Dtk_string &inProductName)
Checks a product (known by its unique name), is it already written If returns < 0 (negative value),...