Skip to main content Skip to footer
Home
User manuals

Main navigation

  • Home
  • Enterprise for Engineers
    • Program overview
      • Getting started
      • Product browser
      • Recent activity
      • Viewer tab
        • Product viewer
      • Specifications tab
        • Product Specifications viewer
        • Product documentation
        • Product buildup viewer
        • PCBA Components
        • Product sharing
      • Quotation
      • History
      • Shopping Cart
    • File menu
    • Show menu
      • Find product
      • View mode
    • Products menu
    • Operations menu
      • Import PCB
      • Panelize PCB
      • Create Stencil
      • Add Masks to PCB
      • Assembly Data Manager
      • Solder Pallet Designer
      • Depanelize PCB
      • Test Fixture
      • Test Fixture (legacy)
      • Connector chooser
      • Import 3D Mechanical Part
      • Order History
    • Configuration menu
      • Partner manager
      • User details
      • User manager
      • Options
      • Move ME to new PC
    • What's new
    • Release notes
  • Enterprise for Purchasers
    • Activity Overview
    • Product details
    • Search for product
    • Additional Operations
      • Partner manager
      • User profile
      • User manager
      • Options
  • Macaos Gallery
    • Product Browser
      • Product Explorer
      • Simple PCB Editor
      • Exporting product data to Gerber
      • Searching for products
      • MIF File history
      • Icon bar
      • Product info
    • Operations
      • Standard operations
        • Import PCB
        • Panelize PCB
        • Create Stencil
        • Add Masks to PCB
      • EMS version operations
        • Assembly Data Manager
        • Solder Pallet Designer
        • Depanelize PCB
        • Test Fixture
    • Technical Documentation
    • Configuration
    • Gallery PreCAM
      • Configuration options
      • Quotation module
        • Quotations
        • Calculated prices
        • Adjusting prices
        • Quotation
      • Quotation archive
        • Folders
      • Price Editor module
      • Price list editor
        • Price element editor
        • Selector editor
        • Curve editor
        • Price list wizard
      • Sales office settings
      • Holidays
      • About prices
        • Factory price
        • Retail price
        • How is a price calculated?
      • Reference
        • Price list
        • Price element
        • Curve function
        • Parameters
      • Example: Creating the Demo price list
        • Using the price list wizard
        • Refining the price list
        • Retail price
    • What's new
    • Release notes
  • Subsystem Manuals
    • Product editor Modules
      • Assembly Data Manager (ADM)
      • Assembly Masks
      • Depanelization
      • Import PCB
      • Mechanical Parts
      • Panelization
      • Solder Pallet
      • Solder Paste Stencils
      • SPRINT Test Fixtures
      • Test Fixtures (Legacy)
    • Product display modules
      • PCBA Components
      • Product Buildup Viewer
      • Product History
      • Product Specifications Viewer
      • Product Viewer
    • Other Modules
      • Connector Chooser
      • Order History
      • Partner Manager
      • Product sharing
      • Quotation
      • Search
      • Shopping Cart
      • User Details
      • User Manager
  • Additional info
    • Release notes
      • What's new in ME for Engineers
      • What's new in ME for Purchasers
      • What's new in Gallery
      • What's new in Convergence
      • ME for Engineers release notes
      • ME for Purchasers release notes
      • Gallery release notes
      • Convergence release notes
      • Perception release notes
    • Gerber file generation tips
      • Using KiCad
      • Using Eagle
      • Using CADint
      • From other systems
    • Performance Classes
    • Solder paste stencil ratios
    • Surface finishes
    • Via types
    • Panelization scripts
  • Contact
  • Back to Macaos website

Curve function

Breadcrumb

  • Home
  • Macaos Gallery
  • Gallery PreCAM
  • Reference
  • Curve function

A curve defines a function for calculating a price calculation value. It is made up of a series of segments. A segment defines the curve's result values (y-values) within a specified range of parameter values (x-values). In addition, a curve has a default value, which defines the curve's y-value for all x-values larger than the break point of the last segment.

The first segment applies for all x-values less than or equal to its break point. The remaining segments apply for all x-values larger than the break point of the preceding segment and less than or equal to its own break point. The curve's default value applies to all x-values larger than the break point of the last segment (or for all x-values if no segments are defined).

A segment has four parameters:

  • slope – the slope or decay rate of the segment
  • intercept – the magnitude of the segment
  • shape – specifies a linear or exponential segment
  • break – the largest x-value for the segment

Linear segmentscure parametersLinear segments

A linear segment is evaluated as follows:

y = x * slope + intercept

The intercept specifies the y-value when x=0.

 

The slope specifies how much the y-value changes as the x-value increases. A slope of zero means that the y-value is the same for any x-value within the range of the segment.

The pictures at the right show an example of an area curve using linear segments in a stairstep model. In this example the area price is $1.1/dm² for an order of up to 3m², $1.09/dm² for an order between 3m² and 10m², and so on. For orders >100m², the default value of $1.02/dm² is used.

Exponential curve parameters Exponential curve Exponential segments

An exponential segment is evaluated as follows:

y = intercept * xslope

The intercept specifies the y-value when x=1.0.

The slope specifies the decay rate. The slope should be negative for a decay. The larger (more negative) the slope magnitude, the steeper the decay. A slope of zero gives y=intercept for any x-value within the range of the segment. A slope of -1 gives y*x=intercept for any x-value within the range of the segment.

The pictures at the right show an example of an area curve using exponential decay segments. In this example, the break points are chosen to fall at the x-values where the two segments cross, in order to give a smooth overall curve.

Book traversal links for Curve function

  • ‹ Price element selector
  • Up
  • Parameters ›

Macaos Software AS
Sanddalsringen 5b
N-5225 Nesttun
Norway

Download gerber specification
ODB++ partner
IPC member

Footer menu

  • Contact
  • Privacy policy
Powered by Drupal

Copyright © 2025 Macaos Software AS - All rights reserved