Post Reply 
can you add text to a 3D drawing in a program
02-13-2023, 11:42 PM
Post: #3
RE: can you add text to a 3D drawing in a program
Thanks. I'm not exactly sure what this is doing but will give it a go :-)

(02-13-2023 12:37 AM)Dougggg Wrote:  if you know the angle of the line you could use this to rotate the text


ATEXT (SS,XX,YY,ZZ)
BEGIN
DIMGROB_P(G1,83,12,RGB(255,255,255));
TEXTOUT_P(SS,G1,10,1,1,RGB(0,0,0));
ROTATE(G1,-ZZ);
BLIT_P(G0,{XX,YY},G1);
ROTATE(G1,ZZ);
END;

it puts the text in G1 and rotates it to angle (ZZ) and uses blit to put it in the g0

what i used it for -ZZ worked but you can experiment, I just needed Veritcal text

Calculator Clique on YouTube
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: can you add text to a 3D drawing in a program - dmh - 02-13-2023 11:42 PM



User(s) browsing this thread: 1 Guest(s)