V4 Javascript API Wish list

Next
 From:  Max Smirnov (SMIRNOV)
6926.1 
I think it will be better to start a separate thread for discussion of MoI Javascript API improvements :)

>> currently there is no script interface set up to allow scripts to access the individual edit points of a curve

Hi Michael!

Could you implement this interface in the future versions of MoI?
It will be very powerfull tool for scripting.
Something like this:

curve.getControlPointCount()
curve.getControlPoint(index)
curve.setControlPoint(index, newcoords)

and for surfaces:
surface.getUControlPointCount()
surface.getVControlPointCount()
surface.getControlPoint(U_index, V_index)
surface.setControlPoint(U_index, V_index, newcoords)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Max Smirnov (SMIRNOV)
6926.2 
- ConstructionLine factory
Inputs:
0 Point1 (type: Point)
1 Point2 (type: Point)

- Reading data from binary files
file = moi.filesystem.openFileStream( path, 'r' );
byteArray = file.readBinaryData(); or byteArray = file.readBinaryData(StartPos, EndPos);
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All