It looks like your definition might hit the outputs limit with some parameter combinations. Make sure you manage your data tree to stay within the limits, more in this Documentation article.
thank you for the quick response - I did previously study limitation regarding outputs, but went through it again twice.
I am almost sure this is not the problem.
In fact, the geometry passed to the viewer (via ‘preview on’ of the relevant component) is one single polyline (which is heavy -made up of several thousand small segments- by necessity). If my understanding is correct, it should count as one single file part.
Let me try to better explain what is happening:
The geometry passed to the viewer is ‘correct’ - in fact, the ‘faulty polyline’ (see first screenshot) is both visualized in the viewer AND reflected in the downloaded output (i.e. a text file including all the coordinates of the polyline vertex)
What is ‘weird’ is that the very first part of the ‘faulty polyline’, should be culled by ‘cull pattern’ component at the very beginning of my definition (see definition screenshot).
The model behavior is quite weird too: either it loads funny, and then acts funny only on certain parameters configurations, OR it loads correctly and then acts correctly on all parameter configuration I could randomly try within 10 minutes.
Hopefully the picture is now clear, let me know what you think.
Thank you Pavol, I checked the posts.
I was already aware of those list order issues within grasshopper.
In fact, I am performing a geometry check that culls all the objects on the wrong side of the plane.
What I do not understand is why it fails - and only sometimes!
I am trying with the minimal definition, but I am unable to replicate the problem in anyway.
In fact - I have been using the same exact logic across 10+ models to cull or dispatch curves located on different sides of a plane. Only the model I linked above has been faulty.
I am starting to think re-uploading the model may fix it -and i need to update some other part of the definition anyway- but it would be interesting to understand where the problem comes from.
@matteo.b thank you for your detailed response. I couldn’t replicate the issue with your files and at this point, I don’t have any answer what went wrong in your case but our dev team will investigate further. Let us know if you experience any unexpected behaviour.