Before you start with the G-code make sure have done the following
- If you have all the parts to create the machine.
- You have assembled the parts.
The first file you'll want is G-code setup files
These files will let you calibrate the pumps and machine using a few processes requiring measurements.
Instructions on how to use the files can be found at the wiki Calibration and testing
After you go through all these steps and have the values then you're ready to create the gcode custom to your setup.
You want to have these 3 values available.
- Units / ML
- Output bucket size - We do everything in ML, but if in gallons just multiply by 3785.41.
- The mixing containers full size.
Determine which of the following you are going to use to generate your Mixing G-code.
You want to determine if you're wanting to maximize the size of the batch or limit it.
- If you are maximizing it then you want to constraint this to the output bucket size. Each batch completely fills up the pigment solution bucket.
- Another option is to just create smaller batches in which case you will wish to constrain by the input ingredients.[Make sure output bucket is large enough]
- The third option is to not use constraints and just read the value directly from the form. No values are shifted. Again - check for overflow
If your containers are all the same then you will need to never use more than the input ingredients that might overflow the pigment solution bucket. We recommend just using the constraints based on the output bucket. This will give you the most pigment per run.
Once you have determined the appropriate values for the above list of variables - then use this page to generate your custome G-code Generate G-code operation files