lander
(CAD CAM CNC)
June 13, 2024, 9:25am
1
I’d like to learn how to fillet the edges of the intersections of a solid union.
most I can reveal sry
I appreciate any input, cheers
I’d imagine I’d have to ‘deconstruct’ something and then figure out how to set the edges from a list or something
I’m interested in learning how to do something like this for the ‘intersection edges’ of solid union:
You could do something like this - finding the new edges of the unioned solid which don’t correspond to edges from the separate parts:
filletintersection.gh (14.3 KB)
4 Likes
Can’t be bothered to post a file?
Asking questions and getting answers is what this forum is all about. Although people are generally very helpful, there are things you can do to improve your chances of getting good and quick answers. Below you will find some suggestions, but don’t think of them as rules and especially don’t think of them as guarantees.
1. Choose a descriptive title for your post
Don’t title your question Help! or I have a problem or Deadline tonight!, but actually describe the problem you are having.
2. Be s…
2 Likes
lander
(CAD CAM CNC)
June 13, 2024, 7:29pm
4
I hear ya, I could probably create a special file in due time. Unfortunately, I’m dealing with some proprietary stuff at the moment.
I’ll definitely do what I can. Bear with me. I like that link
CAD CAM CNC:
Bear with me.
Did you mean beer with me?
2 Likes
lander
(CAD CAM CNC)
June 13, 2024, 7:52pm
6
haha, maybe now that you got me thinking of that, it must’ve been subconscious at the time
I made a sample, I hope it shall suffice @Joseph_Oster You’re right I should have shared a sample earlier.
piping_fillet_sample.gh (16.0 KB)
I still need to study @DanielPiker 's post file though.
Ok this is really cool. I’m still trying to understand deconstruction, lists, and the culling part, but I’ll give this a try.
finally putting some energy into this but totally lost:
filletintersection_from danielP_ emod.gh (25.0 KB)
too bad this thread doesn’t have the answer:
Hey,
I need to retrieve a specific edge from deconstruct brep. But as I marked the edges up with their list positions, using the dot component, I noticed that their numbers/positions scrambled when I edited the rhino input geometry.
So I wonder what the logic is behind the deconstruct brep component, and if I can get consistent lists out of them.
Thanks!
Pelle
yet another dead end:
What is the rule when deconstructing breps?
What is the order in which the faces/vertices/edges are indexed inside the list?
Can I rely that on similar looking objects the order is the same?
– or the order is based on the global coordinate system?
– the local coordinate system?
Thanks in advance.
this plan not really working out, yet:
[Deconstruct Brep] – Edges → [Sort List] – Sorted Edges → [List Item] – Selected Edge → [Fillet Edge]
…
Filter Intersection Edges:
To specifically target the edges at the intersection, you may need to compare the edges of the original solids and the union. Edges present in the union but not in the original solids are the intersection edges.
still cant figure out how to filter the correct intersections:
taking break bbl…
imma feed this to AI n’ see what happens:
filletintersection_sample_test.gh (19.7 KB)
almost got it:
similar, but still not seeing solution:
Hi guys,
I am trying to fillet an edge on a closed Brep (see pic). For some reason the ‘Fillet Edge’ component is failing and I can’t figure out why - it seems like quite a straight forward fillet. Please see the GH file here:
Fillet_issue.gh (20.0 KB)
[Fillet Edge Failing]
[script pic]
I have tried doing it manually in Rhino and i get the fillet I want, although it does not leave it as 1 solid body. I also need to be able to do the fillet parametrically in GH, so doing it manually is not…
1 Like
maje90
(Riccardo Majewski)
June 14, 2024, 9:34am
7
As other said, Deconstruct Brep component will give you edges curves with the same order as the Fillet Edge component expect them.
fillet pipes.gh (18.2 KB)
2 Likes
maje90
(Riccardo Majewski)
June 14, 2024, 11:20am
8
Alternative via C#, a small script to get indexes of naked, C0, C1 and non-manifold edges.
fillet pipes 2.gh (13.0 KB)
3 Likes
lander
(CAD CAM CNC)
June 14, 2024, 4:22pm
9
1 Like
lander
(CAD CAM CNC)
June 14, 2024, 4:41pm
10
I’ve been learning more about this during my times studying the ways to isolate those edges of interest.
But I get lost in the curve property components…
k now imma study maje90’s bbl
This part I’m struggling to understand:
looks like maybe just a particular way to filter out the other edges…
now I’m really curious what magic is inside this thing right here:
I mean this is basically a solution but I don’t understand it
I might have to make a new thread calling for other solutions that are more simple
seems similar to:
Daniel Piker:
But my brain not understanding why to use ‘closest point’ ‘midpoint’ etc…
gotta eat brunch bbl
1 Like
maje90
(Riccardo Majewski)
June 14, 2024, 5:32pm
11
yeah, it do “diagonal reference” (so intersect each element of the list of pipes with other elements, like a list of “1,2,3” it does “1-2,1-3,2-1,2-3,3-1,3-1” …)
And with that ^ we have a list of all intersection curves.
Now, making a mid point for any edge of our boolean union solid, if a point of those have is in contact with any of the curves, it have to be of and intersection edge born in the boolean union.
Tricky, but might be reliable enough.
My other c# solution instead simply count the amount of connected faces to every edge.
If an edge have only 1 adjacent face > naked edge
if it have 2 adjacent faces, check for local normal deviation, if low, G1, otherwise is G0
if the edge have more than 2 adjacent faces, it’s non-manifold.
Now, this c# doesn’t know if any G0 edge existed before the boolean union step, so it might fillet too much stuff.
The c# solution will try to fillet ALL G0 edges of a brep.
Also, important mention: your shape is lucky. We all know Rhino fillets, in your case there are many fillets ending to a zero singular point.
It works because it probably start from good planar curves… but I would bet against it if used with 3d curves that intersect (tangent pipes)…
1 Like
BTH
June 14, 2024, 6:45pm
12
Using native components, I got this far:
piping_fillet_sample_BTH.gh (24.2 KB)
It relies on Grasshopper’s Fillet Edge component which isn’t the greatest but works for the example.
There are some useful brep edge components which help in isolating edges, only recently found them and playing around with them:
Convex Edges
Brep Topology
1 Like
lander
(CAD CAM CNC)
June 14, 2024, 7:48pm
13
BTH:
There are some useful brep edge components which help in isolating edges, only recently found them and playing around with them:
Convex Edges
Brep Topology
That’s very interesting. I like this more simple approach. I’m not sure why the preview wont show the edges though.
But I’ll be playing around with this, thank you
doesn’t seem to work on the smaller one though:
Having some good success with this one.
Looks like it adds some srf edges where I wouldn’t expect but it works so can’t complain
I’m using 0.25" radius fillet on smaller pipe set.
beautiful fillets thanks @maje90
going to run with this n’ see how far it takes me
dude this is amazing, it’s like adding srf edges to make fillets fit perfectly . I’m not even sure how Rhino would do this manually.
this example you can see the starting crvs purposely don’t touch but the fillet works very well:
it’s magic
1 Like