Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TI bridge mvdxml fix #12

Open
wants to merge 3 commits into
base: bridge
Choose a base branch
from
Open

TI bridge mvdxml fix #12

wants to merge 3 commits into from

Conversation

pjanck
Copy link
Member

@pjanck pjanck commented Nov 9, 2023

  • Fixed some serialization mistakes
  • Renamed doubled uuids
  • Added some operators where deemed necessary
  • Fixed an applicable entity

Fixed some serialization mistakes
@pjanck pjanck requested a review from SergejMuhic November 9, 2023 22:13
ti-bridge.mvdxml Outdated
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure about the change here. Seems identical. Fine.

ti-bridge.mvdxml Outdated
@@ -244,9 +244,7 @@
<EntityRules>
<EntityRule EntityName="IfcCurveSegment">
<References>
<Template>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, my bad. I guess I shouldn't have fiddled with the file manually.

ti-bridge.mvdxml Outdated
@@ -6702,13 +6552,13 @@
</ConceptTemplate>
</SubTemplates>
</ConceptTemplate>
<ConceptTemplate uuid="e5d27119-bcb5-43e6-b6b3-8ababc4593f4" name="_Bridge Alignment Reference View" applicableSchema="IFC4">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The guid seems fine. What is the reason for changing? If we change here, the specification would have to be changed since it is generated from there,

ti-bridge.mvdxml Outdated
@@ -6876,7 +6726,7 @@
</Body>
</Definition>
</Definitions>
<BaseView>2c20c595-6b25-445b-92f5-37ef9eb1825f</BaseView>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine I guess. But unnecessary.

ti-bridge.mvdxml Outdated
@@ -6978,7 +6828,7 @@
</Definition>
</Definitions>
<Template ref="8c0fd2f7-71bb-4e6e-8fdb-0c02b352f14a" />
<TemplateRules>
<TemplateRules operator="or">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright, this is definitely a bug. Have to fix this.

ti-bridge.mvdxml Outdated
@@ -10058,7 +9908,7 @@
</Concept>
</Concepts>
</ConceptRoot>
<ConceptRoot uuid="280bbb91-3d77-4b73-88d5-594762c1989d" name="IfcPositioningElement" applicableRootEntity="IfcPositioningElement">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not understand this change. But I think it is part of Reference View, so I will remove (see below also).

ti-bridge.mvdxml Outdated
@@ -10118,8 +9968,8 @@
</Definitions>
<Template ref="0c93e2c2-cb23-46a8-8b9a-c772c280fc26" />
<Requirements>
<Requirement applicability="export" requirement="notrelevant" exchangeRequirement="dcd96125-898e-4ff0-b294-eb02afe953aa" />

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why this was changed, but please ignore since it is Reference View. I will remove the entire Reference View.

@SergejMuhic
Copy link

I have removed the views. I am mostly fine with the changes. Just a few are not clear to me.

@SergejMuhic
Copy link

I have fixed the serialization issue. I have accidentally used the wrong serializer. Apologies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants