Grasshopper

algorithmic modeling for Rhino

Hi guys,

I m doing  a wall with the same type of brick but i´d like to rotate them randomly by 90 deg.

I am thinking rotation with a type of  π constrain .

I would be rotation limited to -90 ° 90° 180° 270°

Any idea in order to start, please.

Anjy

Views: 5380

Replies to This Discussion

It's a bit late for me to jump in here, but I was away from the office these past 10 days. I've put my thoughts up on a blog post so as to not fracture this support thread even more.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

"If you are going to work in practice then unfortunately GH becomes utterly useless as it can only really be used in the initial stages of design. Its merely a toy for students and hobbyists."


Do your research.  I know plenty of practices adopting this 'toy' and many projects going into construction with Grasshopper being an essential tool throughout all phases (a few of them being my own...) 

I assure you.  GH is not a toy... as with any tool it is as powerful as you want it to be.

Good luck with your marketing campaign.  I am sure your approach will encourage many downloads.

-Nathan

Hello Everyone,

Just woke up , took me a while to catch up :)

Thank you for your answers. I understand the frustation when asked a silly question.

Sorry Mat , I realize now that my "retort" lead us a GC vs GH discussions.

Anyhow this is interresting , I ve been using both, the whole architecture studio  has been working with Bentley for 15 years. I have been working with GH for 2 years , rhino 5 years now, and I am often stuck but It allowed me to achieve things (working with Prikzer architects) that could be done so quiclky and so easily.

I think GH is much more intuitive. And what call ayg011 a toy for student is now building real Tower and Stadium.

--------------------------------

I still trying to figure out how to rotate randomly with a right angle my bricks :)

Sorry I´ll make sure to think twice next time.

1. Make a list of random numbers using integers from 1 to 4.

2. Multiply the list by 90.

3. ???

4. PROFIT

Hope it helps.

Also this thread has sparked my interest in GC so I think I'm gonna check it out. I hope there are lolcats in GC. Would GC be too hard for me if I have no knowledge of programming?

The latest version has a graphical interface which is almost identical to what you are familiar with in GH (this also happens to be the free version). There are three methods of using GC:

1. model based (selecting what you want to create from a library and entering key details, like coordinatesystem, length etc)

2. Script based (the most powerful as it gives unlimited access to the full repertoire of functions offered by GC), and I am self taught using the included tutorials in the help tab (and I had no knowledge of programming, other then maybe using 'IF' statements in Excel!). Its very well organised for beginners and you can easily be producing your own scripts within a week and doing more advanced stuff in 3months.

3. Visual based - just like GH, linking wires to components in a workspace

The overarching advantage is that rather then being restricted to recycling other peoples code that might not be suitable for your project requirements, instead you are the programmer meaning you can tailor anything you can think of to match perfectly your design intent.

As it is a CAD platform (unlike GH) technical drawings, 3d models etc can be extracted and/or setup such that you effectively have your own BIM model. The benefits in terms of costs / quality / efficiency / design exploration are hard to ignore.

Can you post some screen shots

The fact that it is easy enough for someone with no programming knowledge is very compelling, thanks for the explaination.

Nice one Ching! Sorry Andre-Jacques I think I get the question now (see attached):

Guys how about opening a new GH vs. GC thread?

Attachments:

You forgot radians :P

Thank you Ching and Arthur,

works perfectly !

-----------------------

Attachments:

I see you already got your answer so this is for Danny ;)

I employed a little GH magic to reduce solution overhead, as I mentioned in the reply to ayg011.

btw.: there's some things I don't get about the whole concept of snapping to the angles you give, beacuse

1) -90° actually is 270°

2) for a symmetric brick 90° is 270° and 0° is 180°

so you actually end up with brick rotated 90° or 0°...

And the second thing: If you stack bricks in a wall, you normally interleave bricks. stacking two rows of 4 bricks all at 90°, the top row will drop between the bricks at the bottom row (that is assuming german standard brick format approx 1:2).

Attachments:

And to join the discussion :

@ayg011 - so you want to be a programmer or an architect ?

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service