Grasshopper

algorithmic modeling for Rhino

Trying solving a sinusoidal surface with karamba

Hi,

I´m generating a sinusoidal surface, like a skin building. Over it will be passable for pedestrians, and under it will generate public space with shadow.
I generate a sinusoidal rectangle. Then, I project de curve that define my ground program, and cut the surface. Then, I project the curve that represents the pedestrians way.
Then, I want to find with galapagos the final wave form that will make my way as aright as possible, so i use as a genoma de displacement in z of generating surface curves, and as a fitnes the displacement between highest and lowest points of the way respect xy plane, but, how can I combine this genoma, making the way (spinal column) as aright as possible, but also, giving the rest of skin (wings) maximum movement?
Also,
I have a problem solving the structure of my shell and I don't know why. I think is a problem searching for the closest points to the ground (computing the angle between normals and ground) but I'm not sure. I don't know what is wrong in the definition.

Thank you very much!

 

Views: 724

Attachments:

Replies to This Discussion

Hi Graffesia,

The Galapagos fitness function you are using consists of calculating the Euclidean distance between the highest point and the lowest point. This means that it's also taking into account the horizontal distance between the points. I think what you want to do is find out the difference between the Z components of each point.

Also, using Galapagos you want each iteration to be as fast as possible. See if you can get the highest lowest points on a previous step before trimming, projecting curves, generating surfaces and so on.

The problem with your Karamba definition is that all of the support points are culled out. The logic you are using to select possible supports is to check if their corresponding mesh normals are more or less pointing downwards, but all of the normals of your mesh are more or less pointing upwards. You can fix this by just changing the -1 value connected to the Unit Z component to a +1.

Thank you!!!

I solved some problems you related me. 

Now I have on new problem with the anchor points to calculate the estructure

they should be the intersection between the geodesics curves and the support surfaces (drawed) 

But these points don't work,

could you help me finding why?

Attachments:

Hi,

The main problem is that you have each anchor point placed in a different branch, you have to flatten them into a list. Karamba will run once for each branch, meaning you end up with many analysis with only one anchor point in each.

Another issue is that you already have the anchor points in the cull pattern component shown bellow, you don't need any additional intersections.

thank you Vicente!

hi, I'm still having problems with the structure,
I applied the points that were already selected as you told me
I added the imposed loads. I have tried to add the wind but has not left me.
I changed the wood material
problems:
units have a problem, because everything is in dm and now I do not know how to climb all 10 without the shape of the surface, etc are crushed; keep everything the same but passing yards to make it consistent with Karamba.
And the same problem I had, I applied flatten but still giving error; it is a problem with the zero element of the list (number zero support) but I could not remove it or do not know nor cull index nor list item or anything ...
See if you can help me do not know why it is proving so difficult ..

Attachments:

Hi,

The load input doesn't seem to be flattened, you have to flatten it. When installing Karamba you can choose whether to use metric or imperial units. If it's in imperial uninstall and reinstall it. Make sure when installing it to choose metric/SI units.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service