989e-044e8580d9cf"; //this is the grasshopper GUIDplugin = rhino.GetPlugInObject(pluginId, pluginId); // rhino is a COM object representing a rhino5 instanceplugin.OpenDocument("D:\MANUEL\Desktop\debugging.gh");
when running the OpenDocument method a window pops up with the following message
Grasshopper breakpointInvalid parsing operation inn GH_DigitNumber.Value
Running equivalent code in the RhinoPythonEditor works well.Please note that "plugin" in the code is an instance of "GH_RhinoScriptInterface" from the graashopper API.
Thanks.Manuel…
、、、不同角度的理解、诠释、运用和发掘规律、、、
新闻或者幻觉:马王堆墓穴中发掘出了丝绸做的鞋,不算是现代意义上真正的鞋,但是完成了一个完整的公式。
有一部分需要是共同的,在离开了沙滩和草地的时候。
找一个成熟的不一样的数学思维合作者,(可以一起申请参加sg2014活动,也可以不)
我想听到人们写给自己的语言,我不害怕听不懂;
也不在意你能看到我的美丽的脚和我们美丽的城市。
你存在?存在0.1%?如果≥1/4
With the two version of the PDF in the file upload, doubt, 10th should be able to see the many PDF.
There are some scruples, confusion ——"The additional property of professional activities",——Subject classification, commercial, regional、、、
There is a place Africa, people don't wear shoes, A few people with grass or leather on the foot (and buildings——In order to spatial density) winding,
the manufacture of shoes, two sales do two judgment:
A There is no life belongs to shoes
B this is the market.
I spent a lot of energy explained to students, which is not to do programming people do、、、 the different angle understanding, interpretation, application and explore the law、、、
The news or illusion:Mawangdui tomb unearthed silk shoes , is not the modern sense of true shoes, but the completion of a complete formula.
There is a need is common, when they leave the beach and grass.
Find a mathematically mature different thinking partners,(Can apply to participate in the activities of the sg2014, also can not)
I want to hear people wrote their own language, I am not afraid of don't understand;
Don't care what you can see my beautiful feet and our beautiful city.
Do you have? There are 0.1%? If ≥1 / 4 You know what I did wheni found out about you?
msxf6688@163.com
…
you create multiple motion vectors [M0, M1, M2, M3...M99]. If you have not just 1 shape but -say- 4 shapes [A, B, C, D], then your list of motion vectors will no longer work as expected. Specifically, [A] will be moved by [M0], [B] will be moved by [M1], [C] will be moved by [M2], [D] will be moved by [M3]. At this point you've run out of shapes, but you still have 96 motion vectors left over. So the default behaviour is to apply the next vector [M4] to [D] again, and then [M5] to [D] and so on.
You need to adjust your motion vectors so they can be mapped onto your objects. Basically, this means Grafting your objects, so instead of a single list [A, B, C, D], you end up with 4 distinct lists [A], [B], [C] and [D]. Now, ALL vectors will be applied to every individual piece of geometry.
Have a look at the Graft component and use the ParamViewer to see the 'before' and 'after' layout of your data.
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
Added by David Rutten at 11:16am on April 23, 2010
goes in the right direction. The updated Brep split sequence below, and full cluster attached. Note that tolerance is absolute rather than document tolerance - due to the integrity of the inherited Rhino geometry we didn't want to increase document tolerance to ensure splitting.
If anyone has a better method of shattering Breps.... please share.
Dim split_breps_A As New list (Of brep) Dim split_breps_D As New list (Of brep) Dim brep_A As Brep Dim brep_D As Brep Dim srf_areas As New list (Of Double) Dim dist_A As Double Dim dist_d As Double
For i As int32 = 0 To C.count - 2 Brep_A = B.Split(C(i), 0.0000001)(1) Brep_D = B.Split(C(i), 0.0000001)(0) dist_A = P(i + 1).DistanceTo(Brep_A.ClosestPoint(P(i + 1))) dist_D = P(i + 1).DistanceTo(Brep_D.ClosestPoint(P(i + 1))) If dist_a < dist_d Then B = Brep_A split_breps_A.add(Brep_d) split_breps_D.add(Brep_a) Else B = Brep_D split_breps_A.add(Brep_A) split_breps_D.add(Brep_D) End If Next i
If dist_A < dist_D Then split_breps_A.add(B.Split(C(C.Count - 1), 0.0000001)(0)) split_breps_A.add(B.Split(C(C.Count - 1), 0.0000001)(1)) Else split_breps_A.add(B.Split(C(C.Count - 1), 0.0000001)(1)) split_breps_A.add(B.Split(C(C.Count - 1), 0.0000001)(0)) End If
A = split_breps_a D = split_breps_d…
e possible to change the component definition making possible to customize the number of outputs.Now Dispatch moves "true" values to A and "False" values to B
INPUT:
L (List to work on) -> 1, 2, 3, 4, 5, 6, 7, 8
D (Dispatch Pattern) -> True, False
OUTPUT:
A (List) -> 1, 3, 5, 7
B (List) -> 2, 4, 6, 8
Could it be possible/useful to modify it so it could dispatch items to several outputs, like:
INPUT:
L (List to work on) -> 1, 2, 3, 4, 5, 6, 7, 8, 9, 0
D (Dispatch Pattern) -> A, B, C
OUTPUT:
A (List) -> 1, 4, 7, 0
B (List) -> 2, 5, 8
C (List) -> 3, 6, 9
maybe I'm missing something and there's already a component with this function... I have been searching on the forum for half afternoon, but can't find anything about it!
Thank you!…
r example, if I have a list of 4 items:
a
b
c
d
and I use a mask of
0
0
1
1
The "0" list results in
a
b
null
null
And the "1" list results in
null
null
c
d…