()
| 5 | |
| 6 | |
| 7 | def test_text_mesh(): |
| 8 | params = mrmesh.SymbolMeshParams() |
| 9 | params.text = "Hello World" |
| 10 | params.pathToFontFile = os.path.join( |
| 11 | os.path.dirname(os.path.abspath(__file__)), |
| 12 | "../thirdparty/Noto_Sans/NotoSans-Regular.ttf", |
| 13 | ) |
| 14 | textMesh = mrmesh.createSymbolsMesh(params) |
| 15 | assert textMesh.volume() > 0 |
| 16 | |
| 17 | |
| 18 | def test_aligned_text_mesh(): |