Hi Pilou,
Look at the curves.js file for the geometry definitions.
...
// Curve
function Curve()
{
this.addInput("In","pointarray");
this.addOutput("Out","objectlist");
this.properties = { mode:["Curve", "Curve", "Interpcurve"], closed:["No", "No", "Yes"]};
}
...
// Polyline
function Polyline()
{
this.addInput("In","pointarray");
this.addOutput("Out","objectlist");
this.properties = {closed:["No", "No", "Yes"]};
}
...
Wayne
|