Hello everyone,

I have a small problem in the logic of my script. I want to split a line by distance in my script.

For example every 3 meters the curve, then every other 3 meters and so on).

The catch however, is the fact that these 2 numbers (3 & 3) are input values, so they can be whatever number i need. So 1 & 3 and 3 & 9 are also inputs which should work.

I was thinking about using a code block with something like this, but i couldn’t figure out how to use multiple distances:

Thanks in advance!

- Daan