"Name Error: There is no variable named glRasterPos2&qu


(ZoltarX) #1

Hi Python experts.

I am trying to run the “Grinder” script which creates mechanical gears in Blender.

I am getting the above error which seems to be caused by the part of the script which defines the copyright notice and title on the GUI dialogue box included below.

glRasterPos2(50,70)
Text("The GRINDER)
glRasterPos2(10,100)
Text("Copyright (C) Jonathan Merritt, 1999.")

I take it glRasterPos2 has been replaced with a new function or something.

I have Python 1.5.2-35 which comes with Redhat 7.2.

Any help gratefully received! (I am really keen to start playing with this :o )

Regards,
ApplicatioNZ


(ZoltarX) #2

For some reason the quotation mark at the end of my message subject turned out weird.

The error message was:

Name Error: There is no variable named glRasterPos2

Again, any suggestions welcome.


(Schlops) #3

Heyho!

Change that to glRasterPos2d


(beatabix) #4

AND download python2.0.1 from www.python.org as thats the version that blender uses.

BEAT


(ZoltarX) #5

Thanks for that guys, problem solved.
:slight_smile: