Grasshopper

algorithmic modeling for Rhino

Hello guys.

I have a Srf on which  I've created a Hex pattern using LAN component. Now I want to offset the curves inwards accordingly to the normal of the Srf. but it looks as is the curves are not closed polylines. I've verified and each of the original cells are closed polylines.  Any suggestions
Thanks

cheers








Views: 294

Replies to This Discussion

Hi Claudio,

This will always happens when offsetting non-planar polylines. I would suggest you find the centroid of every cell and scale the closed polylines with a factor based on a function between the apothema of the hexagon and the required offset distance.

Cheers

Evert
Hi guys,

This is a good idea. Since you're probably dealing with distorted hexagons you'll need to compute an average of the six diffrent "apothemata" (distance from centroid to each segment)

You could also try a "3d offset" - see this post

Best,

JJ
Great guys. I'll try it and see what comes out of it

thank you all
Maybe try copying in the direction of the normal and lofting them?

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service