Kition
cadSite & Landscape

Office Car Park Layout

A 24-bay car park with two rows of 2.5 × 5 m bays from rectangular arrays, two hatched accessible bays, aisle arrows, trees and dimensions.

Office Car Park Layout — CAD sample rendered by Kition

Drawn in metres. One bay line per row is copied twelve times with arrayrect at the 2.5 m bay width; the accessible bays are hatched on a blue layer; the one-way aisle arrows are polylines whose middle segment tapers from 0.8 m to a point. Corner trees are circles turned into revision clouds.

Steps

75 commands
showcase.yaml76 lines
steps:
  - {"command": "grid", "params": {"on": false}}
  - {"command": "lwdisplay", "params": {"on": true}}
  - {"command": "limits", "params": {"min": [-4, -9], "max": [42, 18]}}
  - {"command": "linetype", "params": {"load": "DASHED"}}
  - {"command": "dimstyle", "params": {"name": "Car park", "DIMTXT": 0.6, "DIMASZ": 0.45, "DIMEXO": 0.25, "DIMEXE": 0.35, "DIMGAP": 0.15, "DIMDEC": 1}, "as": "dimstyle"}
  - {"command": "layer.new", "params": {"name": "Kerb", "color": "7", "lineweight": "0.50"}}
  - {"command": "layer.new", "params": {"name": "Markings", "color": "7", "lineweight": "0.25"}}
  - {"command": "layer.new", "params": {"name": "Accessible", "color": "5", "lineweight": "0.25"}}
  - {"command": "layer.new", "params": {"name": "Planting", "color": "3"}}
  - {"command": "layer.new", "params": {"name": "Arrows", "color": "8"}}
  - {"command": "layer.new", "params": {"name": "Text", "color": "7"}}
  - {"command": "layer.new", "params": {"name": "Dims", "color": "1"}}
  - {"command": "ltscale", "params": {"scale": 0.08}}
  - {"command": "layer.current", "params": {"name": "Kerb"}}
  - {"command": "rectang", "params": {"p1": [0, 0], "p2": [38.0, 16.0]}, "as": "site"}
  - {"command": "layer.current", "params": {"name": "Markings"}}
  - {"command": "line", "params": {"points": [[4.0, 0], [4.0, 5.0]]}, "as": "s1"}
  - {"command": "arrayrect", "params": {"handles": ["$s1.handles.0"], "rows": 1, "cols": 13, "colSpacing": 2.5, "rowSpacing": 1}}
  - {"command": "line", "params": {"points": [[4.0, 11.0], [4.0, 16.0]]}, "as": "s2"}
  - {"command": "arrayrect", "params": {"handles": ["$s2.handles.0"], "rows": 1, "cols": 13, "colSpacing": 2.5, "rowSpacing": 1}}
  - {"command": "line", "params": {"points": [[4.0, 5.0], [34.0, 5.0]]}}
  - {"command": "line", "params": {"points": [[4.0, 11.0], [34.0, 11.0]]}}
  - {"command": "layer.current", "params": {"name": "Accessible"}}
  - {"command": "rectang", "params": {"p1": [4.15, 11.15], "p2": [6.35, 15.85]}, "as": "acc0"}
  - {"command": "rectang", "params": {"p1": [6.65, 11.15], "p2": [8.85, 15.85]}, "as": "acc1"}
  - {"command": "hatch", "params": {"handles": ["$acc0.handle", "$acc1.handle"], "pattern": "ANSI37", "scale": 0.24}}
  - {"command": "layer.current", "params": {"name": "Text"}}
  - {"command": "text", "params": {"at": [5.25, 4.1], "text": "1", "height": 0.6, "justify": "MC"}}
  - {"command": "text", "params": {"at": [5.25, 11.9], "text": "13", "height": 0.6, "justify": "MC"}}
  - {"command": "text", "params": {"at": [7.75, 4.1], "text": "2", "height": 0.6, "justify": "MC"}}
  - {"command": "text", "params": {"at": [7.75, 11.9], "text": "14", "height": 0.6, "justify": "MC"}}
  - {"command": "text", "params": {"at": [10.25, 4.1], "text": "3", "height": 0.6, "justify": "MC"}}
  - {"command": "text", "params": {"at": [10.25, 11.9], "text": "15", "height": 0.6, "justify": "MC"}}
  - {"command": "text", "params": {"at": [12.75, 4.1], "text": "4", "height": 0.6, "justify": "MC"}}
  - {"command": "text", "params": {"at": [12.75, 11.9], "text": "16", "height": 0.6, "justify": "MC"}}
  - {"command": "text", "params": {"at": [15.25, 4.1], "text": "5", "height": 0.6, "justify": "MC"}}
  - {"command": "text", "params": {"at": [15.25, 11.9], "text": "17", "height": 0.6, "justify": "MC"}}
  - {"command": "text", "params": {"at": [17.75, 4.1], "text": "6", "height": 0.6, "justify": "MC"}}
  - {"command": "text", "params": {"at": [17.75, 11.9], "text": "18", "height": 0.6, "justify": "MC"}}
  - {"command": "text", "params": {"at": [20.25, 4.1], "text": "7", "height": 0.6, "justify": "MC"}}
  - {"command": "text", "params": {"at": [20.25, 11.9], "text": "19", "height": 0.6, "justify": "MC"}}
  - {"command": "text", "params": {"at": [22.75, 4.1], "text": "8", "height": 0.6, "justify": "MC"}}
  - {"command": "text", "params": {"at": [22.75, 11.9], "text": "20", "height": 0.6, "justify": "MC"}}
  - {"command": "text", "params": {"at": [25.25, 4.1], "text": "9", "height": 0.6, "justify": "MC"}}
  - {"command": "text", "params": {"at": [25.25, 11.9], "text": "21", "height": 0.6, "justify": "MC"}}
  - {"command": "text", "params": {"at": [27.75, 4.1], "text": "10", "height": 0.6, "justify": "MC"}}
  - {"command": "text", "params": {"at": [27.75, 11.9], "text": "22", "height": 0.6, "justify": "MC"}}
  - {"command": "text", "params": {"at": [30.25, 4.1], "text": "11", "height": 0.6, "justify": "MC"}}
  - {"command": "text", "params": {"at": [30.25, 11.9], "text": "23", "height": 0.6, "justify": "MC"}}
  - {"command": "text", "params": {"at": [32.75, 4.1], "text": "12", "height": 0.6, "justify": "MC"}}
  - {"command": "text", "params": {"at": [32.75, 11.9], "text": "24", "height": 0.6, "justify": "MC"}}
  - {"command": "layer.current", "params": {"name": "Planting"}}
  - {"command": "circle", "params": {"center": [1.6, 2.5], "radius": 1.2}, "as": "tr12"}
  - {"command": "revcloud", "params": {"handle": "$tr12.handle", "arcLength": 0.9}}
  - {"command": "circle", "params": {"center": [1.6, 13.5], "radius": 1.2}, "as": "tr113"}
  - {"command": "revcloud", "params": {"handle": "$tr113.handle", "arcLength": 0.9}}
  - {"command": "circle", "params": {"center": [36.4, 2.5], "radius": 1.2}, "as": "tr362"}
  - {"command": "revcloud", "params": {"handle": "$tr362.handle", "arcLength": 0.9}}
  - {"command": "circle", "params": {"center": [36.4, 13.5], "radius": 1.2}, "as": "tr3613"}
  - {"command": "revcloud", "params": {"handle": "$tr3613.handle", "arcLength": 0.9}}
  - {"command": "layer.current", "params": {"name": "Arrows"}}
  - {"command": "pline", "params": {"points": [{"p": [10, 9.2], "startWidth": 0.25, "endWidth": 0.25}, {"p": [12.2, 9.2], "startWidth": 0.9, "endWidth": 0}, {"p": [13.4, 9.2]}]}}
  - {"command": "pline", "params": {"points": [{"p": [28, 6.8], "startWidth": 0.25, "endWidth": 0.25}, {"p": [25.8, 6.8], "startWidth": 0.9, "endWidth": 0}, {"p": [24.6, 6.8]}]}}
  - {"command": "layer.current", "params": {"name": "Kerb"}}
  - {"command": "line", "params": {"points": [[38.0, 5.6], [42.0, 5.6]]}}
  - {"command": "line", "params": {"points": [[38.0, 10.4], [42.0, 10.4]]}}
  - {"command": "layer.current", "params": {"name": "Text"}}
  - {"command": "text", "params": {"at": [40.2, 8.0], "text": "ENTRY / EXIT", "height": 0.7, "justify": "MC", "rotation": 90}}
  - {"command": "text", "params": {"at": [0, -7.6], "text": "STAFF CAR PARK  -  24 BAYS, 2 ACCESSIBLE  -  1:200", "height": 1.0}}
  - {"command": "layer.current", "params": {"name": "Dims"}}
  - {"command": "dimlinear", "params": {"p1": [4.0, 0], "p2": [6.5, 0], "at": [5.25, -1.6]}, "as": "bay"}
  - {"command": "dimlinear", "params": {"p1": [0, 0], "p2": [38.0, 0], "at": [19.0, -3.6]}, "as": "total"}
  - {"command": "dimlinear", "params": {"p1": [0, 0], "p2": [0, 5.0], "at": [-2, 2.5]}, "as": "depth"}
  - {"command": "dimcontinue", "params": {"points": [[0, 11.0], [0, 16.0]]}}
  - {"command": "drawing.inspect", "params": {}, "as": "di"}

Checks

4 checks on every build
  • inspect.layers = {"any":{"name":"Accessible"}}
  • results.di.counts = {"Line":30,"Hatch":1,"Dimension":5}
  • Diagnostics: none, the kit's own check finds nothing wrong
  • The saved document opens again, and its thumbnail matches thumb.png within the render tolerance

Related

More CAD samples
cadSite & Landscape

Garden House Site Plan

A 1:200 site plan with the plot boundary, a hatched house, drive and terrace, trees drawn as revision clouds, contours, a lawn, north arrow and scale bar.

47 objects; 10 layers
cadFloor Plans

Open Office Desk Layout

A 1:100 office furniture plan with sixteen workstations from one block in arrays, a meeting room with eight chairs in a polar array and a tea point.

43 objects; 8 layers
cadMechanical Parts

Pipe Flange DN100

A front view and a hatched section of a bolted pipe flange at 1:2, with an eight-hole bolt circle, centre lines, diameters and a title block.

41 objects; 9 layers
cadFloor Plans

Two-Bedroom Apartment Plan

A 1:50 apartment floor plan with solid-filled walls, door swings, windows, furniture, room names with areas and dimensions.

95 objects; 9 layers