When trying to set the .co
property of a curve's SplinePoints
I noticed that it has 4 coordinates, x, y, z and an unknown coordinate. What is this 4th coordinate of SplinePoint
s?
curve = bpy.data.curves.new("test, type="CURVE")
curve.dimensions = '3D'
curve.resolution_u = 2
curve.bevel_depth = 0.01
line = curve.splines.new('POLY')
line.points.add(2)
line.points[0].co = o + [plot._scale[0], 0, 0]
ValueError: bpy_struct: item.attr = val: sequences of dimension 0 should contain 4 items, not 3