René's URL Explorer Experiment


Title: Bonsai: auto storey level marks lose their side when the storey height changes, and keep their width when the drawing is resized · Issue #10114 · IfcOpenShell/IfcOpenShell · GitHub

Open Graph Title: Bonsai: auto storey level marks lose their side when the storey height changes, and keep their width when the drawing is resized · Issue #10114 · IfcOpenShell/IfcOpenShell

X Title: Bonsai: auto storey level marks lose their side when the storey height changes, and keep their width when the drawing is resized · Issue #10114 · IfcOpenShell/IfcOpenShell

Description: Bug Description On activation, sync_references updates the automatic storey level marks of a section through Drawing.regenerate_storey_annotation (src/bonsai/bonsai/tool/drawing.py, lines 1757–1802). If the camera matrix is unchanged it ...

Open Graph Description: Bug Description On activation, sync_references updates the automatic storey level marks of a section through Drawing.regenerate_storey_annotation (src/bonsai/bonsai/tool/drawing.py, lines 1757–1802...

X Description: Bug Description On activation, sync_references updates the automatic storey level marks of a section through Drawing.regenerate_storey_annotation (src/bonsai/bonsai/tool/drawing.py, lines 1757–1802...

Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/10114

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bonsai: auto storey level marks lose their side when the storey height changes, and keep their width when the drawing is resized","articleBody":"### Bug Description\n\nOn activation, `sync_references` updates the automatic storey level marks of a section through `Drawing.regenerate_storey_annotation` (`src/bonsai/bonsai/tool/drawing.py`, lines 1757–1802). If the camera matrix is unchanged it only looks at the height:\n\n```python\nexisting_verts = sorted(existing_verts, key=lambda v: v.x)\nxmin, xmax = [v.x for v in existing_verts]\ny = points[0].y\nif not tool.Cad.is_x(y, existing_verts[0].y) or not tool.Cad.is_x(y, existing_verts[1].y):\n    new_points = (Vector((xmax, y, 0.0)), Vector((xmin, y, 0.0)))\n```\n\nThis has two effects:\n\n1. **A mark placed on the other side loses its side when the storey height changes.** The existing points are sorted by x and always written back as `(xmax, xmin)`. As long as the height is unchanged, a mark the user put on the other side (points reversed) stays there; after the storey is moved it jumps back.\n2. **The width never follows the drawing.** With an unchanged height nothing is rewritten, and with a changed height the old `xmin`/`xmax` are kept. So when the drawing is made narrower or wider, the marks keep their old length.\n\n### Reproduction (Bonsai 0.9.1, new project with four storeys)\n\nSection looking north, camera coordinates in metres:\n\n| Step | OG level mark |\n|---|---|\n| Activate drawing (3 × 12 m) | `(6.0, 1.75)`, `(−6.0, 1.75)` |\n| Reverse its two points, activate again | `(−6.0, 1.75)`, `(6.0, 1.75)`, kept |\n| Raise the OG storey by 0.25 m, activate again | `(6.0, 2.0)`, `(−6.0, 2.0)`, **side lost** |\n| Resize drawing to 20 × 12 m (frame x ±10), activate | all marks stay at x ±6 |\n| Resize drawing to 16 × 12 m (frame x ±8), activate | all marks stay at x ±6 |\n\n(The ±6 instead of ±1.5 for the 3 m wide drawing is a separate problem in `ortho_view_frame`, see #10110.)\n\n### Expected\n\n- When only the height changes, keep the direction of the existing mark (which end carries the symbol).\n- Possibly: when the drawing's width changes, fit the mark to the new frame. I am not sure this is wanted, since a user may have shortened a mark on purpose, so I'd like to hear what you prefer.\n\n### Possible fix for the first point (not tested)\n\nKeep the stored order instead of sorting:\n\n```python\nfirst, second = existing_verts  # in stored order\ny = points[0].y\nif not tool.Cad.is_x(y, first.y) or not tool.Cad.is_x(y, second.y):\n    new_points = (Vector((first.x, y, 0.0)), Vector((second.x, y, 0.0)))\n```\n\nHappy to test a fix on our sections.\n\n*Prepared with the help of an AI assistant and checked by me.*\n\n### Attachments\n\n_No response_\n\n### Debug and Error Output\n\n```true\nBonsai 0.9.1-alpha261027 (IfcOpenShell 0.9.1a261027), Blender 5.2.0 LTS, Windows\nCode checked on v0.9.0 at 28bae19 (2026-10-30)\n```","author":{"url":"https://github.com/SautaRoc","@type":"Person","name":"SautaRoc"},"datePublished":"2026-11-02T06:34:59Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/10114"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:4c855951-84d9-e816-1d04-3cf46001310a
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8270:367411:16ADB5:1F518B:6B0465A8
html-safe-nonce96b8765eb7b3c082d31c3f92af155ec92f3e4dfdcc8eeed696d2398a557ce46a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjcwOjM2NzQxMToxNkFEQjU6MUY1MThCOjZCMDQ2NUE4IiwidmlzaXRvcl9pZCI6IjcxOTEwMzUyNDMwNjQ0NTczNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb55bbd8bbd56e60c0fcd21c2e68ccf62e7f472faca385fde33d7c0050eddeb3e
hovercard-subject-tagissue:6157544981
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IfcOpenShell/IfcOpenShell/10114/issue_layout
twitter:imagehttps://opengraph.githubassets.com/5970d658620911240ed150afa97e0a1362c3b5476027473e5e6e0ba4f06e31cf/IfcOpenShell/IfcOpenShell/issues/10114
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5970d658620911240ed150afa97e0a1362c3b5476027473e5e6e0ba4f06e31cf/IfcOpenShell/IfcOpenShell/issues/10114
og:image:altBug Description On activation, sync_references updates the automatic storey level marks of a section through Drawing.regenerate_storey_annotation (src/bonsai/bonsai/tool/drawing.py, lines 1757–1802...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSautaRoc
hostnamegithub.com
expected-hostnamegithub.com
None83e4c0e58c5162177f3c161c5fbad38527ae04c11ac14980f9f9d85ae2027b1f
turbo-cache-controlno-preview
go-importgithub.com/IfcOpenShell/IfcOpenShell git https://github.com/IfcOpenShell/IfcOpenShell.git
octolytics-dimension-user_id13692563
octolytics-dimension-user_loginIfcOpenShell
octolytics-dimension-repository_id40473201
octolytics-dimension-repository_nwoIfcOpenShell/IfcOpenShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id40473201
octolytics-dimension-repository_network_root_nwoIfcOpenShell/IfcOpenShell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseca4d07a7cef4e4b75f821dc25e7300d80c1450a9
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/IfcOpenShell/IfcOpenShell/issues/10114#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2F10114
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2F10114
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=IfcOpenShell%2FIfcOpenShell
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/10114
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/10114
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/10114
IfcOpenShellhttps://github.com/IfcOpenShell
IfcOpenShellhttps://github.com/IfcOpenShell/IfcOpenShell
Codehttps://github.com/IfcOpenShell/IfcOpenShell
Issues1.2k (1.2k)https://github.com/IfcOpenShell/IfcOpenShell/issues
Pull requests936 (936)https://github.com/IfcOpenShell/IfcOpenShell/pulls
Discussionshttps://github.com/IfcOpenShell/IfcOpenShell/discussions
Actionshttps://github.com/IfcOpenShell/IfcOpenShell/actions
Projectshttps://github.com/IfcOpenShell/IfcOpenShell/projects
Wikihttps://github.com/IfcOpenShell/IfcOpenShell/wiki
Security and qualityhttps://github.com/IfcOpenShell/IfcOpenShell/security
Insightshttps://github.com/IfcOpenShell/IfcOpenShell/insights
https://github.com/IfcOpenShell/IfcOpenShell
New issuehttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/10114
New issuehttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/10114
Bughttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=type:"Bug"
Bonsai: auto storey level marks lose their side when the storey height changes, and keep their width when the drawing is resizedhttps://github.com/IfcOpenShell/IfcOpenShell/issues/10114#top
https://github.com/SautaRoc
SautaRochttps://github.com/SautaRoc
on Nov 2, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/10114#issue-6157544981
#10110https://github.com/IfcOpenShell/IfcOpenShell/issues/10110
SautaRochttps://github.com/SautaRoc
Bughttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=type:"Bug"
on Nov 2, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/10114#event-34881459022
https://github.com/3adoshka
3adoshkahttps://github.com/3adoshka
on Nov 20, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/10114#issuecomment-7025950906
#10280https://github.com/IfcOpenShell/IfcOpenShell/pull/10280
Sign up for freehttps://github.com/signup?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/10114
Sign in to commenthttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/10114
Bughttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=type:"Bug"
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.