Any idea why curve is not an object?
code:
var newcrv = crv.changeClosedCurveSeam( param );
if ( newcrv )
{
moi.geometryDatabase.removeObject( crv );
moi.geometryDatabase.addObject( newcrv );
}
debug(dump(newcrv));
createPerpendicular( newcrv );
var factory = moi.command.createFactory( 'separate' );
factory.setInput( 0, newcrv );
factory.commit();
curve = moi.geometryDatabase.getCreatedObjects;
debug(dump(curve));
newcrv is an object and createPerpendicular works fine, but separate does nothing.
>Len
|