Howto create a bezier curve in polygon from control-script

Find and share HowTos to various installations / configurations!
3 posts • Page 1 of 1
michel.eijgermans
Posts:46
Joined: Mon Aug 08, 2011 11:50 am

Howto create a bezier curve in polygon from control-script

Post by michel.eijgermans »

Hello Forum,

I would like to draw my own shape ( for example google style Tabs ) from Polygons by using a bezier curve. The reason for this is that i don't have to worry that much on how the arc is drawn.
If i look at the 'xml' file of the shape i see that a bezier curve has two types of 'point' properties in the 'pointarray'

- x y
- i

With the 'points' property of shape in script-code the "location" points can be set.

Q: Which property do i need to use to define the "CurveIdx" point from script-code?

Hope someone can help me.
Best regards,
Michel Eijgermans.

mkoller
Posts:741
Joined: Fri Sep 17, 2010 9:03 am

Re: Howto create a bezier curve in polygon from control-script

Post by mkoller »

Currently you can't. It's not implemented

michel.eijgermans
Posts:46
Joined: Mon Aug 08, 2011 11:50 am

Re: Howto create a bezier curve in polygon from control-script

Post by michel.eijgermans »

Hi Martin,
Thanks for the answer.

It would be a nice addition to a polygon-shape to have a property 'curveIndexes' just like the 'points' which returns or sets a dyn_int with index-numbers.
Can this be added to a roadmap?

Best regards,
Michel.

3 posts • Page 1 of 1