Reply To: Creating a curve using text files

Home Forums Making things with IanniX Creating a curve using text files Reply To: Creating a curve using text files

#5510
Gill
Guest

Thank you, I followed your instructions, and the text file shows me the relevant code which is great, but how can I input my list of coordinates without hand typing them all?

The code for the curve points in the text file I created from copying the curve looks like this:

var points1 = [
{x: 0, y: 0, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
{x: 0, y: 0.0164766, z: 0, c1x: 0, c1y: 0.00329532, c1z: 0, c2x: -0.00329532, c2y: -0.0131812, c2z: 0}, etc…

But my textfiles are just lists of numbers. Is there a way to input this in the correct syntax?

Thanks again,

Gill


© IanniX Association

What is IanniX? | Download | Showcase | Forums | Research | About