# Drawing lines

Hello,

i have a simple noob question.
How can i draw lines in Panda3d ?

i don’t mean displaying models in wireframe, i mean just draw a line between two (x, y, z) points.

I didn’t find it in the manual nor in the samples.

Any help is welcomed.

Check out the LineSegs class:
panda3d.org/apiref.php?page=LineSegs

Or the LineNodePath class, which is maybe a bit harder to use:
panda3d.org/apiref.php?page=LineNodePath

Search the forums for either LineSegs or LineNodePath and you’ll find examples of their use.

Click my sig.

Thank to both of you, that’s exactly what i needed.