Editing MicroMVDs for exchange requirements

From Wiki.OSArch

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 6: Line 6:
 
[[BIMTester]] has implemented use of MicroMVDs for auditing model quality from IFC files. [[BIMTester]] is integrated into the [[BlenderBIM Add-on]]
 
[[BIMTester]] has implemented use of MicroMVDs for auditing model quality from IFC files. [[BIMTester]] is integrated into the [[BlenderBIM Add-on]]
  
Here is an example of a simple MicroMVD, which checks that an IFC4 file is provided.
+
Here is an example of a simple MicroMVD, which checks that an IFC4 file is provided with a particular filename.
  
 
<pre>
 
<pre>
Line 16: Line 16:
  
 
Scenario: Receiving a file
 
Scenario: Receiving a file
  * IFC data must use the "IFC4" schema
+
* The IFC file "project.ifc" must be provided
 +
  * IFC data must use the IFC4 schema
 
</pre>
 
</pre>
  
 
This MicroMVD is stored in a simple text file with the <code>.feature</code> file extension. The file name is arbitrary, but may be used to describe what it is auditing. These simple text files can be edited in any text editor, such as [https://www.vim.org/ Vim], Apple TextEdit, or Microsoft Notepad. No proprietary software is required: anybody can read and write MicroMVDs.
 
This MicroMVD is stored in a simple text file with the <code>.feature</code> file extension. The file name is arbitrary, but may be used to describe what it is auditing. These simple text files can be edited in any text editor, such as [https://www.vim.org/ Vim], Apple TextEdit, or Microsoft Notepad. No proprietary software is required: anybody can read and write MicroMVDs.
  
These <code>*.feature</code> files, each containing sentences like the above can be processed by a computer. In the example above, a MicroMVD auditing program will check that a particular IFC file uses the <code>IFC4</code> schema. The MicroMVD auditing program can then generate a report, which can be used by stakeholers to track whether or not a project is satisfying its requirements.
+
These <code>*.feature</code> files, each containing sentences like the above can be processed by a computer. In the example above, a MicroMVD auditing program will look for a file named "<code>project.ifc</code>" and will check that it is <code>IFC4</code>. The MicroMVD auditing program can then generate a report, which can be used by stakeholers to track whether or not a project is satisfying its requirements.
  
 
Unlike other auditing solutions like Solibri or SimpleBIM, MicroMVDs are non-proprietary, do not expire, are free, much lighter, are easy to change and develop, and are cross-platform.
 
Unlike other auditing solutions like Solibri or SimpleBIM, MicroMVDs are non-proprietary, do not expire, are free, much lighter, are easy to change and develop, and are cross-platform.
Line 29: Line 30:
 
Although you are free to write your own MicroMVD specific to your project, a series of MicroMVDs have been published online that address common problems. You can copy and paste these templates into your own <code>*.feature</code> files, and modify it to suite your project.
 
Although you are free to write your own MicroMVD specific to your project, a series of MicroMVDs have been published online that address common problems. You can copy and paste these templates into your own <code>*.feature</code> files, and modify it to suite your project.
  
==Sub pages==
+
* [[Project setup MicroMVD]]
{{Subpages}}
+
* [[Geolocation MicroMVD]]
 +
* [[Model federation MicroMVD]]
 +
* [[Element classes MicroMVD]]
 +
* [[Geocoding MicroMVD]]
 +
* [[Classification MicroMVD]]
 +
* [[Naming MicroMVD]]
 +
* [[Material MicroMVD]]
 +
* [[COBie MicroMVD]]
  
 
All MicroMVD can be found in [[:Category:MicroMVD|MicroMVD]]
 
All MicroMVD can be found in [[:Category:MicroMVD|MicroMVD]]
  
== Auditing BIM data with BlenderBIM Add-on and MicroMVDs ==
+
== Auditing BIM data with MicroMVDs ==
  
 
[[File:Bimtester.png|300px|thumb|right|The BIMTester Quality Auditing panel in the BlenderBIM Add-on]]
 
[[File:Bimtester.png|300px|thumb|right|The BIMTester Quality Auditing panel in the BlenderBIM Add-on]]
Line 40: Line 48:
 
[[File:Bimtester-report.png|300px|thumb|right|An example audit report from BIMTester]]
 
[[File:Bimtester-report.png|300px|thumb|right|An example audit report from BIMTester]]
  
To begin auditing BIM data, you will need an IFC file. Let's imagine you have a file called <code>file.ifc</code>.
+
To begin auditing BIM data, you will need an IFC file. Let's imagine you have a file called <code>myfile.ifc</code>.
  
 
You will then need to specify your exchange requirements. Follow the steps below:
 
You will then need to specify your exchange requirements. Follow the steps below:
  
# Create a new text file called <code>audit.feature</code>
+
# Create a new text file called <code>my_first_micromvd.feature</code>
# Copy a MicroMVD template (e.g. [[Project setup MicroMVD]]) into your <code>audit.feature</code> file.
+
# Copy a MicroMVD template (e.g. [[Project setup MicroMVD]]) into your <code>my_first_micromvd.feature</code> file.
# Modify the template based on your project. For example, you may change the sentence <code> * IFC data must use the "{schema}" schema</code> to read <code> * IFC data must use the "IFC4" schema</code>.
+
# Modify the template based on your project. For example, you may change the sentence <code> * The IFC file "{file}" must be provided</code> to read <code> * The IFC file "myfile.ifc" must be provided</code>. Note that the <code>myfile.ifc</code> has to be in the same directory as your <code>my_first_micromvd.feature</code> file.
  
Now that you have specified your exchange requirements, you can audit it using a program. One free and open source option is [https://blenderbim.org/download.html BIMTester], which comes with the [[BlenderBIM Add-on]], or can be [https://github.com/IfcOpenShell/IfcOpenShell/tree/v0.6.0/src/ifcbimtester run standalone]. Here's an example of how to audit it:
+
Now that you have specified your exchange requirements, you can audit it using a program. One free and open source option is [https://blenderbim.org/download.html BIMTester], which comes with the [[BlenderBIM Add-on]], or can be run standalone. Here's an example of how to audit it:
  
 
# Launch Blender with the [[BlenderBIM Add-on]] installed.
 
# Launch Blender with the [[BlenderBIM Add-on]] installed.
# Open up the ''BIMTester'' panel in the ''Scene Properties''.
+
# Open up the ''BIMTester Quality Auditing'' panel in the ''Scene Properties''.
# Navigate to your <code>file.ifc</code> file in the ''IFC File'' property. This is the IFC that will be audited.
+
# Navigate to the directory that you placed your <code>my_first_micromvd.feature</code> file in the ''Features Directory'' property.
# Navigate to your <code>audit.feature</code> file in the ''Feature / IDS'' property. This is your audit requirements file.
+
# You will see that it will detect your features file, as well as the exchange scenarios within it. Press the <code>Execute BIMTester</code> button.
# Press the <code>Execute BIMTester</code> button.
 
 
# Your audit report results will pop up in your browser.
 
# Your audit report results will pop up in your browser.
 
The ''Custom Steps'' is for advanced users who have built their own custom requirements. This requires coding knowledge.
 
  
 
== Modifying a MicroMVD ==
 
== Modifying a MicroMVD ==

Please note that all contributions to Wiki.OSArch are considered to be released under the Creative Commons Attribution-ShareAlike (see Wiki.OSArch:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Templates used on this page: