Trim curves with curves

Hi All,
I have many curves are beams need trim with curves are column as below.
Anyone have suggest please help me?

File: TRIM CURVES.3dm (165.2 KB)

Check this out.

TrimWithRegions_re.gh (27.6 KB)

2 Likes

Thank HS_Kim very much

Hi guys,
Sorry to come back to such a far topic. Why are all the curves not trimed ? Does anyone have an explanation?
Thanks in advance

another example


TrimWithRegions_re_00.gh (10.7 KB)

Hi,

Simple there is no intersection of curves. There in that area so not trimmed.

PS: I’m saying this by seeing the image wait lemme see the file too.

Cheers,
BVR

TrimWithRegions re

TrimWithRegions_re.gh (25.5 KB)

Yeah what i said above is right. I just moved the curve in negative X direction to create intersection. So now it get trimmed. See the screenshot and file you will understand.

3 Likes

Thanks @ajarindia for your response but the problem happens when the curves are coincidents
look at the second example posted with different variations. The problem arises when the curves are on top of each other. sometimes it cuts others not

Hi everyone,
I found the source of the problem. It has to do with curves direction.
Attached the corrected file

TrimWithRegions_re_01.gh (10.7 KB)

I hope I have already seen a tutorial how to fix this automatically

Tell me both have same plane na

all curves are in the same plane

Explain more newbie here

I’m also in the grasshopper learning phase, and I’m looking for answers.
What I did to correct the problem is to reverse the direction of the curves which are problematic (in rhino not in grasshopper). I did it manually.
what is desirable is to do it automatically and I’m still looking for how to do it :slightly_smiling_face:

Ok fazloullah

There is a solution in this topic https://discourse.mcneel.com/t/seprate-inside-lines/104074

For the second example


TrimWithRegions_re_00_Solution.gh (31.7 KB)

But for the first case it does not quite succeed. Maybe the starting geometry is responsible


TrimWithRegions_re_.gh (26.0 KB)

Thanks to @HS_Kim

1 Like