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...
…
e sure that the paths for {a1, b1, c1} and {d1} are identical.
You can use a ParamViewer to see these paths, and use a Path Mapper to adjust them.
--
David Rutten
david@mcneel.com
London, UK…
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".…
m b1 As Brep = Nothing
If (heights(b) > heights(b+1)) Then
b0 = breps(b+1)
b1 = breps(b)
Else
b0 = breps(b)
b1 = breps(b+1)
End If
Dim bDiff As Brep() = Brep.CreateBooleanDifference(b0, b1, 0.1)
If (bDiff IsNot Nothing) AndAlso (bDiff.Length > 0) Then
breps(b) = bDiff(0)
End If
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
Added by David Rutten at 7:32am on October 16, 2012
), my script is triangulating slabs by drawing line in a crossreference way. This part was "easy"
What I want to do now is to link those slabs together
ie : if a slab is a surface AxBxCxDx
I want to link A1 to A2, B1 to B2, C1 to C2 etc.
I know it's a simple question of restructuring the tree in my Pshift component, so that I can use the line component with shortest list, and link each of those points.
Any ideas on how to fix that?
Thank you
Simon…