Hello All,
I need some help with how to add random spacing between random curve lengths (in this example following a racetrack shape).
I tried a few options but they removed the random curves.
Many thanks in advance.
Hello All,
I need some help with how to add random spacing between random curve lengths (in this example following a racetrack shape).
I tried a few options but they removed the random curves.
Many thanks in advance.
randomLength_randomGaps.gh (16.4 KB)
…and if you need to set a range for the curvelength and the gapzises:
randomLength_randomGaps_02.gh (25.6 KB)
Thank you Jakob for a simplified approach and fast response. Can I get your advise on how to make the settings less sensitive?
If I increase the settings you kindly provided the curves disappear and I need a great difference in length of curve and space between. I notice that the seed expression is likely driving that. I tried removing the equation and changing the decimal points. It removes the curves. Please can you advise on how to set this workflow you provided but make is more flexible = less sensitive. I was also planning to use it across 18 concentric curves so my next step is making it work across multiple curves. I attached is a starting point fo rthe cadence i am looking for but want a bigger difference in curve length and spacing. Many thanks in advance Jakob.
sorry, I do not understand. what value is not controlable to you?
but the expression in the seed input is needed, to make sure, that both seeds are different. you want them to be different since there is no real random …2 times the same does not look random.
randomLength_randomGaps_03.gh (16.5 KB)
Thank you Jakob, I have been trying it out, perhaps I need to mess around with the inputs you provided. Here is a screen grab of where I am at……to get more curves and gaps.
its a case of seeing what works - fitting to what I have above in the last image +/- this will need to change to give a clearer difference between each 18 concentric curve.
I take a look now ![]()
Thank you Jakob, it’s a great help and support. I will take some time to analysis your workflow and respond.
since we work with curve parameters -not with real length- the gaps and curves get bigger when the start curve we get gets longer… to avoid that we should relate that in the first place:
randomLength_randomGaps_05.gh (21.4 KB)
I have 2 further questions on your workflow.
Question 1
I need to offset and cap the resulting curves as per 2nd image. Can you advise what I need to change to facilitate that. I noticed in the workflow that the curves are joined again. I think its a curve start/end issue, right?
The 2nd image is my original workflow from the start of the thread.
How do you “avoid that we should relate that in the first place”? I don’t see what change you made in the flow.
I was going to suggest the Dash Pattern component might be easier to work with but DR has already covered it.
Check out this post:
rand_crv_seg_offset_00.gh (8.6 KB)
Thank you old_Taz! Much appreciated. I will check your suggestions.