Title: IfcDirection was saved corrupted by nan values · Issue #4329 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: IfcDirection was saved corrupted by nan values · Issue #4329 · IfcOpenShell/IfcOpenShell
X Title: IfcDirection was saved corrupted by nan values · Issue #4329 · IfcOpenShell/IfcOpenShell
Description: Open source IFC library and geometry engine. Contribute to IfcOpenShell/IfcOpenShell development by creating an account on GitHub.
Open Graph Description: Open source IFC library and geometry engine. Contribute to IfcOpenShell/IfcOpenShell development by creating an account on GitHub.
X Description: Open source IFC library and geometry engine. Contribute to IfcOpenShell/IfcOpenShell development by creating an account on GitHub.
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"IfcDirection was saved corrupted by nan values","articleBody":"Is there anyway to recover [this](https://hub.openingdesign.com/OpeningDesign/Tradesman_Warehouse_TI/src/commit/32a6c4ab56fee5847097a5e0c6f5dd4f4689e58d/Open/Models/BlenderBIM/Tradesman_Warehouse_TI.ifc) file?\r\n\r\nUnfortunately we were working on this file all day, and when we closed it, we couldn't open it again. \r\n\r\nAll our versions, saved via the file syncing throughout the day, were corrupt too. :\\\r\n\r\n\r\n\r\n```\r\nTraceback (most recent call last):\r\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\bim\\module\\project\\operator.py\", line 734, in execute\r\n ifc_importer.execute()\r\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\bim\\import_ifc.py\", line 251, in execute\r\n self.create_elements()\r\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\bim\\import_ifc.py\", line 839, in create_elements\r\n self.create_generic_elements(self.elements)\r\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\bim\\import_ifc.py\", line 864, in create_generic_elements\r\n products = self.create_pointclouds(elements)\r\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\bim\\import_ifc.py\", line 1048, in create_pointclouds\r\n pointcloud = self.create_pointcloud(product, representation)\r\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\bim\\import_ifc.py\", line 1055, in create_pointcloud\r\n placement_matrix = self.get_element_matrix(product)\r\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\bim\\import_ifc.py\", line 1757, in get_element_matrix\r\n result = ifcopenshell.util.placement.get_local_placement(element.ObjectPlacement)\r\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\libs\\site\\packages\\ifcopenshell\\util\\placement.py\", line 106, in get_local_placement\r\n return np.dot(parent, get_axis2placement(placement.RelativePlacement))\r\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\libs\\site\\packages\\ifcopenshell\\util\\placement.py\", line 61, in get_axis2placement\r\n z = np.array(placement.Axis.DirectionRatios if placement.Axis else (0, 0, 1))\r\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\libs\\site\\packages\\ifcopenshell\\entity_instance.py\", line 151, in __getattr__\r\n return entity_instance.wrap_value(self.wrapped_data.get_argument(idx), self.wrapped_data.file)\r\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\libs\\site\\packages\\ifcopenshell\\ifcopenshell_wrapper.py\", line 4895, in get_argument\r\n return _ifcopenshell_wrapper.entity_instance_get_argument(self, *args)\r\nRuntimeError: Argument is not a number\r\nError: Python: Traceback (most recent call last):\r\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\bim\\module\\project\\operator.py\", line 734, in execute\r\n ifc_importer.execute()\r\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\bim\\import_ifc.py\", line 251, in execute\r\n self.create_elements()\r\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\bim\\import_ifc.py\", line 839, in create_elements\r\n self.create_generic_elements(self.elements)\r\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\bim\\import_ifc.py\", line 864, in create_generic_elements\r\n products = self.create_pointclouds(elements)\r\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\bim\\import_ifc.py\", line 1048, in create_pointclouds\r\n pointcloud = self.create_pTraceback (most recent call last):\r\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\bim\\module\\project\\operator.py\", line 630, in load_handler\r\n self.finish_loading_project(context)\r\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\bim\\module\\project\\operator.py\", line 657, in finish_loading_project\r\n bpy.ops.bim.load_project_elements()\r\n File \"C:\\Program Files\\Blender Foundation\\Blender 3.6\\3.6\\scripts\\modules\\bpy\\ops.py\", line 113, in __call__\r\n ret = _op_call(self.idname_py(), None, kw)\r\nRuntimeError: Error: Python: Traceback (most recent call last):\r\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\bim\\module\\project\\operator.py\", line 734, in execute\r\n ifc_importer.execute()\r\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\bim\\import_ifc.py\", line 251, in execute\r\n self.create_elements()\r\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\bim\\import_ifc.py\", line 839, in create_elements\r\n self.create_generic_elements(self.elements)\r\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\bim\\import_ifc.py\", line 864, in create_generic_elements\r\n products = self.create_pointclouds(elements)\r\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\bim\\import_ifc.py\", line 1048, in create_pointclouds\r\n pointcloud = self.create_pointcloud(product, representation)\r\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\bim\\import_ifc.py\", line 1055, in create_pointcloud\r\n placement_matrix = self.get_element_matrix(product)\r\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\bim\\import_ifc.py\", line 1757, in get_element_matrix\r\n result = ifcopenshell.util.placement.get_local_placement(element.ObjectPlacement)\r\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\libs\\site\\packages\\ifcopenshell\\util\\placement.py\", line 106, in get_local_placement\r\n return np.dot(parent, get_axis2placement(placement.RelativePlacement))\r\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\libs\\site\\packages\\ifcopenshell\\util\\placement.py\", line 61, in get_axis2placement\r\n z = np.array(placement.Axis.DirectionRatios if placement.Axis else (0, 0, 1))\r\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\libs\\site\\packages\\ifcopenshell\\entity_instance.py\", line 151, in __getattr__\r\n return entity_instance.wrap_value(self.wrapped_data.get_argument(idx), self.wrapped_data.file)\r\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\libs\\site\\packages\\ifcopenshell\\ifcopenshell_wrapper.py\", line 4895, in get_argument\r\n return _ifcopenshell_wrapper.entity_instance_get_argument(self, *args)\r\nRuntimeError: Argument is not a number\r\nLocation: C:\\Program Files\\Blender Foundation\\Blender 3.6\\3.6\\scripts\\modules\\bpy\\ops.py:113\r\n```","author":{"url":"https://github.com/theoryshaw","@type":"Person","name":"theoryshaw"},"datePublished":"2024-02-16T03:11:02Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/4329"}
| 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/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:3bc3acdd-6e03-1265-676d-028ff2c25255 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B5A2:399206:704D24:9709A3:6B04AAFC |
| html-safe-nonce | 149ce07c2af1c3fd00713b2cc3ba444602cd0ffd19dbc85dbda7328df5307483 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUEyOjM5OTIwNjo3MDREMjQ6OTcwOUEzOjZCMDRBQUZDIiwidmlzaXRvcl9pZCI6IjI1MDA0MTQ4MzA2MzMzMzE0NTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 303cb33debb3cc98a66f119b1cfeb6a34e4d7f0e1473450f758786d2acfffdff |
| hovercard-subject-tag | repository:40473201 |
| 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/IfcOpenShell/IfcOpenShell/issues/4329 |
| twitter:image | https://opengraph.githubassets.com/28e4520c7d86b1b5225c8b336ba660404d70fd027548b7630a2530d57c89e9c2/IfcOpenShell/IfcOpenShell |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/28e4520c7d86b1b5225c8b336ba660404d70fd027548b7630a2530d57c89e9c2/IfcOpenShell/IfcOpenShell |
| og:image:alt | Open source IFC library and geometry engine. Contribute to IfcOpenShell/IfcOpenShell development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | f1d110ea058a0915c1d8aa3fc2069fa15801e128f591e5762525abe77490ecb1 |
| turbo-cache-control | no-cache |
| 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