├── README.md ├── mvdXML1.1 ├── grammar │ └── mvdXMLv1_1.g ├── mvdXML1-1_WorkingDocument.docx ├── xml │ ├── Example-CV100.xml │ ├── Example-CV104.xml │ ├── Example-CV106.xml │ ├── mvdXMLv1-1_example1.xml │ ├── mvdXMLv1-1_example2.xml │ ├── mvdXMLv1-1_example3.xml │ ├── mvdXMLv1-1_example4.xml │ └── mvdXMLv1-1_example5.xml └── xsd │ └── mvdXML_V1-1_draft.xsd └── mvdXML1.2 ├── grammar ├── ANTLR │ └── mvdXMLv1_2.g └── mvdXMLv1_2.g ├── mvdXML_V1-2-Draft9.pdf └── xsd ├── mvdXML_V1-2_Draft9.xsd ├── mvdXML_V1.2.xsd ├── mvdXML_V1.2_draft3.xsd └── mvdXML_V1.2_draft8.xsd /README.md: -------------------------------------------------------------------------------- 1 | mvdXML 2 | ================= 3 | 4 | With the MVD policy and IDS in place, the mvdXML is only used as internal structure for Software Certification. 5 | mvdXML 1.2 is not a formal buildingSMART standard (yet) but is being used for IFC 4.3 MVD Based Software Certification. 6 | -------------------------------------------------------------------------------- /mvdXML1.1/grammar/mvdXMLv1_1.g: -------------------------------------------------------------------------------- 1 | grammar mvdXMLv1_1; 2 | 3 | /*---------------- 4 | * PARSER RULES 5 | *----------------*/ 6 | expression 7 | : boolean_expression ; 8 | boolean_expression 9 | : boolean_term (logical_interconnection boolean_term)* ; 10 | boolean_term 11 | : (( parameter ( metric )? | metric ) operator ( value | parameter ( metric )? ) ) | ( LPAREN boolean_expression RPAREN ); 12 | parameter 13 | : SIMPLEID ; 14 | metric 15 | : '[Value]' | '[Size]' | '[Type]' | '[Unique]'; 16 | logical_interconnection 17 | : AND | OR | XOR ; 18 | operator 19 | : EQUAL | NOT_EQUAL | GREATER_THAN | GREATER_THAN_OR_EQUAL | LESS_THAN | LESS_THAN_OR_EQUAL; 20 | value 21 | : logical_literal | real_literal | string_literal | regular_expression; 22 | logical_literal 23 | : FALSE | TRUE | UNKNOWN ; 24 | real_literal 25 | : (sign)? ( DIGIT | INT ) ('.')? ( ( DIGIT | INT ) )? ( 'e' (sign)? ( DIGIT | INT ) )? ; 26 | string_literal 27 | : STRING ; 28 | regular_expression 29 | : 'reg' STRING ; 30 | sign 31 | : '+' | '-' ; 32 | 33 | /*---------------- 34 | * LEXER RULES 35 | *----------------*/ 36 | AND 37 | : 'AND' | 'and' | '&' | ';' ; 38 | OR 39 | : 'OR' | 'or' | '|' ; 40 | XOR 41 | : 'XOR' | 'xor' ; 42 | EQUAL 43 | : '=' ; 44 | NOT_EQUAL 45 | : '!=' ; 46 | GREATER_THAN 47 | : '>' ; 48 | GREATER_THAN_OR_EQUAL 49 | : '>=' ; 50 | LESS_THAN 51 | : '<' ; 52 | LESS_THAN_OR_EQUAL 53 | : '<=' ; 54 | FALSE 55 | : 'FALSE' | 'false' ; 56 | TRUE 57 | : 'TRUE' | 'true' ; 58 | UNKNOWN 59 | : 'UNKNOWN' | 'unknown' ; 60 | DIGIT 61 | : '0'..'9' ; 62 | INT 63 | : '0'..'9'+; 64 | HEX_DIGIT 65 | : DIGIT | ('a'..'f' | 'A'..'F') ; 66 | LETTER 67 | : ('a'..'z') | ('A'..'Z') ; 68 | SIMPLEID 69 | : LETTER ( LETTER | DIGIT | '_' )* ; 70 | LPAREN 71 | : '('; 72 | RPAREN 73 | : ')'; 74 | OCTAL_ESC 75 | : '\\' ('0'..'3') ('0'..'7') ('0'..'7') | '\\' ('0'..'7') ('0'..'7') | '\\' ('0'..'7') ; 76 | UNICODE_ESC 77 | : '\\' 'u' HEX_DIGIT HEX_DIGIT HEX_DIGIT HEX_DIGIT ; 78 | ESC_SEQ 79 | : '\\' ('b'|'t'|'n'|'f'|'r'|'\"'|'\''|'\\') | UNICODE_ESC | OCTAL_ESC ; 80 | STRING 81 | : '\'' ( ESC_SEQ | ~('\\'|'\'') )* '\''; 82 | WS 83 | : (' '|'\t'|'\n'|'\r')+ { $channel = HIDDEN; } ; 84 | 85 | -------------------------------------------------------------------------------- /mvdXML1.1/mvdXML1-1_WorkingDocument.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buildingSMART/mvdXML/bd158e10901a2a49c067e3f57449431cab7130f0/mvdXML1.1/mvdXML1-1_WorkingDocument.docx -------------------------------------------------------------------------------- /mvdXML1.1/xml/Example-CV100.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | Any product or product type can have associated materials indicating the physical composition of an object. 17 | 18 | Materials can have representations for surface styles indicating colors, textures, and light reflectance for 3D 19 | 20 | rendering. Materials can have representations for fill styles indicating colors, tiles, and hatch patterns for 21 | 22 | 2D rendering. Materials can have properties such as density, elasticity, thermal resistance, and others as 23 | 24 | defined in this specification. Materials can also be classified according to a referenced industry standard. 25 | 26 |

27 | 28 |

29 | 30 | An object can be comprised of a single material or a set of materials with a particular layout. Several 31 | 32 | examples include: 33 | 34 |

35 | 36 |
    37 | 38 |
  • a slab may have an associated layer of concrete; 39 | 40 |
  • 41 | 42 |
  • a beam may have an associated I-Shape profile of steel; 43 | 44 |
  • 45 | 46 |
  • a door may have associated constituents for framing and glazing; 47 | 48 |
  • 49 | 50 |
  • a port may have an associated profile and/or material flowing through it such as hot water. 51 | 52 |
  • 53 | 54 |
55 | ]]> 56 |
57 |
58 | 59 | 60 | 61 | 62 | Material layer set usage defines layout at occurrences to indicate a direction and offset from the 'Axis' reference curve, and a reference extent such as for a default wall height.

]]> 63 |
64 |
65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 |
162 |
163 |
164 |
165 |
166 |
167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 |