Title: ifcgeom: implement IfcRevolvedAreaSolidTapered (honour EndSweptArea) (#3540) by petruconduraru · Pull Request #8482 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: ifcgeom: implement IfcRevolvedAreaSolidTapered (honour EndSweptArea) (#3540) by petruconduraru · Pull Request #8482 · IfcOpenShell/IfcOpenShell
X Title: ifcgeom: implement IfcRevolvedAreaSolidTapered (honour EndSweptArea) (#3540) by petruconduraru · Pull Request #8482 · IfcOpenShell/IfcOpenShell
Description: Fixes #3540. Problem IfcRevolvedAreaSolidTapered is a subtype of IfcRevolvedAreaSolid, so with no dedicated mapping it fell through to the plain revolve handler, which reads only SweptArea and emits a taxonomy::revolve. Its EndSweptArea was silently discarded, so the taper was lost. Confirmed live on the bundled 0.8.6 build: a 100x100 to 40x40, 90 degree tapered revolve produced geometry byte identical to a plain revolve of the start profile (the 40x40 end profile fully ignored). Fix Add a dedicated IfcRevolvedAreaSolidTapered mapping that expresses the tapered revolve as a loft: a functor_item directrix representing a rigid rotation about the revolution axis is fed to make_loft, which interpolates the start and end profiles while placing them around the arc. This is the same loft mechanism already used by IfcExtrudedAreaSolidTapered and IfcSectionedSolidHorizontal, so no kernel change is needed. The BIND is placed before IfcRevolvedAreaSolid so the derived type wins first-match dispatch, mirroring the Extruded pair. Verification and honest caveat The bug (EndSweptArea ignored) is reproduced live. The fix itself is not runtime-verified: the available prebuilt ifcopenshell does not carry this patch and I have no local kernel build, so I could not render the result. The approach and dispatch mirror the existing Tapered/loft mappings, and CI's build-ifcopenshell compile-checks it, but the residual risk is the placement/orientation math (the rotation sign and the frame-column permutation into make_loft's convention), which needs a render to confirm. I would appreciate a maintainer with a build sanity-checking the produced solid, and I am happy to iterate on the frame math. Known limitation inherited from make_loft: the start and end profiles must have matching vertex counts. 🤖 Generated with Claude Code
Open Graph Description: Fixes #3540. Problem IfcRevolvedAreaSolidTapered is a subtype of IfcRevolvedAreaSolid, so with no dedicated mapping it fell through to the plain revolve handler, which reads only SweptArea and emit...
X Description: Fixes #3540. Problem IfcRevolvedAreaSolidTapered is a subtype of IfcRevolvedAreaSolid, so with no dedicated mapping it fell through to the plain revolve handler, which reads only SweptArea and emit...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/pull/8482
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
| 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 | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:f43b8367-600d-822b-64e8-60b66900c1ad |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A9CC:1F13:107ACE7:1650D48:6B054DA8 |
| html-safe-nonce | 5670ba36999a61144bcabc831c3e5f2c72993f02662eb435163a78ded4034bd6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOUNDOjFGMTM6MTA3QUNFNzoxNjUwRDQ4OjZCMDU0REE4IiwidmlzaXRvcl9pZCI6IjY4NjEyNjQ5NjIxNTM5NTg4MjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | fea0ca504b82d876e34b4b549d1cb91e11313cc6e64121ebcd5d877345fdd25f |
| hovercard-subject-tag | pull_request:4030352542 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/IfcOpenShell/IfcOpenShell/pull/8482/files |
| twitter:image | https://avatars.githubusercontent.com/u/139251053?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/139251053?s=400&v=4 |
| og:image:alt | Fixes #3540. Problem IfcRevolvedAreaSolidTapered is a subtype of IfcRevolvedAreaSolid, so with no dedicated mapping it fell through to the plain revolve handler, which reads only SweptArea and emit... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 854d880890b5e847b3fce9d1b31f032107baeddeebad2aa379c48aa4f1451f6b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 220e980097d94ce616d5d11fbd5316d208e3fc93 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | no-cache |
Viewport: width=device-width