Introduction
AMFG employs user-defined pricing formulas to power the customer-facing instant quoting tool and internal quoting. This article will explain how formulas work and provide example formulas.
These formulas are hosted in Settings → Quotation Forms → Write Formulas, and can be defined per technology.
AMFG will insert default formulas for several technologies when your app is created. Formulas apply to parts according to rules you set for each formula, such as specific machines or materials. Furthermore, post-processing services can have their own formulas to determine cost if applied to parts. You can review and adjust those formulas according to your desired quoting logic.
Pricing formulas in AMFG work per part (CAD model) - thus each formula is based on technical parameters (Volume, Surface Area, etc.) of the model, and is applied per quantity selected.
Example: If the customer uploads file.stl to the quoting portal and selects quantity = 10, the price will be calculated as 10*formula.
Formulas are a component of Quotation Forms. For more information on how to set up and modify your quotation forms, see here: Quotation Forms
For more information on settings and mathematical operations that can be used to set pricing, see here: Pricing Functions
In the Quotation Forms page, scroll to Write Formulas for detailed formula creation instructions. The Pricing Functions page includes many sophisticated mathematical operations that can be used in formulas.
FDM default formula
Volume in cm³ × Cost per cm³ of material (0.18)
plus
Surface Area in cm² x Cost per cm² coefficient (0.22)
multiplied by
Scaling Factor (0.06)
To copy and paste this formula into the editor, use this:
\left(\left(\frac{Volume}{1000}\times 0.18\right)+\left(\frac{SurfaceArea}{100}\times 0.22\right)\right)\times 0.06
SLS default formula
maximum of 4 or Volume in cm³ × Cost per cm³ of material (0.575)
plus
Bounding Box Volume in cm³ x coefficient (0.0325)
To copy and paste this formula into the editor, use this:
\max{4,\left(0.575\times \frac{Volume}{1000}\right)+\left(0.0325\times \frac{BoundingBoxVolume}{1000}\right)}
HP MJF default formula
Volume in cm³ × Cost per cm³ of material (0.2)
plus
Surface Area in cm² x Cost per cm² coefficient (0.015)
plus
Bounding Box Volume in cm³ x coefficient (0.01)
To copy and paste this formula into the editor, use this:
\left\{\frac{Volume}{1000}\times 0.2\right\}+\left\{\frac{SurfaceArea}{100}\times 0.015\right\}+\left\{\frac{BoundingBoxVolume}{1000}\times 0.01\right\}
SLA default formula
5
plus
Volume in cm³ × Cost per cm³ of material (0.8)
plus
Surface Area in cm²
multiplied by
0.1 if Surface Area in cm² is less or equal to 500, or 0.05 if Surface Area in cm² is greater than 500
To copy and paste this formula into the editor, use this:
5+\left\{\left\{\frac{Volume}{1000}\times 0.8\right\}+\left\{\frac{SurfaceArea}{100}\times \if{\frac{SurfaceArea}{100}\le 500}{0.1}{0.5}\right\}\right\}
Post Processing default formulas
These formulas are applied to post-processes that are included in the quote for a part.
Basic Finish is set to zero (0)
Bead Blasting equals Surface Area in cm² x Cost per cm² coefficient (0.25)
\frac{SurfaceArea}{100}\times 0.25
Detailed finish is set to 25
Testing
To test changes to formulas, refresh the front-end portal or internal quotation page.