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

IfcAnnotation with IfcLinearSpanPlacement #25

Closed

Conversation

seb-esser
Copy link

I've created a quick sample testing IfcAnnotation together with IfcLinearSpanPlacement. Not sure if I am violating any existing agreement but it seems compliant with the schema.

General pull request

Fixes nothing but could be a solid base for further discussions regarding semantics along LRS

Changes and improvements proposed by this pull request

  • showcases a possible way to add semantics to a given alignment without violating the separation between geometry and semantics

@pjanck @larswik @czapplitec @jmirtsch @SergejMuhic @NigelPMPeters

IFC4.3 Unit test

Unit test

Positioning an IfcAnnotation with IfcLinearSpanPlacement, which references an IfcAlignmentCurve

Review requested

  • Please carefully check the intent and discuss if my approach is suitable. If there are any concerns, I am looking forward to discuss any improvements (especially how to document that this might be a "wrong" approach)

NOTE: we (@pjanck and @seb-esser) will try to prettify the supporting files (dwgs, pngs, ...) within the next days. However, don't hesitate to check the IFC file already

TLiebich and others added 2 commits September 15, 2020 14:28
I added a proper unit for speed IFCLINEARVELOCITYMEASURE (note, so simplicity, it is set to its SI base unit m/s, and not to km/h as the speed values suggest).

More as a remark, I would propose to add .EVENT. to the IfcAnnotationTypeEnum - currently I only see very specific event types being added, like SUPERELEVATIONEVENT, WIDTHEVENT. This could be added as a proposal to the IFC4.3 technical corrigenda as prepated by IFC Rail now.
Update UT_SpanAnnotation_1.ifc
Thanks @TLiebich !
Copy link

@pjanck pjanck left a comment

Choose a reason for hiding this comment

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

A good example. Even if anything changes in the way alignments or linear referencing is done, we should still be able to convey the contents of this UT.

IFC 4.3/SpanAnnotation_1/UT_SpanAnnotation_1.ifc Outdated Show resolved Hide resolved
IFC 4.3/SpanAnnotation_1/UT_SpanAnnotation_1.ifc Outdated Show resolved Hide resolved
@pjanck pjanck assigned larswik and unassigned pjanck Oct 13, 2020
@larswik
Copy link

larswik commented Oct 13, 2020

I was wondering if it is correct to use IfcAlignment => IfcRelAggregates => IfcAnnotation. An alternative would be to use e.g. spatial containment (the alignment is being referenced by the span placement anyway). I think that advice from more experienced people than me would be good. This is an interesting (and generic) question that maybe should be standardized. For superelevation and width it was suggested to use spatial containment to indicate which (lateral) part of the road is being affected.
However keeping that discussion separate, I think that this pull request could be merged (by someone with the proper rights).

@seb-esser
Copy link
Author

should we raise @larswik 's comment in the bSI forum? What is the workflow for such a discussion? @pjanck ?

@seb-esser
Copy link
Author

I've published the source code for this sample file: GeometryGymIFCExamples

@seb-esser
Copy link
Author

Can anybody guide me on how to update the scenario PRed here? I assume, my lack of understanding is also related to #52 . I am happy to update from RC1 to RC2 but it seems to cause major changes in my staged model.

…ies in the alignment are missing yet. Please start to review the PSet and the overall decomposition
Copy link

@pjanck pjanck left a comment

Choose a reason for hiding this comment

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

2 entities are missing in the file (although referenced by other entities).

IFC 4.3/SpanAnnotation_1/UT_SpanAnnotation_1.ifc Outdated Show resolved Hide resolved
IFC 4.3/SpanAnnotation_1/UT_SpanAnnotation_1.ifc Outdated Show resolved Hide resolved
@SergejMuhic
Copy link

2 entities are missing in the file (although referenced by other entities).

Would it not be helpful to comment directly on the commit? That way we can see what your comments are referring to.

@seb-esser
Copy link
Author

seb-esser commented Dec 4, 2020

You are missing the segments and I would use IfcShapeRepresentation.RepresentationIdentifier='Axis2/3D'.

  • RepresentationIdentifier resolved by 1a4f8ee
  • missing segments is still open due to issues stated in the GeometryGymIfc toolkit repo

@pjanck
Copy link

pjanck commented Dec 8, 2020

2 entities are missing in the file (although referenced by other entities).

Would it not be helpful to comment directly on the commit? That way we can see what your comments are referring to.

I believe you can see the two lines addressed by my comments directly below the comment in question. Although it is hard to point to a missing line = nullptr :)

@seb-esser seb-esser changed the title [WIP] IfcAnnotation with IfcLinearSpanPlacement IfcAnnotation with IfcLinearSpanPlacement Dec 17, 2020
Copy link

@pjanck pjanck left a comment

Choose a reason for hiding this comment

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

Great work!

@larswik
Copy link

larswik commented Jan 13, 2021

Is the intention to place the annotation from 25 to 110 (i.e. the deprecated IfcLinearSpanPlacement replaced by IfcLinearPlacement using a (linear) relative placement? Or is it that the annotation starts at 110 + 25? I heard some discussions before about using IfcCurveSegment as a replacement for IfcLinearSpanPlacement. Good if this could be settled. Also, I think that the readme should be updated since it still mentions RC1 and IfcLinearSpanPlacement.

@pjanck
Copy link

pjanck commented Feb 11, 2021

Superseded by bSI-InfraRoom/IFC-infra-unit-test#9

@pjanck pjanck closed this Feb 11, 2021
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.

6 participants