Hi everybody
I have some problems to create close breps from curves in Grasshopper
ERORR SOLID caps holes.gh (262.2 KB)
I will be glad of any help
Only two pairs of your curves are planar.
What units did you use to create the curves and do you have a base surface on which these curves have been created?
You might be able to create closed breps in a horizontal plane and then morph them.
Hello Martin!
Thanks for the answer!
I dont know how to morph these breps to surface.
can you show me this mechanic?
example.gh (97.7 KB)
thanks in advance
These are not the same curves as your first post. In this example.gh, you move planar curves from far away to somewhat near the origin, though it’s a little hard to tell because the curves and vector are internalized inside the Move component. They extrude and cap just fine.
Oh wait, two of your curves are invalid. Filtered them out
Separately, you loft four curves to create an overly complex brep (instead of a surface, which is weird?) somewhere above the extruded and capped curves.
I moved the capped extrusions to this non planar brep but did not orient or morph them to conform to it, which is more complex. Which do you want, orient or morph?
extrude_move_2023Mar14a.gh (94.5 KB)
Thank you for answer.
But I need a little different
In your answer, only the centroid points belong to the surface and in result we see a step between solids.
To solve my problem, I need to project curves on a plane (2D) onto a surface (where all projected points belong to the surface), then shift by vector Z by 1 meter and get surface between curves. In the end we need to close Open Breps to get close Breps.
This is the ultimate goal I’m trying to get.
P.S. I didn’t understand what is morph method
I mentioned that, hence my question: “Which do you want, orient or morph?” Apparently you want some kind of morph, though you don’t understand the morph method.
Not necessarily. You don’t know how to solve your problem, that’s why you are here. Your target “surface” isn’t a single surface so morph will fail where your shapes cross a face boundary. To be blunt, your target surface is a mess! Using only the outside two of your four curves still fails to produce a single surface because they have 484 control points between them!!!
You probably don’t understand how this makes it much more difficult?
Each of the four curves has 241 or 242 control points.
I used Orient to a plane created from Brep CP. Again, 58 of your 60 curves that define the extrusions are already planar, the problem is the poor quality target “surface”.
extrude_move_2023Mar14c.gh (100.0 KB)
Simplified. It should be noted that all of the 60 curves collide with each other, so the extrusions do too.
extrude_move_2023Mar15a.gh (96.9 KB)