Giter Site home page Giter Site logo

buildingsmart / sample-test-files Goto Github PK

View Code? Open in Web Editor NEW
247.0 247.0 115.0 5.47 GB

Sample files of various formats and schema versions.

License: Other

Lasso 100.00%
buildingsmart ifc industryfoundationclasses openbim openbimstandards schema-versions

sample-test-files's People

Contributors

berlotti avatar evandroalfieri avatar hlg avatar janbrouwer avatar marttila-vektorio avatar moult avatar rubendel avatar svschaijkvw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sample-test-files's Issues

IfcPavement IfcCourse relation to IfcAlignment

When reading the alignment, I iterate through the alignment elements.
In the same way as for example in Landxml.
I read the HorizontalAlignment, and maybe the VericalAlignment and the Crosssection.

When I go through the decomposed container (IfcRelNests) of the alignment in IFC4.3,
I have the horizontal vertical and cant alignment but no cross section.

My question is.
Can I add the IfcCourse and IFCPavement objects to the decomposed container
when exporting an alignment?

Otherwise it is not easy to get a conaction to IfcPavement or IfcCourse
when I am in the semanitc part of the alignment (in the import part).

IfcAlignmentHorizontalSegment - positive vs negative radii

StartRadiusOfCurvature is defined as "For a NONLINEAR horizontal segment type the radius of the curve at the start point (Placement of the segment). For CIRCULAR type it is constant i.e. StartRadiusOfCurvature and EndRadiusOfCurvature are always the same. For LINE type, both StartRadiusOfCurvature and EndRadiusOfCurvature is 0. If the radius is 0 it shall be interpreted as INFINITE."
Could a definition regarding the meaning of positive vs negative radii be added to the definition (clockwise/anti clockwise)?

Examples UT_DrainageSystem

I have loaded the UT_DrainageSystem examples in FZKViewer and have not found any pipe and duct instances.
Should this elements part of the example files?

Sample IFC files not passing the buildingSMART validation service

I tried two of your sample files and uploaded them to the buildingSMART validation service. Unfortunately, they failed the validation, and I am wondering if this is negligible or not, especially in the case of an issue with the IFC schema itself.

For Duplex_A_20110907.ifc the rule verification fails on a lot of case according to

GEM111 - No duplicated points within a polyloop or polyline
The rule verifies, that all the polyloops and polylines will have no duplicate points, unless it's the first and last point of a closed polyline.
In that case, it must be identical by reference (referencing the same instance), not just having the same coordinates.

and twice on

Feature: GEM002 - Space representation

 The rule verifies that all IfcSpaces have a correct Body shape representation.

Scenario: Agreement152_1 - Agreement that all spaces must have a body shape representation

  Given An IfcSpace
   Then There must be one Body shape representation
    And The Body shape representation has RepresentationType "SweptSolid, Clipping, Brep"

In the case of Clinic_Structural.ifc we have problems with IFC schema itself:

Screenshot 2023-12-06 at 11 51 29

IfcGeomodel usage example in IFC format

Hi there! I'm newbee in ifc making)
Can you show me direction or send an example of "IfcGeomodel" usage in IFC file?
I'm trying to convert geological model in several realizations into ifc 4.3 as geosurface and as GRID structure

Requesting improvements in documentation of IfcRelInterferesElements

I am trying to resolve #64 and #24 implementing IfcRelIntereferesElements and found the attribute definition:
grafik

Apparently an encoding issue. Shouldn´t this be a separated Enum ensuring the correct usage of ``PassesUnder PassesOver` etc.? I am wondering if I should use upper case style or any other writing style here (camelCase, ...). Likely there is an additional page in the documentation that clarifies my concerns. Thus, any guidance is appreciated

@pjanck @SergejMuhic @jmirtsch @AlexBrad1ey any idea? Thanks in advance!

Link: **IfcRelInterferesElements

No database found error for majority of projects

Hello,

I am exploring the .ifc format and trying to get a few demo projects running locally. Unfortunately for the majority of files in this repo, i get a NULL database error. Do I need to use any specific viewer or configure the Open IFC Viewer somehow to use files from this repository? Would appreciate a recommendation for another editor if that could solve the problem.

Thank you.

Screenshot 2022-11-28 at 11 47 16

IfcLinearPlacement with twice the IfcPointByDistanceExpression

Discussing with @seb-esser :

  1. IfcLinearPlacement.Distance is a IfcPointByDistanceExpression (see here)
  2. IfcLinearPlacement.RelativePlacement is a IfcAxis2PlacementLinear, which in turn has .Location which must be a IfcPointByDistanceExpression (see here)
  3. There is no note that these two IfcPointByDistanceExpression-s must be the same. And none of them is optional.
  4. Therefore: if they are not the same, what does that mean?

IfcLinearSpanPlacement deprecated - how to represent From-To span like situation

Discussing with @seb-esser regarding #25 :

  1. IfcLinearSpanPlacement is deprecated with IFC4x3_RC2 (see here)
  2. Scenario:
  • Alignment designer (AD) --> bridge designer (BD)
  • AD has an alignment straight (100m) - circular curve (100m) = sum(200m)
  • AD plans a bridge starting at 37m and finishing at 166m - the bridge starts/ends somewhere along the alignment's segments
  • AD is in an early design phase where he wishes to exchange this information with the BD that will then construct the bridge - there isn't any geometrical information yet, except for the alignment.
  1. Which entities to use for this exchange?

Improving sample file repository - Large size

I am having problems with using this repository, and I'm wondering if others experience similar (or it acts as a barrier to other users).

A couple of times, I've had the git repo become "corrupt", and had to clone it anew. I've just done so now, and the repository took an extremely long time to generate, and consumes 9GB of hard disk space. If this discourages me from using it, I'm sure others interested might abandon before they start.

There's 3 large IFC2x3 samples that have been added, Schependomlaan by itself has over 4GB inclusive of pdfs and the like. This sets a precedent and if more are added, certainly might render this repository unusable.

Perhaps an independent working repository should be created for working projects such as the infrastructure extension, and then they can be added to this repository. Alternatively, I'd suggest these large sample projects might be better suited to be distributed else where. Personally I'd foresee these being static without improvements and changes, so there isn't a strong need to have them in a version control repository.

Maybe this is just a problem for users like myself in Australia with latency affecting internet speeds. Harddisks are cheap and data centres aplenty. But for me, any small barrier discouraging a potential implementer to use a resource such as this is not a good thing. And it's not ideal for those wanting to help test a project extension.

Sample testfile with GPS coordinates

Customer asked if it's possible to work with GPS Coordinates. I would like to test this case and may report it to the company that delivers us the Software we use to handle IFC.
Do you have a Sample file with GPS coordinates?

IfcSectionedSolidHorizontal and Directrix

Hi all

To which entity must I set the relation "Directrix"
in the entity "IfcSectionedSolidHorizontal" in Ifc4x3RC2.
I think i should not use IfcAlignmentCurve because it obsolate.

IfcSectionedSolidHorizontal

IfcIntersectionCurve usage in AdvancedFace

Several files don't follow the scheme. These files contain IfcIntersectionCurve in face loops. Are they correct examples?

For example,
IFC 4.0\NURBS\Bentley Building Designer\Cylinder\BsplineSurf.PolyCurve.ifc
#50=IFCADVANCEDFACE((#48),#53,TRUE) uses #41=IFCINTERSECTIONCURVE,
so rule 'IFCADVANCEDFACE.APPLICABLEEDGECURVES' evaluates to FALSE

IFC 4.0\NURBS\Bentley Building Designer\Cylinder\OnlyBsplines.ifc
#48=IFCADVANCEDFACE((#46),#51,TRUE) uses #38=IFCINTERSECTIONCURVE,
so rule 'IFCADVANCEDFACE.APPLICABLEEDGECURVES' evaluates to FALSE

Also Plane.Cyllinder.Ellipse.PolyCurve.ifc and Plane.Cyllinder.PolyCurve.ifc have the same problem.

Georeferencing UT not updated

With the introduction of Project Setup UT, the georeferencing UT needs updating:

  • base on Project Setup 1
  • remove unnecessary content
  • update header

Storylines vs unit tests

Some things from discussion with Finnish storyline (dealing with "doing the right things"):

  1. Storyline authors may need access to GitHub (commenting pull requests, registering issues)
  2. If there is an explicit connection between a Storyline/ES and a unit test, can we make this connection explicit in the unit test description? =>Add this to the template.
  3. Storylines authors should then be assigned to pull requests regarding their storyline.

Merged #83 by mistake. One error needs to be fixed.

A mistake is still in the alignment file for unit test https://github.com/buildingSMART/Sample-Test-Files/tree/master/IFC%204.3/UT_Alignment_12d_11 that was merged by me by mistake.

IfcPositioningElement (meaning also all IfcAlignment-s) requires a position according to the express schema. See WHERE rule HasPlacement.

ENTITY IfcPositioningElement
 ABSTRACT SUPERTYPE OF(ONEOF(IfcGrid, IfcLinearPositioningElement, IfcReferent))
 SUBTYPE OF (IfcProduct);
 INVERSE
  ContainedInStructure : SET [0:1] OF IfcRelContainedInSpatialStructure FOR RelatedElements;
  Positions : SET [0:?] OF IfcRelPositions FOR RelatingPositioningElement;
 WHERE
  HasPlacement : EXISTS(SELF\IfcProduct.ObjectPlacement);
END_ENTITY;

This needs to be fixed. A (0.,0.,0.) placement with east/north direction should suffice.

Improving IFC documentation - diagrams of the IFC entities hierarchy

We have a problem with how to specify the position of the IFC entity in the structure (the hierarchy above it).

For example, if we want to write Terrain surface using IfcTriangulatedIrregularNetwork, how can we know who is his parent.
How can we know that IfcTriangulatedIregularNetwork is a child of IfcSolidStratum and IfcSolidStratum is a child of IfcElement Assembly?
It would be very useful to have in the documentation diagrams of the tree structure for IfcEntities or something like that.
If such diagrams already exist, please let me know.

Structure of IfcAlignment 4x3RC2 in the sematic and geometry part

Hello everybody
I created a unit test for the IfCourse object.
Since there are some problems with IfcAlignment (IfcAlignmentCurve is deprecated).
Is there a complete documentation and diagrams about the exact structure of IfcAlignment
in the semantic and geometry part for IFC4.3 RC2.

What should I use instead IfcAlignmentCurve.
In the moment its very difficult to find the right way
to implement the IfcAlignment.
A diagramm with semantic und geometric part
of the Alignment in Ifc4x3RC2 would be very helpful

[PROPOSAL] IFC4.3 Georef UT

I would split the GeoRef_1 unit test into two UT, in order to have a smaller "_1" test with only the GeoRef entities, and another that includes project structure, local placement, shape representation and denote its dependencies to other (still coming) unit tests.

See #16 , the .ifc file would be cut off at line 42 (no entities with id=32 or above). The second UT would include the whole file.

Breaklines seem weird

Looking at IFC 4.3/Georeferencing_Tin_1/UT_Tin_in_MGA_56.ifc the break lines seem weird, especially comparing with 5aa6b24 .

grafik

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.