e), {1;2}(line), {1;3}(line)... and on the other side to have {0;0}(all lines except {0}(0)), {0;1} (all lines except {0}(1)), {0;2}(all lines except {0}(2)), {0;3}(all lines except {0}(3)), {1;0} (all lines except {1}(0)), {1;1} (all lines except {1}(1)), {1;2} (all lines except {1}(2)) ,{1;3} (all lines except {1}(3))...The first tree is easy to achieve, simply grafting a branch for each element, and the other, what I've done is to copy all lines of each tree ({0},{1},{2},{3}), to have them in all branches of each tree ({0;0}(elements of {0}), {0;1}(elements of {0}),,{1;0}(elements of {1}), {1;1}(elements of {1})..., and then remove in the first branch({0;1} the first element(0), in the second branch the second element, the third branch the third element...And so correctly you compare each line with all the other within each branched tree.Aaaaapufff XD…
.Geometry.Brep"
Tried a few ways of writing it, seems its due to the way the Brep.CreatefromLoft function is reading the IEnumerable list.
Dim lnL As New list(Of Line)
Dim lnE As IEnumerable(Of Line)
Dim ln1 As New Line(pt1, vector3d.XAxis, x)
Dim ln2 As New Line(pt2, vector3d.ZAxis, x)
lnL.Add(ln1)
lnL.add(ln2)
lnE = lnL
Dim srf As Brep
(Error)srf = Brep.CreateFromLoft(lnE, point3d.Unset, point3d.Unset, Lofttype.Normal, False)
srfL.Add(srf)…
rsecting itself. The resultant line would then be grouped to that polygon. The definition would then allow me to set input an angle and rotate the polygon with that line determining that angle (the intersection of the perpendicular line and the shortest side being the center of rotation). I have attached a jpeg with 3 irregular pentagons with their corresponding lines on the left. On the right, for example, the polygons have been rotated 90 degrees. If anyone has done something similar and would care to share it with me, that would be great! Thanks. …
Added by Aaron Levine at 3:37pm on January 11, 2013
Hi Daniel,
Could you please help me in this small issue.
I attached GH file and a screen shot to 10 boxes I want to attach them together using cross reference.
Daniel
better ways than this, please feel free to point out.
This is done by pulling down points in rhino as an example. On the right is what i tried and faild miserably.
I've looked into some examples but couldn't get it working.…
ents it has to divide, the lenght has to be in one of these domain. (0-500)(500-1000)(1000-1500) and then depending on which domain is the lenght (1,2 or 3) this will be the number of segments to divide de line.
I hope i could explain enough...
How can i do this whit grasshopper.
Thanks a lot for your help. I´m using again grass and its hard to take of the dust…
Added by enrique gil at 3:47pm on October 31, 2016
ate Sub RunScript(ByVal x As List(Of Line), ByVal y As Object, ByRef A As Object, ByRef B As Object)
'------Convert Lines to LineCurves--------------'
'------Convert Lines to LineCurves--------------'
Dim i As Integer
Dim lineList As New List(Of Line)
Dim lineCont As New Line
Dim myLineCurveList As New List(Of LineCurve)
For i = 0 To x.Count - 1
lineCont = x(i)
lineList.Add(lineCont)
Next
For Each lineCont In lineLIst
Dim myLineCurve As New LineCurve(lineCont)
myLineCurveList.Add(myLineCurve)
Next
'------End Convert Lines to LineCurves--------------'
'------End Convert Lines to LineCurves--------------'
A = LineCurve.JoinCurves(myLineCurveList)
End Sub…
emble machines (and require custom Articles for specs, cost pre-estimation and the likes).
Putting yourself against that "forest" you should answer the question N1: you want to just use (the unsafe option) these or cross the Rubicon and collaborate in some way with the software vendors? (the safe option plus numerous benefits: knowing what's in the pipeline years ago, solving bugs in no time etc etc etc).
The question N2 is: do you get involved (or you want to) in "developing" all that the one way or the other? If yes using what "platform"? (so to speak).
The question N3 is: what are your estimations concerning the future in our trade? (count the tremendous acceleration of things as well plus the unavoidable AI factor (sooner or later)).
By answering these 3 ... you can easily answer the other questions of yours.
Bad news: future is past already.…
But those definitions cannot help me to introduce the section line or trim line. So I decided to test those definitions in a simple round surface, but still didn’t work.
thanks…