algorithmic modeling for Rhino
Hey Guys,
I have a Problem. As you can see in the Rhino file, I have three surfaces which I want to evaluate in Grasshopper. I tried to join them with merge, Brep Join... in Grasshopper and also tried joining them in Rhino but GH is evaluating the single surfaces individually. Is there any solution to join them? so GH will evaluate as if its just one Surface. Hope this question will help other users too.
Best regards from Germany
Tags:
it will evaluate them as 3 as you noticed. Also it will evaluate the untrimmed version of your trimmed breps as you probably noticed already as well. What exactly is the goal. What are you trying to evaluate?
Thanks a lot for the Reply Joseph and Michael. Thx for the file Joseph that Looks very interesting. Im a beginner in GH an will figure out what your definition does. @Michael: im playing around with doing some hole structures on surfaces. I already wrote a definition that works pretty well on single surfaces. I tried it on that three surfaces and failed. However im still not happy with my definition. Im sure there are better ways to do it. You can see the definition and examples below.
Practicing with bigger holes results in fewer holes, smaller lists, faster 'Project' and 'SrfSplit' benchmarks. Ignore holes below a minimum size. Make sure algorithm works at low-res before dialing up to max-res. When projecting (or pulling) curves to a surface, hole shapes will stretch when the source curves and target surface(s) aren't on parallel planes, at "surface normal" to the axis for each hole.
Otherwise, in general, this is projecting or mapping from one frame of reference to another, or in this case, to three target frames of reference (curved surfaces), each covering just a small region of the source pattern.
Wait, did you try a curved "rectangular" surface as the source 'Srf' with your code? That might work well. Standby... check this out; I joined the 'Untrim' surfaces, selected edges to get rails and sections for 'Sweep2'. A single surface, which I internalized as a 'Srf' param and used as input for your code. Interesting! Still need to trim and 'Pull' the holes...
Thank you. Im will take a look on your Definition today and try to understand what it does. I didnt try a rectangular surface yet. To avoid stretching the holes i just projected the spiral lines and circles and took the intersection Points for the Center and the normals from the source surface. I believed the hole shapes wont stretch that way.
Rebuilding the three surfaces into a single surface might be a complete distraction, not worth the effort. The rebuilt surface I created with 'Sweep2' is slightly different from the original three pieces, and there are practical reasons for using multiple pieces, in some cases.
Attached file has several internalized surfaces, trimmed and untrimmed, 'Pulled Crvs' and 'Holed Triangle Srf'.
GH has MergeFaces but not the one we really want "_MergeSrf". One option if they really need it in gh is the lunchbox plugin has a component for launching any rhino command in gh. Or just do that part in rhino.
I wouldn't say it is mainly for pattern creation. I use gh daily for tasks that I definitely would not want to do manually and rarely is it for patterns. However, I do agree it is not for everything and surface modelling (for the most part) is def one of those cases. For me gh / coding is to defeat repetitive processes and calculations. Generally, I ask my self 3 questions before jumping into gh / script. 1.Will this take longer to script than do manually? 2. If so, will I need to do this same task many times in the future(then maybe is worth investing the time in the script.) 3.How many cases are there to worry about and is covering those cases worth the time to script.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by