Title: When would shape.id have a comma in it? · Issue #2002 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: When would shape.id have a comma in it? · Issue #2002 · IfcOpenShell/IfcOpenShell
X Title: When would shape.id have a comma in it? · Issue #2002 · IfcOpenShell/IfcOpenShell
Description: I assumed that if I took shape.id (or shape.geometry.id, depending on how I call create_shape) and did shape.id.split('-')[0] I would always get an integer of the STEP ID of the representation (or representation item, profile, etc). It l...
Open Graph Description: I assumed that if I took shape.id (or shape.geometry.id, depending on how I call create_shape) and did shape.id.split('-')[0] I would always get an integer of the STEP ID of the representation (or ...
X Description: I assumed that if I took shape.id (or shape.geometry.id, depending on how I call create_shape) and did shape.id.split('-')[0] I would always get an integer of the STEP ID of the representat...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/2002
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"When would shape.id have a comma in it?","articleBody":"I assumed that if I took shape.id (or shape.geometry.id, depending on how I call `create_shape`) and did `shape.id.split('-')[0]` I would always get an integer of the STEP ID of the representation (or representation item, profile, etc). It looks that way in the code: https://github.com/IfcOpenShell/IfcOpenShell/blob/v0.6.0/src/ifcgeom/IfcGeomFunctions.cpp#L1837\r\n\r\nHowever, @CyrilWaechter brought up a situation where if I have an IfcCurveBoundedPlane (a representation item) and do create_shape on that, then the returned shape.id is `5,889` that is, it has a comma in it.\r\n\r\nWhat portion of the C++ would cause this? Should it be modified so that it is consistent with L1837 in the link above?","author":{"url":"https://github.com/Moult","@type":"Person","name":"Moult"},"datePublished":"2022-01-24T10:42:12Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/2002"}
| 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:c04af821-e5f9-149c-d715-df3c3f85623f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B892:1773D8:45413E:5D76D9:6B049B27 |
| html-safe-nonce | e9e72e521d5e2a93e8007c659a9611dc1f614343234263780739c42b0d3627c5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODkyOjE3NzNEODo0NTQxM0U6NUQ3NkQ5OjZCMDQ5QjI3IiwidmlzaXRvcl9pZCI6Ijg0NDc3NDczNTY0MDkyNDAzNTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2422c74bc5e92a1fcfa853a158b08788534e32af873e12d97aaa56eb074e7be3 |
| hovercard-subject-tag | issue:1112469657 |
| 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/2002/issue_layout |
| twitter:image | https://opengraph.githubassets.com/651971c1f95e7a5c0cf5a0a18586c26397fc29d9ce76978a0d5ae7e35f8c9c85/IfcOpenShell/IfcOpenShell/issues/2002 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/651971c1f95e7a5c0cf5a0a18586c26397fc29d9ce76978a0d5ae7e35f8c9c85/IfcOpenShell/IfcOpenShell/issues/2002 |
| og:image:alt | I assumed that if I took shape.id (or shape.geometry.id, depending on how I call create_shape) and did shape.id.split('-')[0] I would always get an integer of the STEP ID of the representation (or ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Moult |
| 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