all you need is this:
import rhinoscriptsyntax as rsa = rs.BooleanDifference(b1, b2, False)
Where b1 and b2 are your input breps. But I do not know why it is not working correctly.For some strange reason the RhinoCommon version works with no problem (check the attached files):
import Rhinoimport utility as rhutil# converting brep guids into Brep objectsbrepL1 = []brepL2 = []for brep1 in b1: brep1_object = rhutil.coercebrep(brep1, True) brepL1.append(brep1_object)for brep2 in b2: breps2_object = rhutil.coercebrep(brep2, True) brepL2.append(breps2_object)tolerance = 0.1a = Rhino.Geometry.Brep.CreateBooleanDifference(brepL1, brepL2, tolerance)
Before opening attached .gh and .3dm files, copy the "utility.py" file into your folder:"C:\Documents and Settings\<user name>\Application Data\McNeel\Rhinoceros\5.0\Plug-ins\IronPython\settings\lib" - if you are using WinXP
"C:\Users\<user name>\AppData\Rhinoceros\5.0\Plug-ins\IronPython\settings\lib" or if you are using Win7
I think <user name> might also be replaced with just: "Administrator".…
other notation... where x, y and z are variables, and a,b,c... are constants but sliders, open for dynamic change. + Defining its interval.
- Another minor question; the intcrv box, it is by default a polynomial interpolation? In general, where can you get information on the underlying math behind the boxes?
- Is it possible to define the intervals on the sliders based on other sliders or inputs?
Many questions, but I have been trying to figure this out for quite some time now. I am truly grateful for all help on this matter! :) Maybe they will be of help to other engineers or architects out there...
…
ide into 80 branches, and 80 outputs of explode and 80 dispatches - its my nightmare. Is there any way to do this with parametric Number of brunches? …
thing deeper? ".. these and then some more.
As this simple search in the source code will tell you, right now at least Honeybee is meant to be run on Windows. There is a cross-platform version already in the works which will run seamlessly across different platforms.
Sarith
(I don't know if what I said above applies to Ladybug as well as I am not involved in that project).…