brunopostle / homemaker-addon

Design buildings the pointy-clicky way, a blender add-on that transforms spatial geometry into IFC building models
GNU General Public License v3.0
125 stars 7 forks source link

Sverchok Nodes #45

Closed Sinasta closed 2 years ago

Sinasta commented 2 years ago

I would love to test your work on integrating homemaker into sverchok and i would be interested in knowing if you plan on implementing more functions as nodes. Maybe you could push your WIP to an alpha branch. I would be glad to test and report back.

brunopostle commented 2 years ago

You are welcome to try, I have not done any more than test that it works, though there seems to be a bug where the IFC model displayed by blenderbim isn't updated. This is probably an easy fix.

These are the files, they will need to be registered in TopologicSverchock by adding additional entries in the __init__.py file:

sverchok-topologic-homemaker-blenderbim.zip

These are the notes I wrote for @wassimj:

There are two files:

I don't really know what I'm doing, so the naming and some other things may be a bit off. You will need the very latest Homemaker-addon from git.

Some CellComplex Dictionary info should be processed if present:

Sinasta commented 2 years ago

Thank you very much! it works great! i would be interested in knowing if you see a future in integrating homemaker in sverchok?

brunopostle commented 2 years ago

@Sinasta The Homemaker add-on is an extension of Topologic and IfcOpenShell, and these are unlikely to be shipped with Sverchok any time soon. So what makes sense to me is that some version of these nodes are added to Topologic-Sverchok, but they are only activated for the user if the Homemaker and IfcOpenShell libraries are available. i.e. anyone who installs Blenderbim, Topologic-Sverchok and Homemaker add-on will automatically have these nodes.

I have many things to do, so any help doing this would be appreciated.

wassimj commented 2 years ago

I am planning to do exactly what @brunopostle suggested above, but I need a bit of time as this is a busy period and I have a few things to finish ahead of this. You should see that happen in a few weeks.

Sinasta commented 2 years ago

I completely get your point @brunopostle it is unlikely and against the principle of Sverchok to integrate larger external libraries in the add-on. The Idea of integrating some nodes bundled with @wassimj Topologicsverchok is a good idea. I have the feeling that a parametric tool to set the room-widgets, styles and potentially aperture dimensions and styles would be a great addition to Homemaker. I would love to help somehow but my coding skills are low so i guess i can only help in testing. Thank you for your efforts!