Title: util.representation.ClippingInfo creates invalid IfcAxis2Placement3D · Issue #4052 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: util.representation.ClippingInfo creates invalid IfcAxis2Placement3D · Issue #4052 · IfcOpenShell/IfcOpenShell
X Title: util.representation.ClippingInfo creates invalid IfcAxis2Placement3D · Issue #4052 · IfcOpenShell/IfcOpenShell
Description: This line creates an IfcAxis2Placement3D with a Location, an Axis, but no RefDirection: axis_placement = file.createIfcAxis2Placement3D(location, direction, None) This is generating validation errors for me: On instance: #1818=IfcAxis2Pl...
Open Graph Description: This line creates an IfcAxis2Placement3D with a Location, an Axis, but no RefDirection: axis_placement = file.createIfcAxis2Placement3D(location, direction, None) This is generating validation erro...
X Description: This line creates an IfcAxis2Placement3D with a Location, an Axis, but no RefDirection: axis_placement = file.createIfcAxis2Placement3D(location, direction, None) This is generating validation erro...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/4052
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"util.representation.ClippingInfo creates invalid IfcAxis2Placement3D","articleBody":"[This line](https://github.com/IfcOpenShell/IfcOpenShell/blob/58414777be599593bfdb1e04347699719af20140/src/ifcopenshell-python/ifcopenshell/util/representation.py#L138) creates an IfcAxis2Placement3D with a Location, an Axis, but no RefDirection:\r\n\r\n axis_placement = file.createIfcAxis2Placement3D(location, direction, None)\r\n\r\nThis is generating validation errors for me:\r\n\r\n```\r\nOn instance:\r\n #1818=IfcAxis2Placement3D(#1816,#1817,$)\r\nRule IfcAxis2Placement3D.AxisAndRefDirProvision:\r\n (not exists(axis) ^ exists(refdirection))\r\nViolated by:\r\n not (True ^ False)\r\n + where True = exists(#1817=IfcDirection((-0.707106781186547,0.,0.707106781186547)))\r\n + and False = exists(None)\r\n```\r\n\r\nWhich I *think* means that you are not supposed to have an Axis without a RefDirection.","author":{"url":"https://github.com/brunopostle","@type":"Person","name":"brunopostle"},"datePublished":"2023-11-27T23:44:43Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/4052"}
| 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:4bf11790-5cae-eeb2-3d56-6138b82da17c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8936:21057A:D9FD8:12A2A3:6B04B0AC |
| html-safe-nonce | dd5e202d6ca1b1b598fcf2b0f53b7f84915e489a2a51ea208fce55beba927815 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTM2OjIxMDU3QTpEOUZEODoxMkEyQTM6NkIwNEIwQUMiLCJ2aXNpdG9yX2lkIjoiNDgxMTkzNjE5NDYzNDIzMTk4MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e5b020cea12d92686a68954cfeb42b6c92336513f9770e9230e1732ad331a882 |
| hovercard-subject-tag | issue:2013325311 |
| 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/4052/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7d10fe3c9316a3678837ad27cbf6c0930c78c1125a8fd426b282bf9ec83cae19/IfcOpenShell/IfcOpenShell/issues/4052 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7d10fe3c9316a3678837ad27cbf6c0930c78c1125a8fd426b282bf9ec83cae19/IfcOpenShell/IfcOpenShell/issues/4052 |
| og:image:alt | This line creates an IfcAxis2Placement3D with a Location, an Axis, but no RefDirection: axis_placement = file.createIfcAxis2Placement3D(location, direction, None) This is generating validation erro... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | brunopostle |
| 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