Title: Proposal: ISO-Compliant Line Widths and Styles for AEC Drawing Generation · Issue #8659 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Proposal: ISO-Compliant Line Widths and Styles for AEC Drawing Generation · Issue #8659 · IfcOpenShell/IfcOpenShell
X Title: Proposal: ISO-Compliant Line Widths and Styles for AEC Drawing Generation · Issue #8659 · IfcOpenShell/IfcOpenShell
Description: Feature Description Proposal: DIN/ISO-Compliant Line Widths and Styles for AEC Drawing Generation Background This issue proposes integrating ISO 128-2 and ISO 7519 line width and style standards into IfcOpenShell’s drawing generation wor...
Open Graph Description: Feature Description Proposal: DIN/ISO-Compliant Line Widths and Styles for AEC Drawing Generation Background This issue proposes integrating ISO 128-2 and ISO 7519 line width and style standards in...
X Description: Feature Description Proposal: DIN/ISO-Compliant Line Widths and Styles for AEC Drawing Generation Background This issue proposes integrating ISO 128-2 and ISO 7519 line width and style standards in...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/8659
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Proposal: ISO-Compliant Line Widths and Styles for AEC Drawing Generation","articleBody":"### Feature Description\n\n# Proposal: DIN/ISO-Compliant Line Widths and Styles for AEC Drawing Generation\n\n## Background\nThis issue proposes integrating **ISO 128-2** and **ISO 7519** line width and style standards into IfcOpenShell’s **drawing generation workflows** (e.g., SVG, DXF, PDF exports, and Blender/Bonsai rendering). The goal is to ensure **consistent, norm-compliant visual representation** of IFC models in 2D/3D outputs.\n\n### Related Discussions\n- **Issue #3668**: [\"Drawing generation feature request: Having a crease threshold setting\"](https://github.com/IfcOpenShell/IfcOpenShell/issues/3668) discusses **edge handling in drawing generation**, specifically a **crease threshold setting** for dissolving edges in almost-coplanar faces. This issue builds on that by addressing **how those edges (and other elements) should be styled** once rendered.\n- **PR #8608**: While not directly about styling, it highlights the need for **robust geometry representation**, which pairs naturally with standardized line styles for clarity and compliance.\n\n## Proposal\n### 1. Adopt DIN/ISO Line Standards\n- **Line widths**: \n - `0.35mm` for visible edges (01.2).\n - `0.18mm` for hidden edges (02.1).\n - `0.7mm` for section lines (01.3).\n - `0.13mm` for dimension lines (01.1).\n- **Line types**:\n - Solid for visible edges.\n - Dashed (`stroke-dasharray=\"3,1\"`) for hidden edges.\n - Dot-dash (`stroke-dasharray=\"1,1,1,1\"`) for centerlines.\n- **Hierarchy**: Visible edges > hidden edges > centerlines > dimension lines (to avoid ambiguity in overlapping lines).\n\n### 2. Implementation Targets\n- **SVG Exports**: Use `vector-effect=\"non-scaling-stroke\"` to preserve line widths at any zoom level.\n- **Blender/Bonsai**: Leverage Freestyle or `IfcPresentationStyle` to map IFC elements to DIN-compliant styles.\n- **DXF/PDF**: Ensure line widths are preserved in CAD-compatible outputs.\n\n### 4. Attached Resources\n[aec-svg-line-width-implementation-guide.md](https://github.com/user-attachments/files/30101788/aec-svg-line-width-implementation-guide.md): A detailed guide with DIN mappings, SVG/Blender examples, and validation steps.\n\n## Questions for the Community\n1. Should this be implemented as:\n - A **new `IfcStyle` module** in IfcOpenShell?\n - Extensions to **`IfcPresentationStyle`** or **`IfcDraughtingPreDefinedColour`**?\n - A **separate library** for AEC-compliant rendering (e.g., for Blender/Bonsai)?\n2. Are there existing efforts (e.g., in **Issue #3668** or **PR #8608**) that this could align with or extend?\n3. Should we prioritize **SVG/DXF exports** first, or focus on **Blender integration**?\n\n## Next Steps\n- [ ] Discuss feasibility and scope with maintainers.\n- [ ] Identify code areas in IfcOpenShell to modify (e.g., `presentation.py`, geometry exporters).\n- [ ] Create a **proof-of-concept PR** for SVG line styling.\n\n**AI Disclosure Statement**\nThis issue and its attached resources were **partially drafted using AI tools** (e.g., large language models) to:\n- Summarize **ISO 128-2** and **ISO 7519** standards.\n- Structure the proposal for clarity and compliance with open-source guidelines.\nHuman Oversight:\n- All **technical content** (e.g., line width mappings, hierarchy rules) was **validated against the original standards** by the author.\n- **Code examples** were tested for syntax and logic but may require further review for integration.\n- The **final proposal** and **community questions** were refined manually to ensure relevance to IfcOpenShell’s goals.\nTransparency:\nAI was used as a **collaborative tool**, not as a replacement for human judgment or domain expertise.\n\n`enhancement`, `aec`, `drawing-generation`, `line-style`, `standards-compliance`","author":{"url":"https://github.com/jchkoch","@type":"Person","name":"jchkoch"},"datePublished":"2026-07-16T20:57:21Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/8659"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:28d2319c-a279-13cd-f456-6c87a3799af3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A4E0:2C7F1C:4A158A:662E60:6B049F05 |
| html-safe-nonce | c4c0a8ea6a1d3f2ec34c9fe91734059ef0ab894792f0593c57fee703214d9da1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNEUwOjJDN0YxQzo0QTE1OEE6NjYyRTYwOjZCMDQ5RjA1IiwidmlzaXRvcl9pZCI6IjE2MTEyNjkwNjg5Mjc4MzU5MDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b0be4a7abdc46d96a40a9ae47f4975a4a279b23b0a4cb106662efe0a72290b72 |
| hovercard-subject-tag | issue:4905937168 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IfcOpenShell/IfcOpenShell/8659/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9476928ebbd1bfe146b0b734e80f413288fde4b9d6e3eb1dc062e2f7f3fecbed/IfcOpenShell/IfcOpenShell/issues/8659 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9476928ebbd1bfe146b0b734e80f413288fde4b9d6e3eb1dc062e2f7f3fecbed/IfcOpenShell/IfcOpenShell/issues/8659 |
| og:image:alt | Feature Description Proposal: DIN/ISO-Compliant Line Widths and Styles for AEC Drawing Generation Background This issue proposes integrating ISO 128-2 and ISO 7519 line width and style standards in... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jchkoch |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9784b6f42e2d5eac4e394fa88cad134c0dc5b6662b4ff2787a1ed1ef5a96331d |
| turbo-cache-control | no-preview |
| go-import | github.com/IfcOpenShell/IfcOpenShell git https://github.com/IfcOpenShell/IfcOpenShell.git |
| octolytics-dimension-user_id | 13692563 |
| octolytics-dimension-user_login | IfcOpenShell |
| octolytics-dimension-repository_id | 40473201 |
| octolytics-dimension-repository_nwo | IfcOpenShell/IfcOpenShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 40473201 |
| octolytics-dimension-repository_network_root_nwo | IfcOpenShell/IfcOpenShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3fd14143b75b2af7b76bbd23b069867d091adfcc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width