Title: IfcOpenShell fails to process PointCloud representations · Issue #5218 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: IfcOpenShell fails to process PointCloud representations · Issue #5218 · IfcOpenShell/IfcOpenShell
X Title: IfcOpenShell fails to process PointCloud representations · Issue #5218 · IfcOpenShell/IfcOpenShell
Description: Tested on v0.7.0 - it had the same issue, so it's not 0.8 regression. Traceback: PointCloud [Error] [2024-08-23 14:54:17] No operation defined for: #97=IfcCartesianPointList3D(((-1.,-1.,-1.),(-1.,-1.,1.),(-1.,1.,-1.),(-1.,1.,1.),(1.,-1.,...
Open Graph Description: Tested on v0.7.0 - it had the same issue, so it's not 0.8 regression. Traceback: PointCloud [Error] [2024-08-23 14:54:17] No operation defined for: #97=IfcCartesianPointList3D(((-1.,-1.,-1.),(-1.,-...
X Description: Tested on v0.7.0 - it had the same issue, so it's not 0.8 regression. Traceback: PointCloud [Error] [2024-08-23 14:54:17] No operation defined for: #97=IfcCartesianPointList3D(((-1.,-1.,-1.),(-...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/5218
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"IfcOpenShell fails to process PointCloud representations","articleBody":"Tested on v0.7.0 - it had the same issue, so it's not 0.8 regression.\r\n\r\nTraceback:\r\n```\r\nPointCloud\r\n[Error] [2024-08-23 14:54:17] No operation defined for:\r\n#97=IfcCartesianPointList3D(((-1.,-1.,-1.),(-1.,-1.,1.),(-1.,1.,-1.),(-1.,1.,1.),(1.,-1.,-1.),(1.,-1.,1.),(1.,1.,-1.),(1.,1.,1.)))\r\n[Error] [2024-08-23 14:54:17] Failed to convert:\r\n#98=IfcShapeRepresentation(#15,'Body','PointCloud',(#97))\r\n```\r\n\r\n\r\nExample snippet:\r\n```python\r\nimport ifcopenshell\r\nimport ifcopenshell.ifcopenshell_wrapper\r\nimport ifcopenshell.geom\r\n\r\nifc_str = \"\"\"\r\nISO-10303-21;\r\nHEADER;\r\nFILE_DESCRIPTION(('ViewDefinition[DesignTransferView]'),'2;1');\r\nFILE_NAME('test.ifc','2024-08-23T14:53:46+05:00',(),(),'IfcOpenShell 0.0.0','Bonsai 0.7.11-alpha240823-25dffea','Nobody');\r\nFILE_SCHEMA(('IFC4'));\r\nENDSEC;\r\nDATA;\r\n#1=IFCPROJECT('0dCB7A8uf5nAQuoi8gVwTS',$,'My Project',$,$,$,$,(#14,#26),#9);\r\n#2=IFCSIUNIT(*,.LENGTHUNIT.,$,.METRE.);\r\n#3=IFCSIUNIT(*,.AREAUNIT.,$,.SQUARE_METRE.);\r\n#4=IFCSIUNIT(*,.VOLUMEUNIT.,$,.CUBIC_METRE.);\r\n#5=IFCDIMENSIONALEXPONENTS(0,0,0,0,0,0,0);\r\n#6=IFCSIUNIT(*,.PLANEANGLEUNIT.,$,.RADIAN.);\r\n#7=IFCMEASUREWITHUNIT(IFCREAL(0.0174532925199433),#6);\r\n#8=IFCCONVERSIONBASEDUNIT(#5,.PLANEANGLEUNIT.,'degree',#7);\r\n#9=IFCUNITASSIGNMENT((#2,#8,#3,#4));\r\n#10=IFCCARTESIANPOINT((0.,0.,0.));\r\n#11=IFCDIRECTION((0.,0.,1.));\r\n#12=IFCDIRECTION((1.,0.,0.));\r\n#13=IFCAXIS2PLACEMENT3D(#10,#11,#12);\r\n#14=IFCGEOMETRICREPRESENTATIONCONTEXT($,'Model',3,1.E-05,#13,$);\r\n#15=IFCGEOMETRICREPRESENTATIONSUBCONTEXT('Body','Model',*,*,*,*,#14,$,.MODEL_VIEW.,$);\r\n#16=IFCGEOMETRICREPRESENTATIONSUBCONTEXT('Axis','Model',*,*,*,*,#14,$,.GRAPH_VIEW.,$);\r\n#17=IFCGEOMETRICREPRESENTATIONSUBCONTEXT('Box','Model',*,*,*,*,#14,$,.MODEL_VIEW.,$);\r\n#18=IFCGEOMETRICREPRESENTATIONSUBCONTEXT('Annotation','Model',*,*,*,*,#14,$,.SECTION_VIEW.,$);\r\n#19=IFCGEOMETRICREPRESENTATIONSUBCONTEXT('Annotation','Model',*,*,*,*,#14,$,.ELEVATION_VIEW.,$);\r\n#20=IFCGEOMETRICREPRESENTATIONSUBCONTEXT('Annotation','Model',*,*,*,*,#14,$,.MODEL_VIEW.,$);\r\n#21=IFCGEOMETRICREPRESENTATIONSUBCONTEXT('Annotation','Model',*,*,*,*,#14,$,.PLAN_VIEW.,$);\r\n#22=IFCGEOMETRICREPRESENTATIONSUBCONTEXT('Profile','Model',*,*,*,*,#14,$,.ELEVATION_VIEW.,$);\r\n#23=IFCCARTESIANPOINT((0.,0.));\r\n#24=IFCDIRECTION((1.,0.));\r\n#25=IFCAXIS2PLACEMENT2D(#23,#24);\r\n#26=IFCGEOMETRICREPRESENTATIONCONTEXT($,'Plan',2,1.E-05,#25,$);\r\n#27=IFCGEOMETRICREPRESENTATIONSUBCONTEXT('Axis','Plan',*,*,*,*,#26,$,.GRAPH_VIEW.,$);\r\n#28=IFCGEOMETRICREPRESENTATIONSUBCONTEXT('Body','Plan',*,*,*,*,#26,$,.PLAN_VIEW.,$);\r\n#29=IFCGEOMETRICREPRESENTATIONSUBCONTEXT('Annotation','Plan',*,*,*,*,#26,$,.PLAN_VIEW.,$);\r\n#30=IFCSITE('2uCspxXkb5NusmKboFRZmF',$,'My Site',$,$,#53,$,$,$,$,$,$,$,$);\r\n#36=IFCBUILDING('1YEdv93KbDTvqYZd4hGrvP',$,'My Building',$,$,#59,$,$,$,$,$,$);\r\n#42=IFCBUILDINGSTOREY('1dElTORED7WA$JvpThPo7A',$,'My Storey',$,$,#65,$,$,$,$);\r\n#48=IFCRELAGGREGATES('0qWIKmTX1BZgx6cLtYIeJ$',$,$,$,#1,(#30));\r\n#49=IFCCARTESIANPOINT((0.,0.,0.));\r\n#50=IFCDIRECTION((0.,0.,1.));\r\n#51=IFCDIRECTION((1.,0.,0.));\r\n#52=IFCAXIS2PLACEMENT3D(#49,#50,#51);\r\n#53=IFCLOCALPLACEMENT($,#52);\r\n#54=IFCRELAGGREGATES('0vjvWKYv9C1eRbIjBDf461',$,$,$,#30,(#36));\r\n#55=IFCCARTESIANPOINT((0.,0.,0.));\r\n#56=IFCDIRECTION((0.,0.,1.));\r\n#57=IFCDIRECTION((1.,0.,0.));\r\n#58=IFCAXIS2PLACEMENT3D(#55,#56,#57);\r\n#59=IFCLOCALPLACEMENT(#53,#58);\r\n#60=IFCRELAGGREGATES('3arNs2yFr7m8DLgmPibvLa',$,$,$,#36,(#42));\r\n#61=IFCCARTESIANPOINT((0.,0.,0.));\r\n#62=IFCDIRECTION((0.,0.,1.));\r\n#63=IFCDIRECTION((1.,0.,0.));\r\n#64=IFCAXIS2PLACEMENT3D(#61,#62,#63);\r\n#65=IFCLOCALPLACEMENT(#59,#64);\r\n#91=IFCACTUATOR('2gSWzv4P5DyAJWxt9f0I3D',$,'Cube',$,$,#108,#102,$,.ELECTRICACTUATOR.);\r\n#97=IFCCARTESIANPOINTLIST3D(((-1.,-1.,-1.),(-1.,-1.,1.),(-1.,1.,-1.),(-1.,1.,1.),(1.,-1.,-1.),(1.,-1.,1.),(1.,1.,-1.),(1.,1.,1.)));\r\n#98=IFCSHAPEREPRESENTATION(#15,'Body','PointCloud',(#97));\r\n#99=IFCCARTESIANPOINT((-1.,-1.,-1.));\r\n#100=IFCBOUNDINGBOX(#99,2.,2.,2.);\r\n#101=IFCSHAPEREPRESENTATION(#17,'Box','BoundingBox',(#100));\r\n#102=IFCPRODUCTDEFINITIONSHAPE($,$,(#101,#98));\r\n#103=IFCRELCONTAINEDINSPATIALSTRUCTURE('0I64E1cgX8KgmygLS6GFGx',$,$,$,(#91),#42);\r\n#104=IFCCARTESIANPOINT((0.,0.,0.));\r\n#105=IFCDIRECTION((0.,0.,1.));\r\n#106=IFCDIRECTION((1.,0.,0.));\r\n#107=IFCAXIS2PLACEMENT3D(#104,#105,#106);\r\n#108=IFCLOCALPLACEMENT(#65,#107);\r\nENDSEC;\r\nEND-ISO-10303-21;\r\n\"\"\"\r\n\r\n\r\nifcopenshell.ifcopenshell_wrapper.turn_on_detailed_logging()\r\nifc_file = ifcopenshell.file.from_string(ifc_str)\r\nelement = ifc_file.by_id(91)\r\nrep = ifc_file.by_id(98)\r\nsettings = ifcopenshell.geom.settings()\r\nprint(rep.RepresentationType)\r\n\r\nshape = ifcopenshell.geom.create_shape(settings, element, rep)\r\n```","author":{"url":"https://github.com/Andrej730","@type":"Person","name":"Andrej730"},"datePublished":"2024-08-23T09:55:00Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/5218"}
| 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:37b5b74b-8bcb-6c8b-0686-6b44848cc5a9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BFE2:17C468:814692:B0850B:6B047C33 |
| html-safe-nonce | e1c48180fe3d1ae006457dd602368ee726b683b279e354c3f8c36f74b43c73aa |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkUyOjE3QzQ2ODo4MTQ2OTI6QjA4NTBCOjZCMDQ3QzMzIiwidmlzaXRvcl9pZCI6IjU1NTQwMDA3NzU1MTgzODcyNTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f8dd6535395b8feb525990f004c856e7d90f7cd49d792be20f0ceb4be9315901 |
| hovercard-subject-tag | issue:2482773364 |
| 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/5218/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1b772dda9c2bd79a476adc5120eff39c359665f1eedce38c8d609b1bab9d157e/IfcOpenShell/IfcOpenShell/issues/5218 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1b772dda9c2bd79a476adc5120eff39c359665f1eedce38c8d609b1bab9d157e/IfcOpenShell/IfcOpenShell/issues/5218 |
| og:image:alt | Tested on v0.7.0 - it had the same issue, so it's not 0.8 regression. Traceback: PointCloud [Error] [2024-08-23 14:54:17] No operation defined for: #97=IfcCartesianPointList3D(((-1.,-1.,-1.),(-1.,-... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Andrej730 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0366ddfb372682a32e92a5d86155cb08fa83e5bbe79953a968789f2f7e24c511 |
| 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 | ed3f2e01f6b7672780c586c8af0e72726374d7b6 |
| 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