Skip to Content

design_drawing

Draw a design

View as Markdown

A front elevation of a design as SVG, with overall and bay or unit dimensions in millimetres: one drawing for a storage run or a piece, one per wall for a kitchen. It is drawn from the same geometry the engine computed. Save the svg to a file or show it inline so the customer sees what they are getting. It is a picture for the conversation, not a workshop drawing.

Read only. Nothing is stored. Every answer carries say, the sentence an agent may pass to the customer.

Parameters

Prop

Type

Example

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "design_drawing",
    "arguments": {
      "design": {
        "kind": "storage",
        "design": {
          "schemaVersion": 1,
          "family": "straight-storage",
          "id": "storage-design",
          "name": "Wardrobe",
          "room": {
            "widthMm": 2400,
            "depthMm": 4000,
            "heightMm": 2500,
            "obstacles": []
          },
          "assembly": {
            "id": "wardrobe",
            "behavior": {
              "id": "hinged-storage",
              "version": 1
            },
            "context": "fitted",
            "anchor": "start",
            "position": {
              "x": 0,
              "y": 0,
              "z": 0
            },
            "rotationDeg": 0,
            "widthMm": 2400,
            "heightMm": 2300,
            "depthMm": 600,
            "bays": [
              {
                "id": "bay-1",
                "widthMm": 800,
                "locked": false,
                "minWidthMm": 400,
                "maxWidthMm": 1200,
                "doors": 2,
                "shelves": 1,
                "rail": true
              },
              {
                "id": "bay-2",
                "widthMm": 800,
                "locked": false,
                "minWidthMm": 400,
                "maxWidthMm": 1200,
                "doors": 2,
                "shelves": 4,
                "rail": false
              },
              {
                "id": "bay-3",
                "widthMm": 800,
                "locked": false,
                "minWidthMm": 400,
                "maxWidthMm": 1200,
                "doors": 2,
                "shelves": 1,
                "rail": true
              }
            ],
            "construction": {
              "panelThicknessMm": 18,
              "backThicknessMm": 9,
              "plinthHeightMm": 100,
              "sharedTop": true,
              "notes": []
            },
            "materials": {
              "body": {
                "id": "concept-body",
                "revision": "1"
              },
              "hardware": {
                "id": "concept-hinge",
                "revision": "1"
              },
              "back": {
                "id": "concept-back",
                "revision": "1"
              },
              "handle": {
                "id": "concept-handle",
                "revision": "1"
              }
            }
          }
        }
      }
    }
  }
}
Tool 12 of the ajusteur/v1 surface. This page is generated from the tool definition. Do not edit it by hand.

On this page