OFFSET CURVE of 1% length

Hi,
Can i offset a curve with 1% of its length automatically -little script- or another (without looking for the length in object data and calculate it)? Thanks

You could use Grasshopper! Measure your initial curve, calculate the desired percentage, and offset it. Then bake it! You could save that as a workflow and directly use it from Rhino.

1 Like

I think it 'll be possible with script because i need offset with 1% very often with dxf import file from proliner.With grasshopper it’s not as quick as a script. It’s always different dxf import with many differences. Thanks

Hello - here is a quick python that does what I think you want.

PctOffset.py (672 Bytes)

To use the Python script use RunPythonScript, or a macro:

_-RunPythonScript "Full path to py file inside double-quotes"

-Pascal

1 Like

it’s the same way with rhino for mac ?

That’s perfect !:+1:t2: Thank’s

1 Like

If you run it repeatedly at the same percentage on each output, you get a nice perspective-ish thing happening:


:grimacing:
-Pascal

1 Like

Nice !