Request for Text Rendering features in Graphics class

Request for Text Rendering features in Graphics class

alexisDVJML
Collaborator Collaborator
3,724 Views
22 Replies
Message 1 of 23

Request for Text Rendering features in Graphics class

alexisDVJML
Collaborator
Collaborator

Not sure the right place where to ask for these features, maybe by putting here can see how many of us would be interested 🙂

3D features:

- Rendering Text, similar to what is feasible in nwCreate: text at specific position, size and "plane"
- Filling polygon as long as all points are in one planes

2D features:
- Rendering Text with specific angle/orientation

- Filling Polygon

Main Scientist, Full Stack Developer & When Time Permits Director of IDIGO ► On your marks, Set, Go
3,725 Views
22 Replies
Replies (22)
Message 21 of 23

ulski1
Collaborator
Collaborator

It should be possible to create 3D text by using polyline.Points with a block outline font and then stretching it in depth by adding triangles

Code for producing polylines from a font is in this old blog post:

https://adndevblog.typepad.com/aec/2014/09/draw-text-graphics.html

ulski_0-1616576718916.png

 

Message 22 of 23

mtrainottiGHXJH
Enthusiast
Enthusiast

How did you get a reference to your class that inherits RenderPlugin / ToolPlugin?

0 Likes
Message 23 of 23

alexisDVJML
Collaborator
Collaborator
Very interesting.
Hope I can try this soon.
Maybe will be more efficient than drawing rectangles and triangles for things like my arrows
Main Scientist, Full Stack Developer & When Time Permits Director of IDIGO ► On your marks, Set, Go
0 Likes