Creando una carretera ahora en plugins

Les dejo este código como ejemplo :
Plugin simpleObject Carretera.

Name:Carretera.

Classid:#(0x27f6fed4, 0x61c91d2).

Category:Crear una carretera.
(.

Parameters main ut:params.
(tLength type:#float default:32 ui:spn_length.
width type:#float default:100 ui:spn_width.

Thickness type:#float default:2 ui:spn_thickness t tlengthSegs type:#integer default:3 ui:spn_lengthSegs.
widthSegs type:#integer default:10 ui:spn_widthSegs.
).

Rollout params Parámetros Carretera.
(tgroup Dimensiones t(.

Spinner spn_Length Length range:[0,100000,0].

Spinner spn_width Width range:[0,100000,0].

Spinner spn_thickness Thickness range:[0.01,100000,1] t) tgroup Segmentos t(.

Spinner spn_lengthSegs Length Segs range:[1,10,1] type:#integer.

Spinner spn_widthSegs Width Segs range:[1,10,1] type:#integer .
).
).

On buildMesh do.
(.

BottomBox = createInstance box width:width length:Length height:thickness lengthSegs:lengthSegs widthSegs:widthSegs.

Mesh = bottomBox.mesh.
).

Tol create.
(.

On mousePoint click do.
(.

Case click of.
(.
1: nodeTM.translation = gridPoint.
2: #estop.
).
).

On mouseMove click do.
(.

Case click of.
(.
—2: (width = abs gridDist.x*2; Length = abs gridDist, y*2).
).
).
).
)— end plugins.

Pero, trato de hacer ahora con un Shape.

Como el ejemplo que tengo en el tema: script Crear una Carretera y mi etiqueta es 3dsmx5 hasta 3dsmax12.

Y espero su ayuda Gracias. Un Saludo De Chapolín. ^.^d.

Ver más sobre el tema y los comentarios en el foro