I want to create line segments in Paraview. The format of my input data for each line segment is as: x0,y0,z0,x1,y1,z1,width I have tried using "Line" command like:
for i in range(600):
l = Line(Point1=(uniform(0,100),uniform(0,100),0),Point2=(uniform(0,100),uniform(0,100),0))
But, I can't find a way to specify the width to each line segment. Your help will be much appreciated. Best Regards, Hamid Rajabi.
The Line object does not know about the
width
. It is only a list of connected points. Thewidth
is a parameter of the representation. You can try something like that: