ArrayCrv roadlike issue

Hello,

I’m having an issue with ArrayCrv. When I use it roadlike top (or other roadlike) it doesn’t seem to work. I found a solution but it’s for Rhino for Windows : Arraycrv roadlike problem

Here is my file : ArrayCrv roadlike issue.3dm (3.1 MB)

Any clue or a script for mac ?

Hi Geoffroy - I’ll see if I can get you a python version - hold on a bit…

@GeoffroyJ -see if this works for you -

ArrayCrvFlat.py (2.0 KB)

To use the Python script use RunPythonScript or a macro:
`_-RunPythonScript “Full path to py file inside double-quotes”

Let me know if I messed it up…

-Pascal

Hello,

I tried but unfortunately it’s not working. I have an error message saying :

Exception Occured
Message: expected Plane, got Vector3d

Traceback:
line 66, in ArrayCrvFlat
line 75 in

:frowning:

Hmm - let me check…
It looks like this might be a V5 -vs V6 thing, I wrote this in V6, and the function may have changed. I’ll see if I can tune it up for both.
I found another bug that will need some attention - when the path curve doubles back on itself the angles are incorrect…

@GeoffroyJ - I updated the script above so it should run now - let me know.

-Pascal

It works ! Thanks a lot ! :smiley: