MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.BendContoursAlongCurveParams Class Reference

Public Member Functions

None __init__ (self)
 
None __init__ (self, BendContoursAlongCurveParams arg0)
 
None __init__ (self, float pivotCurveTime, Vector2f pivotBoxPoint, func_CurvePoint_from_float curve, bool stretch, float extrusion)
 
func_CurvePoint_from_float curve (self)
 
None curve (self, func_CurvePoint_from_float arg1)
 
float extrusion (self)
 
None extrusion (self, float arg1)
 
Vector2f pivotBoxPoint (self)
 
None pivotBoxPoint (self, Vector2f arg1)
 
float pivotCurveTime (self)
 
None pivotCurveTime (self, float arg1)
 
bool stretch (self)
 
None stretch (self, bool arg1)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
BendContoursAlongCurveParams operator (*args, **kwargs)
 
BendContoursAlongCurveParams operator (*args, **kwargs)
 

Static Protected Attributes

typing _offsetof_curve = 16
 
typing _offsetof_extrusion = 52
 
typing _offsetof_pivotBoxPoint = 4
 
typing _offsetof_pivotCurveTime = 0
 
typing _offsetof_stretch = 48
 

Detailed Description

Generated from:  MR::BendContoursAlongCurveParams

Parameters for aligning 2d contours along given curve

Constructor & Destructor Documentation

◆ __init__() [1/4]

None mrmeshpy.BendContoursAlongCurveParams.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.BendContoursAlongCurveParams.__init__ ( self)

◆ __init__() [3/4]

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

◆ __init__() [4/4]

None mrmeshpy.BendContoursAlongCurveParams.__init__ ( self,
float pivotCurveTime,
Vector2f pivotBoxPoint,
func_CurvePoint_from_float curve,
bool stretch,
float extrusion )
Implicit aggregate constructor.

Member Function Documentation

◆ curve() [1/2]

func_CurvePoint_from_float mrmeshpy.BendContoursAlongCurveParams.curve ( self)
converts (x in [0,1], pivotY) into position on curve

◆ curve() [2/2]

None mrmeshpy.BendContoursAlongCurveParams.curve ( self,
func_CurvePoint_from_float arg1 )

◆ extrusion() [1/2]

float mrmeshpy.BendContoursAlongCurveParams.extrusion ( self)
Contours extrusion outside of curve level

◆ extrusion() [2/2]

None mrmeshpy.BendContoursAlongCurveParams.extrusion ( self,
float arg1 )

◆ operator() [1/2]

BendContoursAlongCurveParams mrmeshpy.BendContoursAlongCurveParams.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

BendContoursAlongCurveParams mrmeshpy.BendContoursAlongCurveParams.operator ( * args,
** kwargs )
static

◆ pivotBoxPoint() [1/2]

Vector2f mrmeshpy.BendContoursAlongCurveParams.pivotBoxPoint ( self)
Position of the curve(pivotCurveTime) in the contours' bounding box:
(0, 0) - bottom left, (0, 1) - bottom right, (0.5, 0.5) - center, (1, 1) - top right

◆ pivotBoxPoint() [2/2]

None mrmeshpy.BendContoursAlongCurveParams.pivotBoxPoint ( self,
Vector2f arg1 )

◆ pivotCurveTime() [1/2]

float mrmeshpy.BendContoursAlongCurveParams.pivotCurveTime ( self)
Position on the curve, where bounding box's pivot point is mapped

◆ pivotCurveTime() [2/2]

None mrmeshpy.BendContoursAlongCurveParams.pivotCurveTime ( self,
float arg1 )

◆ stretch() [1/2]

bool mrmeshpy.BendContoursAlongCurveParams.stretch ( self)
stretch all contours along curve to fit in unit curve range

◆ stretch() [2/2]

None mrmeshpy.BendContoursAlongCurveParams.stretch ( self,
bool arg1 )

Member Data Documentation

◆ _offsetof_curve

typing mrmeshpy.BendContoursAlongCurveParams._offsetof_curve = 16
staticprotected

◆ _offsetof_extrusion

typing mrmeshpy.BendContoursAlongCurveParams._offsetof_extrusion = 52
staticprotected

◆ _offsetof_pivotBoxPoint

typing mrmeshpy.BendContoursAlongCurveParams._offsetof_pivotBoxPoint = 4
staticprotected

◆ _offsetof_pivotCurveTime

typing mrmeshpy.BendContoursAlongCurveParams._offsetof_pivotCurveTime = 0
staticprotected

◆ _offsetof_stretch

typing mrmeshpy.BendContoursAlongCurveParams._offsetof_stretch = 48
staticprotected

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