Skip to content

Commit 1a51884

Browse files
committed
Merge pull request #46 from pasi-paasiala/master
Improved documentation for root and markup
2 parents c3a8930 + 7eacb51 commit 1a51884

File tree

6 files changed

+43
-23
lines changed

6 files changed

+43
-23
lines changed

Documentation/README.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,23 @@ Globally Unique ID in the IFC format. This format is used only when referring to
2929
* This document describes the BCF format that is used to exchange topics, such as, issues, scenes, etc. between different BIM software.
3030

3131
### BCF file structure
32-
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.
33-
34-
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:
32+
A BCF file is a zip containing one folder for each topic. The root of the BCF zip contains the following files.
3533

3634
* project.bcfp (optional)
37-
- An XML file referencing the extension.xsd to a project.
35+
- An XML file referencing the extension.xsd to a project. The schema for this file is project.xsd.
3836
* bcf.version
3937
* 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")
38+
39+
The folder name is the GUID of the topic. This GUID is in the UUID form. The folder contains the following files:
40+
4041
* markup.bcf
4142
* An XML file following the markup.xsd schema that is described below.
4243
* viewpoint.bcfv
4344
* An XML file following the visinfo.xsd schema that is described below (for compatibility with BCF 1.0).
44-
* Multiple viewpoints are possible in BCF 2.0. Names of these files are not predefined.
45+
* 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.
4546
* snapshot.png
4647
* A snapshot related to the topic (for compatibility with BCF 1.0).
47-
Multiple snapshots are possible in BCF 2.0. Names of these files are not predefined.
48+
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.
4849

4950

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

104105
Element | Optional | Description |
105106
:-----------|:------------|:------------
106-
ReferenceLink | Yes | Reference to the topic in, for example, a work request management system.
107107
Title | No | Title of the topic.
108+
Guid | No | The topic identifier
109+
ReferenceLink | Yes | Reference to the topic in, for example, a work request management system.
110+
Description | Yes | Description of the topic
111+
Priority | Yes | Topic priority. The list of possible values are defined in the extension schema
108112
Index | Yes | Number to maintain the order of the topics.
113+
CreationDate | Yes | Date when the topic was created
114+
CreationAuthor | Yes | User who created the topic
115+
ModifiedDate | Yes | Date when the topic was last modified
116+
ModifiedAuthor | Yes | User who modified the topic
117+
AssignedTo | Yes | The user to whom this topic is assigned to
118+
TopicType | Yes | The type of the topic (the options can be specified in the extension schema)
119+
TopicStatus | Yes | The status of the topic (the options can be specified in the extension schema)
120+
109121

110122
### BimSnippet (optional)
111123
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.
@@ -135,18 +147,9 @@ ReferencedDocument | Yes | URI to document. <br> IsExternal=false “..\example
135147
Description | Yes | Description of the document
136148

137149

138-
139150
### RelatedTopics (optional)
140151
Relation between topics (Clash -> PfV -> Opening)
141152

142-
### AssignedTo (optional)
143-
A topic can be assigned to a person.
144-
145-
Element | Optional | Description |
146-
:-----------|:------------|:------------
147-
AssignedToEmail | Yes | The email-address of the person the topic is assigned to
148-
AssignedToName | Yes | The name of the person the topic is assigned to
149-
150153

151154
### Comment
152155
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:
@@ -159,9 +162,9 @@ Date | No | Date of the comment
159162
Author |No | Comment author
160163
Comment | No | The comment text
161164
Topic | No | Back reference to the topic GUID.
162-
AuthorEmail | No | Email address of the comment author.
163-
Priority | Yes | Priority of the comment (Predefined list in “extension.xsd”)
164-
165+
ReplyToComment | Yes | Guid of the comment to which this comment is a reply
166+
ModifiedDate | Yes | The date when comment was modified
167+
ModifiedAuthor | Yes | The author who modified the comment
165168

166169
### Viewpoints
167170
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:
@@ -186,7 +189,7 @@ Attribute | Optional | Description |
186189
IfcGuid | Yes | Select the component in a BIM tool
187190
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.
188191
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.
189-
Color | Yes | Color of the component. This can be used to provide special highlighting of components in the viewpoint.
192+
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.
190193

191194

192195
In addition, it has the following information:
@@ -276,6 +279,3 @@ The Selected flag in Component node in visualization is used as a hint to the vi
276279
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.
277280

278281

279-
280-
281-

Test Cases/Markup/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This folder contains test cases that mainly deal with textual information, Title, Description, Comments, etc.

Test Cases/Project/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This folder contains test cases with examples of using extension schema

Test Cases/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Test Case Instructions
2+
3+
This folder contains test cases for testing BCF 2.0 file exchange. Each test case should meet the following requirements:
4+
5+
* Simplicity: Test case should test one thing at a time
6+
* Completeness: All necessary files need (e.g. IFC and BCFZIP) files need to be available
7+
* Documentation: Document describing the test case must be provided, preferably with images
8+
9+
To provide test cases, create a fork of the repository, commit your test cases there and create a pull request.
10+
11+
The test cases are divided in the following folders depending on their primary focus:
12+
13+
* Markup: Test cases that mainly deal with textual information, Title, Description, Comments, etc.
14+
* Visualization: Test Cases that deal with visualization
15+
* Project: Examples of using extension schema
16+
* Real world: Examples of real world test cases

Test Cases/Real World/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This folder contains examples of real world test cases. When providing IFC files, please zip them.

Test Cases/Visualization/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This folder contains test cases that deal with visualization

0 commit comments

Comments
 (0)