MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.TextMeshAlignParams Class Reference
+ Inheritance diagram for mrmeshpy.TextMeshAlignParams:

Public Member Functions

None __init__ (self)
 
None __init__ (self, TextMeshAlignParams arg0)
 
Vector3f direction (self)
 
None direction (self, Vector3f arg1)
 
bool fontBasedSizeCalc (self)
 
None fontBasedSizeCalc (self, bool arg1)
 
float fontHeight (self)
 
None fontHeight (self, float arg1)
 
Vector2f pivotPoint (self)
 
None pivotPoint (self, Vector2f arg1)
 
MeshTriPoint startPoint (self)
 
None startPoint (self, MeshTriPoint arg1)
 
float surfaceOffset (self)
 
None surfaceOffset (self, float arg1)
 
float textMaximumMovement (self)
 
None textMaximumMovement (self, float arg1)
 
Vector3f textNormal (self)
 
None textNormal (self, Vector3f arg1)
 
- Public Member Functions inherited from mrmeshpy.SymbolMeshParams
AlignType align (self)
 
None align (self, AlignType arg1)
 
int fontDetalization (self)
 
None fontDetalization (self, int arg1)
 
pathlib.Path pathToFontFile (self)
 
None pathToFontFile (self, os.PathLike|str|bytes arg1)
 
Vector2f symbolsDistanceAdditionalOffset (self)
 
None symbolsDistanceAdditionalOffset (self, Vector2f arg1)
 
float symbolsThicknessOffsetModifier (self)
 
None symbolsThicknessOffsetModifier (self, float arg1)
 
str text (self)
 
None text (self, str arg1)
 

Static Protected Member Functions

 _pybind11_conduit_v1_ (*args, **kwargs)
 

Additional Inherited Members

- Static Public Attributes inherited from mrmeshpy.SymbolMeshParams
typing MaxGeneratedFontHeight = 5.826000213623047
 

Detailed Description

Generated from:  MR::TextMeshAlignParams

Constructor & Destructor Documentation

◆ __init__() [1/2]

None mrmeshpy.TextMeshAlignParams.__init__ ( self)
Implicit default constructor.

Reimplemented from mrmeshpy.SymbolMeshParams.

◆ __init__() [2/2]

None mrmeshpy.TextMeshAlignParams.__init__ ( self,
TextMeshAlignParams arg0 )
Implicit copy constructor.

Reimplemented from mrmeshpy.SymbolMeshParams.

Member Function Documentation

◆ _pybind11_conduit_v1_()

mrmeshpy.TextMeshAlignParams._pybind11_conduit_v1_ ( * args,
** kwargs )
staticprotected

Reimplemented from mrmeshpy.SymbolMeshParams.

◆ direction() [1/2]

Vector3f mrmeshpy.TextMeshAlignParams.direction ( self)
Direction of text

◆ direction() [2/2]

None mrmeshpy.TextMeshAlignParams.direction ( self,
Vector3f arg1 )

◆ fontBasedSizeCalc() [1/2]

bool mrmeshpy.TextMeshAlignParams.fontBasedSizeCalc ( self)
If true then size of each symbol will be calculated from font height, otherwise - on bounding box of the text

◆ fontBasedSizeCalc() [2/2]

None mrmeshpy.TextMeshAlignParams.fontBasedSizeCalc ( self,
bool arg1 )

◆ fontHeight() [1/2]

float mrmeshpy.TextMeshAlignParams.fontHeight ( self)
Font height, meters

◆ fontHeight() [2/2]

None mrmeshpy.TextMeshAlignParams.fontHeight ( self,
float arg1 )

◆ pivotPoint() [1/2]

Vector2f mrmeshpy.TextMeshAlignParams.pivotPoint ( self)
Position of the startPoint in a text bounding box
(0, 0) - bottom left, (0, 1) - bottom right, (0.5, 0.5) - center, (1, 1) - top right

◆ pivotPoint() [2/2]

None mrmeshpy.TextMeshAlignParams.pivotPoint ( self,
Vector2f arg1 )

◆ startPoint() [1/2]

MeshTriPoint mrmeshpy.TextMeshAlignParams.startPoint ( self)
Start coordinate on mesh, represent lowest left corner of text

◆ startPoint() [2/2]

None mrmeshpy.TextMeshAlignParams.startPoint ( self,
MeshTriPoint arg1 )

◆ surfaceOffset() [1/2]

float mrmeshpy.TextMeshAlignParams.surfaceOffset ( self)
Text mesh inside and outside offset of input mesh

◆ surfaceOffset() [2/2]

None mrmeshpy.TextMeshAlignParams.surfaceOffset ( self,
float arg1 )

◆ textMaximumMovement() [1/2]

float mrmeshpy.TextMeshAlignParams.textMaximumMovement ( self)
Maximum possible movement of text mesh alignment, meters

◆ textMaximumMovement() [2/2]

None mrmeshpy.TextMeshAlignParams.textMaximumMovement ( self,
float arg1 )

◆ textNormal() [1/2]

Vector3f mrmeshpy.TextMeshAlignParams.textNormal ( self)
Text normal to surface, if nullptr - use mesh normal at `startPoint`

◆ textNormal() [2/2]

None mrmeshpy.TextMeshAlignParams.textNormal ( self,
Vector3f arg1 )

The documentation for this class was generated from the following file: