om frame -5 till frame -10 a frame spacing of 100mm is used,
etc.
Frame 0 is located on X=0 mm
Frame -5 will be on X=-500 mm
Frame -6 will be on X=(X of frame -5) -25 = -525 mm
Frame -11 wil be on X= ((X of frame -10) -10 = ?? mm
etc.
Cheers,
Bas…
e major and minor radius. It does not have a way to specify two points and the distance sum to the two points as parameter.
So I made some conversion to do that:
Since my friend is trying to model drawing ellipse by a string, the length input is based on the length of string loop, not the distance sum. Look at the following image and you will understand:
Similarly, I have also modeled what would happen if there are three pins with one string loop. Result is a shape that consist of 6 ellipse segments. The reason of this is not too obvious, there are basically 2 cases: the string are taut between one side of the triangle, or the string is taut between 2 sides.
…
had):
You can see that the 4 rings have different paths {0;0;0},...,{0;0;3}. That's why [Dif] component will not treat them as a "set of Breps"(leave your mouse pointer over the component to see what inputs it expects) but separately. So it will do 4 subtractions (the output will be 4 Breps).
But if you flatten this data tree into a single list you get this:
Now all 4 rings are in a single list and [Dif] component can treat them as a "set of Breps"
Notice also how the wires change (single line for one object, double line for one list, double dashed line for a data tree). Now the output of [Dif] is one Brep(all four rings subtracted from the rod).
Hope this is more clear now... Still, check the links for a better understanding of trees :)…
ng code for Rhino6 and Visual Studio 2013 while typing on Grasshopper 2.0
I launch Rhino and Grasshopper each time, takes about 15~17 seconds to load both programs, it takes about 25 seconds to compile the entire project. Because of this I don't write and test tiny amounts of code, I write and test large amounts, then use the debugger to fix bugs.
As For debugging, yes, i'm able to step into my code via Visual Studio. but most of my time i'm not debugging - i'm developing and making small changes and compiling more than 40 times a day.
40 sounds about the right order of magnitude. Somewhere between 5 and 500 I'd say, depending on whether I'm debugging something big or writing a lot of new code.
I'd love to hear about any suggesstions of ways of work that you do that'll save me alot of time.
I wish there was a way to run Rhino with 'GH Developers' flag that'll run much faster.
You can not load certain plugins when starting Rhino. That may speed up loading times, but probably not significantly.
--
David Rutten
david@mcneel.com…
Added by David Rutten at 3:00am on January 6, 2014
掌握编程过程中遇到的思路方面和技术方面的问题. 内容包括以下几个方面:
反向逻辑思维能力的培养;
建立清晰的编程逻辑思维能力;
GH 的程序设计理念;
并行数据结构深入理解和控制.
Grasshopper course of McNeel Asia focus on the cultivation of students flexible use of programming techniques, the ability to solve practical problems. Our course deep into the whole process of programming, from programming thinking model, the components principle to usage details do detailed explanation, help students complete mastery programming encountered in the process of thinking and technical aspects, include the following content:
Ability of reverse logical thinking;
Establishment of clear programming logical thinking ability;
The program design concept of Grasshopper;
Understanding parallel data tree structure and how to control it.
更多详细内容... More details…
授课讲师 Instructor 课程由Grasshopper原厂McNeel公司在中国地区的两位 Rhino 原厂技术推广工程师 – Dixon、Jessesn联合授课。课程结束后对达到授课预定目标的学员颁发唯一由Grasshopper原厂认证的结业证书.
Dixon & Jessesn, McNeel Asia Support engineer, by the end of course student who achieve the intended target will get the authentication certificate from McNeel Asia.
课程报名 Register this course 课程即日开始报名, 开课一周前停止报名, 名额满提前报名结束. This course begin to sign up, stop sign up a week ago, with the quota ahead over.
在线报名参加课程...
Sign up to this course…
课程日期 Schedule 7/15-7/20 Beijing 北京 7/26-7/31 Shanghai 上海 7/07-7/12 Shenzhen 深圳
课程范例演示 Samples of Grasshopper course demo
Note: pls follow below comments by Jessesn to see the samples…
anually update the definition for the changes to have an effect. Also, it's not very user friendly to change data using commands (you can add them to the toolbar).
I recently did a definition that required custom attribute data per object. Since objects could vary in number it was easier to have the data attached to the object rather than in a spreadsheet. I only needed 3 or 4 values per object, so i just added them to the name of the object in the form of "a;3;500". I have the object properties window open all the time so this way it's easy to quickly change the values.
It would be great if rhino's GUI allowed to add and change custom attribute data easily. Cinema 4D does this very well. I think David was working on a plugin that did this but i doubt it's still in development.…
Added by Vicente Soler at 4:10pm on October 12, 2009
orithm is very smart and elegant, many solution (like the "modulus" comand to adjust numbers bigger than 1 i suppose) will be very usefull for my next Grasshopper challenges...
Anyway i tried it and i think it's all very clear thanks also to your explanations, the only thing i didn't get is why you test the majority of the parameters of the curve with "0.5" and then you dispatch them...
What do you want to achieve in that way?
Anyway the rest it's, in my opinion, well understood and very helpfull too!
Thanks again and again!!!
Kind regards,
Stefano///…
re are two new lines inside the code that let you deal this issue. However, the results for that type of geometry will be something like this:
I think the issue is because of some curves in crvList.. and to solve it you have to play around the start number as Michael told you.
Anyway, If you want, you can try the attached file where there is a method which should be fine for both geometries in your file: with holes or not.
The principle is to set the first number of the series component to half of height of floor (e.g. floor = 3 meters => start = 1.5 meters) and you can create a piece of workflow to do this operation automatically.
Best
Antonello…
hing not acceptable. To build up the final results I tried to summarize some steps and script them but I got stuck.
1) Voronoi subdivision
2) Voronoi vertices connected to the center
3) Tween curves between center and boundary
4) Control of U and V parameters
Point 4 is really important because it will allow me to control the strength of the springs in the two directions in kangaroo. Voronoi curve is going to be an anchor and the point is going to pull the mesh.
…
mmed triangular NURBS surface. However, please notice that the parametrization will be small in the area of the two coincident vertices.
I'm attaching a very simple example (Gh 0.6.0059)
I hope this is helpful,
- Giulio
________________
giulio@mcneel.com
McNeel Europe, Barcelona…