Vector kit command

print.tiling

Print Tiling Pages

Answers the print pages as Show Print Tiling draws them, with their positions and numbers.

Kit
Vector 0.1.0 (.kvector)
Changes the document
no

Parameters

Parameters of print.tiling
NameTypeRequiredDescription
settingsobjectnoover the document's

Call through vector_run

text
vector_run {
  "path": "<file>.kvector",
  "steps": [{ "command": "print.tiling" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: settings. vector_run answers the step’s result in completed[i].result.

Result

Result of print.tiling
NameTypeRequiredDescription
pagesobject[]no
tileOriginobjectno
Result JSON Schema
json
{
  "additionalProperties": true,
  "properties": {
    "pages": {
      "items": {
        "additionalProperties": true,
        "properties": {
          "artboard": {
            "type": "number"
          },
          "imageable": {
            "type": "array"
          },
          "number": {
            "type": "number"
          },
          "page": {
            "type": "array"
          },
          "printed": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "tileOrigin": {
      "additionalProperties": true,
      "properties": {
        "placed": {
          "type": "boolean"
        },
        "x": {
          "type": "number"
        },
        "y": {
          "type": "number"
        }
      },
      "type": "object"
    }
  },
  "type": "object"
}

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "settings": {
      "additionalProperties": true,
      "description": "over the document's",
      "type": "object"
    }
  },
  "returns": "Show Print Tiling draws them, from print.preview's layout → {tileOrigin, pages: [{artboard (0-based; null with artboards ignored), number (1-based tile across then down, or page), printed (tiles outside tileRange don't), page: [x0, y0, x1, y1] (the paper's edge), imageable: [x0, y0, x1, y1] (inside the unprintable margin)}] (document space; every tile when tiling, else each page once)}",
  "type": "object"
}

Generated from the command list of @kition/[email protected] and the kit itself (vector_commands through @kition/[email protected], built from KitionAI/kition-vector@7cf908f). As data: commands.jsonl.