Skip to content
HALOWERK

File Formats and Conversion

hpgl plot time estimate

HP-GL plotting time estimates drawing, repositioning and pen-transition seconds from supplied constant speeds. Use it when an agent needs estimating machine time before sending a plot job.

POST https://format.halowerk.com/v1/hpgl-plot-time-estimate

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
hpglstringYes
draw_speednumberYes
travel_speednumberYes
transition_msnumberYes
Show full input schema
{
  "type": "object",
  "properties": {
    "hpgl": {
      "type": "string",
      "maxLength": 24000,
      "minLength": 1
    },
    "draw_speed": {
      "type": "number",
      "minimum": 0.01,
      "maximum": 10000
    },
    "travel_speed": {
      "type": "number",
      "minimum": 0.01,
      "maximum": 10000
    },
    "transition_ms": {
      "type": "number",
      "minimum": 0,
      "maximum": 10000
    }
  },
  "required": [
    "hpgl",
    "draw_speed",
    "travel_speed",
    "transition_ms"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "hpgl": "IN;SP1;PA;PU0,0;PD400,0,400,400,0,400,0,0;PU;SP2;PU0,200;PD400,200;PU;",
  "draw_speed": 40,
  "travel_speed": 80,
  "transition_ms": 100
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "draw_s": {
          "type": "number"
        },
        "travel_s": {
          "type": "number"
        },
        "pen_s": {
          "type": "number"
        },
        "total_s": {
          "type": "number"
        }
      },
      "required": [
        "draw_s",
        "travel_s",
        "pen_s",
        "total_s"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’