Module Spyder :: Class Object3D
[hide private]
[frames] | no frames]

Class Object3D

source code

object --+
         |
        Object3D

Spyder-generated class

module tarantula

file /home/sjoerd/Spyder-devel/tarantula/Tarantula.spy

Description

Self-contained class for 3D object (mesh) data

Every face contains indices that point to a vertex in "vertices"

If a material other than "defaultmaterial" is used,

it must be elsewhere defined and show()'ed as a NewMaterial

Edge specification is fully optional

Wiki

http://www.spyderware.nl/wiki/classes/Object3D

Validate block

>>>            
if lighting != None: assert lighting in ("smooth", "flat")               
>>>

Form block

>>>            
OPTION lighting "smooth", "flat"               
>>>

Converters

Can be converted to:

Can be converted from:

Registered methods:

Instance Methods [hide private]

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]
 
three_dimensional() source code
Instance Variables [hide private]
VertexArray vertices = []
Face3DArray faces = []
Material material = "defaultmaterial"
AxisSystem axis = AxisSystem()
Edge3DArray edges = []
String lighting = "flat"
Properties [hide private]

Inherited from object: __class__