Title: IfcConvert produces incorrect svg, some data is missing · Issue #4828 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: IfcConvert produces incorrect svg, some data is missing · Issue #4828 · IfcOpenShell/IfcOpenShell
X Title: IfcConvert produces incorrect svg, some data is missing · Issue #4828 · IfcOpenShell/IfcOpenShell
Description: Hello, IT-heroes! I have an IFC model, which can be downloaded by this link. I try to build my own model-viewer and for that purpose I implement functionality also similar to BimSurfer - that is showing different model levels based on sv...
Open Graph Description: Hello, IT-heroes! I have an IFC model, which can be downloaded by this link. I try to build my own model-viewer and for that purpose I implement functionality also similar to BimSurfer - that is sh...
X Description: Hello, IT-heroes! I have an IFC model, which can be downloaded by this link. I try to build my own model-viewer and for that purpose I implement functionality also similar to BimSurfer - that is sh...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/4828
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"IfcConvert produces incorrect svg, some data is missing","articleBody":"Hello, IT-heroes! I have an IFC model, which can be downloaded by this [link](http://84.252.138.255/files/digitaltwineditor/files/2024/06/ce41707f-954c-4634-849e-213e1360b286.ifc). I try to build my own model-viewer and for that purpose I implement functionality also similar to BimSurfer - that is showing different model levels based on svg. And this is how I create svg itself:\r\n\r\n```bash\r\nIfcConvert ce41707f-954c-4634-849e-213e1360b286.ifc ce41707f-954c-4634-849e-213e1360b286.svg -qy --log-file log.json --door-arcs --print-space-names --print-space-areas --bounds=1024x1024 --include entities IfcSpace IfcWall IfcWindow IfcDoor\r\n```\r\n\r\nI took all options form ifc-pipeline source [code](https://github.com/aothms/ifc-pipeline/blob/3dcdaa02bf047feb9636b28bb5889ec5c22a3bc1/application/worker.py#L126). However, when I check it, I see that the resulting svg is missing some topmost g tags. For example, this is svg produced by BimSurfer\r\n\r\n And this is what I got running IfcConvert myself:\r\n\r\n\r\nAs you can see, incorrect svg is missing these two storeys: \r\n\r\n```\u003cg id=\"storey-ecd44e62-d786-4fab-a494-cacb393e0128\" class=\"IfcBuildingStorey\" data-name=\"+10.500\" data-guid=\"3ir4vYruPFgwIKoiivFW4e\" data-plane=\"[[1.000000,0.000000,0.000000,0.000000],[0.000000,1.000000,0.000000,0.000000],[0.000000,0.000000,1.000000,11.700000],[0.000000,0.000000,0.000000,1.000000]]\" data-matrix3=\"[[9.169342,0.000000,4.309591],[0.000000,9.169342,1019.965489],[0.000000,0.000000,1.000000]]\">\r\n\t\r\n \u003cg id=\"storey-ecd44e62-d786-4fab-a494-cacb393196d7\" class=\"IfcBuildingStorey\" data-name=\"+11.100\" data-guid=\"3ir4vYruPFgwIKoiivCPRN\" data-plane=\"[[1.000000,0.000000,0.000000,0.000000],[0.000000,1.000000,0.000000,0.000000],[0.000000,0.000000,1.000000,12.300000],[0.000000,0.000000,0.000000,1.000000]]\" data-matrix3=\"[[9.169342,0.000000,4.309591],[0.000000,9.169342,1019.965489],[0.000000,0.000000,1.000000]]\">\r\n\r\n```\r\n\r\nWhat is wrong with that and how can I possiblty fix it?\r\n","author":{"url":"https://github.com/bingo-soft","@type":"Person","name":"bingo-soft"},"datePublished":"2024-06-07T12:47:50Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/4828"}
| 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:dd89fc8b-65e7-8902-97cf-3c6314b10ec2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8706:32230E:4A99F:65D31:6B04AE2A |
| html-safe-nonce | 13d9b7d0748ec588f932f61949ddecb5bcdfd1f2effc3accc5497b2cd999fc83 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzA2OjMyMjMwRTo0QTk5Rjo2NUQzMTo2QjA0QUUyQSIsInZpc2l0b3JfaWQiOiI3NzI2NzMzNTk5OTQ4NzEzNTE0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 36c2f2684b0d7310afb8739f645c0fb10b1eb59dbe5cf2b49bd0ac9b7019667a |
| hovercard-subject-tag | issue:2340375892 |
| 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/4828/issue_layout |
| twitter:image | https://opengraph.githubassets.com/96d40c844196044cd237626421ae8fbf442e98c7bb1f5e09649ccf773fde2bf1/IfcOpenShell/IfcOpenShell/issues/4828 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/96d40c844196044cd237626421ae8fbf442e98c7bb1f5e09649ccf773fde2bf1/IfcOpenShell/IfcOpenShell/issues/4828 |
| og:image:alt | Hello, IT-heroes! I have an IFC model, which can be downloaded by this link. I try to build my own model-viewer and for that purpose I implement functionality also similar to BimSurfer - that is sh... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bingo-soft |
| hostname | github.com |
| expected-hostname | github.com |
| None | f1d110ea058a0915c1d8aa3fc2069fa15801e128f591e5762525abe77490ecb1 |
| 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 | ffa22a65e4c46d376940fe34b05e6a7e9c7fdb9b |
| 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