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

Class Bolt3D

source code

object --+
         |
        Bolt3D

Spyder-generated class

module models3d

file /home/sjoerd/data/Spyder-devel/models3d/bolt.spy

Description

Sergio Moura's Bolt

Wiki

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

Validate block

>>>            
assert radius > 0
assert ident >= 0
assert ident < radius
assert divisions >= 3
assert loops >= 3
#prevent normal flipping 
assert step > 0                
>>>

Form block

>>>            
BLENDER
MATRIX axis
DEFAULT radius 1
MIN radius 0.01
MAX radius 10
DEFAULT divisions 8
MIN divisions 4
MAX divisions 100
DEFAULT step .2
MIN step 0.01
MAX step 10  
DEFAULT loops 5
MIN loops 3
MAX loops 100
DEFAULT ident 0.1
MIN ident 0.01
MAX ident 10               
>>>

Converters

Can be converted to:

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]
Float radius
Integer divisions
Float step
Integer loops
Float ident
Bool crease_inside = False
Bool crease_outside = False
Bool crease_cap = False
AxisSystem axis = AxisSystem()
Material material = "defaultmaterial"
Properties [hide private]

Inherited from object: __class__