Get outer lines of rebar curves

Hi,
I’m using a python code to create a 2d rebar from rebars ,
the code takes the center line of rebar curve ,
is there a way to take the outer line instead of center one?
image

1 Like

maybe offset the curve?

1 Like

that means i should check always what offset value should be accroding to rebar diameter

You can create a list that lists the diameters and use it as offset-distance. Otherwise there is not any method in API or I can not see it…

Hi ,
I tried ur suggestion , it works only on arcs , lines didnt got offset,
any idea about the reason?


Can you please try that and modify how you like?

what packages do you use>?

BIM4Struc.Productivity

1 Like