Python 3 package for illustrating crystallography
In crystallography an object is considered symmetrical if it exhibits the 3 opertions of symmetry.
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
from PyCrystallography.operation import *
fig = plt.figure()
ax = fig.add_subplot(111,projection='3d')
######################################
# which ever 3d model you want to load
inversion(ax)
######################################
plt.show()
def inversion(ax,h,w,d):
def reflection(ax,h,w,d):
requires PyCrystallography.stereographic_projection