> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ploterr.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Practice presets

> Example sets of paper styles and view settings that draw like two UK planning practices, and the status lines of the US National CAD Standard.

A practice preset is data that you copy into your project. It holds a paper style for each kind of drawing, the saved-view settings that go with it, and the viewport settings of a sheet. Floorkit does not register these presets and does not use them by default. A drawing without them looks as it did before.

This page gives two examples, made from two real sets of UK permit drawings. The two practices draw differently: Epsom draws the site boundary as a red dashed line and fills new walls in tan, and Bexley draws the boundary as a black chain line and draws new timber walls as a stud zigzag. So there are two presets, not one UK default.

The last example sets only the status lines of the US National CAD Standard, each value with the section of the standard that states it.

> [!WARNING]
>
> The presets are examples, and they are not complete. Each practice has a list of the values that
> wait for a control that Floorkit does not have yet, and a list of the values that no control can
> carry. Do not read a preset as the whole convention of a practice.

## Use a preset

1. Copy the paper styles into `paperStyles` of the paper document. Each key is a style id.
2. Give each viewport the `styleId` for the kind of view it shows (see the table of the practice).
3. Merge the view settings into each saved view of that kind. The keys `site` and `loft-plan` are not kinds of saved view: `site` is for a plan view with no `storeyId` (merge `plan` first, then `site`), and `loft-plan` is for the plan of the storey under the roof (merge it in place of `plan`). The words of `hideForUsages` must match the room `usage` values of your model.
4. Set the viewport fields of the sheet settings on each viewport.
5. Put the document style of the preset (`typography` and `viewTitle`) in the `styleOverride` of the paper document. A view title takes the style of the sheet, not the style of its viewport, so the font and the form of the titles come from the document.
6. Set the sheet symbols of the preset on the viewport, the north arrow and the scale bar of each view of that kind.
7. Set the model defaults of the preset on the building model. Each key is an element list of a storey, such as `stairs`, and each field goes on every element of that list, in every storey, where the element does not set it.

A viewport of a proposed ground-floor plan in the Epsom preset:

```json viewport.json theme={null}
{
  "id": "vp-ground",
  "viewId": "plan",
  "frame": { "x": 12, "y": 12, "width": 120, "height": 160 },
  "scale": 0.01,
  "rotationDeg": 0,
  "clip": false,
  "styleId": "epsom-plans",
  "title": { "text": "Proposed ground floor plan", "showScale": true }
}
```

A style extends `iso-128`, so it says only what it changes. See [Paper styles](https://docs.ploterr.com/floorkit/api/drawings/paper-styles.md) for each field.

Colours are sampled from the real drawings: the mean colour of the largest colour cluster in a rectangle of the drawing, with each channel put in bins of 16. Lengths are measured in pixels on the same drawing, changed to model millimetres with a dimension of the drawing, and then to paper millimetres at 1:100.

## Epsom practice

| View | `styleId` |
| - | - |
| Storey plan | `epsom-plans` |
| Section and elevation | `epsom-sections-elevations` |
| Roof plan and block plan | `epsom-roof-block` |
| Site plan (a plan with no storey) | `epsom-site` |

```json epsom-paper-styles.json theme={null}
{
  "epsom-plans": {
    "name": "UK permit (Epsom practice): plans",
    "extends": "iso-128",
    "producerFill": "ignore",
    "typography": { "fontFamily": "Futura, 'Century Gothic', Helvetica, Arial, sans-serif" },
    "classes": {
      "WALL": { "fill": "none" },
      "CHIMNEY": { "fill": "none" },
      "DORMER": { "fill": "none" },
      "ROOF": {
        "dash": "none",
        "parts": { "gutter": { "visible": false }, "flat": { "fill": "#c0c0c0" } }
      },
      "MARKER": { "parts": { "cut": { "ink": "#0000ff", "dash": [3.3, 1.5], "weightMm": 0.13 } } },
      "DOOR": {
        "weightMm": 0.13,
        "byKind": { "text": { "ink": "#ff0101" } },
        "parts": { "travel": { "visible": false } }
      },
      "SPACECONTAINER": { "parts": { "label:name": { "fontWeight": "bold" } } },
      "SITE_BOUNDARY": { "ink": "#ff0000", "dash": [3.3, 0.9], "weightMm": 0.25 }
    },
    "phases": {
      "new": {
        "classes": {
          "WALL": { "fill": "#e1bb95" },
          "DORMER": { "fill": "#e1bb95" }
        }
      },
      "existing": {
        "classes": {
          "WALL": {
            "hatch": { "angleDeg": -45, "spacingMm": 0.62, "weightMm": 0.13, "color": "#aeaeae" }
          }
        }
      },
      "demolished": {
        "classes": {
          "WALL": {
            "ink": "#ff0000",
            "dash": [2.6, 1.2],
            "weightMm": 0.18,
            "hatch": { "angleDeg": -45, "spacingMm": 0.62, "weightMm": 0.13, "color": "#aeaeae" }
          },
          "DOOR": { "visible": false },
          "WINDOW": { "visible": false },
          "STAIR": { "visible": false },
          "SLAB": { "visible": false },
          "ROOF": { "visible": false },
          "CHIMNEY": { "visible": false },
          "SPACECONTAINER": { "visible": false }
        }
      }
    }
  },
  "epsom-sections-elevations": {
    "name": "UK permit (Epsom practice): sections and elevations",
    "extends": "iso-128",
    "producerFill": "ignore",
    "typography": { "fontFamily": "Futura, 'Century Gothic', Helvetica, Arial, sans-serif" },
    "roles": { "silhouette": { "weightMm": 0.35 } },
    "depthBands": [{ "untilM": 1.5, "ladderStep": 1 }],
    "surfacePatternMinGapMm": 0.6,
    "classes": {
      "WALL": { "fill": "none" },
      "LEVEL": { "fill": "#000000" },
      "WINDOW": { "parts": { "window-frame": { "weightMm": 0.35 } } },
      "DOOR": { "parts": { "rail": { "visible": false } } },
      "SITE_BOUNDARY": { "ink": "#ff0000", "dash": [3.3, 0.9], "weightMm": 0.25 }
    }
  },
  "epsom-roof-block": {
    "name": "UK permit (Epsom practice): roof and block plans",
    "extends": "iso-128",
    "typography": { "fontFamily": "Futura, 'Century Gothic', Helvetica, Arial, sans-serif" },
    "classes": {
      "SITE_BOUNDARY": { "ink": "#ff0000", "dash": [3.3, 0.9], "weightMm": 0.25 },
      "BLOCK_PLAN_BOUNDARY": { "ink": "#ff0202" },
      "MAP": { "ink": "#000000", "weightMm": 0.13 },
      "CONTEXT_BUILDING": {
        "ink": "#000000",
        "weightMm": 0.13,
        "byKind": { "text": { "fontWeight": "bold" } }
      },
      "WALL": { "parts": { "roof-plan-walls": { "visible": false } } },
      "CHIMNEY": { "parts": { "chimney-pot": { "visible": false } } },
      "ROOF": {
        "parts": {
          "slope-arrow": { "visible": false },
          "slope-arrow-head": { "visible": false },
          "pitch": { "visible": false },
          "gutter": { "visible": false },
          "chimney-pot": { "visible": false },
          "flat": { "fill": "#c0c0c0" },
          "crown": { "fill": "#c0c0c0" }
        }
      }
    }
  },
  "epsom-site": {
    "name": "UK permit (Epsom practice): site and location plans",
    "extends": "iso-128",
    "typography": { "fontFamily": "Futura, 'Century Gothic', Helvetica, Arial, sans-serif" },
    "classes": {
      "CONTEXT_BUILDING": { "byKind": { "text": { "fontWeight": "bold" } } }
    }
  }
}
```

View settings, merged into each saved view of that kind:

```json epsom-view-settings.json theme={null}
{
  "plan": {
    "showContext": true,
    "contextExtent": { "beyondBoundaryM": 1.25 },
    "roofsBelowPattern": "material",
    "roomCeilingHeight": true,
    "roomLabel": {
      "ceilingHeight": { "template": "(CH - {mm})" },
      "area": {
        "template": "({area}m²)",
        "trimZeros": true,
        "hideForUsages": ["wc", "hall", "porch", "landing"],
        "outranksCeilingHeight": true
      }
    },
    "siteBoundaryLabel": { "text": "Boundary Line", "spacingM": 8 },
    "rooflightTags": "auto",
    "openingSymbols": { "windowFrame": "reveal", "bayGlazing": "line" },
    "openingTagShape": { "door": "none" },
    "linesAboveCut": { "WALL": "hidden", "CEILING": "hidden", "ROOFLIGHT": "hidden" },
    "stairSymbol": {
      "aboveCut": "continuous",
      "breakLine": "none",
      "startMark": false,
      "words": { "up": "up", "down": "down" },
      "wordsAlongFlight": true
    },
    "sectionHeads": "fit-text"
  },
  "loft-plan": {
    "showContext": true,
    "contextExtent": { "beyondBoundaryM": 1.25 },
    "roofsBelowPattern": "material",
    "lowWallsAsCut": { "minTop": 0.9, "trimmedWalls": true },
    "roomCeilingHeight": true,
    "roomLabel": {
      "ceilingHeight": { "template": "(CH - {mm})" },
      "area": {
        "template": "({area}m²)",
        "trimZeros": true,
        "hideForUsages": ["wc", "hall", "porch", "landing"]
      },
      "nameBeforeLeader": true
    },
    "siteBoundaryLabel": { "text": "Boundary Line", "spacingM": 8 },
    "rooflightTags": "auto",
    "openingSymbols": { "windowFrame": "reveal", "bayGlazing": "line" },
    "openingTagShape": { "door": "none" },
    "linesAboveCut": { "WALL": "hidden", "CEILING": "dashed", "ROOFLIGHT": "hidden" },
    "stairSymbol": {
      "aboveCut": "continuous",
      "breakLine": "none",
      "startMark": false,
      "words": { "up": "up", "down": "down" },
      "wordsAlongFlight": true
    },
    "sectionHeads": "fit-text"
  },
  "elevation": {
    "showContext": false,
    "settings": {
      "levelHeads": "omit",
      "openingDetail": { "frameLines": "outer", "sashOutlines": true, "sill": "line" },
      "siteBoundaryLabel": { "text": "Boundary Line", "spacingM": 8 },
      "siteBoundaryExtent": { "top": "eaves" }
    }
  },
  "section": {
    "showContext": false,
    "settings": {
      "levelHeads": "omit",
      "furniture": "omit",
      "openingDetail": { "frameLines": "outer", "sashOutlines": true, "sill": "line" }
    }
  },
  "roof-plan": { "showSiteBoundary": true, "showContext": true, "ridgeLines": { "draw": "band" } },
  "block-plan": { "boundaryDistances": "none", "ridgeLines": { "draw": "band" } },
  "site": { "siteLabels": { "lotLines": false, "statistics": false } }
}
```

Viewport fields of the sheet settings:

```json epsom-sheet-settings.json theme={null}
{ "title": { "showScale": true } }
```

The style of the paper document, step 5. The view titles have no rule, are bold, and word the scale `Scale 1:100`:

```json epsom-document-style.json theme={null}
{
  "typography": { "fontFamily": "Futura, 'Century Gothic', Helvetica, Arial, sans-serif" },
  "viewTitle": { "rule": false, "fontWeight": "bold", "scaleTemplate": "Scale {scale}" }
}
```

The sheet symbols, by view kind. `border` goes on the viewport of that view, `northArrow` on its north arrow annotation and `scaleBar` on its scale bar annotation:

```json epsom-sheet-symbols.json theme={null}
{
  "site": {
    "border": { "weightMm": 0.35 },
    "northArrow": { "symbol": "arrow" },
    "scaleBar": { "style": "ticked", "caption": "Metres" }
  },
  "block-plan": {
    "northArrow": { "symbol": "compass" },
    "scaleBar": { "style": "ticked" }
  }
}
```

The model defaults, step 7. A stair rises at most 220 mm and is built of 25 mm boards:

```json epsom-model-defaults.json theme={null}
{ "stairs": { "maxRiserHeight": 0.22, "treadThickness": 0.025 } }
```

Where the values come from: each value is measured on the planning application drawings of the Epsom house, on the sheet and the element named in the table. The largest stair riser comes from the building regulations.

| Value | Source |
| - | - |
| New wall fill `#e1bb95` | Sheet "Existing and proposed ground floor plans", proposed ground floor plan: a new wall |
| Existing and demolished hatch `#aeaeae`, lines rising to the right (`angleDeg: -45`), 0.62 mm | Sheet "Existing and proposed ground floor plans", proposed ground floor plan: two existing walls; the darkest grey level of the hatch and the line spacing down the wall |
| Boundary `#ff0000`, dash 3.3 / 0.9 mm, 0.25 mm | Sheet "Existing and proposed ground floor plans", proposed ground floor plan: the site boundary; the same on the sheet "Existing and proposed front and rear elevations", proposed front elevation |
| Demolished outline `#ff0000`, dash 2.6 / 1.2 mm, 0.18 mm | Sheet "Existing and proposed ground floor plans", proposed ground floor plan: the outline of a demolished wall |
| No demolished roof of a storey below in a proposed plan | Sheets "Existing and proposed first floor plans" and "Existing roof plan and proposed loft plan", proposed plans: no roof of the demolished garage or first-floor rear |
| Door tag text `#ff0101` | Sheet "Existing and proposed ground floor plans", proposed ground floor plan: the FD30 door tag |
| Stair: the whole flight, no break line, the words `up` and `down` | Sheet "Existing and proposed ground floor plans", both plans: the stair; sheet "Existing and proposed first floor plans", both plans: the flight with `down` |
| Window frame, mullions and transoms as one band, 0.35 mm; sash outlines; the sill as one line | Sheet "Existing and proposed front and rear elevations", existing front elevation: the bay window, frame lines 4 px wide at 11.3 px per mm |
| No bottom rail line on a door leaf | Sheet "Existing and proposed front and rear elevations", proposed rear elevation: the plain bifold panels |
| No level heads, no furniture and no neighbour in a section | Sheet "Existing & Proposed Sections AA": the existing and proposed side sections AA and the proposed side section BB |
| No level heads and no neighbour in an elevation | Sheets "Existing and proposed front and rear elevations" and "Existing and proposed side elevations": every elevation; crops `real-proposed-front.png` and `real-existing-east.png` |
| Roof tile courses at least 0.6 mm apart on paper (`surfacePatternMinGapMm: 0.6`) | Sheet "Existing and proposed side elevations", existing side elevation: the main roof and the lean-to roof both show courses about 0.74 mm apart (8.5 px at 11.4 px per mm); crop `real-existing-east.png` |
| Block plan boundary `#ff0202`, map and neighbours `#000000` at 0.13 mm | Sheet "Proposed block plan": the whole sheet; the width of the map lines |
| No gutter line in a plan, the roof plan or the block plan | Sheets "Existing and proposed first floor plans" and "Existing roof plan and proposed loft plan": one eave edge at each lower roof; crops `real-existing-first.png` and `real-existing-roof.png` |
| Flat roof and crown tone `#c0c0c0` in the roof plan and the block plan | Sheet "Existing roof plan and proposed loft plan", existing roof plan: the flat roof; crop `real-existing-roof.png` |
| Hips and ridges as a band of two lines; the chimney stacks as plain rectangles | Sheet "Existing roof plan and proposed loft plan", both plans: the hips and the two stacks; crops `real-existing-roof.png` and `real-proposed-loft.png` |
| Rooflight tag text with no frame | Sheets "Existing and proposed first floor plans", proposed plan, and "Existing roof plan and proposed loft plan", loft plan: "ROOF LIGHT 2m x 1m"; crop `real-proposed-loft.png` |
| Window frame and glass in the reveal | Sheet "Existing and proposed ground floor plans", both plans: the kitchen and side windows; crops `real-existing-ground.png` and `real-proposed-ground.png` |
| Bay window glass as one line inside the frame band | Sheet "Existing and proposed ground floor plans", both plans: the front bay; crops `real-existing-ground.png` and `real-proposed-ground.png` |
| Door tag text with no circle | Sheet "Existing and proposed first floor plans", proposed first floor plan: the FD30 tags; crops `real-proposed-first.png` and `real-proposed-loft.png` |
| No track on the garage door | Sheet "Existing and proposed ground floor plans", existing ground floor plan: the garage door, one line; crop `real-existing-ground.png` |
| Stair: no start circle | Sheets "Existing and proposed ground floor plans" and "Existing and proposed first floor plans": every stair; crops `real-existing-ground.png` and `real-proposed-first.png` |
| No rooflight above the cut | Sheet "Existing and proposed ground floor plans", proposed ground floor plan: no line over the bathroom and the utility under the flat roof rooflight; crop `real-proposed-ground.png` |
| Section mark: the whole label clear of every line, so a bubble grows to hold its numbers | Sheet "Existing and proposed ground floor plans", existing ground floor plan: "A-A" at both ends of the section line; crop `real-existing-ground.png` |
| No ceiling outline on a plan; the loft plan draws the Bedroom 5 ceiling dashed | Sheet "Existing and proposed first floor plans", existing first floor plan; sheet "Existing roof plan and proposed loft plan", proposed loft plan: the dashed outline in Bedroom 5; crops `real-existing-first.png` and `real-proposed-loft.png` |
| Room labels: names in a medium face (the preset uses bold, the nearer of normal and bold), `(CH - 2530)`, `(16m²)`, no area on the WC, hall, porch and landing | Sheet "Existing and proposed ground floor plans", both plans; sheet "Existing and proposed first floor plans", existing first floor plan |
| A crowded label on a storey plan drops `(CH - 2530)` before its area (`outranksCeilingHeight`) | Sheet "Existing and proposed ground floor plans", proposed ground floor plan: the bathroom prints `(1.5m²)` and no ceiling height; crop `real-proposed-ground.png` |
| A crowded label on the loft plan prints its name alone inside before a leader (`nameBeforeLeader`) | Sheet "Existing roof plan and proposed loft plan", proposed loft plan: the store room prints its name alone inside the room; crop `real-proposed-loft.png` |
| "Boundary Line" about every 8 m, the elevation boundary from the eaves to the ground | Sheet "Existing and proposed ground floor plans", both plans; sheet "Existing and proposed front and rear elevations", proposed front elevation |
| Bold house numbers; compass rose and ticked scale bar | Sheet "Proposed block plan" |
| No lot line lengths or statistics; frame round the map; arrow; ticked bar captioned "Metres" | Sheet "Location plan" |
| View title bold, no rule, "Scale 1:100" | Sheet "Existing and proposed ground floor plans": the view titles |
| Stair riser at most 220 mm (`maxRiserHeight: 0.22`) | Approved Document K 2013, section 1, Table 1.1: private stair, maximum rise 220 mm |
| A timber stair of boards 25 mm thick (`treadThickness: 0.025`): no waist and no underside in a section | Sheet "Existing & Proposed Sections AA": the proposed sections AA and BB cut and see the stair as one thin stepped line; crops `real-proposed-section-aa.png`, `real-proposed-section-bb.png` |
| Ridge tile 65 mm high, 130 mm wide (`trim.ridge`): two lines 0.11 m apart at the ridge | Existing sheet, existing front elevation: the double line at the ridge, 18 px apart at about 160 px per metre; crop `real-existing-front.png` |
| Roofs below the cut with their tile courses, and flat roofs below in `#c0c0c0` under the stair | Sheet "Existing and proposed first floor plans", existing first floor plan: the lower roofs; crop `real-existing-first.png` |
| Section line `#0000ff`, dash 3.3 / 1.5 mm, thin | Sheet "Existing and proposed first floor plans", existing first floor plan: the A-A line, dashes 37 px and gaps 17 px at 11.4 px per mm |
| Neighbours only 1.25 m past the site boundary | Sheet "Existing and proposed first floor plans", existing first floor plan: the neighbour walls stop 142 px past the boundary at 11.4 px per mm |
| Loft knee walls drawn as cut (`lowWallsAsCut` 0.9 m; the knee walls are 1.0 m high) | Sheet "Existing roof plan and proposed loft plan", proposed loft plan: the knee walls with the new wall fill; crop `real-proposed-loft.png` |
| Loft partitions under the roof slope drawn cut to the knee walls (`trimmedWalls`) | Sheet "Existing roof plan and proposed loft plan", proposed loft plan: the bed 5 right wall to the rear wall and the landing walls to the left knee wall; crop `real-proposed-loft.png` |
| Scale | Sheet "Existing and proposed ground floor plans", proposed ground floor plan: the top dimension string, 8830 mm |

Waits for a control:

* The area of the ground floor bathroom. The real plan prints `(1.5m²)` with no ceiling height; with `outranksCeilingHeight` our label still finds no clear place for the name and area among the fittings and the door swing, so it prints the name alone.
* The area of a room by room, not by usage: the outer utility passage and the first floor store print no area, but the new utility and the storage area do, so the preset leaves `utility` and `store` out of `hideForUsages`. The ceiling height also shows on some rooms only (not on the garage, the bathrooms, the study or the outer utility).
* FLO-548: door posts and the bifold drawn as a screen; the window sill with a curved front.
* FLO-549: dormer cheeks and roof in the roof plan.
* FLO-550: the many narrow slats of the sectional garage door in the existing front elevation; the part names of the windows of a dormer, so that the frame band, the sill and the frame weight reach the dormer window of the rear elevation.
* FLO-551: room outlines in sections; the construction below the ground line left out; the knee walls of the loft drawn as cut.
* FLO-552: the map fills of the location plan (beige buildings, green plots, grey roads).
* FLO-558: the view title on the sheet and the site statistics (the controls of FLO-545 and FLO-552 depend on it).

Cannot say yet:

* Room names in a medium weight. `fontWeight` is normal or bold, so the preset uses bold.
* Areas to the nearest 0.5 m². The real labels step by 0.5 m² (`(16m²)`); `trimZeros` and `decimals` cannot round to 0.5, so the preset prints the model area to one decimal, `(15.7m²)` for that room.
* How deep a section sees past its cut. The real section shows parts beyond the cut, so `settings.context: 'cut-only'` is wrong, and the depth is a choice for each view, not a convention.
* The "Boundary Line" label reading top down. `siteBoundaryLabel` writes it bottom up.
* The oriel corbel profile: this is element geometry, not a drawing convention.
* The grey fill of the garage door, `#d7d7d7` (sampled on the sheet "Existing and proposed front and rear elevations", existing front elevation: the garage door). `DOOR.parts.door-panel` fills the panels of every panelled door, and the real front door has white panels, so the preset sets no panel fill.
* The whole flight of the stair on the proposed first floor plan. The real plan draws the treads from the store wall down the stair well. `aboveCut: 'continuous'` draws only the part of the flight above the stair's own cut, inside its stair well.

## Bexley practice

| View | `styleId` |
| - | - |
| Storey plan | `bexley-plans` |
| Loft plan | `bexley-loft-plan` |
| Section and elevation | `bexley-sections-elevations` |
| Roof plan and block plan | `bexley-roof-block` |

The Bexley set has no site plan or location plan, so the preset has no site style.

```json bexley-paper-styles.json theme={null}
{
  "bexley-plans": {
    "name": "UK permit (Bexley practice): plans",
    "extends": "iso-128",
    "producerFill": "ignore",
    "classes": {
      "WALL": { "fill": "none" },
      "COLUMN": { "fill": "none" },
      "CHIMNEY": { "fill": "none" },
      "DORMER": {
        "fill": "none",
        "hatch": { "kind": "stud", "pitchMm": 0.8, "weightMm": 0.13, "color": "#000000" }
      },
      "DOOR": { "weightMm": 0.13 },
      "WINDOW": {
        "parts": {
          "bay-mouth": { "visible": false },
          "bay-post": { "weightMm": 0.13 },
          "frame": { "weightMm": 0.13 }
        }
      },
      "ROOM_SEPARATOR": { "visible": false },
      "SITE_BOUNDARY": { "ink": "#000000", "dash": [4.6, 0.6, 1.1, 0.6, 1.1, 0.6] },
      "MARKER": { "parts": { "cut": { "visible": false } } }
    },
    "materials": {
      "WOOD": { "hatch": { "kind": "stud", "pitchMm": 0.8, "weightMm": 0.13, "color": "#000000" } },
      "INSULATION": {
        "hatch": { "kind": "batt", "pitchMm": 0.5, "weightMm": 0.13, "color": "#000000" }
      },
      "BRICK": {
        "hatch": { "angleDeg": -45, "spacingMm": 1.9, "weightMm": 0.13, "color": "#000000" }
      }
    },
    "phases": {
      "demolished": {
        "classes": {
          "WALL": { "visible": false },
          "DOOR": { "visible": false },
          "WINDOW": { "visible": false },
          "STAIR": { "visible": false },
          "SLAB": { "visible": false }
        }
      }
    }
  },
  "bexley-loft-plan": {
    "name": "UK permit (Bexley practice): loft plan",
    "extends": "bexley-plans",
    "classes": {
      "ROOF": { "dash": "none", "parts": { "headroom": { "dash": [1.4, 0.7] } } },
      "ROOFLIGHT": {
        "parts": { "rooflight": { "dash": "none" }, "rooflight-glass": { "dash": "none" } }
      }
    }
  },
  "bexley-sections-elevations": {
    "name": "UK permit (Bexley practice): sections and elevations",
    "extends": "iso-128",
    "producerFill": "ignore",
    "classes": {
      "WALL": { "fill": "none" },
      "COLUMN": { "fill": "none" },
      "DORMER": {
        "fill": "none",
        "hatch": { "kind": "stud", "pitchMm": 0.8, "weightMm": 0.13, "color": "#000000" }
      },
      "WINDOW": { "edgeClasses": { "VisibleCrease": { "visible": false } } },
      "LEVEL": { "fill": "#000000" },
      "SITE": { "weightMm": 0.35 },
      "SITE_BOUNDARY": { "ink": "#000000", "dash": [4.6, 0.6, 1.1, 0.6, 1.1, 0.6] }
    },
    "materials": {
      "WOOD": { "hatch": { "kind": "stud", "pitchMm": 0.8, "weightMm": 0.13, "color": "#000000" } },
      "INSULATION": {
        "hatch": { "kind": "batt", "pitchMm": 0.5, "weightMm": 0.13, "color": "#000000" }
      }
    },
    "phases": {
      "new": {
        "classes": {
          "WINDOW": { "parts": { "glazing": { "fill": "#d3f5ff" } } },
          "DOOR": { "parts": { "glazing": { "fill": "#d3f5ff" } } }
        }
      },
      "existing": {
        "classes": {
          "WINDOW": { "parts": { "glazing": { "fill": "#ffffff" } } },
          "DOOR": { "parts": { "glazing": { "fill": "#ffffff" } } }
        }
      }
    }
  },
  "bexley-roof-block": {
    "name": "UK permit (Bexley practice): roof and block plans",
    "extends": "iso-128",
    "classes": {
      "ROOF": {
        "parts": {
          "slope-arrow": { "visible": false },
          "slope-arrow-head": { "visible": false },
          "pitch": { "visible": false }
        }
      }
    }
  }
}
```

The drawings of the existing building have no phase, so the material hatches would draw on them too. The real existing drawings show no hatch. Put this overlay in `styleOverride` of each viewport of an existing drawing:

```json bexley-existing-set-overlay.json theme={null}
{
  "classes": { "DORMER": { "hatch": "none" } },
  "materials": {
    "WOOD": { "hatch": "none" },
    "INSULATION": { "hatch": "none" },
    "BRICK": { "hatch": "none" }
  }
}
```

View settings, merged into each saved view of that kind:

```json bexley-view-settings.json theme={null}
{
  "plan": {
    "roofsBelow": false,
    "chimneyBreasts": "with-wall",
    "roomLabel": {
      "area": {
        "template": "{area}m2",
        "hideForUsages": ["hall", "landing", "store", "shower-room"]
      }
    },
    "siteBoundaryLabel": { "text": "Boundary" },
    "linesAboveCut": { "WALL": "hidden", "RAILING": "hidden", "CEILING": "hidden" },
    "stairSymbol": {
      "aboveCut": "hidden",
      "breakLine": "double",
      "startMark": false,
      "arrow": true,
      "words": "none"
    },
    "railingLines": "double",
    "sectionHeads": "fixed"
  },
  "loft-plan": {
    "linesAboveCut": { "WALL": "hidden", "ROOF": "dashed", "RAILING": "hidden" },
    "headroomLines": [{ "heightM": 1.5 }],
    "lowWallsAsCut": { "minTop": 0.6 },
    "roomLabel": {
      "area": {
        "template": "{area}m2",
        "hideForUsages": ["hall", "landing", "store", "shower-room"]
      }
    },
    "siteBoundaryLabel": { "text": "Boundary" },
    "stairSymbol": {
      "aboveCut": "hidden",
      "breakLine": "double",
      "startMark": false,
      "arrow": true,
      "words": "none"
    },
    "railingLines": "double"
  },
  "elevation": {
    "showContext": false,
    "settings": {
      "levelHeads": "omit",
      "groundLine": { "extent": "site-boundary" },
      "openingMarks": "dashed",
      "openingDetail": { "sashOutlines": false },
      "siteBoundaryLabel": { "text": "Boundary" },
      "siteBoundaryExtent": { "behindBuilding": true }
    }
  },
  "side-elevation": {
    "showContext": false,
    "settings": {
      "levelHeads": "omit",
      "groundLine": { "extent": "site-boundary" },
      "openingMarks": "dashed",
      "openingDetail": { "sashOutlines": false, "sill": "none" }
    }
  },
  "section": {
    "showContext": false,
    "settings": {
      "levelHeads": "omit",
      "furniture": "omit",
      "groundLine": { "extent": "crop", "stopAt": "outer-walls", "outsideRunM": 0.65 },
      "openingMarks": "dashed",
      "openingDetail": { "sashOutlines": false }
    }
  }
}
```

`loft-plan` is for the plan of the storey under the roof, in place of `plan`. It draws the roof seen from the loft: the roofs below the cut and the roof lines above it. The `bexley-loft-plan` style draws them as solid thin lines. The other plans draw no roof. The loft plan also draws a dashed line where the underside of the roof is 1.5 m above the loft floor, as the real proposed loft plan does.

`side-elevation` is for the two side elevations along the party walls, in place of `elevation`. The real side elevations draw no sill.

In the real sections the ground runs under the front and back steps to the outer wall faces, and about 0.65 m past each wall where no step stands.

Viewport fields of the sheet settings:

```json bexley-sheet-settings.json theme={null}
{ "title": { "showScale": false } }
```

The style of the paper document, step 5. The view titles have no rule:

```json bexley-document-style.json theme={null}
{ "viewTitle": { "rule": false } }
```

The existing set prints the room names only. Merge this into each plan view of the existing set, after the plan settings:

```json bexley-existing-set-plan.json theme={null}
{ "roomLabel": { "area": { "show": false } } }
```

The model defaults, step 7. A stair rises at most 220 mm:

```json bexley-model-defaults.json theme={null}
{ "stairs": { "maxRiserHeight": 0.22 }, "roofs": { "trim": { "ridge": { "height": 0.065 } } } }
```

Where the values come from: each value is measured on the planning application drawings of the Bexley house, on the sheet and the element named in the table. The largest stair riser comes from the building regulations.

| Value | Source |
| - | - |
| Boundary `#000000`, chain 4.6 / 0.6 / 1.1 / 0.6 / 1.1 / 0.6 mm | Proposed sheet, proposed ground floor plan: the site boundary; the plan has no colour |
| Stud zigzag, pitch 0.8 mm | Proposed sheet, proposed ground floor plan: a new timber wall, the distance between teeth |
| Batt loops, pitch 0.5 mm | Proposed sheet, proposed section A-A: the floor insulation, the number of loops in a known length |
| New brick hatch, lines rising to the right (`angleDeg: -45`), 1.9 mm | Proposed sheet, proposed ground floor plan: the extension wall, the line spacing down the wall |
| Stair: an arrow, a break line, nothing past it, no start circle, no words | Proposed sheet, proposed first floor plan: the stair |
| Railing as a double line | Proposed sheet, proposed first floor plan: the railing at the stair |
| Section mark: a short label clear of every line; the 10 mm bubble holds `E-03` | Existing sheet, existing ground floor plan: "A" at both ends; crop `real-existing-ground.png` |
| No railing above the cut | Proposed sheet, ground and loft plans: the stair; crops `real-proposed-ground.png`, `real-proposed-second.png` |
| No sash outlines | Proposed sheet, proposed front elevation: the windows |
| No sill on the side elevations | Proposed sheet, proposed side elevation: the windows |
| New glazing `#d3f5ff`, on windows and doors | Proposed sheet, proposed front elevation: the window glass; proposed rear elevation: the glass of the rear doors |
| Existing glazing `#ffffff` | Proposed sheet, proposed rear elevation: the glass of the first floor windows |
| No level heads, no furniture and no neighbour in a section | Existing sheet, existing cross section A-A; proposed sheet, proposed cross section A-A |
| No level heads and no neighbour in an elevation | Both sheets: every elevation; crops `real-proposed-front.png` and `real-proposed-side.png` |
| Area `16.3m2` on bedroom, kitchen, dining room, utility; none on the existing set | Proposed sheet, proposed ground and first floor plans; existing sheet, existing ground floor plan |
| "Boundary" label; the elevation boundary not drawn over the building | Proposed sheet, proposed first floor plan and proposed front elevation |
| View title with no rule | Both sheets: every view title |
| Loft plan rooflight: a solid frame and glass | Proposed sheet, proposed loft plan: the rooflight; crop `real-proposed-second.png` |
| No ceiling outline on a plan | Existing sheet, existing first floor plan: no line along the room walls; crop `real-existing-first.png` |
| Chimney breast with the pen and poché of its wall; a demolished one on its own | Both sheets, ground and first floor plans: the breasts; crop `real-existing-ground.png` |
| Bay windows: thin posts at 0.13 mm, nothing across the mouth | Both sheets, ground floor plans: the front bay; crops `real-existing-ground.png`, `real-proposed-ground.png` |
| Window frames at 0.13 mm | Proposed sheet, proposed ground and first floor plans: the windows; crop `real-proposed-ground.png` |
| Loft plan: the 0.86 m dwarf wall drawn as cut | Proposed sheet, proposed loft plan: the stud wall; crop `real-proposed-second.png` |
| Stair riser at most 220 mm (`maxRiserHeight: 0.22`) | Approved Document K 2013, section 1, Table 1.1: private stair, maximum rise 220 mm |
| Scale | Proposed sheet, proposed ground floor plan: the 3200 mm dimension |

Waits for a control:

* Room names and notes in capitals with the units in lower case (`16.3m2`). `typography.textTransform` sets the case of every text of a style, units too, so the preset does not set it.
* The view title at the top right of sections and elevations only. `viewTitle.position` is one value for the whole sheet, so the preset does not set it.
* FLO-550: the part names of the windows of a dormer, so that `sashOutlines`, the sill and the glazing fill reach the dormer windows of the rear elevation.
* FLO-558: the view title on the sheet.

Cannot say yet:

* The glazing fill on a proposed elevation. The fill takes the phase of the window or the door, so it reaches only a view with `phaseFilter: 'proposed'` or `'existing'`. A proposed elevation uses `phaseFilter: 'complete'`, which draws no phase, and `'proposed'` also draws the demolished elements. So the preset keeps the fills but sets no `phaseFilter`.
* The break line of the stair. The real plan draws one zig-zag break line. No `breakLine` value draws a zig-zag, so the preset keeps `double`: two straight lines a tenth of the stair width apart.
* The "Boundary" label level at the top end of each boundary line. `siteBoundaryLabel` writes it along the line.
* The CAD lettering face. The real drawings use a CAD font that has no name we can give, so the preset sets no font.
* A site plan and a location plan: the Bexley set has none.
* The roof plan: the Bexley set has no roof plan crop, so only the slope symbols are set.
* The roof of the rear extension on the ground plan. The real plan draws no line there. Floorkit draws that roof on the ground plan as cut, not above the cut, as a dashed outline, so `linesAboveCut` does not remove it.
* The facet ticks of the bay bands in elevation. The preset hides the crease lines of windows only, so the bay window facets go and the eaves fascia keeps its second line. The bay bands and the bay base are floors, and their creases still draw a short vertical at each facet, which the real drawings do not show. A setting per element type cannot hide the creases of a bay band and keep the creases of the other floors.

## US National CAD Standard: status lines

This example sets only the values that the published pages of the United States National CAD Standard (NCS) state. It is not a US convention: the NCS is a sold standard, and of the pages that are free to read, only two status lines and the table of line widths fit a control of Floorkit.

| View | `styleId` |
| - | - |
| Each view | `us-ncs-status` |

```json us-paper-styles.json theme={null}
{
  "us-ncs-status": {
    "name": "US National CAD Standard (example): status lines",
    "extends": "iso-128",
    "phases": {
      "existing": { "weightMm": 0.25 },
      "demolished": { "weightMm": 0.35, "dash": [4, 2] }
    }
  }
}
```

The status lines draw only in a view with `phaseFilter: 'proposed'` or `'existing'`, the same as every phase style. A phase weight applies to every line of that phase, so the cut lines of an existing wall also print at 0.25 mm; its hidden edges stay one rung lighter.

Where the values come from: NCS Version 6 (2014), the sample pages that the National Institute of Building Sciences publishes on the NCS website, read on 13 November 2026.

| Value | Source |
| - | - |
| Demolished: 0.35 mm, dash 4 mm, space 2 mm | UDS Module 6 Symbols, section 6.4, symbol 01 42 00-003 "demolition line; medium line, 4 mm (5/32") dash, 2 mm (5/64") space" ([sample](https://www.nationalcadstandard.org/ncs6/pdfs/ncs6_uds6.pdf)); Plotting Guidelines, section 2.0, Medium is 0.35 mm ([sample](https://www.nationalcadstandard.org/ncs6/pdfs/ncs6_pg.pdf)) |
| Existing: 0.25 mm | UDS Module 6 Symbols, section 6.4, symbol 01 42 00-004 "existing to remain line; thin line" ([sample](https://www.nationalcadstandard.org/ncs6/pdfs/ncs6_uds6.pdf)); Plotting Guidelines, section 2.0, Thin is 0.25 mm ([sample](https://www.nationalcadstandard.org/ncs6/pdfs/ncs6_pg.pdf)) |

What the preset does not set, and why:

* The line widths of Plotting Guidelines section 2.0 (0.13, 0.18, 0.25, 0.35, 0.50, 0.70, 1.00, 1.40 and 2.00 mm) are already the ladder of `iso-128`, so the preset does not repeat them.
* The existing line is continuous ("use CONTINUOUS LT"). An existing element already draws continuous lines, so the preset sets no dash; a dash of `"none"` would also remove the dashes of its hidden edges.
* The status field codes of the AIA CAD Layer Guidelines, section 1.7 (A, D, E, F, M, N, T, X and 1 to 9, [sample](https://www.nationalcadstandard.org/ncs6/pdfs/ncs6_clg_lnf.pdf)), name CAD layers. They give no line, colour or fill, and a paper style has no layer names.
* Not stated by the source: the new work line; the ink, fill and hatch of each phase; the weight of each class, role and depth band (UDS Module 4, Drafting Conventions, is on sale only); the typography; every view setting; every sheet setting.
* NCS Version 7 is the current version. Its sample pages were not found on the NCS website on 13 November 2026, so the values are not checked against Version 7.

## Next

> [card] [Compose a sheet](https://docs.ploterr.com/floorkit/guides/compose-a-sheet.md)
>
> Put the views on a sheet with viewports and titles.

> [card] [Paper styles API](https://docs.ploterr.com/floorkit/api/drawings/paper-styles.md)
>
> See each field of a paper style.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.