Hide menu
Loading...
Searching...
No Matches
cadex.ModelData.ModelWriterParameters Class Reference

Defines parameters of the ModelWriter. More...

Inheritance diagram for cadex.ModelData.ModelWriterParameters:
cadex.BaseObject

Public Member Functions

 ModelWriterParameters (global::System.IntPtr cPtr, bool cMemoryOwn)
 
 ModelWriterParameters ()
 Constructor.
 
bool STLEnableMultiPartMode ()
 Specifies whether a model should be formatted part by part or merged.
 
void SetSTLEnableMultiPartMode (bool theSTLEnableMultiPartMode)
 Sets whether a model should be formatted part by part or merged.
 
bool PreferTextFormat ()
 Specifies whether an output should be formatted as text or binary.
 
void SetPreferTextFormat (bool thePreferTextFormat)
 Sets whether an output should be formatted as text or binary.
 
bool WritePCurves ()
 Specifies whether parametric curves should written to the file.
 
void SetWritePCurves (bool theWritePCurves)
 Sets whether parametric curves should written to the file.
 
bool WritePMI ()
 Specifies whether Product and Manufacturing Information (PMI) should be written to the file.
 
void SetWritePMI (bool theWritePMI)
 Sets whether Product and Manufacturing Information (PMI) should be written to the file.
 
- Public Member Functions inherited from cadex.BaseObject
 BaseObject (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 
bool IsNull ()
 
ulong Id ()
 Return unique identifier of public object.
 
bool IsEqual (cadex.BaseObject theObj)
 
override int GetHashCode ()
 
override bool Equals (System.Object o)
 

Protected Member Functions

override void Dispose (bool disposing)
 

Detailed Description

Defines parameters of the ModelWriter.

Parameters can be set using ModelWriter.SetParameters().

Constructor & Destructor Documentation

◆ ModelWriterParameters()

cadex.ModelData.ModelWriterParameters.ModelWriterParameters ( )
inline

Constructor.

Member Function Documentation

◆ Dispose()

override void cadex.ModelData.ModelWriterParameters.Dispose ( bool disposing)
inlineprotectedvirtual

Reimplemented from cadex.BaseObject.

◆ PreferTextFormat()

bool cadex.ModelData.ModelWriterParameters.PreferTextFormat ( )
inline

Specifies whether an output should be formatted as text or binary.

See also
SetPreferTextFormat().

◆ SetPreferTextFormat()

void cadex.ModelData.ModelWriterParameters.SetPreferTextFormat ( bool thePreferTextFormat)
inline

Sets whether an output should be formatted as text or binary.

See also
PreferTextFormat().

◆ SetSTLEnableMultiPartMode()

void cadex.ModelData.ModelWriterParameters.SetSTLEnableMultiPartMode ( bool theSTLEnableMultiPartMode)
inline

Sets whether a model should be formatted part by part or merged.

Warning
Must be false if PreferTextFormat parameter equals false.
See also
STLEnableMultiPartMode().
PreferTextFormat().

◆ SetWritePCurves()

void cadex.ModelData.ModelWriterParameters.SetWritePCurves ( bool theWritePCurves)
inline

Sets whether parametric curves should written to the file.

See also
SetWritePCurves().

◆ SetWritePMI()

void cadex.ModelData.ModelWriterParameters.SetWritePMI ( bool theWritePMI)
inline

Sets whether Product and Manufacturing Information (PMI) should be written to the file.

By default, it is false.

Warning
This setting is part of PMI add-on, which is licensed separately from the base Manufacturing Toolkit.
If you do not have it, the passed value will not cause any effect and false will be assigned.

◆ STLEnableMultiPartMode()

bool cadex.ModelData.ModelWriterParameters.STLEnableMultiPartMode ( )
inline

Specifies whether a model should be formatted part by part or merged.

See also
SetSTLEnableMultiPartMode().

◆ WritePCurves()

bool cadex.ModelData.ModelWriterParameters.WritePCurves ( )
inline

Specifies whether parametric curves should written to the file.

See also
WritePCurves().

◆ WritePMI()

bool cadex.ModelData.ModelWriterParameters.WritePMI ( )
inline

Specifies whether Product and Manufacturing Information (PMI) should be written to the file.

See SetWritePMI().