buildingsmart / sample-test-files Goto Github PK
View Code? Open in Web Editor NEWSample files of various formats and schema versions.
License: Other
Sample files of various formats and schema versions.
License: Other
The usage of IfcFacility
, IfcFacilityPart
, and corresponding subclasses IfcRoad
, IfcRailway
, IfcBuilding
, IfcBuildingStorey
etc.
More specifically, the schema definition of IfcFacility
might need clarifications to ensure consistent interpretation.
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).
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)?
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?
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:
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
I am trying to resolve #64 and #24 implementing IfcRelIntereferesElements
and found the attribute definition:
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
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.
Discussing with @seb-esser :
IfcLinearPlacement.Distance
is a IfcPointByDistanceExpression
(see here)IfcLinearPlacement.RelativePlacement
is a IfcAxis2PlacementLinear
, which in turn has .Location
which must be a IfcPointByDistanceExpression
(see here)IfcPointByDistanceExpression
-s must be the same. And none of them is optional.In #24, a first example assembling a road, a river, and a bridge was submitted for review. However, I am wondering how to model the logical unit of a river with a subtype of IfcSpatialStructureElement.
Should I use IfcMarineFacility? Or is there any better option?
Discussing with @seb-esser regarding #25 :
IfcLinearSpanPlacement
is deprecated with IFC4x3_RC2 (see here)The URL for Drone Images and Videos contains no images or videos. All the folders seem empty.
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.
I'm thinking this must be a mistake:
https://github.com/buildingSMART/Sample-Test-Files/blob/master/IFC%204.0/.DS_Store
Can IFC4.3 files be accompanied with IFC4 RV equivalent to see expected results?
jpeg gives only one view position
I must have missed a discussion somewhere. What is the rationale that the IfcAlignmentVerticalSegment.Gradient
s are expressed as IfcLengthMeasure?
EDIT: markdown syntax
https://github.com/buildingSMART/Sample-Test-Files/raw/master/IFC%202x3/SDK%20-%20S1/1.%20IFC%20models%20-%20modellen/01%20Engineering%20models%20-%20Engineeringsmodellen/E-S1-RWB-Geelen-Beton%2001%201e%20verdieping.ifc uses a Plan context with a dimensionality of 3. It also has a model footprint subcontext but no body subcontext.
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?
I was looking at https://github.com/buildingSMART/Sample-Test-Files/blob/master/IFC%202x3/Duplex%20Apartment/Duplex_A_20110907.ifc and noticed it had no geometric subcontexts (e.g. for body). This means that the geometric context is ambiguous.
It's technically not invalid (though I'd argue perhaps this should be added to the spec?) but it a pretty severe lack of information for geometry.
Building smart explains 'The latest version, IFC 4.1 is recommended for all current developments [...]' [1]. Hence, it is desirable to offer some test files for IFC 4x1.
[1] https://technical.buildingsmart.org/standards/ifc/ifc-schema-specifications/
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.
With the introduction of Project Setup UT, the georeferencing UT needs updating:
I think that the documentation is not crystal clear whether the IfcAlignmentVerticalSegment.StartDistAlong value shall include IfcAlignmentHorizontal or not? See unit test UT_Alignment_12d_8.
Import error w/
IfcOpenShell/IfcOpenShell#2508
Some things from discussion with Finnish storyline (dealing with "doing the right things"):
The readme contains a dead link to http://openifcmodel.cs.auckland.ac.nz/
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.
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.
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
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.
Looking at IFC 4.3/Georeferencing_Tin_1/UT_Tin_in_MGA_56.ifc
the break lines seem weird, especially comparing with 5aa6b24 .
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.