0
$\begingroup$

I need to visualize a large group (say 200, 300) of cylinders from coordinates stored in a text file. One cylinder per line, defined by X1,Y1,Z1 and X2,Y2,Z2 (start and end), and by a diameter.

Is it possible just to import this TXT file and visualize all cylinders?

$\endgroup$
5
  • $\begingroup$ If you should still have questions how to implement this, i wrote a script which does this, which i will supply if you still need it. However the previous commenter has already given sufficient resources so it should be relatively easy to implement this yourself. $\endgroup$ – Robert Roth Jul 4 '19 at 16:43
  • $\begingroup$ This might also be useful for getting the rotations right: docs.blender.org/api/blender_python_api_2_70_release/… $\endgroup$ – Robert Roth Jul 4 '19 at 16:52
  • $\begingroup$ answers like the first one made me quit this program. thanks anyway. $\endgroup$ – Nelson Jul 4 '19 at 21:21
  • $\begingroup$ I like blender and i think you might like blender also if you give it some patience and i understand your initial frustration with trying too much in one time at the first contact with blender. Therefore in order to help you get familiar with blender, i posted my pyhon code for this in the "duplicate" question. You can copy it into the editor window of blender and run it. Put your .txt at the location of blender.exe. I believe providing code makes sense here, because no solution was given there how to achieve the desired rotations. I hope you have not given up and will still see this comment. $\endgroup$ – Robert Roth Jul 7 '19 at 15:11

Browse other questions tagged or ask your own question.