Grasshopper

algorithmic modeling for Rhino

Hey guys,

I have been experimenting actually and still pretty new to GH so please guide me.

The above is the surface I created in Rhino. What I am trying to achieve is some kind of an automated code in GH that will help me create a pattern on the above surafce and other similar surfaces.

Now, I tried something and have achieved  the following,

As you can see, there is a hole in the surface but the pattern flows over it. 

What I want to achieve is,

As seen above,  the green highlights the single surface that I want to create. The hole has a scaled boundary and so does the rest of the surface giving the entire model a good visal appeal I think. The scaled boundaries and the pattern are woven together to form one single surface, to which a thickness can be added.  

My question is I do not know how to achieve the above, anyone has any suggestions please help? 

Thank You

Views: 3125

Attachments:

Replies to This Discussion

Hey,

I used that thnaks, now trying to achive this,

I have used the information that you have given me and well trying to achive something like what you see above with the surface that I have attached. 

Its a simple question but does not seem to be working for me

Thank You so much

Attachments:

Part of the problem is the 'SubSrf', which ignores the hole.  This approach uses 'Pull' to the original surface, then 'SrfSplit (split surface)', ignoring certain pieces...  But as you can see, there are irregularities around the hole.  You'll have to examine them to see how/why each case failed.

Attachments:

Oh, look!  The irregularities were caused by 'Pull', which wasn't necessary:

Attachments:

'SrfSplit' results can be "normalized" by sorting them, allowing tiny fragments to be ignored and consistently selecting either the center (white) or edge (blue) surfaces.  'Area' is EXTREMELY SLOW, though; 9.7 seconds in this case!  So instead, I sorted by the length of their joined edges:

P.S.  Don't need the 'Join' to add up edge lengths:

Attachments:

Extruding center (blue) and edge (gold) surfaces separately using surface normal vector at centers.

Note the cleavage at the tops.  Need a different method to "thicken" the surfaces without gaps...

Surface internalized, no need for Rhino file.

Attachments:

Wow seems like you have gone through a lot of work. Please give me sometime to go through this information and by anychance achieve a thickness around the ring and the boundary like the image below?

Thanks man, this is great great help

I didn't do much, just used the curves and surfaces you gave me.

As to a border for that hole, what do you propose?  If you add the border inside the hole, it gets smaller...  If you keep the hole size and add the border "outside" of it, the hexagonal curves will be need to be clipped.  It gets complicated.

I would not want to make the hole smaller but if the boundary can be created outword that would be nice. I am just going through your code, I am fairly new and still learning so please bear with me if I ask too many questions.

Thank You

Here is some code (white/yellow groups) to scale the hole edge outward and 'Pull' it back to the surface.  The two curves are then extruded, shown as yellow surfaces.

But that's just a beginning toward making it a "solid" (Closed Brep) and resolving the intersections with the hexagonal curves/surfaces.

P.S.  That 'Patch' surface, hidden in the preview but used for its area center and surface normal, is beautiful!

Attachments:

Hey,

I had a look at your code and I think I dont understand most as I am still learning. I will keep going through it over and over to learn. Most of the logic that you have applied I trying to understand but I dont seem to. Is it too much to ask if you could label what each section is doing and why you choose this particular method?

Thank You so much

that's just a beginning toward making it a "solid" (Closed Brep)

This code in the green group ("cap solid") uses the edges of the extruded surfaces (around the hole) to 'Loft' capping surfaces.  'Join (Brep Join)' seals all four surfaces into a solid "Closed Brep".

However!  Unresolved intersections with white and blue surfaces are very clear.  As is the effect of extrude on a large diameter hole in a curved surface.

Unwanted "thickening" effects from all these surfaces being extruded on center normal vectors leave this path strewn with rough edges and obstacles, doomed to failure.

Go back!  Find a better way to thicken, from the curves on the original surface...

Attachments:

Just wanted to ask one thing as I still trying to sort out your code haha, forgive me, are the gaps inbetween intentional?

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