{ "type": "File", "start": 0, "end": 1077, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 31, "column": 27 } }, "program": { "type": "Program", "start": 0, "end": 1077, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 31, "column": 27 } }, "sourceType": "module", "body": [ { "type": "Identifier", "start": 533, "end": 1048, "loc": { "start": { "line": 12, "column": 0 }, "end": { "line": 29, "column": 2 } }, "declarations": [ { "type": "VariableDeclarator", "start": 539, "end": 1047, "loc": { "start": { "line": 12, "column": 6 }, "end": { "line": 29, "column": 1 } }, "id": { "type": "Identifier", "start": 539, "end": 556, "loc": { "start": { "line": 12, "column": 6 }, "end": { "line": 12, "column": 23 }, "identifierName": "IFCObjectDefaults" }, "name": "IFCObjectDefaults", "leadingComments": null }, "init": { "type": "ObjectExpression", "start": 559, "end": 1047, "loc": { "start": { "line": 12, "column": 26 }, "end": { "line": 29, "column": 1 } }, "properties": [ { "type": "ObjectProperty", "start": 565, "end": 702, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 17, "column": 5 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 565, "end": 573, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 12 }, "identifierName": "IfcSpace" }, "name": "IfcSpace" }, "value": { "type": "ObjectExpression", "start": 575, "end": 702, "loc": { "start": { "line": 13, "column": 14 }, "end": { "line": 17, "column": 5 } }, "properties": [ { "type": "ObjectProperty", "start": 637, "end": 650, "loc": { "start": { "line": 14, "column": 8 }, "end": { "line": 14, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 637, "end": 644, "loc": { "start": { "line": 14, "column": 8 }, "end": { "line": 14, "column": 15 }, "identifierName": "visible" }, "name": "visible", "leadingComments": null }, "value": { "type": "BooleanLiteral", "start": 646, "end": 650, "loc": { "start": { "line": 14, "column": 17 }, "end": { "line": 14, "column": 21 } }, "value": true }, "leadingComments": [ { "type": "CommentLine", "value": " IfcSpace elements should be visible and pickable", "start": 577, "end": 628, "loc": { "start": { "line": 13, "column": 16 }, "end": { "line": 13, "column": 67 } } } ] }, { "type": "ObjectProperty", "start": 660, "end": 674, "loc": { "start": { "line": 15, "column": 8 }, "end": { "line": 15, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 660, "end": 668, "loc": { "start": { "line": 15, "column": 8 }, "end": { "line": 15, "column": 16 }, "identifierName": "pickable" }, "name": "pickable" }, "value": { "type": "BooleanLiteral", "start": 670, "end": 674, "loc": { "start": { "line": 15, "column": 18 }, "end": { "line": 15, "column": 22 } }, "value": true } }, { "type": "ObjectProperty", "start": 684, "end": 696, "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 20 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 684, "end": 691, "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 15 }, "identifierName": "opacity" }, "name": "opacity" }, "value": { "type": "NumericLiteral", "start": 693, "end": 696, "loc": { "start": { "line": 16, "column": 17 }, "end": { "line": 16, "column": 20 } }, "extra": { "rawValue": 0.2, "raw": "0.2" }, "value": 0.2 } } ] } }, { "type": "ObjectProperty", "start": 708, "end": 824, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 21, "column": 5 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 708, "end": 717, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 13 }, "identifierName": "IfcWindow" }, "name": "IfcWindow" }, "value": { "type": "ObjectExpression", "start": 719, "end": 824, "loc": { "start": { "line": 18, "column": 15 }, "end": { "line": 21, "column": 5 } }, "properties": [ { "type": "ObjectProperty", "start": 782, "end": 796, "loc": { "start": { "line": 19, "column": 8 }, "end": { "line": 19, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 782, "end": 790, "loc": { "start": { "line": 19, "column": 8 }, "end": { "line": 19, "column": 16 }, "identifierName": "pickable" }, "name": "pickable", "leadingComments": null }, "value": { "type": "BooleanLiteral", "start": 792, "end": 796, "loc": { "start": { "line": 19, "column": 18 }, "end": { "line": 19, "column": 22 } }, "value": true }, "leadingComments": [ { "type": "CommentLine", "value": " Some IFC models have opaque IfcWindow elements(!)", "start": 721, "end": 773, "loc": { "start": { "line": 18, "column": 17 }, "end": { "line": 18, "column": 69 } } } ] }, { "type": "ObjectProperty", "start": 806, "end": 818, "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 20, "column": 20 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 806, "end": 813, "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 20, "column": 15 }, "identifierName": "opacity" }, "name": "opacity" }, "value": { "type": "NumericLiteral", "start": 815, "end": 818, "loc": { "start": { "line": 20, "column": 17 }, "end": { "line": 20, "column": 20 } }, "extra": { "rawValue": 0.5, "raw": "0.5" }, "value": 0.5 } } ] } }, { "type": "ObjectProperty", "start": 830, "end": 912, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 24, "column": 5 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 830, "end": 847, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 21 }, "identifierName": "IfcOpeningElement" }, "name": "IfcOpeningElement" }, "value": { "type": "ObjectExpression", "start": 849, "end": 912, "loc": { "start": { "line": 22, "column": 23 }, "end": { "line": 24, "column": 5 } }, "properties": [ { "type": "ObjectProperty", "start": 892, "end": 906, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 892, "end": 899, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 15 }, "identifierName": "visible" }, "name": "visible", "leadingComments": null }, "value": { "type": "BooleanLiteral", "start": 901, "end": 906, "loc": { "start": { "line": 23, "column": 17 }, "end": { "line": 23, "column": 22 } }, "value": false }, "leadingComments": [ { "type": "CommentLine", "value": " These tend to obscure windows", "start": 851, "end": 883, "loc": { "start": { "line": 22, "column": 25 }, "end": { "line": 22, "column": 57 } } } ] } ] } }, { "type": "ObjectProperty", "start": 918, "end": 1045, "loc": { "start": { "line": 25, "column": 4 }, "end": { "line": 28, "column": 5 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 918, "end": 926, "loc": { "start": { "line": 25, "column": 4 }, "end": { "line": 25, "column": 12 }, "identifierName": "IfcPlate" }, "name": "IfcPlate" }, "value": { "type": "ObjectExpression", "start": 928, "end": 1045, "loc": { "start": { "line": 25, "column": 14 }, "end": { "line": 28, "column": 5 } }, "properties": [ { "type": "ObjectProperty", "start": 969, "end": 1017, "loc": { "start": { "line": 26, "column": 8 }, "end": { "line": 26, "column": 56 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 969, "end": 977, "loc": { "start": { "line": 26, "column": 8 }, "end": { "line": 26, "column": 16 }, "identifierName": "colorize" }, "name": "colorize", "leadingComments": null }, "value": { "type": "ArrayExpression", "start": 979, "end": 1017, "loc": { "start": { "line": 26, "column": 18 }, "end": { "line": 26, "column": 56 } }, "elements": [ { "type": "NumericLiteral", "start": 980, "end": 992, "loc": { "start": { "line": 26, "column": 19 }, "end": { "line": 26, "column": 31 } }, "extra": { "rawValue": 0.8470588235, "raw": "0.8470588235" }, "value": 0.8470588235 }, { "type": "NumericLiteral", "start": 994, "end": 1008, "loc": { "start": { "line": 26, "column": 33 }, "end": { "line": 26, "column": 47 } }, "extra": { "rawValue": 0.427450980392, "raw": "0.427450980392" }, "value": 0.427450980392 }, { "type": "NumericLiteral", "start": 1010, "end": 1011, "loc": { "start": { "line": 26, "column": 49 }, "end": { "line": 26, "column": 50 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "NumericLiteral", "start": 1013, "end": 1016, "loc": { "start": { "line": 26, "column": 52 }, "end": { "line": 26, "column": 55 } }, "extra": { "rawValue": 0.5, "raw": "0.5" }, "value": 0.5 } ] }, "leadingComments": [ { "type": "CommentLine", "value": " These tend to be windows(!)", "start": 930, "end": 960, "loc": { "start": { "line": 25, "column": 16 }, "end": { "line": 25, "column": 46 } } } ] }, { "type": "ObjectProperty", "start": 1027, "end": 1039, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 20 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1027, "end": 1034, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 15 }, "identifierName": "opacity" }, "name": "opacity" }, "value": { "type": "NumericLiteral", "start": 1036, "end": 1039, "loc": { "start": { "line": 27, "column": 17 }, "end": { "line": 27, "column": 20 } }, "extra": { "rawValue": 0.5, "raw": "0.5" }, "value": 0.5 } } ] } } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [], "name": "_", "trailingComments": [] }, { "type": "ExportNamedDeclaration", "start": 1050, "end": 1077, "loc": { "start": { "line": 31, "column": 0 }, "end": { "line": 31, "column": 27 } }, "declaration": null, "specifiers": [ { "type": "ExportSpecifier", "start": 1058, "end": 1075, "loc": { "start": { "line": 31, "column": 8 }, "end": { "line": 31, "column": 25 } }, "local": { "type": "Identifier", "start": 1058, "end": 1075, "loc": { "start": { "line": 31, "column": 8 }, "end": { "line": 31, "column": 25 }, "identifierName": "IFCObjectDefaults" }, "name": "IFCObjectDefaults" }, "exported": { "type": "Identifier", "start": 1058, "end": 1075, "loc": { "start": { "line": 31, "column": 8 }, "end": { "line": 31, "column": 25 }, "identifierName": "IFCObjectDefaults" }, "name": "IFCObjectDefaults" } } ], "source": null }, { "type": "ExportNamedDeclaration", "start": 1050, "end": 1077, "loc": { "start": { "line": 31, "column": 0 }, "end": { "line": 31, "column": 27 } }, "declaration": { "type": "VariableDeclaration", "start": 533, "end": 1048, "loc": { "start": { "line": 12, "column": 0 }, "end": { "line": 29, "column": 2 } }, "declarations": [ { "type": "VariableDeclarator", "start": 539, "end": 1047, "loc": { "start": { "line": 12, "column": 6 }, "end": { "line": 29, "column": 1 } }, "id": { "type": "Identifier", "start": 539, "end": 556, "loc": { "start": { "line": 12, "column": 6 }, "end": { "line": 12, "column": 23 }, "identifierName": "IFCObjectDefaults" }, "name": "IFCObjectDefaults", "leadingComments": null }, "init": { "type": "ObjectExpression", "start": 559, "end": 1047, "loc": { "start": { "line": 12, "column": 26 }, "end": { "line": 29, "column": 1 } }, "properties": [ { "type": "ObjectProperty", "start": 565, "end": 702, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 17, "column": 5 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 565, "end": 573, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 12 }, "identifierName": "IfcSpace" }, "name": "IfcSpace" }, "value": { "type": "ObjectExpression", "start": 575, "end": 702, "loc": { "start": { "line": 13, "column": 14 }, "end": { "line": 17, "column": 5 } }, "properties": [ { "type": "ObjectProperty", "start": 637, "end": 650, "loc": { "start": { "line": 14, "column": 8 }, "end": { "line": 14, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 637, "end": 644, "loc": { "start": { "line": 14, "column": 8 }, "end": { "line": 14, "column": 15 }, "identifierName": "visible" }, "name": "visible", "leadingComments": null }, "value": { "type": "BooleanLiteral", "start": 646, "end": 650, "loc": { "start": { "line": 14, "column": 17 }, "end": { "line": 14, "column": 21 } }, "value": true }, "leadingComments": [ { "type": "CommentLine", "value": " IfcSpace elements should be visible and pickable", "start": 577, "end": 628, "loc": { "start": { "line": 13, "column": 16 }, "end": { "line": 13, "column": 67 } } } ] }, { "type": "ObjectProperty", "start": 660, "end": 674, "loc": { "start": { "line": 15, "column": 8 }, "end": { "line": 15, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 660, "end": 668, "loc": { "start": { "line": 15, "column": 8 }, "end": { "line": 15, "column": 16 }, "identifierName": "pickable" }, "name": "pickable" }, "value": { "type": "BooleanLiteral", "start": 670, "end": 674, "loc": { "start": { "line": 15, "column": 18 }, "end": { "line": 15, "column": 22 } }, "value": true } }, { "type": "ObjectProperty", "start": 684, "end": 696, "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 20 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 684, "end": 691, "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 15 }, "identifierName": "opacity" }, "name": "opacity" }, "value": { "type": "NumericLiteral", "start": 693, "end": 696, "loc": { "start": { "line": 16, "column": 17 }, "end": { "line": 16, "column": 20 } }, "extra": { "rawValue": 0.2, "raw": "0.2" }, "value": 0.2 } } ] } }, { "type": "ObjectProperty", "start": 708, "end": 824, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 21, "column": 5 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 708, "end": 717, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 13 }, "identifierName": "IfcWindow" }, "name": "IfcWindow" }, "value": { "type": "ObjectExpression", "start": 719, "end": 824, "loc": { "start": { "line": 18, "column": 15 }, "end": { "line": 21, "column": 5 } }, "properties": [ { "type": "ObjectProperty", "start": 782, "end": 796, "loc": { "start": { "line": 19, "column": 8 }, "end": { "line": 19, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 782, "end": 790, "loc": { "start": { "line": 19, "column": 8 }, "end": { "line": 19, "column": 16 }, "identifierName": "pickable" }, "name": "pickable", "leadingComments": null }, "value": { "type": "BooleanLiteral", "start": 792, "end": 796, "loc": { "start": { "line": 19, "column": 18 }, "end": { "line": 19, "column": 22 } }, "value": true }, "leadingComments": [ { "type": "CommentLine", "value": " Some IFC models have opaque IfcWindow elements(!)", "start": 721, "end": 773, "loc": { "start": { "line": 18, "column": 17 }, "end": { "line": 18, "column": 69 } } } ] }, { "type": "ObjectProperty", "start": 806, "end": 818, "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 20, "column": 20 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 806, "end": 813, "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 20, "column": 15 }, "identifierName": "opacity" }, "name": "opacity" }, "value": { "type": "NumericLiteral", "start": 815, "end": 818, "loc": { "start": { "line": 20, "column": 17 }, "end": { "line": 20, "column": 20 } }, "extra": { "rawValue": 0.5, "raw": "0.5" }, "value": 0.5 } } ] } }, { "type": "ObjectProperty", "start": 830, "end": 912, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 24, "column": 5 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 830, "end": 847, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 21 }, "identifierName": "IfcOpeningElement" }, "name": "IfcOpeningElement" }, "value": { "type": "ObjectExpression", "start": 849, "end": 912, "loc": { "start": { "line": 22, "column": 23 }, "end": { "line": 24, "column": 5 } }, "properties": [ { "type": "ObjectProperty", "start": 892, "end": 906, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 892, "end": 899, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 15 }, "identifierName": "visible" }, "name": "visible", "leadingComments": null }, "value": { "type": "BooleanLiteral", "start": 901, "end": 906, "loc": { "start": { "line": 23, "column": 17 }, "end": { "line": 23, "column": 22 } }, "value": false }, "leadingComments": [ { "type": "CommentLine", "value": " These tend to obscure windows", "start": 851, "end": 883, "loc": { "start": { "line": 22, "column": 25 }, "end": { "line": 22, "column": 57 } } } ] } ] } }, { "type": "ObjectProperty", "start": 918, "end": 1045, "loc": { "start": { "line": 25, "column": 4 }, "end": { "line": 28, "column": 5 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 918, "end": 926, "loc": { "start": { "line": 25, "column": 4 }, "end": { "line": 25, "column": 12 }, "identifierName": "IfcPlate" }, "name": "IfcPlate" }, "value": { "type": "ObjectExpression", "start": 928, "end": 1045, "loc": { "start": { "line": 25, "column": 14 }, "end": { "line": 28, "column": 5 } }, "properties": [ { "type": "ObjectProperty", "start": 969, "end": 1017, "loc": { "start": { "line": 26, "column": 8 }, "end": { "line": 26, "column": 56 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 969, "end": 977, "loc": { "start": { "line": 26, "column": 8 }, "end": { "line": 26, "column": 16 }, "identifierName": "colorize" }, "name": "colorize", "leadingComments": null }, "value": { "type": "ArrayExpression", "start": 979, "end": 1017, "loc": { "start": { "line": 26, "column": 18 }, "end": { "line": 26, "column": 56 } }, "elements": [ { "type": "NumericLiteral", "start": 980, "end": 992, "loc": { "start": { "line": 26, "column": 19 }, "end": { "line": 26, "column": 31 } }, "extra": { "rawValue": 0.8470588235, "raw": "0.8470588235" }, "value": 0.8470588235 }, { "type": "NumericLiteral", "start": 994, "end": 1008, "loc": { "start": { "line": 26, "column": 33 }, "end": { "line": 26, "column": 47 } }, "extra": { "rawValue": 0.427450980392, "raw": "0.427450980392" }, "value": 0.427450980392 }, { "type": "NumericLiteral", "start": 1010, "end": 1011, "loc": { "start": { "line": 26, "column": 49 }, "end": { "line": 26, "column": 50 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "NumericLiteral", "start": 1013, "end": 1016, "loc": { "start": { "line": 26, "column": 52 }, "end": { "line": 26, "column": 55 } }, "extra": { "rawValue": 0.5, "raw": "0.5" }, "value": 0.5 } ] }, "leadingComments": [ { "type": "CommentLine", "value": " These tend to be windows(!)", "start": 930, "end": 960, "loc": { "start": { "line": 25, "column": 16 }, "end": { "line": 25, "column": 46 } } } ] }, { "type": "ObjectProperty", "start": 1027, "end": 1039, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 20 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1027, "end": 1034, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 15 }, "identifierName": "opacity" }, "name": "opacity" }, "value": { "type": "NumericLiteral", "start": 1036, "end": 1039, "loc": { "start": { "line": 27, "column": 17 }, "end": { "line": 27, "column": 20 } }, "extra": { "rawValue": 0.5, "raw": "0.5" }, "value": 0.5 } } ] } } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @desc Default initial properties for {@link Entity}s loaded from models accompanied by metadata.\n *\n * When loading a model, a loader plugins such as {@link GLTFLoaderPlugin} and {@link BIMServerLoaderPlugin} create\n * a tree of {@link Entity}s that represent the model. These loaders can optionally load metadata, to create\n * a {@link MetaModel} corresponding to the root {@link Entity}, with a {@link MetaObject} corresponding to each\n * object {@link Entity} within the tree.\n *\n * @private\n * @type {{String:Object}}\n ", "start": 0, "end": 532, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 11, "column": 3 } } } ], "trailingComments": [] }, "specifiers": null, "source": null, "leadingComments": null } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "*\n * @desc Default initial properties for {@link Entity}s loaded from models accompanied by metadata.\n *\n * When loading a model, a loader plugins such as {@link GLTFLoaderPlugin} and {@link BIMServerLoaderPlugin} create\n * a tree of {@link Entity}s that represent the model. These loaders can optionally load metadata, to create\n * a {@link MetaModel} corresponding to the root {@link Entity}, with a {@link MetaObject} corresponding to each\n * object {@link Entity} within the tree.\n *\n * @private\n * @type {{String:Object}}\n ", "start": 0, "end": 532, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 11, "column": 3 } } }, { "type": "CommentLine", "value": " IfcSpace elements should be visible and pickable", "start": 577, "end": 628, "loc": { "start": { "line": 13, "column": 16 }, "end": { "line": 13, "column": 67 } } }, { "type": "CommentLine", "value": " Some IFC models have opaque IfcWindow elements(!)", "start": 721, "end": 773, "loc": { "start": { "line": 18, "column": 17 }, "end": { "line": 18, "column": 69 } } }, { "type": "CommentLine", "value": " These tend to obscure windows", "start": 851, "end": 883, "loc": { "start": { "line": 22, "column": 25 }, "end": { "line": 22, "column": 57 } } }, { "type": "CommentLine", "value": " These tend to be windows(!)", "start": 930, "end": 960, "loc": { "start": { "line": 25, "column": 16 }, "end": { "line": 25, "column": 46 } } } ], "tokens": [ { "type": "CommentBlock", "value": "*\n * @desc Default initial properties for {@link Entity}s loaded from models accompanied by metadata.\n *\n * When loading a model, a loader plugins such as {@link GLTFLoaderPlugin} and {@link BIMServerLoaderPlugin} create\n * a tree of {@link Entity}s that represent the model. These loaders can optionally load metadata, to create\n * a {@link MetaModel} corresponding to the root {@link Entity}, with a {@link MetaObject} corresponding to each\n * object {@link Entity} within the tree.\n *\n * @private\n * @type {{String:Object}}\n ", "start": 0, "end": 532, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 11, "column": 3 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 533, "end": 538, "loc": { "start": { "line": 12, "column": 0 }, "end": { "line": 12, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "IFCObjectDefaults", "start": 539, "end": 556, "loc": { "start": { "line": 12, "column": 6 }, "end": { "line": 12, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 557, "end": 558, "loc": { "start": { "line": 12, "column": 24 }, "end": { "line": 12, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 559, "end": 560, "loc": { "start": { "line": 12, "column": 26 }, "end": { "line": 12, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "IfcSpace", "start": 565, "end": 573, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 12 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 573, "end": 574, "loc": { "start": { "line": 13, "column": 12 }, "end": { "line": 13, "column": 13 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 575, "end": 576, "loc": { "start": { "line": 13, "column": 14 }, "end": { "line": 13, "column": 15 } } }, { "type": "CommentLine", "value": " IfcSpace elements should be visible and pickable", "start": 577, "end": 628, "loc": { "start": { "line": 13, "column": 16 }, "end": { "line": 13, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "visible", "start": 637, "end": 644, "loc": { "start": { "line": 14, "column": 8 }, "end": { "line": 14, "column": 15 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 644, "end": 645, "loc": { "start": { "line": 14, "column": 15 }, "end": { "line": 14, "column": 16 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 646, "end": 650, "loc": { "start": { "line": 14, "column": 17 }, "end": { "line": 14, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 650, "end": 651, "loc": { "start": { "line": 14, "column": 21 }, "end": { "line": 14, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pickable", "start": 660, "end": 668, "loc": { "start": { "line": 15, "column": 8 }, "end": { "line": 15, "column": 16 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 668, "end": 669, "loc": { "start": { "line": 15, "column": 16 }, "end": { "line": 15, "column": 17 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 670, "end": 674, "loc": { "start": { "line": 15, "column": 18 }, "end": { "line": 15, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 674, "end": 675, "loc": { "start": { "line": 15, "column": 22 }, "end": { "line": 15, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "opacity", "start": 684, "end": 691, "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 15 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 691, "end": 692, "loc": { "start": { "line": 16, "column": 15 }, "end": { "line": 16, "column": 16 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.2, "start": 693, "end": 696, "loc": { "start": { "line": 16, "column": 17 }, "end": { "line": 16, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 701, "end": 702, "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 17, "column": 5 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 702, "end": 703, "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 17, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "IfcWindow", "start": 708, "end": 717, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 13 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 717, "end": 718, "loc": { "start": { "line": 18, "column": 13 }, "end": { "line": 18, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 719, "end": 720, "loc": { "start": { "line": 18, "column": 15 }, "end": { "line": 18, "column": 16 } } }, { "type": "CommentLine", "value": " Some IFC models have opaque IfcWindow elements(!)", "start": 721, "end": 773, "loc": { "start": { "line": 18, "column": 17 }, "end": { "line": 18, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pickable", "start": 782, "end": 790, "loc": { "start": { "line": 19, "column": 8 }, "end": { "line": 19, "column": 16 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 790, "end": 791, "loc": { "start": { "line": 19, "column": 16 }, "end": { "line": 19, "column": 17 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 792, "end": 796, "loc": { "start": { "line": 19, "column": 18 }, "end": { "line": 19, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 796, "end": 797, "loc": { "start": { "line": 19, "column": 22 }, "end": { "line": 19, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "opacity", "start": 806, "end": 813, "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 20, "column": 15 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 813, "end": 814, "loc": { "start": { "line": 20, "column": 15 }, "end": { "line": 20, "column": 16 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.5, "start": 815, "end": 818, "loc": { "start": { "line": 20, "column": 17 }, "end": { "line": 20, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 823, "end": 824, "loc": { "start": { "line": 21, "column": 4 }, "end": { "line": 21, "column": 5 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 824, "end": 825, "loc": { "start": { "line": 21, "column": 5 }, "end": { "line": 21, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "IfcOpeningElement", "start": 830, "end": 847, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 21 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 847, "end": 848, "loc": { "start": { "line": 22, "column": 21 }, "end": { "line": 22, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 849, "end": 850, "loc": { "start": { "line": 22, "column": 23 }, "end": { "line": 22, "column": 24 } } }, { "type": "CommentLine", "value": " These tend to obscure windows", "start": 851, "end": 883, "loc": { "start": { "line": 22, "column": 25 }, "end": { "line": 22, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "visible", "start": 892, "end": 899, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 15 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 899, "end": 900, "loc": { "start": { "line": 23, "column": 15 }, "end": { "line": 23, "column": 16 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 901, "end": 906, "loc": { "start": { "line": 23, "column": 17 }, "end": { "line": 23, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 911, "end": 912, "loc": { "start": { "line": 24, "column": 4 }, "end": { "line": 24, "column": 5 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 912, "end": 913, "loc": { "start": { "line": 24, "column": 5 }, "end": { "line": 24, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "IfcPlate", "start": 918, "end": 926, "loc": { "start": { "line": 25, "column": 4 }, "end": { "line": 25, "column": 12 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 926, "end": 927, "loc": { "start": { "line": 25, "column": 12 }, "end": { "line": 25, "column": 13 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 928, "end": 929, "loc": { "start": { "line": 25, "column": 14 }, "end": { "line": 25, "column": 15 } } }, { "type": "CommentLine", "value": " These tend to be windows(!)", "start": 930, "end": 960, "loc": { "start": { "line": 25, "column": 16 }, "end": { "line": 25, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "colorize", "start": 969, "end": 977, "loc": { "start": { "line": 26, "column": 8 }, "end": { "line": 26, "column": 16 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 977, "end": 978, "loc": { "start": { "line": 26, "column": 16 }, "end": { "line": 26, "column": 17 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 979, "end": 980, "loc": { "start": { "line": 26, "column": 18 }, "end": { "line": 26, "column": 19 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.8470588235, "start": 980, "end": 992, "loc": { "start": { "line": 26, "column": 19 }, "end": { "line": 26, "column": 31 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 992, "end": 993, "loc": { "start": { "line": 26, "column": 31 }, "end": { "line": 26, "column": 32 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.427450980392, "start": 994, "end": 1008, "loc": { "start": { "line": 26, "column": 33 }, "end": { "line": 26, "column": 47 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1008, "end": 1009, "loc": { "start": { "line": 26, "column": 47 }, "end": { "line": 26, "column": 48 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 1010, "end": 1011, "loc": { "start": { "line": 26, "column": 49 }, "end": { "line": 26, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1011, "end": 1012, "loc": { "start": { "line": 26, "column": 50 }, "end": { "line": 26, "column": 51 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.5, "start": 1013, "end": 1016, "loc": { "start": { "line": 26, "column": 52 }, "end": { "line": 26, "column": 55 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1016, "end": 1017, "loc": { "start": { "line": 26, "column": 55 }, "end": { "line": 26, "column": 56 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1017, "end": 1018, "loc": { "start": { "line": 26, "column": 56 }, "end": { "line": 26, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "opacity", "start": 1027, "end": 1034, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 15 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1034, "end": 1035, "loc": { "start": { "line": 27, "column": 15 }, "end": { "line": 27, "column": 16 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.5, "start": 1036, "end": 1039, "loc": { "start": { "line": 27, "column": 17 }, "end": { "line": 27, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1044, "end": 1045, "loc": { "start": { "line": 28, "column": 4 }, "end": { "line": 28, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1046, "end": 1047, "loc": { "start": { "line": 29, "column": 0 }, "end": { "line": 29, "column": 1 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1047, "end": 1048, "loc": { "start": { "line": 29, "column": 1 }, "end": { "line": 29, "column": 2 } } }, { "type": { "label": "export", "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "export", "start": 1050, "end": 1056, "loc": { "start": { "line": 31, "column": 0 }, "end": { "line": 31, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1057, "end": 1058, "loc": { "start": { "line": 31, "column": 7 }, "end": { "line": 31, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "IFCObjectDefaults", "start": 1058, "end": 1075, "loc": { "start": { "line": 31, "column": 8 }, "end": { "line": 31, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1075, "end": 1076, "loc": { "start": { "line": 31, "column": 25 }, "end": { "line": 31, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1076, "end": 1077, "loc": { "start": { "line": 31, "column": 26 }, "end": { "line": 31, "column": 27 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1077, "end": 1077, "loc": { "start": { "line": 31, "column": 27 }, "end": { "line": 31, "column": 27 } } } ] }