Is there any information on creating a component using only Ruby code? So far I have created a 3D model of my component and I basically want to now turn it into a component. I am assuming that the procedure would be to create a component definition and add it to the definition list. Then collect all of the faces and edges of my component and add them to the new componentdefinition.entities collection. I would then like to save the model as a .skp file. Is that it? Is there a better way? I want to use code only from input parameters - no user intervention after inputs. Any advice would be appreciated. I will be happy to share some sample code on this forum when completed. Thanks.
🏢 PlaceMaker | 25% off for February including new Google Earth data imports!
Learn more
O
Latest posts made by oldnavyflyguy
-
Make A Component Using only Ruby code
-
RE: Plugins Menu Missing
Thanks TIG. Now you know why this is in the newbies section.
-
Plugins Menu Missing
I just wanted to post this as a heads up to everyone. I am new to developing in Ruby and had 2 .rb files in the SU Plugins directory. The first .rb file adds a submenu under the SU Plugins menu and then ties to the second .rb file. I moved both .rb files to a backup directory to clear the Plugins directory for some testing of SU with no plugins installed. I then edited my second .rb file and it placed the modified file back into the SU Plugins directory. The first .rb was not in the SU Plugins directory any longer. When I started SU, there was no Plugins menu! Just curious how this works. Thanks.