Skip to content
Discussion options

You must be logged in to vote

Such parameters produce result more close to your initial screenshot:

point = mm.Vector3f(37.397, 31.17, 11.549)

params = mm.TextMeshAlignParams()
params.text = "Mesh 01"
params.fontDetalization = 2
params.pivotPoint = mm.Vector2f(0.5,0.5)
params.fontHeight = 2.5
params.surfaceOffset = 1
params.startPoint = mesh.findClosestPoint(point).mtp
normal = mm.Vector3f.plusY()
params.textNormal = normal
params.direction = mm.Vector3f.minusX()
textMesh = mm.alignTextToMesh(mesh, params)

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@Grantim
Comment options

@ParvGuptaSpCT
Comment options

@Grantim
Comment options

@Grantim
Comment options

Answer selected by ParvGuptaSpCT
@ParvGuptaSpCT
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants