I fixed a few things and realized I could call the instances I added to the global component by different names. π π³
It does run slow but I still haven't looked into optimising scripts so hopefully I can speed it up some though I don't mind it though, it's faster then creating a cabinet from scratch. π
Next on the to do/ to learn list is...
Creating door and drawer fronts, creating drawers... shouldn't be a problem.
Add a user defined number of shelves and insert them evenly spaced in the cabinet... I can do this manually/individually but the math involved in doing them automatically should be fun to figure out!
Same thing for door and drawer fronts.
And give a choice of creating an upper or lower cabinet since the building of these is different... I could use 2 different scripts like I did when moding the cab.rb script but I think it would be slick having it all-in-one.
Add grain direction
And eventually learning how to export the to a csv file so that I can populate an existing excel spreadsheet that I use... yes I know there are already some cut sheet/list scripts but this is more of a hobby/learning experience and I'd like to see what I can do. π
That should be it but I'm already happy with the progress I've made in just 3 or 4 days or learning this stuff.
Again thanks for all the help I really appreciate your teach how to fish approach. π
Frank
Test.rb