This repository has been archived on 2023-01-27. You can view files and clone it, but cannot push or open issues or pull requests.
cad/web/xeo/assets/js/MAPObjectDefaults.js
2022-10-15 19:16:08 +02:00

130 lines
3.2 KiB
JavaScript

/**
* Configured on {@link XKTLoaderPlugin#objectDefaults} when loading the MAP model from BIMData, to tweak the
* initial object appearances.
*
* @type {{String:Object}}
*/
const MAPObjectDefaults = {
IfcRoof: {
colorize: [0.837255, 0.203922, 0.270588]
},
IfcSlab: {
colorize: [0.637255, 0.603922, 0.670588]
},
IfcWall: {
colorize: [0.537255, 0.337255, 0.237255]
},
IfcWallStandardCase: {
colorize: [0.537255, 0.337255, 0.237255]
},
IfcCovering: {
colorize: [0.8470588235, 0.427450980392, 0]
},
IfcDoor: {
colorize: [0.637255, 0.603922, 0.670588]
},
IfcStair: {
colorize: [0.637255, 0.603922, 0.670588]
},
IfcStairFlight: {
colorize: [0.637255, 0.603922, 0.670588]
},
IfcProxy: {
colorize: [0.137255, 0.403922, 0.870588]
},
IfcRamp: {
colorize: [0.8470588235, 0.427450980392, 0]
},
IfcColumn: {
colorize: [0.137255, 0.403922, 0.870588]
},
IfcBeam: {
colorize: [0.137255, 0.403922, 0.870588]
},
IfcCurtainWall: {
colorize: [0.137255, 0.403922, 0.870588]
},
IfcPlate: {
colorize: [0.8470588235, 0.427450980392, 0, 0.5],
opacity: 0.3
},
IfcTransportElement: {
colorize: [0.8470588235, 0.427450980392, 0]
},
IfcFooting: {
colorize: [0.8470588235, 0.427450980392, 0]
},
IfcRailing: {
colorize: [0.137255, 0.403922, 0.870588]
},
IfcFurnishingElement: {
colorize: [0.137255, 0.403922, 0.870588]
},
IfcFurniture: {
colorize: [0.8470588235, 0.427450980392, 0]
},
IfcSystemFurnitureElement: {
colorize: [0.8470588235, 0.427450980392, 0]
},
IfcFlowSegment: {
colorize: [0.137255, 0.403922, 0.870588]
},
IfcFlowitting: {
colorize: [0.137255, 0.403922, 0.870588]
},
IfcFlowTerminal: {
colorize: [0.137255, 0.403922, 0.870588]
},
IfcFlowController: {
colorize: [0.8470588235, 0.427450980392, 0]
},
IfcFlowFitting: {
colorize: [0.8470588235, 0.427450980392, 0]
},
IfcDuctSegment: {
colorize: [0.8470588235, 0.427450980392, 0]
},
IfcDistributionFlowElement: {
colorize: [0.8470588235, 0.427450980392, 0]
},
IfcDuctFitting: {
colorize: [0.8470588235, 0.427450980392, 0]
},
IfcLightFixture: {
colorize: [0.8470588235, 0.8470588235, 0.870588]
},
IfcAirTerminal: {
colorize: [0.8470588235, 0.427450980392, 0]
},
IfcOpeningElement: {
colorize: [0.137255, 0.403922, 0.870588],
pickable: false,
visible: false
},
IfcSpace: {
colorize: [0.137255, 0.403922, 0.870588],
pickable: false,
visible: true,
opacity: 0.5
},
IfcWindow: {
colorize: [0.137255, 0.403922, 0.870588],
pickable: true,
visible: false,
opacity: 0.5
},
IfcBuildingElementProxy: {
colorize: [0.5, 0.5, 0.5]
},
IfcSite: {
colorize: [0.137255, 0.403922, 0.870588]
},
IfcMember: {
colorize: [0.8470588235, 0.427450980392, 0]
},
DEFAULT: {
colorize: [0.5, 0.5, 0.5]
}
};
export {MAPObjectDefaults}