Tagged 'csv txt excel read data value object create sphere'

Read data from csv txt

3 votes

Just simple script / code to read data from csv files exported from Excel and then create objects - (here: spheres)

How CSV should look:
Every planet in single line. Every value separated with "|" character.

for eg: (name|radius|x|y|z|sphere segments)


And so on.

If you need apply specific colors then add extra 3 numbers controlling rgb (egz |0|10|200)

Before run change file location in code or copy "SolarSystem.txt" file to C:\


Syndicate content