Title: missing asterisk for derived attribute / data lost · Issue #232 · stepcode/stepcode · GitHub
Open Graph Title: missing asterisk for derived attribute / data lost · Issue #232 · stepcode/stepcode
X Title: missing asterisk for derived attribute / data lost · Issue #232 · stepcode/stepcode
Description: This problem was discovered when the part 409 ATS files were first tested. I thought I'd created an issue for it then, but apparently I didn't. STEPcode thinks that an attribute is derived when it isn't; the files are correct. ERROR: ENT...
Open Graph Description: This problem was discovered when the part 409 ATS files were first tested. I thought I'd created an issue for it then, but apparently I didn't. STEPcode thinks that an attribute is derived when it ...
X Description: This problem was discovered when the part 409 ATS files were first tested. I thought I'd created an issue for it then, but apparently I didn't. STEPcode thinks that an attribute is derived ...
Opengraph URL: https://github.com/stepcode/stepcode/issues/232
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"missing asterisk for derived attribute / data lost","articleBody":"This problem was discovered when the part 409 ATS files were first tested. I thought I'd created an issue for it then, but apparently I didn't.\n\nSTEPcode thinks that an attribute is derived when it isn't; the files are correct.\n\n```\nERROR: ENTITY #637538260 Si_Energy_Unit\n name : WARNING: attribute 'name' of type 'si_unit_name' - missing asterisk for derived attribute.\n Found invalid .JOU value...\n data lost looking for end of attribute: .JOULE.\nERROR in EXCHANGE FILE: incomplete instance #637538260.\n```\n\nSmall file to reproduce the error:\n\n```\nISO-10303-21;\nHEADER;\n\n/******************************************************************************************\n****\n**** derived from ATS1-out.stp - hand edited by MP for STEPcode debugging\n****\n******************************************************************************************/\nFILE_DESCRIPTION((''),'2;1');\nFILE_NAME('', '', (''), (''), '', '', '');\nFILE_SCHEMA(('AP209_MULTIDISCIPLINARY_ANALYSIS_AND_DESIGN_MIM_LF'));\nENDSEC;\nDATA;\n\n#637538260= SI_ENERGY_UNIT((#637538262,#637538264,#637538266),*,$,.JOULE.);\n#637538262= DERIVED_UNIT_ELEMENT(#637538263,1.);\n#637538263= /* MASS_UNIT+SI_UNIT */(MASS_UNIT()NAMED_UNIT(*)SI_UNIT(.KILO.,.GRAM.));\n#637538264= DERIVED_UNIT_ELEMENT(#637538265,2.);\n#637538265= /* LENGTH_UNIT+SI_UNIT */(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT($,.METRE.));\n#637538266= DERIVED_UNIT_ELEMENT(#637538267,-2.);\n#637538267= /* SI_UNIT+TIME_UNIT */(NAMED_UNIT(*)SI_UNIT($,.SECOND.)TIME_UNIT());\n\nENDSEC;\nEND-ISO-10303-21;\n```\n\nPart of the relevant EXPRESS:\n\n```\nENTITY si_energy_unit\n SUBTYPE OF (energy_unit, si_unit);\nWHERE\n WR1 : SELF\\si_unit.name = si_unit_name.joule;\n WR2 : NOT EXISTS(SELF\\derived_unit.name);\nEND_ENTITY;\n\n\n ENTITY si_unit\n SUBTYPE OF (named_unit);\n prefix : OPTIONAL si_prefix;\n name : si_unit_name;\n DERIVE\n SELF\\named_unit.dimensions : dimensional_exponents := dimensions_for_si_unit(name);\n WHERE\n WR1: NOT(('AP209_MULTIDISCIPLINARY_ANALYSIS_AND_DESIGN_MIM_LF.MASS_UNIT' IN TYPEOF(SELF)) AND\n (SIZEOF(USEDIN(SELF,'AP209_MULTIDISCIPLINARY_ANALYSIS_AND_DESIGN_MIM_LF.DERIVED_UNIT_ELEMENT.UNIT')) > 0)) OR\n (prefix = si_prefix.kilo);\n END_ENTITY;\n\nENTITY energy_unit\n SUBTYPE OF (derived_unit);\nWHERE\n WR1 : derive_dimensional_exponents(SELF) = dimensions_for_si_unit (si_unit_name.joule);\nEND_ENTITY;\n```\n","author":{"url":"https://github.com/mpictor","@type":"Person","name":"mpictor"},"datePublished":"2013-04-26T01:02:04Z","url":"https://github.com/stepcode/stepcode/issues/232"}
| 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:7de2e090-417d-d6d6-4ef2-57ee2fdd474e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8F8A:231F72:3A9A17:4DCC79:6B04BA36 |
| html-safe-nonce | 17f6a2952742a3ea6880c33b7fe184670b570597a34cad1ce56958d933b70f24 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjhBOjIzMUY3MjozQTlBMTc6NERDQzc5OjZCMDRCQTM2IiwidmlzaXRvcl9pZCI6IjM4NTY0MjI4NTg4MDkxOTUwNjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 54e038cf6c26a7de4f92d50595ded8bf78620375d0a9ce44d3c82479eb880f2e |
| hovercard-subject-tag | issue:13669243 |
| 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/stepcode/stepcode/232/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e472167ef20a7aac2d0c61a553e3bc2c144f5c7c9e38ab5e4713b969d1f86753/stepcode/stepcode/issues/232 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e472167ef20a7aac2d0c61a553e3bc2c144f5c7c9e38ab5e4713b969d1f86753/stepcode/stepcode/issues/232 |
| og:image:alt | This problem was discovered when the part 409 ATS files were first tested. I thought I'd created an issue for it then, but apparently I didn't. STEPcode thinks that an attribute is derived when it ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mpictor |
| hostname | github.com |
| expected-hostname | github.com |
| None | 378bd702ac792b3550e484ad39d9a898fcd25bb52ba6962b0c9cc457c1ea71c7 |
| turbo-cache-control | no-preview |
| go-import | github.com/stepcode/stepcode git https://github.com/stepcode/stepcode.git |
| octolytics-dimension-user_id | 1761770 |
| octolytics-dimension-user_login | stepcode |
| octolytics-dimension-repository_id | 1975387 |
| octolytics-dimension-repository_nwo | stepcode/stepcode |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1975387 |
| octolytics-dimension-repository_network_root_nwo | stepcode/stepcode |
| 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 | b032e77f1ea437ede6c115446a0a467709b468e7 |
| 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