Skip to content

The permit set example: 15 sheets from one house model - #45

Merged
sc-frederick merged 1 commit into
mainfrom
export
Nov 13, 2026
Merged

sc-frederick merged 1 commit into
mainfrom
export

Conversation

@tsdraft-export

Copy link
Copy Markdown
Contributor

This pull request was opened by the export from tsdraft's development repository. Each commit
here is one change made there.

Merge it with squash, or with rebase to keep one commit per change. Don't push to this branch:
the next export replaces anything that did not come from it.

Adds `examples/plan-set`, a permit set for a made-up two-story house on a Florida canal lot. It
has 15 sheets on ARCH D: a cover with the sheet index and code data, the site plan, floor and roof
plans, elevations, a building section and wall section, door and window schedules, foundation and
framing plans, structural details, and mechanical, electrical and plumbing sheets. It is one
drawing with a layout for each sheet.

Every sheet reads one house model, `model/house.ts`. The schedules and tables are worked out from
the model and the project's criteria. The firm's border is a drawing of its own, placed on each
layout as an xref, with the sheet's fields as the attributes of a block over it.
`node examples/plan-set/set.ts` writes the set's DXF, the border's DXF and an SVG of each sheet to
`examples/out/plan-set/`, and `pnpm example` runs it with the other examples.

The examples README describes how the set is built and what it still draws from lines and text
because tsdraft has no object for it yet: hatches, fills, leaders, and feet-and-inch dimension
text. The project, owner, address and firm are fictional, and the set is an illustration, not a
design to build from.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
@sc-frederick
sc-frederick merged commit 1ab679f into main Nov 13, 2026
3 checks passed
@sc-frederick
sc-frederick deleted the export branch November 13, 2026 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant