BHoM / BHoM_Engine

Internal manipulation of the BHoM
GNU Lesser General Public License v3.0
26 stars 13 forks source link

Infinite loop on Split(Polyline, cuttingLines) #3270

Closed vietle-bh closed 6 months ago

vietle-bh commented 7 months ago

Description:

The prophecy has come true. My method managed to not run out of children 😅 https://github.com/BHoM/BHoM_Engine/blob/d13f40bb41726cb0b8ab3b4c809ac6819a8266a5/Geometry_Engine/Compute/Split.cs#L82

image

Steps to reproduce:

Expected behaviour:

Test file(s):

vietle-bh commented 7 months ago

Hi @FraserGreenroyd , do you know who created this method and therefore knows best how to break this infinite loop?

FraserGreenroyd commented 7 months ago

@vietle-bh this was made by @JohannaOlin1 and myself back in 2020/2021.

Can you upload some test files and we can take a look (or are you taking a look and just wanted to know who to ask for tips if needed?)? 😄

vietle-bh commented 7 months ago

Thanks @FraserGreenroyd , it would be great to have this handled by the experts 😉 I'll create the test file and share it here Asap.