How to generate curves using parts

Hi, I’m looking to create a script that could sort of generate curves. If anyone has ever used the plugin Archimedes Two, you should understand what I am looking for.

Just a nice curve as shown in the image:
image

So, would anyone know how I can use scripts to do this?
It’s for a road generation system, but I don’t know how I would do the positioning for each part in the curve.

If you know how to help, I’m listening!

How do you want to define the shape of the curve?
Circular with a radius, bezier, etc?
There’s countless ways to define a curve that could suit your needs

I’m talking about a simple radius curve, like the image. Where it is a continuous change in angle.

Is part overlap an issue for you? Also how will you be actually defining the curve
Because even a circle can have many ways

  • Defined by a center point and radius
  • Defined by a starting point and angle
  • Defined by a start and ending point, then the number of degrees the road turns along that interval
  • Defined by a start and end point with the length of the road from start to end
  • Etc

Which of these (or something else) would be most suited to your problem?