Skip to content
HALOWERK

Rohstoffwerk

material grain cut direction

Return piece-axis deviations from declared material grain modulo180 degrees.

POST https://material.halowerk.com/v1/material-grain-cut-direction

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
grain_degnumberYes
piece_axes_degarrayYes
max_deviation_degnumberYes
Show full input schema
{
  "type": "object",
  "properties": {
    "grain_deg": {
      "type": "number",
      "minimum": -3600,
      "maximum": 3600
    },
    "piece_axes_deg": {
      "type": "array",
      "items": {
        "type": "number",
        "minimum": -3600,
        "maximum": 3600
      },
      "maxItems": 100,
      "minItems": 1
    },
    "max_deviation_deg": {
      "type": "number",
      "minimum": 0,
      "maximum": 90
    }
  },
  "required": [
    "grain_deg",
    "piece_axes_deg",
    "max_deviation_deg"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "grain_deg": 0,
  "piece_axes_deg": [
    0,
    180,
    90,
    10
  ],
  "max_deviation_deg": 5
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub โ†’