Jump to content
Developer Wiki and Function Reference Links ×

3D rotate of text


Recommended Posts

See attached for clarity.  I'm trying to figure out how to 3D rotate a string of text within the script.  Rotate3D, Set3DRot, and SetRot3D doesn't work on the text unless I convert the text to a 3D object which I'm trying to avoid.  Not sure if I have to flip my working plane first and then create it?  I'm hoping I can avoid that.  Hoping someone out there might know a command I haven't tried yet.

Screenshot2023-07-12at4_49_35PM.thumb.png.96cce64b3a32bc8097a3e340b792bf3b.png

Link to comment

Here's a quick example to show how it could work..

 

Cheer!

 

PROCEDURE TextExample;
CONST
    TEXTANGLE = 90;  { Set the text degrees here }
VAR
    TXTHandle:HANDLE;
    BOO :BOOLEAN;
BEGIN

 

TextOrigin(0,0);
BeginText;
  'TEST'
EndText;
  TXTHandle:=Lnewobj;
  BOO:= SetEntityMatrix(TXTHandle, 0,0,0,TEXTANGLE,0,0);

 

END;
RUN(TextExample);

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...