Class CM3Text extends CM3Item
CM3Text Class
Creates 3D objects of text including beveled text. See: https://threejs.org/docs/#api/en/geometries/TextGeometry
Copyright (C) 2020, Humboldt State University, Jim Graham
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General
Public License as published by the Free Software Foundation, either version 3 of the License, or (at your
option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see
.
Settings Group: Font
Setting |
Name |
Type |
Options |
Default |
Comments |
size |
Size |
CMTYPE_FLOAT |
|
12 |
size of the text |
URL |
URL |
CMTYPE_STRING |
|
|
global font to use |
GlobalFontIndex |
GlobalFontIndex |
CMTYPE_INTEGER |
|
0 |
global font to use |
Settings Group: Extrusion
Setting |
Name |
Type |
Options |
Default |
Comments |
height |
height |
CMTYPE_FLOAT |
|
4 |
amount to extrude the object |
curveSegments |
curveSegments |
CMTYPE_FLOAT |
|
12 |
number of points on the curve |
bevelEnabled |
bevelEnabled |
CMTYPE_BOOLEAN |
|
false |
beveled instead of 90 degree change, keep true for good looking text |
bevelSegments |
bevelSegments |
CMTYPE_FLOAT |
|
3 |
number of bevel layers (more makes a smoother bevel but draws slower |
bevelSize |
bevelSize |
CMTYPE_FLOAT |
|
0.1 |
width of bevel (distance from shape outline), keep > 0 |
bevelThickness |
bevelThickness |
CMTYPE_FLOAT |
|
0.1 |
how deep the bevel goes into the extrusion ,keep > 0 |