It's an honour to have the work I've done as an early adopter of IFC4 recognized by Building Smart International.
With the library of c# code that I have for importing and exporting IFC4, I've been working on a project for Building Smart to generate sample IFC4 files. These are small unit tests that highlight a particular aspect (or comparison) of the schema, concentrating on new features and aspects of IFC4. This includes shape representations such as nurbs and triangulated face sets, cardinal points, reinforcing and new standard case classes. Now that the bulk of the project has been set, it should be easy to add many more.
Here's an introduction to the project.
It's using my c# library as a means to generate and export the IFC files, but the scripting aspect of it is opensource on github, you can access it here. https://github.com/BuildingSMART/IfcScript
What's nice with the scripting approach to generating the examples is that examples can be kept in a consistent style, with common changes swept through them. The scripts can also be built across different schema (including IFC2x3, IFC4 and IFC4 addendum 1) although I still need to enable some exceptions to be thrown when invalid classes are called on.
It's been a good opportunity to polish my library as an API, and it also serves as some good examples of how to use my c# library as an API.
If you'd like to get involved or test this, please don't hesitate to contact me. And if you have more requests/suggestions for further examples, then do let Building Smart or myself know.
With the library of c# code that I have for importing and exporting IFC4, I've been working on a project for Building Smart to generate sample IFC4 files. These are small unit tests that highlight a particular aspect (or comparison) of the schema, concentrating on new features and aspects of IFC4. This includes shape representations such as nurbs and triangulated face sets, cardinal points, reinforcing and new standard case classes. Now that the bulk of the project has been set, it should be easy to add many more.
Here's an introduction to the project.
It's using my c# library as a means to generate and export the IFC files, but the scripting aspect of it is opensource on github, you can access it here. https://github.com/BuildingSMART/IfcScript
What's nice with the scripting approach to generating the examples is that examples can be kept in a consistent style, with common changes swept through them. The scripts can also be built across different schema (including IFC2x3, IFC4 and IFC4 addendum 1) although I still need to enable some exceptions to be thrown when invalid classes are called on.
It's been a good opportunity to polish my library as an API, and it also serves as some good examples of how to use my c# library as an API.
If you'd like to get involved or test this, please don't hesitate to contact me. And if you have more requests/suggestions for further examples, then do let Building Smart or myself know.
Hi jon
ReplyDeletefirst congratulation for that realy it s very nice .just i have a request if you can help me i want to find a way to geolocalize in building . the problem it s to analyze a file IFC and after (using C# ) and give for each one in the building there coordinate (x,y,z).
thank you in advance
Hi Bilal,
ReplyDeleteThe library should be able to help. If you get in contact privately and can share a sample model I can advise further.
Cheers,
Jon
Posts shared useful information http://awriter.org/essaylab-review/ and meaningful life, I'm glad to be reading this article and hope to soon learn the next article. thank you
ReplyDelete