how to generate square flat terrain?

Hi everyone,

Is it possible to generate simple geometrical terrain, like a flat square terrain,
using python script, but not loading it from an egg file?

I think it is related to using GeomVertexData,
am I correct?

Thank you.

This should be a simpler way to do it:

cm = CardMaker("plane")
cm.setFrame(0, 256, 0, 256) #set the size here

thanks a lot!