Skip to content

Materials and Stock

Aaron edited this page Mar 21, 2024 · 4 revisions

Onshape Cutlist Generator uses material data added in Onshape to differentiate between different types of wood boards/panels.

Assigning Materials

Warning

If a part doesn't have a material assigned to it, it will appear in Onshape Cutlist Generator as "Unknown".

To assign a material to a part, right click the part in Onshape and select "Assign Material". The material name must match up with the stock listed in the "Stock" tab of Onshape Cutlist Generator.

If a part does not have a material, or stock with a matching thickness of the part is not found, a warning will be reported under the "Warnings" tab.

Adding Stock

I was lazy, and didn't write a nice editor for managing stock used in the design. Instead, it's just a YAML text input.

Each item is a board/panel of a specific material, accepting an array of widths, lengths, and thicknesses. Any combinations of those three dimensions are considered available and could be used in the cutlist.

For example, this represents a 1x2 and 1x3 red oak boards of varying length.

- material: Oak, Red
  thickness: ["0.75in"]
  width: ["1.5in", "2.5in"]
  length: ["2ft", "3ft", "6ft", "8ft"]

Note

The material name is the same as what is shown in Onshape.

Note

The dimensions are the real dimensions, so instead of a 1x4, you would enter 0.75" x 3.5".

In general, you should only define stock you can purchase.

Clone this wiki locally