SourceForge.net Logo

pyext::shapes Namespace Reference


Functions

def Plane
 An infinite xy-plane at the origin, solid is down.
def Cylinder
 An infinite cylinder at the origin.
def Sphere
 A sphere at the origin.
def Union
 A union of objects.
def Intersection
 A intersection of objects.
def Difference
 Substract secondary objects from the primary object.
def Invert
 Turns objects inside-out.
def CappedCylinder
 A finite solid cylinder.
def Box
 A finite solid box.

Variables

list _shapes_remember = []

Function Documentation

def pyext::shapes::Box (   w = 1.0,
  d = 1.0,
  h = 1.0 
)

A finite solid box.

Parameters:
w width, length of the x-axis
d depth, length of the y-axis
h height, length of the z-axis

def pyext::shapes::CappedCylinder (   r = 0.5,
  h = 1.0 
)

A finite solid cylinder.

Parameters:
r radius of the cylinder
h hight of the cylinder

def pyext::shapes::Cylinder (   r = 0.5  ) 

An infinite cylinder at the origin.

Parameters:
r radius

def pyext::shapes::Difference (   shapes  ) 

Substract secondary objects from the primary object.

Parameters:
shapes The shapes to add

def pyext::shapes::Intersection (   shapes  ) 

A intersection of objects.

Parameters:
shapes The shapes to add

def pyext::shapes::Invert (   shapes  ) 

Turns objects inside-out.

Parameters:
shapes The shapes to add

def pyext::shapes::Plane (  ) 

An infinite xy-plane at the origin, solid is down.

def pyext::shapes::Sphere (   r = 0.5  ) 

A sphere at the origin.

Parameters:
r radius

def pyext::shapes::Union (   shapes  ) 

A union of objects.

Parameters:
shapes The shapes to add


Variable Documentation