Grasshopper

algorithmic modeling for Rhino

Hi guys,

 

Sort of new to grasshopper. I have exported some building footprints from Arcmap to build a base model with grasshopper.

 

I imported the dwg with no problems, but when i try to add planar surfaces to these closed polylines and extrude them, i found the surfaces were all misplaced.

 

When i rotate the model these misplaced surfaces jump around like crazy, and the x y z axis in the lower left hand corner also jumps in a wierd way.

 

I have tried exporting several versions of dwg with no luck, but After some figuring out it seems like a projection issue with rhino because it is also very strange when i carry out the exact same procedure in rhino. Also tried parallel projection in rhino, it's a bit better, the faces don't jump as crazy, but it still does funny things (zigzaggy surface edge)!

 

Any idea would be hugely appreciated!

Views: 512

Attachments:

Replies to This Discussion

Hi there,

rhino often makes this, when geometry is very far from the origin point (0,0,0)... dwg file looks like there a 4 "clusters" of objects far from each other and from origin... that might be a problem...

... try moving the geometry closer to the origin point..

 

hope it will help

 

 

Dimitri

Hi Dimitri,

 

Thanks for the input, i have relocated the cplane to the middle point of the footprints, but still no luck... 

 

Cheers,

 

Matt

Hi there again,

I think relocaring the cplane will not solve the problem, I also tried it on my pc and it did not help... the only thing worked for me was moving the geometry manually with snapping and Move tool to point 0,0,0 of the scene (it is not the same as CPlane, I think)... just type "0" when the Move tool asks for "Point to move to"

 

 

Hope this will work...

 

 

Dimitri

- try to rescale model (to be as small as visible cplane grid) 

or

- export (from ACad) your drawing to PDF format (seems to be more predictible sometimes)

or

- before saving your dwg file join all lines to polylines ( command line : pline -> multiple ->select all --> join -> enter twice ). this will make your drawing much cleaner.  

 

 

"Also tried parallel projection in rhino, it's a bit better, the faces don't jump as crazy, but it still does funny things (zigzaggy surface edge)!" 

"zigzaggy" may be caused by some kind of drawing simplification - see your dwg saving properties. eventually regen your drawing before saving (hardly possible it may affect, but have a try)

Hi Mateusz,

 

Thanks for the suggestion, the pdf method made it work! you guys are very helpful, really appreciate it, this issue bugged me for a long time!

 

Cheers,

 

Matt

Hi guys,

 

sorry to bother again. another problem of the same sort arises. 

Mateusz suggested the PDF method to simplify the dwg file to correct the face misplace error i was having.

It worked when i tried to extrude 1 building footprint, but for some reason when i input all the building footprint for GH to extrude it only managed to display surfaces for several buildings, others are displayed as wire frame. It's makes no sense to me...

 

Any ideas guys?

 

Cheers,

 

Matt

only idea is 

- before saving your dwg file join all lines to polylines ( command line : pline -> multiple ->select all --> join -> enter twice ). this will make your drawing much cleaner.

 

hi guys,

 

It's working properly now after i clean up the overlapping line work, and move the lines to the origin.

Thanks for all the help!

 

Cheers,

 

Matt

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