DATAKIT API  V2025.1
psw.hpp File Reference

Go to the source code of this file.

Functions

DtkErrorStatus psw_CreateAttribut (Dtk_ID inIdCompo, Dtk_InfoPtr &info)
 Create all attribut attached to a component (body, assembly, instance) More...
 
DtkErrorStatus psw_CreateCSysAttribut (Dtk_ID inIdCompo, const Dtk_transfo &transfo, Dtk_bool bCurrent)
 Create Coordinate System attribut attached to a point body (body with 1 point only) More...
 
DtkErrorStatus psw_CreateEmptyAssembly (Dtk_ID &outIdass)
 Create the entry item of an assembly. More...
 
DtkErrorStatus psw_CreateInstance (Dtk_ID inIdAss, Dtk_ID inIdPart, Dtk_transfoPtr &Matrix, Dtk_ID &outIdInst)
 Create an Instance item of a part referenced by inIdPart. More...
 
DtkErrorStatus psw_EndFile (Dtk_tab< Dtk_ID > &inTabIds, Dtk_bool binForceListOfBody=DTK_FALSE)
 Ends the writing of the Parasolid (x_t or x_b) file. More...
 
DtkErrorStatus psw_InitFile (const Dtk_string &inFileOut, Dtk_bool muteMode, Dtk_Int32 inVersion=180)
 Initialise a file to be written. More...
 
DtkErrorStatus psw_InitFile (Dtk_tab< char > &outParasolidStream, Dtk_bool muteMode, Dtk_Int32 inVersion=180)
 
DtkErrorStatus psw_LinkAttribut (Dtk_ID inIdAss)
 link all attribut attached to an assembly More...
 
DtkErrorStatus psw_SetNoNamedAttribut (Dtk_ID inIdCompo, Dtk_InfoPtr &info)
 set name attribut if not defined only (body, assembly, instance) More...
 
Dtk_ErrorStatus psw_SetPublicationAttribut (Dtk_ID inIdCompo, const Dtk_string &publication)
 Create all publication attribut attached to a component (body) More...
 
Dtk_ErrorStatus psw_SetReaderType (DtkReaderType readertype)
 set the current reader used on the writer activated More...
 
void psw_SetWritingCustomAttributMode (Dtk_bool bWriteCustomAttribut)
 
void psw_SetWritingFacesMode (Dtk_Int32 inPreference)
 
void psw_SetWritingMeshMode (Dtk_Int32 inPreference)
 
void psw_SetWritingNonmanifoldTopolgyMode (Dtk_Int32 inPreference)
 
DtkErrorStatus psw_UpdateNameAttribut (Dtk_ID inIdCompo, Dtk_InfoPtr &info)
 Update name attribut only (body, assembly, instance) More...
 
Dtk_ErrorStatus psw_WriteBody (Dtk_BodyPtr &inBody)
 Writes a Body of a 3D part (3D content of a product), of any kind (solid, shell / faces, wireframe / points) More...
 
Dtk_ErrorStatus psw_WriteBody (Dtk_BodyPtr &inBody, Dtk_tab< Dtk_ID > &outTabIds, Dtk_Int32 writeMode=0)
 Writes a Body of a 3D part (3D content of a product), of any kind (solid, shell / faces, wireframe / points) More...
 
DtkErrorStatus psw_WriteBody (Dtk_tab< Dtk_ID > &outTabIds, Dtk_tab< Dtk_BodyPtr > &bodies, Dtk_bool bSewing=DTK_TRUE, Dtk_Double64 tolmin=0.01, Dtk_Double64 tolmax=0.05, int iterationNumber=3)
 Writes a liste of Bodies of a 3D part (3D content of a product), of any kind (solid, shell / faces, wireframe / points) with sewing or not. More...
 
Dtk_ErrorStatus psw_WriteMesh (Dtk_MeshPtr &inMesh, Dtk_tab< Dtk_ID > &outTabIds, Dtk_bool bExplode=DTK_FALSE)
 Writes a Mesh of a 3D part. More...
 
Dtk_ErrorStatus psw_WritePointBody (const Dtk_AxisSystemPtr &inObject, Dtk_tab< Dtk_ID > &outTabIds)
 Writes a Body defined by one point only. More...
 

Function Documentation

◆ psw_InitFile()

DtkErrorStatus psw_InitFile ( Dtk_tab< char > &  outParasolidStream,
Dtk_bool  muteMode,
Dtk_Int32  inVersion = 180 
)

◆ psw_SetWritingCustomAttributMode()

void psw_SetWritingCustomAttributMode ( Dtk_bool  bWriteCustomAttribut)

◆ psw_SetWritingFacesMode()

void psw_SetWritingFacesMode ( Dtk_Int32  inPreference)

◆ psw_SetWritingMeshMode()

void psw_SetWritingMeshMode ( Dtk_Int32  inPreference)

◆ psw_SetWritingNonmanifoldTopolgyMode()

void psw_SetWritingNonmanifoldTopolgyMode ( Dtk_Int32  inPreference)