Title: CAD Join: keep the side of the edge you clicked, and remove edges in between · Issue #9314 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: CAD Join: keep the side of the edge you clicked, and remove edges in between · Issue #9314 · IfcOpenShell/IfcOpenShell
X Title: CAD Join: keep the side of the edge you clicked, and remove edges in between · Issue #9314 · IfcOpenShell/IfcOpenShell
Description: Feature Description Two related improvements to the CAD tool's Join command (bim.cad_mitre, ⇧T). 1. Join relative to the end of the edge you clicked on When two edges cross, the intersection divides each edge into two pieces, and either ...
Open Graph Description: Feature Description Two related improvements to the CAD tool's Join command (bim.cad_mitre, ⇧T). 1. Join relative to the end of the edge you clicked on When two edges cross, the intersection divide...
X Description: Feature Description Two related improvements to the CAD tool's Join command (bim.cad_mitre, ⇧T). 1. Join relative to the end of the edge you clicked on When two edges cross, the intersection di...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/9314
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"CAD Join: keep the side of the edge you clicked, and remove edges in between","articleBody":"### Feature Description\n\nTwo related improvements to the CAD tool's **Join** command (`bim.cad_mitre`, ⇧T).\n\n---\n\n#### 1. Join relative to the end of the edge you clicked on\n\nWhen two edges cross, the intersection divides each edge into two pieces, and either piece could reasonably be the one that survives the join. Today the tool always keeps the **longest** piece, so there is no way to ask for the shorter one.\n\nIt would be better if the piece you **clicked on** were the piece that survives — i.e. clicking near one end of an edge keeps that end and trims the rest back to the intersection. This matches how joining/filleting works in most CAD packages, where the portions you select are the portions retained.\n\n**Current behaviour**\n\n```\n │\n A ───┼──────── B selecting these two edges always keeps\n │ the long side of each, regardless of\n │ where you clicked\n```\n\n**Desired behaviour**\n\nClicking the short stub between the intersection and the near end should keep that stub; clicking the long side should keep the long side.\n\nNotes on scope:\n\n- Only meaningful when the intersection actually falls **inside** an edge. When it falls beyond the end, the edge has to be *extended* to reach the joint and there is only one sensible outcome, so the click should be ignored there.\n- The relevant comparison is the click against the **intersection point**, not against the edge's midpoint — those differ, and splitting at the midpoint picks the wrong side for any click between the two.\n- The side you click is only as easy to hit as it is big on screen. A short piece at a low zoom is a small target, so this is inherently somewhat zoom-sensitive — zooming in makes the intended side easier to click.\n\n---\n\n#### 2. Remove the edges in between when joining across a chain\n\nIf you select two edges that are part of a chain, with one or more edges between them, those in-between edges are not removed — they are dragged along by the vertices the join moves, leaving a spike hanging off the new corner.\n\n```\n A ────●────●──── B joining A and B leaves the two middle\n └────┘ edges attached, distorted\n```\n\nIt would be nice if the edges between the two being joined were simply removed automatically, leaving a clean corner.\n\nNote that on a **closed** loop there are two routes between any pair of edges, and they can be the same number of edges, so \"which edges are in between\" is ambiguous on length alone. The unambiguous answer is the route attached to the two ends the join is discarding.\n\n---\n\n#### 3. Related: undo should clear the selection\n\nWhile testing the above: after undoing a join, Blender restores the selection along with the geometry, so both edges still look selected and ready to join. If the tool is remembering which side of each edge you picked, that memory no longer matches what is on screen, and pressing Join again silently reuses stale information.\n\nUndoing a join should clear the selection, forcing both edges to be picked again — which is also what records which side to keep.\n\n---\n\n*A working implementation of all three exists locally and a PR will follow.*\n","author":{"url":"https://github.com/theoryshaw","@type":"Person","name":"theoryshaw"},"datePublished":"2026-08-16T20:57:26Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/9314"}
| 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:db43f32b-50ea-32a4-ad49-8593c0c0289a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E002:30B496:1F82F9:2CBD0E:6B0468A5 |
| html-safe-nonce | f9e2374cb3c6c42b3bddbc0e43d2ad5e6fde59a47447dcf984899aa0ffe17702 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDAyOjMwQjQ5NjoxRjgyRjk6MkNCRDBFOjZCMDQ2OEE1IiwidmlzaXRvcl9pZCI6IjQxMTkwNDEzODI5MDIxNjM2MjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9654f6aecc230c1a763a2bfe61c206f29f50b56defc5d3a179cb77b9c2856749 |
| hovercard-subject-tag | issue:5166342555 |
| 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/9314/issue_layout |
| twitter:image | https://opengraph.githubassets.com/45199eec57349c39ff2560011b45e3d07d045f369bc9d3e7fd6a2abf58529a3f/IfcOpenShell/IfcOpenShell/issues/9314 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/45199eec57349c39ff2560011b45e3d07d045f369bc9d3e7fd6a2abf58529a3f/IfcOpenShell/IfcOpenShell/issues/9314 |
| og:image:alt | Feature Description Two related improvements to the CAD tool's Join command (bim.cad_mitre, ⇧T). 1. Join relative to the end of the edge you clicked on When two edges cross, the intersection divide... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | theoryshaw |
| hostname | github.com |
| expected-hostname | github.com |
| None | 83e4c0e58c5162177f3c161c5fbad38527ae04c11ac14980f9f9d85ae2027b1f |
| 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 | ca4d07a7cef4e4b75f821dc25e7300d80c1450a9 |
| 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