3DS to EGG?

hey, im pretty new to panda an python in general but im not at all new to modeling and i have some .3ds models i wish to use in panda 3d but iv searched all over and haven’t found a straight answer on converting models to .egg format. the manual said blender could be used but i dont see that on the list of exportable formats, i found a direct exporter but for some reason some of my models get inverted faces when i convert to .x so 3ds is my preferred format at the moment. please help


Install this script like any other blender script, then just export from blender to .egg using this script.

thank you

Oh, by the way, on my laptop the script had trouble importing some modules, so I had to edit the script a bit to bypass that. Not sure if anyone else has had to before.

it made blender a tad slow but it worked, now im really just confused on he scripting part. like the order, model paths, running the file, ect.

I tryed to use it but pyPE says it dosent know how to handle the format?
My script is

from direct.showbase.ShowBase import ShowBase
class MyApp(ShowBase):
    def __init__(self):
         self.environ = self.loader.loadModel(c:/panda-1.1.7/models/mech.egg)
         self.environ.setScale(0.25, 0.25, 0.25)
         self.environ.setPos(0, 5, 0)
app = MyApp()

but it dosent load when i try to run the app

I believe you don’t have to specify that it is an egg file.
self.environ.reparentTo(self.render) is how it is spelled.
I don’t use pype, so I don’t know about that.

The file name should be a string (i.e. you must specify it with quotes ) e.g.

self.loader.loadModel( 'path/to/model/mech.egg' )

And… c:/Panda-1.1.7? Which version are you using?