Repository navigation
The permit set example: 15 sheets from one house model - #45
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.