Search found 18 matches

by zoner
Thu Jan 09, 2020 6:45 pm
Forum: Gadgets - General
Topic: Reading and writing XML files from gadgets
Replies: 8
Views: 3543

Re: Reading and writing XML files from gadgets

Aspire is lua 5.2 embedded but we still have access to loading libraries from disk thus xml2lua Alibre is python 2.7 embedded parts of the full library is available only ... but there is an xml parser so ... but no JSON ... which was my first reflex for python ... 20 years ago I did a lot of xml-xsl...
by zoner
Thu Jan 09, 2020 3:54 pm
Forum: Gadgets - General
Topic: Reading and writing XML files from gadgets
Replies: 8
Views: 3543

Re: Reading and writing XML files from gadgets

I don't have the structure yet ... I was looking for a path from Aspire to Alibre ... I will work on my need now (building the layers that will have what will be saved to disk) and will have something next week (for the xml structure) I did find this : https://github.com/manoelcampos/xml2lua which i...
by zoner
Thu Jan 09, 2020 3:15 pm
Forum: Gadgets - General
Topic: Reading and writing XML files from gadgets
Replies: 8
Views: 3543

Re: Reading and writing XML files from gadgets

I am looking tor a library to write data as xml tree ... to output some calculations to an xml file that will be read with Alibre Design Expert 2019. I'm building things to cut in Aspire but want to see the 3D effect of the many pieces that will be cut ... so ... viewing them assembled in Alibre :) ...
by zoner
Thu Jan 09, 2020 4:38 am
Forum: Gadgets - General
Topic: Reading and writing XML files from gadgets
Replies: 8
Views: 3543

Reading and writing XML files from gadgets

Is there a way from the gadgets to read or write xml files ?
by zoner
Fri Dec 06, 2019 7:17 pm
Forum: Gadgets - General
Topic: Building a Font
Replies: 6
Views: 3754

Re: Building a Font

Having the Text object accessible into Lua would be easier ...
by zoner
Thu Dec 05, 2019 11:36 pm
Forum: Cut2D - General
Topic: The New Map Thread - Show us where you are in the world
Replies: 1439
Views: 4379092

Re: The New Map Thread - Show us where you are in the world

Michel Trahan
Sainte-Therese, Quebec, Canada, J7E 4E7
by zoner
Wed Dec 04, 2019 6:21 pm
Forum: Gadgets - User Submissions
Topic: Easy Gadget Text Maker
Replies: 6
Views: 10009

Re: Easy Gadget Text Maker

I don't follow ... When I build software, I usually organise it ... I always have a code library for code that is not specific to the current problem ... I organise them in types of functionnality it has ... or offers ... a file per concept say ... yours is called EasyGadgetWriter ... self contained...
by zoner
Wed Dec 04, 2019 2:58 am
Forum: Gadgets - User Submissions
Topic: Easy Gadget Text Maker
Replies: 6
Views: 10009

Re: Easy Gadget Text Maker

if you want to include a code library using code like this : -- add the code library path to the package path -- then declare a variable to hold the library (Utils in this case) -- then use the functions in it package.path = package.path .. ";" .. path .. "\\..\\_CodeLibrary\\?.luax" local Utils = r...
by zoner
Tue Dec 03, 2019 7:38 pm
Forum: Gadgets - User Submissions
Topic: Easy Gadget Text Maker
Replies: 6
Views: 10009

Re: Easy Gadget Text Maker

I have modified it to manage group ... needed it ... and made it into a LUAX code library

Tell me what you think and thanks again for the great code base ! Saved hours !

Mike.
by zoner
Wed Nov 27, 2019 6:11 pm
Forum: Gadgets - General
Topic: Creating a text object in a gadget
Replies: 10
Views: 5771

Re: Creating a text object in a gadget

I just got the code ... sorry for the delay ... life ... I looked at the code and it seems fine, passing it the layer name and all ... super cool ! I will transform it a tad ... to make it a luax file ... I'll post it on the other link you gave me when done ? Having a code library is helpfull someti...
by zoner
Wed Nov 13, 2019 1:32 am
Forum: Gadgets - General
Topic: Creating a text object in a gadget
Replies: 10
Views: 5771

Re: Creating a text object in a gadget

Hi Jim,

Yes I would be interested to look at the code and probably use it in my own to add text to panel shapes which could be "selected" automatically (meaning by code) and then grouped. Is it formatted as a function call ? position, text and size ? How can we go about it ?

Mike.
by zoner
Tue Nov 12, 2019 4:20 am
Forum: Gadgets - General
Topic: Creating a text object in a gadget
Replies: 10
Views: 5771

Re: Creating a text object in a gadget

Because I need to associate it to the panel shape and move both on sheets one per sheet ... the wall is about 8 feet high and 50 feet wide ... each acoustic panel is maximum 4 feet wide and 8 feet high ... so the wall has about 20 panels ... each one a specific size and shape ... so attaching a labe...
by zoner
Mon Nov 11, 2019 9:09 pm
Forum: Gadgets - General
Topic: Creating a text object in a gadget
Replies: 10
Views: 5771

Re: Creating a text object in a gadget

I have the same need ... adding text to identify what part was read and built ... I feed a CSV file from Excel which discribes a full wall with sections of angled panels ... the file contains the size of each panel. I need to add the name of the part (which is in the CSV file) to the drawing to iden...
by zoner
Sun Nov 10, 2019 1:03 am
Forum: Gadgets - General
Topic: How do you Group Objects on a Layer
Replies: 6
Views: 4367

Re: How do you Group Objects on a Layer

Could you post the code that done it ? It owuld be appreciated :)
by zoner
Sun Sep 22, 2013 5:26 pm
Forum: Aspire - General
Topic: Kitchen Cabinet Software?
Replies: 17
Views: 17450

Re: Kitchen Cabinet Software?

Here is another option. eCabinets from Thermwood. Use it to design your cabinets, do a nesting of all the parts, then you can take the dimensions for the parts and input them into Aspire/V-Carve and cut them on your CNC. Yes, there is a lot of manual work doing the translation, but it would be very...