I am a highschool student working at a college's engineering department for the summer. I just began working in blender and have intermediate knowledge of python. Could anyone share a script they've made that can:
1) Read a text file of xyz coordinates into python.
2) Turn these points into some type of curve or path that an object can then follow to model the path the coordinates map out.
Like i said i don't have a great understanding of blender but if someone could write or give me a script that is able to do this it would help. Please explain in simple terms also.. Again I am not an expert.
The file has three points on each line, separated by commmas, and is pretty large. All the coordinates would need to be floats on account that they are decimals.
-4.934860e-06 , -1.380798e-06 , -1.504166e-05 ,
-1.359547e-05 , -4.301138e-06 , -4.403530e-05 ,
-3.727631e-05 , -1.307421e-05 , -1.287422e-04 ,
-7.177810e-05 , -2.724715e-05 , -2.643154e-04 ,
here are some of the data points when in the text file
now with the .csv they were put into an excel file
when copied and pasted they look like this:
-4.93E-06 -1.38E-06 -1.50E-05
csv.reader
doesn't expect the extra comma. $\endgroup$