Overview
The purpose of this python script is to generate a particle field in Maya in an established shape. Maya script creates a dome.
Algorithm
open a file for writing,
write the MEL commend particle,
generate a number of x,y,z positions,
if the position met a certain criteria it was used to define a particle,
write a ";" to terminate the "particle" command,
finally the file was closed.
The MEL file generated by the python script was "sourced" in and rendered in Maya.