Draw Text in Gadget

This section is for general discussion about Gadgets

Draw Text in Gadget

Postby CNCDaveToo » Thu Jan 25, 2018 3:58 am

I've built a gadget to help reduce steps and to gain precision and time. I've gotten the lines drawn, now I would like to add some text to the layer I've drawn into (ala Draw Text tool). I don't see anything in the API documentation about this. Is it possible to do from a Lua script?
CNCDaveToo
 
Posts: 11
Joined: Mon Jan 22, 2018 3:47 am
Location: Leesburg, Virginia, USA
Model of CNC Machine: ShopBot Desktop

Re: Draw Text in Gadget

Postby PaulRowntree » Thu Jan 25, 2018 9:56 pm

Most of the Gadget API is for vector and toolpath creation; they do not in general duplicate the built in tools such as manipulating text.
Pity.

Cheers!
Paul Rowntree
WarpDriver, StandingWave, Topo and gadgets available at PaulRowntree.weebly.com
PaulRowntree
Vectric Wizard
 
Posts: 1681
Joined: Sun Oct 24, 2010 7:28 pm
Location: Guelph, Ontario
Model of CNC Machine: homebuilt 4'x2' (Mach3+G540)

Re: Draw Text in Gadget

Postby jimandi5000 » Fri Nov 23, 2018 5:50 pm

Hi There,

I write full lines of test with my gadget.

Send me a emal message at james.l.anderson@outlook.com

Jim
Thanks,
Jim
User avatar
jimandi5000
 
Posts: 18
Joined: Wed Mar 11, 2015 6:50 pm
Location: North Houston Tx.
Model of CNC Machine: Home Made 60 x 120

Re: Draw Text in Gadget

Postby jimandi5000 » Sat Nov 24, 2018 10:55 pm

Here is what it looks like.
Attachments
TextTool.JPG
Thanks,
Jim
User avatar
jimandi5000
 
Posts: 18
Joined: Wed Mar 11, 2015 6:50 pm
Location: North Houston Tx.
Model of CNC Machine: Home Made 60 x 120

Re: Draw Text in Gadget

Postby jimandi5000 » Sat Nov 24, 2018 11:29 pm

Here is the current copy of the code.
Attachments
TextWriter.zip
(2.39 KiB) Downloaded 19 times
Thanks,
Jim
User avatar
jimandi5000
 
Posts: 18
Joined: Wed Mar 11, 2015 6:50 pm
Location: North Houston Tx.
Model of CNC Machine: Home Made 60 x 120


Return to Gadgets - General

Who is online

Users browsing this forum: No registered users and 3 guests