Structure

The stackups that you create using this program will be arranged according to the above figure.  A Stacks object is created like this:

>>> stks = Stacks(title='The main title I give for all of my stackups')

Note that the name “stks” will be used throughout the documentation to represent an object created via the Stacks class.  (You can any other name for your stackups.)

Create a several, empty Stack objects in stks:

>>> stks.append(title='A title for a stack')

>>> stks.append(title='A title for a second stack')

>>> stks.append(title='A title for yet another stack')

Start adding Stackunit objects to the first stack:

>>> stks[1].append(3.015, .015, 'mypartNum', 'A descrip. of the dimension')

3.015 is the dimension, .015 is the +/- tolerance, and the rest is self explanatory.  If you are even vaguely familiar with Python, you’ll notice that the above commands are like those of Python’s “list” object.  In other words, this program is designed to behave in a very pythonic manner.   This program then will be very easy to pick up on for someone that knows Python.  For someone unfamiliar with Python, you will only need to use the basic, bare, functionality of Python.

Here is a listing of the three stacks thus far:

>>> stks

The main title I give for all of my stackups

[1] A title for a stack
r  i  σ  j    d      dt     pn & n
1  1  6  ↦ 3.015 ± 0.015  mypartNum, A descrip. of the dimension
------------------------------------------------------------
3.015 ± 0.015  [3.000, 3.030]  100% possible

[2] A title for a second stack

[3] A title for yet another stack

There is a tutorial for this program.  It will walk you through the methodology of creating stackups and how, when using this program, you can efficiently create them.