is possible to import data of a single cell then turn that into a line.
1) Is it possible to select a single cell in Excel and Import it to Grasshopper through the File Path or Read File function?
2) Can the value of the cell, say A2 = 45, be turned into the dimension of a line instead of a component of a point, or as the length of a vector?
3) Last would be if it is possible, could use the cells, A2 = 45; A4 = 20; A6 = 53, as the length, width and height dimensions, using the Geometry tool?
…
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