Skip to content

Commit

Permalink
Merge pull request #46 from pasi-paasiala/master
Browse files Browse the repository at this point in the history
Improved documentation for root and markup
  • Loading branch information
linhard committed Aug 27, 2014
2 parents c3a8930 + 7eacb51 commit 1a51884
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 23 deletions.
46 changes: 23 additions & 23 deletions Documentation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,23 @@ Globally Unique ID in the IFC format. This format is used only when referring to
* This document describes the BCF format that is used to exchange topics, such as, issues, scenes, etc. between different BIM software.

### BCF file structure
In the root of the BCF file is an XML file defining project related information. The name of this file is project.xml. This file follows the project.xsd schema.

A BCF file is a zip containing one folder for each topic. The folder name is the GUID of the topic. This GUID is in the UUID form. The folder contains the following files:
A BCF file is a zip containing one folder for each topic. The root of the BCF zip contains the following files.

* project.bcfp (optional)
- An XML file referencing the extension.xsd to a project.
- An XML file referencing the extension.xsd to a project. The schema for this file is project.xsd.
* bcf.version
* An XML file following the version.xsd schema with information of the BCF schema used. The file content should be identical to the contents of [bcf.version](bcf.version "bcf.version")

The folder name is the GUID of the topic. This GUID is in the UUID form. The folder contains the following files:

* markup.bcf
* An XML file following the markup.xsd schema that is described below.
* viewpoint.bcfv
* An XML file following the visinfo.xsd schema that is described below (for compatibility with BCF 1.0).
* Multiple viewpoints are possible in BCF 2.0. Names of these files are not predefined.
* Multiple viewpoints are possible in BCF 2.0. Names of these files are not predefined. Note: One viewpoint needs to be be named viewpoint.bcfv even in the case of multiple viewpoints.
* snapshot.png
* A snapshot related to the topic (for compatibility with BCF 1.0).
Multiple snapshots are possible in BCF 2.0. Names of these files are not predefined.
Multiple snapshots are possible in BCF 2.0. Names of these files are not predefined. Note: One snapshot needs to be named snapshot.png even in the case of multiple viewpoints.


*Note: The elements in the XML files must appear in the order given in the schemas and described below.*
Expand Down Expand Up @@ -103,9 +104,20 @@ In addition it has the following nodes:

Element | Optional | Description |
:-----------|:------------|:------------
ReferenceLink | Yes | Reference to the topic in, for example, a work request management system.
Title | No | Title of the topic.
Guid | No | The topic identifier
ReferenceLink | Yes | Reference to the topic in, for example, a work request management system.
Description | Yes | Description of the topic
Priority | Yes | Topic priority. The list of possible values are defined in the extension schema
Index | Yes | Number to maintain the order of the topics.
CreationDate | Yes | Date when the topic was created
CreationAuthor | Yes | User who created the topic
ModifiedDate | Yes | Date when the topic was last modified
ModifiedAuthor | Yes | User who modified the topic
AssignedTo | Yes | The user to whom this topic is assigned to
TopicType | Yes | The type of the topic (the options can be specified in the extension schema)
TopicStatus | Yes | The status of the topic (the options can be specified in the extension schema)


### BimSnippet (optional)
BimSnippet is an additional file containing information related to one or multiple topics. For example, it can be an IFC file containing provisions for voids.
Expand Down Expand Up @@ -135,18 +147,9 @@ ReferencedDocument | Yes | URI to document. <br> IsExternal=false “..\example
Description | Yes | Description of the document



### RelatedTopics (optional)
Relation between topics (Clash -> PfV -> Opening)

### AssignedTo (optional)
A topic can be assigned to a person.

Element | Optional | Description |
:-----------|:------------|:------------
AssignedToEmail | Yes | The email-address of the person the topic is assigned to
AssignedToName | Yes | The name of the person the topic is assigned to


### Comment
The markup file can contain comments related to the topic. Their purpose is to record discussion between different parties related to the topic. Comment has also the Guid attribute for identifying it uniquely. In addition, it has the following nodes:
Expand All @@ -159,9 +162,9 @@ Date | No | Date of the comment
Author |No | Comment author
Comment | No | The comment text
Topic | No | Back reference to the topic GUID.
AuthorEmail | No | Email address of the comment author.
Priority | Yes | Priority of the comment (Predefined list in “extension.xsd”)

ReplyToComment | Yes | Guid of the comment to which this comment is a reply
ModifiedDate | Yes | The date when comment was modified
ModifiedAuthor | Yes | The author who modified the comment

### Viewpoints
The markup file can contain multiple viewpoints related to one or more comments. A viewpoint has also the Guid attribute for identifying it uniquely. In addition, it has the following nodes:
Expand All @@ -186,7 +189,7 @@ Attribute | Optional | Description |
IfcGuid | Yes | Select the component in a BIM tool
Selected | Yes | This flag is true if the component is actually involved in the topic. If the flag is false, the component is involved as reference.
Visible | Yes | This flag is true when the component is visible in the visualization. By setting this false, you can hide components that would prevent seeing the topic from the camera position and angle of the viewpoint.
Color | Yes | Color of the component. This can be used to provide special highlighting of components in the viewpoint.
Color | Yes | Color of the component. This can be used to provide special highlighting of components in the viewpoint. The color is given in ARGB format.


In addition, it has the following information:
Expand Down Expand Up @@ -276,6 +279,3 @@ The Selected flag in Component node in visualization is used as a hint to the vi
The Color in Component node in visualization is used specify a custom color for a given component. When the flag is true, the component is considered visible, the values of Visible and Selected flags can be ignored and they don't need to be exported.





1 change: 1 addition & 0 deletions Test Cases/Markup/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This folder contains test cases that mainly deal with textual information, Title, Description, Comments, etc.
1 change: 1 addition & 0 deletions Test Cases/Project/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This folder contains test cases with examples of using extension schema
16 changes: 16 additions & 0 deletions Test Cases/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Test Case Instructions

This folder contains test cases for testing BCF 2.0 file exchange. Each test case should meet the following requirements:

* Simplicity: Test case should test one thing at a time
* Completeness: All necessary files need (e.g. IFC and BCFZIP) files need to be available
* Documentation: Document describing the test case must be provided, preferably with images

To provide test cases, create a fork of the repository, commit your test cases there and create a pull request.

The test cases are divided in the following folders depending on their primary focus:

* Markup: Test cases that mainly deal with textual information, Title, Description, Comments, etc.
* Visualization: Test Cases that deal with visualization
* Project: Examples of using extension schema
* Real world: Examples of real world test cases
1 change: 1 addition & 0 deletions Test Cases/Real World/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This folder contains examples of real world test cases. When providing IFC files, please zip them.
1 change: 1 addition & 0 deletions Test Cases/Visualization/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This folder contains test cases that deal with visualization

0 comments on commit 1a51884

Please sign in to comment.