Other

Examples

A simple grid motion example:

import pyShift
import math

g0=pyShift.cube(4)
alpha=45*(math.pi/180.)
p0=(0.0,0.0,0.0)
p1=(0.0,1.0,0.0)
trans=(0.0,0.0,0.5)

g1=pyShift.shift(g0,p0,p1,alpha,trans)

g1 is the result of the motion on g0.

Table Of Contents

Previous topic

Installation

This Page