3D Scientific Visualization with Blender®: ch7: Python ...

We can then read in the specified data with the following short Python script. import bpy import bmesh import csv ’’’Read in the data according to the defined list of fields Remove the final header if needed. Define the table as an empty list ’’’ fields = [’Name’, ’X’, ’Y’, ’Z’] csvin = csv.reader(open(f)) data=[row for row in csvin] header=data.pop(0) table ... ................
................