View Single Post
  #1  
Old 02-20-2009, 07:50 AM
durf durf is offline
Member
 
Join Date: Feb 2009
Posts: 61
2D or 3D array help?

Hello,

I want to create an array in a 3D enviroment. I have a wrl file that I want to be positioned on a flat surface multiple times. Will call the wrl file "blocks".

I would imagine that I would need some for loop to construct this but I am a little unaware of how python does this. I am use to Java and C++ creations of 2D arrays so I would imagine that the 3D array would have an x, y and z for positioning.

I want to construct these blocks 40 x 30 side by side on the same plane. I do not want to overlap them either. Could I please get some examples on how to construct this. Or is there a user friendly website that I could be pointed to. I am new to python so my knowledge base is limited to how python works.

Thanks Much
Reply With Quote