# File Input data types

I'm a newb and don't know much about 3D printers. In visual basic I can create vector data of 3d objects,that can be loaded into a binary or text file. Can files like this be used with a 3d printer?

### Example:

This is a very simplified example of how the code generates 3d vector data.

``ju jv jw determine the size and dimensions of the object ru, rv, rw are the vector lenghts ``

The incrementors used to increase the size of the object to the max ju jv jw vaules:

``ru=ru+1 rv=rv+1 rw=rw+1 ``

'the angles can also be incremented to for curves and spirials'

the angles of the vectors

``angle u =0 angle v =45 angle w = 90 ``

### Simplified code:

``For k1 = 0 To Ju ru=ru+1 xu = (ru * Sin(angle u)) yu = (ru * Cos(angle u)) For k2 = 0 To Jv rv=rv+1 xv = (rv * Sin(angle v)) yv = (rv * Cos(angle v)) For k3 = 0 To Jw rw=rw+1 xw = (rw * Sin(angle w)) yw = (rw * Cos(angle w)) Output xu, yu, xv, yv, xw, yw ..to file in the order produced on this line Next k3 : next k2: next k1 ``

Can a 3d printer read this output as is and use it to make a 3d object?

``A--B Here is a "square" with vertices ABCD. A--B A--B A | | Splitting it from A to C produces two |\ | -> \ | |\ | | triangles, ABC and CDA. This can be | \| -> \| | \ D--C done as part of the output by simply D--C C D--C writing two triangles for every square in the input. ``