Drawing lines with LineSeg

Unless you’re using a very old version, you should be using. ‘from panda3d.core import *’ not the pandac.
If you don’t like star imports you can import the modules by name (but I fail to see how this would make things better ).