Quantcast
Channel: Grasshopper - McNeel Forum
Viewing all 39494 articles
Browse latest View live

Elliptical curve tangent curve


Gha Plugin Never try again

$
0
0

@huaxiamengqing1 wrote:

image
See pic above, if I select Never try again. It seems grasshopper block the gha path.
When I put a normal gha input the path with a same name. It also will be not load by grasshopper.
My question is that how can I make this block path name work well again?

Posts: 1

Participants: 1

Read full topic

Multiple rigid body collision on custom brep

$
0
0

@efuterfas wrote:

I am trying to drop a bunch of cubes onto a custom topography, such as I’ve set up in my script. I see in the Kangaroo examples there are examples of sphere collisions on custom breps and rigid body collisions on planes, but no rigid body collisions on custom breps, so I am having difficulty getting the rigid bodies to speak to both each other and the surface. Much thanks in advance for anyone that has any insight to correctly simulating this. multi rigid body solid point topography collision.gh (1.1 MB)

Posts: 1

Participants: 1

Read full topic

GH C# script serialization

$
0
0

@robertdamian.vochesc wrote:

Hi,
I usually use the serialization in Grasshopper C# Components through overriding the Write and Read methods and this works fine.
Is there a way to use serialization, using Read and Write (or equivalent) inside a C# script directly on Grasshoppes canvas?

Thanks in advance.

Posts: 1

Participants: 1

Read full topic

Can I temporarily save files in Grasshopper?

$
0
0

@raylee14 wrote:

Hi everyone,

I worked out some brep files with grasshopper, but i found that they are quite large. I would like to temporarily save them into a certain file with grasshopper so that i can call them out separately

Thanks in advance

Posts: 1

Participants: 1

Read full topic

Trim inclusion doesnt work

$
0
0

@estebanar1997 wrote:

Hello everyone,

I was trying to evaluate the points inside this surface but the trim inclusion throws all the booleans as false.
I tried to reparametrize all the inputs but nothing seems to work.
This was the link I was following at first.

Thanks in advance!!

Posts: 3

Participants: 2

Read full topic

Help In creation of a specific geometry

Retrieving values from unconnected parameters

$
0
0

@timonielsen wrote:

I want to read the name and value of all boolean toggles in a script and output it as a text file.
How do I retrieve the value of a component?
I have made an ugly hack using InstanceDescription, but can I retrieve the value in a better way?

I have the code:

private void RunScript(bool Run, ref object status)
{
List outputText = new List();
foreach(IGH_ActiveObject activeObject in GrasshopperDocument.ActiveObjects()){
if(activeObject.Name == “Boolean Toggle”){*
string str = activeObject.NickName.ToString() + " : " + activeObject.InstanceDescription.ToString();
outputText.Add(str);
}
}
status = outputText;
}

And get the output

myBooleanToggle : One locally defined value…
True

myOtherBooleanToggle : One locally defined value…
False

The output is want is:
myBooleanToggle : True
myOtherBooleanToggle : False

Posts: 2

Participants: 2

Read full topic


Sets question

How to solve the "Curve.CreateBooleanDifference" creating more unwanted curves?

$
0
0

@niyuxiangken wrote:

Hi guys
Here is my problem:I want to get the red boundaries among curves as the picture one display.But the results are red and orange ones.
Otherwise,if the number of ListCrvs increases,the operation time will be greatly extended.Is there anybody can solve the orange ones and decrease computing time?My codes are below.
Thanks.

  Curve[] Union_Crvs = Curve.CreateBooleanUnion(ListCrvs, 1.0);
  Curve[] Union_UnCrvs = Curve.CreateBooleanUnion(Union_Crvs, 1.0);
  Curve[] Dif_Crvs = Curve.CreateBooleanDifference(CrvBase, Union_UnCrvs, 1.0);
  A = Dif_Crvs;

Posts: 2

Participants: 2

Read full topic

Human component error

$
0
0

@haerans wrote:

Hi,

I added Human component into the component folder without realising it was already installed in Rhino6. It’s clashed somehow so I deleted one of them. Once I open my grasshopper file, it shows install message ‘unrecognised object’. I tried to install and restart Rhino again but human component is still not working. Is there any way that I can reset Rhino? I redownloaded Rhino but it still remains the previous set.

Thanks,
Best regards,
HERA

Posts: 5

Participants: 2

Read full topic

Light settings not sticking

$
0
0

@seltzdesign wrote:

I don’t know what we are doing wrong or if its just incredibly buggy, but we can’t for the live of us get lighting settings to stick.

I change the lights in the shapediver platform and see the preview. I even save it as a light scene.

Then I go to the embedded model and its back to the default.

Also what’s the point in saving light scenes, that I can only use for that model but not other models? Shouldn’t a light scene that I save be available for all my models?

Posts: 1

Participants: 1

Read full topic

Galapagos fitness landscape

$
0
0

@osuire wrote:

I set up an Galapagos optimization with 9 sliders.
Is it possible to display a meaningful fitness landscape with so many genes ?
I found no example of how to setup the fitness landscape component, even in a simple case…

Posts: 2

Participants: 2

Read full topic

F-Spline Grasshopper

$
0
0

@sanches.filipa wrote:

I made my thesis in a parametric design software dedicated to ships and I want to try to make the same model but in Grasshopper.

For that, I was wondering if there is any way to build a planar F-Spline curve…

Thanks

Posts: 6

Participants: 2

Read full topic

Karamba utilization results are higher than the OptiCroSec target utilization value

$
0
0

@katha_kral wrote:

Hi there.

I’ve been working on a rather large GH definition for a timber building for which I am using a custom material csv-file and custom trapezoid cross sections to represent the squared solid timber members. The model worked well when I specified the cross sections for each element group. The resulting utilization for shell and beam elements were well below 100%.

In a next step, I wanted to test if the structure could be optimized using the OptiCroSec component. This is now the part that is giving me a headache. I defined a range of cross sections for each element group that I fed into the OptiCroSec component and specified a “start cross section” that I fed into the Assemble Model component. Further, I limited the displacement and set the target max. utilization to 0.7 (70%). The OptiCroSec component is not returning any error and the resulting cross sections per element are the same or larger than the start values I defined. However, the utilization values are way above the target value of 70%, both in the Beam/ShellView component and the UtilizationOfElements component. There are larger cross sections available in the lists I defined.
What could be the cause for this? Any help would be greatly appreciated; I am attaching some screenshots for clarification.

Oh, and I am working with Karamba 1.3.2 for Rhino6. Thanks a lot!!


Posts: 1

Participants: 1

Read full topic


Render Sun Study

$
0
0

@7556 wrote:

Hi there,

I’m trying to write a gh/python script to render multiple sun settings (dates) of a scene for a sun study. Ideally I’d like to input my dates to render and then have gh and vray do the rest.

I found a very useful C# component to access the sun through gh (link) but I’m not very familiar with C#. with python, I’m not able to loop over my list of date inputs and update the sun before I render, because the python script only updates its output once it completed the whole python component.

My questions:

  1. Is it possible to update the python component output (date_out) in realtime, while looping over my list?
  2. Probably a better solution would be to access the Rhino sun directly through that same script. I tried sun.SetPosition(DT, float(LAT), float(LON)) but it always set the time to my system DateTime, I somehow never managed to use my input DateTime. (see screenshot. I don’t really understand the documentation…)
    What am I missing?

Any help is much appreciated, thanks!

M

Sun_test.gh (18.6 KB)

Posts: 2

Participants: 2

Read full topic

Point order and regrouping

$
0
0

@10719613 wrote:

Hi, I 've been wondering is there any simple solution to create a polyline from points with the same initial number. I wanted to create a pattern of lines with a gh script created by a list of points attached to the existing grid of arches. The problem is that I can generate this one by one with an item list but I can not use a series of numbers to create a complete pattern. I have tried Anemone to loop this command but not with great results.

Posts: 3

Participants: 2

Read full topic

Name of plugin

$
0
0

@Manoochehr_a wrote:

Hi, I am getting a warning when opening a GH file that asking for “Treesloth01” plugin. Could somebody please point me to this plugin? I could not find it by search.
image

Posts: 2

Participants: 2

Read full topic

How to add Kangaroo 1, if I already have Kangaroo 2 for Rhino 6 Mac?

$
0
0

@bb_yoda_1 wrote:

Hi guys!

I’m working with the Rhino 6 version and have the Kangaroo 2 built-in GH. I was wondering if it would be possible to install Kangaroo 1 so I’ll have both versions together? :thinking:

I went on this site, but «Kangaroo Physics 0.099» is not available for Mac.

The reason I want that, is because I’m trying to follow a tutorial and there is some components missing in the 2nd version. (ex. QuadDivide, SpringsFromMesh, Kangaroo Physics Engine…)

Thanks a lot for your help!

Posts: 2

Participants: 2

Read full topic

Different results on different computers

$
0
0

@clicli1996 wrote:

Hi everyone !
I have a problem with Grasshopper. Two weeks ago I had an assignment for a course, I had to modelize a Candela’s building only with Grasshopper, and by making a hyperbolic paraboloid. Today we received our grades and mine weren’t very good, so I sent an email to the teacher and after discussion, I realised that we see completely different things on our computers. In my file, there is nothing in orange and a shape appears and in hers, there are different things in orange and there is no shape. !
Could you help me find a solution ? I’m lost and I don’t know what could be the problem… I didn’t use rhino at all to modelize the building.
Please don’t judge the file, I know it isn’t optimized but we didn’t see list and tree yet.
Thank you
Paraboloide hyperbolico.gh (43.7 KB)

rhino

Posts: 4

Participants: 3

Read full topic

Viewing all 39494 articles
Browse latest View live