As-Built BIM for a Fifteenth-Century Chinese Brick Structure at Various LoDs

: Building information modeling (BIM) has received signiﬁcant research attention in the ﬁeld of built heritage. As-built BIM refers to a BIM representation of the “as-is” conditions of built heritage at the time of a survey. Determining the level of development (LoD) is crucial for as-built BIM owing to its relevance to model e ﬀ ects and modeling e ﬀ orts. This study addresses this issue from the viewpoint of a brick structure based on a case study of a ﬁfteenth-century ruin in Nanjing, China. Three LoDs are proposed based on the combined use of a commercial platform and auxiliary tools: A host model linked with raster images composed using orthoimage and relief maps (LoD 1), an as-built volume with semantic skins (LoD 2), and a brick-by-brick model with custom industry foundation class parameters at local areas (LoD 3). The results reveal that LoD 1 caters to an e ﬃ cient web-based workﬂow for brick-damage annotations; as-built dimensions can be extracted from LoD 2; and LoD 3 enables attributes, such as damage types, to be attached at the brick level. In future studies, the detection of brick shapes is expected to automate the process of as-built surface mapping.


Introduction
Bricks are among the oldest building materials, and brick-built heritage structures are widely distributed globally [1]. Recent developments in optical sensors and computer vision (CV) algorithms have made it easier to measure brick structures. Terrestrial laser scanning (TLS) and photogrammetry are widely used for these measurements [2,3]. A combination of these methods can be used to achieve high-resolution (HR) documentation with high geometrical accuracy (mm level) and chromatic fidelity (24-bit color space). However, certain surveyed spaces are too narrow to use TLS and photogrammetry; hence, technologies such as mobile scanning [4] and spherical cameras [5] are being developed. Even though the accuracies of these methods are lower than those of previous methods, they ensure rapid in situ measurements and robust scene transition in narrow spaces, as the devices can be operated while walking.
Graphically representing measurement results is considerably more challenging compared to measurements. The metric survey of historic buildings is considered a "measured" and "drawn" process [6]. Owing to the advances of measurement technologies and three-dimensional (3D) models coupled with databases, drawing, in a broader sense, is expected to be the medium that links measurements and heritage studies and caters to various demands. Hence, graphical representation involves data segmentation, database establishment and data transfer. Existing solutions vary depending on the purposes of the survey [7][8][9]. The direct output of an optical measurement includes a point cloud and a mesh surface. Even though these outputs can be highly accurate, dense and texture-rich, they are not semantically structured and do not possess information (material, physical properties, etc.) other than geometry and color. However, a semantically-rich 3D model is highly favorable for numerous conservation-oriented applications of masonry structures, such as characterizing surface damage [10] and assessing overall structural safety [11][12][13]. It is challenging to convert raw measurement data and meet the demands of data consumers (architects, engineers, archeologists, etc.) because the required modeling effort increases with the amount of as-built information. This problem is ubiquitous to built heritage surveys [14,15], but requires special attention when a masonry structure is the survey target. Surface mappings (characterizing damage, provenance and dating) are mandatory for any conservation or restoration interventions that affect facades [16]. However, extra effort (segmentation and metadata enrichment) is required because facades are composed of thousands of masonry units.

Existing Approaches Based on CAD and GIS
A conventional approach for representing a brick-masonry facade is to overlap raster images with vector layers [17]. Raster images can be obtained from rectified photography [18] or orthophotos generated using photogrammetry [19], while vectors are manually drawn by mapping the former in computer-aided design (CAD) programs. CV algorithms segment masonry units using point clouds and images [20][21][22]. However, manual operations may still be necessary given the complexity of the masonry surfaces that have experienced damages and alternations. CAD facilitates vector visualization with line types and hatched overlays. This approach is applicable to two-dimensional (2D) surfaces and volumes. It provides precise edge segmentation along with surface information on a texture. However, the metadata on masonry units are limited to geometry, and nongraphical data are not included. Hence, CAD-based representation allows for easy-to-use drawing and intuitive visualization but not data management and further simulations.
The use of a geographical information system (GIS) addresses the limitations of CAD in data management and graphical analysis. Raster data can be processed using the in-built functions of GIS platforms, including segmentation, vectorization and comparison. Masonry units are represented by shapefiles that can be labeled, sorted and filtered according to user-defined logic (provenance, dating, damage patterns, etc.). These functions help users create thematic maps [23] and share them via GIS-extended web browsers [24]. However, GIS is inherently oriented toward representing geographical elements, and not architectural components and their semantic data. Even though 3D visualization is achievable [25], the use of GIS to represent masonry structures is limited to 2D graphical applications, instead of applications that require 3D volumes and architectural semantics, such as drawing production and structural analysis.

BIM as a New Solution
Building information modeling (BIM) is a component-based modeling environment that is semantically structured [26]. Even though BIM was developed for the architecture, engineering and construction (AEC) industry, historic BIM (HBIM) attracted research interest from the field of built heritage. It is considered a potential platform to bridge the gap between advanced measurements and various conservation-oriented applications [27,28]. As-built BIM refers to a BIM representation of the "as-is" state of built heritage at the time of a survey [29]. It is oriented toward representing the damages, decays, missing parts and other imperfect conditions using advanced measurement technologies. As BIM is not inherently oriented toward modeling and managing as-built data, fundamental issues should be addressed with the characteristics of historic brick structures.

Level of Developments
An effective strategy of as-built BIM is the establishment of an appropriate level of development (LoD; also known as level of detail), with reference to the standard BIM procedures within the AEC industry [30]. LoD is generally considered as a grading system that defines the complexity of a model, even though the definition may vary in different standards. For example, LoD 100-500 was employed by BIMForum to define the LoD from element representation to field verification [31], while a grade of LoD 1 to 6 was adopted by the UK standard for referring to the level of detail [32].
In the field of built heritage, a few studies have refined the concept of LoD with emphasis on the "survey to BIM" process by defining the level of accuracy, the level of knowledge, and the grade of generation [8,16,33]. LoD F and G are adopted by the Italian standard to define the grades of the as-built conditions of architectural heritage [34]. English BIM guidelines adjusted the above-mentioned UK standard of LoD to built heritage [35].
The correlations between LoD and model effects are positive. As higher LoDs exert a stronger positive effect on decision making for new buildings, a highly developed BIM model better supports structural simulation [36], restoration management [33] and in situ maintenance [37].
Challenges arise in the case of historical brick structures. For example, a brick wall at LoD 400 (after BIMForum's standard) in the AEC industry literally requires individual masonry-unit division [31]. This LoD has proved useful to the stakeholders of masonry construction, such as architects, structural engineers, and mason contractors [38,39]. The modeling of brick units in BIM has encouraged technique studies on brickwork [40] and the high-resolution (HR) documentation of built heritage [41]. However, the semantic data in commercial BIM platforms (e.g., Autodesk Revit) are retained at the component level (e.g., a brick wall) rather than individual brick units. Is a brick-by-brick model with a large file size and void semantics required by architectural historians, archeologists, and restorers during the conservation process?
Thus, it is crucial to evaluate the roles that LoDs play in studying and conserving historical brick structures, including model effects (e.g., damage annotation, production of drawings and deformation analysis) and modeling efforts.

BIM Tools
Most current approaches of HBIM use commercial BIM platforms (e.g., Revit, ArchiCAD) or combine them with auxiliary tools, GIS methods and open-source software (OSS) tools [42].
Commercial BIM platforms contain parametric libraries and established workflows. However, they are inherently oriented toward the AEC industry instead of built heritage, particularly in as-built conditions. Problems arise in modeling nonstandard objects and customizing attributes (e.g., damage pattern, conventional materials). As noted by Diara and Rinaudo [43], compromises are prone to be made in survey projects owing to the limited customization options in commercial BIM platforms.
Various solutions have been proposed to customize the BIM representations of built heritage. Barazzetti proposed a method of creating parametric BIM components using nonuniform rational basis splines (NURBS) via the Rhino commercial software [14,44]. Garagnani employed the Revit application programming interface (API) to develop plug-ins for as-built modeling [15]. API was also adopted by Bruno for database customization in Revit [45]. Yang integrated a built-in visual programming tool of Revit (Dynamo) and an ontology semantic to provide components with accurate geometry and self-defined knowledge [46]. A system that combines BIM and GIS is a tendency. Data exchange between BIM and GIS has been enabled in the recent releases of commercial platforms (Revit model can be read in ArcGIS PRO 2.2) [47]. However, applying them to built heritage requires further study. OSS tools provide a high extent of customization through the utilization of database management systems, CAD platforms, and webservers. Studies on this topic are in progress [43,48].
In this study, we achieve low LoDs (LoD 200 and 300 after BIMForum) using the default operations of commercial BIM platforms considering reasonable modeling efforts, and adapt the BIM representations for surveying brick structures at a high LoD (LoD 400 after BIMForum, a brick-by-brick model) by utilizing OSS tools.

Format Issue
Industry foundation class (IFC) is a neutral data-exchange standard developed by "buildingSMART" to facilitate interoperability among BIM platforms in the AEC industry [49]. An IFC model is an assembly composed by a set of schemas, each corresponding to one IFC layer, such as IfcObject, which records objects characteristics and types [50]. In commercial BIM platforms such as Revit, semantics can be attached to a brick wall instead of individual brick units by default. OSS tools are available for addressing this issue by working with an IFC proxy. According to the definition provided by American Institute of Architects, an IFC proxy is intended to be a container for wrapping the objects that are defined by associated properties which may or may not have a geometric representation and placement in space [51]. For instance, VisualARQ, which is a plugin of Rhino, enables self-defined parameters to be read, modified, and filtered in BIM platforms via an IFC proxy. This tool is employed in this study to create semantic-rich brick units.

Brick Heritage of the Ming Dynasty
The Ming Dynasty (1368-1644 AD) witnessed the rise of brick structures in China. The Great Wall was extensively strengthened and rebuilt during this period for the third time in history [1], and most of the ruins observed today originated during this period. As the capital of the Ming empire before 1421 AD, Nanjing retains abundant brick-built ruins, including royal tombs, temples, civil infrastructures and city walls ( Figure 1). Even though the Ming Dynasty brick heritage sites have been under regular maintenance-a few of them have been designated as UNESCO World Heritage sites (as part of the Imperial Tombs of the Ming and Qing Dynasties) and a few have been placed on the tentative list (as part of the City Wall in the Ming and Qing Dynasties)-no metric survey at the brick level has been conducted on these structures yet. TLS has been employed in measurements, but drawings are delivered without sufficient details on brickwork and as-built conditions. The absence of as-built modeling methods at various LoDs is the bottleneck between measurement and conservation.

Study Purposes and Paper Structure
In contrast to existing studies on the development level of BIM, with relevant criteria such as the grades of knowledge, information and accuracy [8,33], this study is addressed to a certain type of built heritage (i.e., brick-built heritage structures from the Ming and Qing Dynasties of China). It focuses on exploring the model effects and modeling effort at various LoDs towards a BIM representation of the studied cases. In addition, the capabilities of commercial BIM platforms and auxiliary tools are studied with reference to the characteristics of historic brick structures from the viewpoint of modeling and data enrichment workflow.
The remainder of this paper is organized as follows: Section 2 outlines the study target and proposed methods. Section 3 presents the results obtained at each LoD. Section 4 analyzes the results from the viewpoint of potential applications, limitations and future work. Section 5 presents concluding remarks.

The Stele Tower and Optical Measurements
The Stele Tower is located at the Xiaoling Tomb, Nanjing, China (  In our study, TLS and photogrammetry were employed when measuring the Stele Tower. In addition to accuracy, portability and efficiency were considered when conducting measurements because the site is frequently crowded with tourists. Leica BLK 360 was used to scan the entire building and generate a global mesh model from 21 separate scans (Figure 3a-c). The mean error of registration (based on natural features) was less than 3 mm. The segments of textured mesh surfaces were generated using photogrammetry, with the aim of documenting the chromatic information of crucial parts (Figure 3d,e). Images were obtained using hand-held cameras with convergent camera networks and automatically aligned using Agisoft PhotoScan. The generated mesh surfaces were approximately registered using the control points extracted from the TLS-derived model and finely registered in CloudCompare using an iterative closest points algorithm. Then, the TLS-derived point cloud was imported into the BIM environment (Autodesk Revit 2019 in this study), and the registered mesh models were imported into a visual programing environment (Rhino 6) as modeling reference.

Representing As-Built Information at Various LoDs
Instead of cloning the LoD standard of masonry components from the AEC industry, a different classification was defined in this study, considering the demands of as-built modeling and the characteristics of the study target. It consisted of three LoDs (LoD 1, 2 and 3) that represented the as-built information at the imagery level, component (region) level and brick level.

Host Model Linked with Raster Imageries (LoD 1)
This LoD is oriented toward easing data sharing and in situ maintenance using portable devices. As-built information is expected to be delivered in an intuitive manner. We addressed this demand by creating a host model that enabled raster images with as-built information to be linked and visualized in associative elevation and section views (Figure 4).
The host model represented an ideal form (as-designed) without considering the as-built geometry. It was considered symmetrically composed of basic elements such as straight lines and semicircles. The point cloud was used to accommodate contours for 3D modeling, but the slight asymmetries and deformations of the as-built condition were neglected. The volume of the Stele Tower was generated by blending two rectangular contours at the ground floor level and top level. Four vaulted doorways were spanned using four void volumes to penetrate the solid volume. The above operations were created as a "mass" through "in-place component" in Revit.
The as-built raster imageries included orthoimages, generated with photogrammetry, and relief maps showing the depth information of brick surfaces such as holes and missing blocks. The relief map

As-Built Volume with Semantic-Aware Skins (LoD 2)
A modeling process similar to that of LoD 1 was adopted, with two different operations ( Figure 5):

•
As-built geometry contours. The contours that generated mass volumes were obtained by manually mapping the point cloud with splines with high density. Over 20 control points were used to define a vault section, and three contours were used to generate 3D vaulted shapes by lofting the contours. • Semantic-rich skins. Once the solid volume penetrated by vaulted passages was generated, each surface was converted to a component (wall family) using "wall by face" in Revit. This enabled the skins of the volume to retain the same parametric geometries (wall thickness) and semantic data (material layers) as those inherently established (system family) in Revit.
The thickness and layers of the walls and vaults (vaults are generated as Wall Family owing to the constraints of Revit) can be modified parametrically according to user requirements. For instance, wall thickness can be defined as one layer (ca. 41 cm; two 20 cm brick widths plus 1 cm thickness mortar) of stretcher bond and subsequently modified. The Five Rings and Five Label Courses bonding patterns of the vaults segmented as wall layers were assigned actual materials (brick and lime mortar).

Brick Units Attached with Custom Parameters (LoD 3)
Semantics are attached to components instead of individual brick units in Revit by default. A workflow using auxiliary tools was developed to generate semantic-rich brick units via parametric generation and the IFC proxy ( Figure 6).
Hybrid modeling approaches were employed to generate brick units in Rhino by employing its versatile visual programing (via Grasshopper) based on NURBS. The bricks laid on walls were modeled manually with reference to the textured mesh surfaces obtained with photogrammetry. A code was scripted using Grasshopper to automatically generate brick units on the surfaces of the barrel vaults with user-defined parameters (layer amount, brick dimensions and mortar thickness) for facilitating modifications and sustainable uses in similar structures. The composition of Five Rings and Five Label Courses based on stretcher bond served as the logic of parametric modeling: • A NURBS surface was generated from the slices of the point cloud; • The surface was divided into rectangles reflecting the stretcher-bond pattern; • The rectangles were shrunk (considering mortar thickness) and extruded based on brick width and the thickness of each brick layer.
The generated 3D models of brick units were enriched with a parameter using the VisualARQ plugin of Grasshopper. "Damage types" consists of two values ("Crack" and "Impact damage") based on preliminary observations by the naked eye. The generated brick-unit models were manually grouped to be assigned with the corresponding values and stored in IFC 2 × 3 format for subsequent use in Revit. bonding patterns of the vaults segmented as wall layers were assigned actual materials (brick and lime mortar).

Figure 5.
Modeling workflow of LoD 2, for semantic-rich components with as-built geometry.

Brick Units Attached with Custom Parameters (LoD 3)
Semantics are attached to components instead of individual brick units in Revit by default. A workflow using auxiliary tools was developed to generate semantic-rich brick units via parametric generation and the IFC proxy ( Figure 6).
Hybrid modeling approaches were employed to generate brick units in Rhino by employing its versatile visual programing (via Grasshopper) based on NURBS. The bricks laid on walls were modeled manually with reference to the textured mesh surfaces obtained with photogrammetry. A code was scripted using Grasshopper to automatically generate brick units on the surfaces of the barrel vaults with user-defined parameters (layer amount, brick dimensions and mortar thickness) for facilitating modifications and sustainable uses in similar structures. The composition of Five Rings and Five Label Courses based on stretcher bond served as the logic of parametric modeling: • A NURBS surface was generated from the slices of the point cloud; • The surface was divided into rectangles reflecting the stretcher-bond pattern; • The rectangles were shrunk (considering mortar thickness) and extruded based on brick width and the thickness of each brick layer. The generated 3D models of brick units were enriched with a parameter using the VisualARQ plugin of Grasshopper. "Damage types" consists of two values ("Crack" and "Impact damage") based on preliminary observations by the naked eye. The generated brick-unit models were manually grouped to be assigned with the corresponding values and stored in IFC 2 × 3 format for subsequent use in Revit.

LoD 1: In Situ Maintenance
The file size of the LoD 1 model without the images was less than 4 MB; this increased to 21 MB when the 27 relief maps with resolutions in a range 0.5-2 cm/pixel were included. Image processing required approximately 4 h.
Owing to the associated connections of the 3D model and 2D views in BIM, the host model linked by the images allowed for drawing productions on the specific segments of walls and vaults. The damages detected by the naked eye were manually annotated according to the relevant glossaries [52]. In addition, the model and linkages were uploaded to BIM 360 Docs and published for sharing with the stakeholders and for with in situ maintainers for visualization and editing on a tablet computer (Figure 7). Maintainers could compare the earlier damage annotations with the current state and make new annotations. Even though damages such as missing brick units, plants and cracks were noticed on raster images, a few could only be characterized in situ, such as thin fractures and distinguishing weathering from impact damages.

LoD 2: As-Built Drawings
The LoD 2 model was 11 MB and required approximately 2 h. Most of the time was required for tracing the sections of point clouds, while the generation of components by faces was prompt.
As-built dimensions and deformation analysis were produced from LoD 2 owing to its high accuracy. The mean deviation and standard deviation between the LoD 2 model and TLS-derived mesh (mean error of 3 mm) were 1.6 and 1.2 cm, respectively (Figure 8a). Given the length of the Stele Tower (25.7 m), the relative error was 1/1600 (=1.6 cm/25.7 m). This accuracy considered the severe weathering of brick on exposed surfaces: the point-cloud contours were mapped without including such details. The as-built 3D model improved the accuracy of drawing production and dimension extraction. The sections that passed through the vaults reflected the actual dimensions of construction details (brick courses and mortar). Convenient dimension extraction facilitated the statistical analysis of structural deformation, such as the deformation of the barrel vaults caused by lateral thrusts. The results showed that all barrel vaults experienced this problem. The largest deformation was located at the outer section of the south vault, which was 6 cm longer on the higher level (top) compared to the lower level (bottom) (Figure 8b).
The components were subdivided using "parts" in Revit. This enabled the brickwork laid at different times to be distinguished manually and provided elevations, sections, and isometric views at a fine scale (1:50) (Figure 8c). However, the cost of subdividing components was the loss of the semantic data that were attached to components in Revit. The transition between components and subdivided parts is reversible; they can be switched for an HR survey with different concentrations.

LoD 3: Damage Contents at the Brick Level
LoD 3 was applied only to the western vault instead of the global structure considering the potential burden of computation. As the modeling of the brick units and the definition of their parameters were automated owing to the scripted code in Grasshopper, the most time was required for manually specifying the values of each brick. The entire process required approximately 1 h, and the Revit file size was 13 MB (composed by 2343 brick units). However, the obtained model was not strictly as-built, as the brick units were generated based on the assumption of stretcher bond without addressing their irregular arrangement caused by slight change in brick length. Manual adjustments would require high labor intensity. The estimated overall file size of the Stele Tower at LoD 3 covering only visible surfaces would be 20 to 30 times the current model. Considerable time would be required when precise brick mapping is performed through manual adaptions.
Despite the modeling efforts at a local scale, a BIM representation at the brick level of the Stele Tower was feasible through the combined use of parametric generation and the IFC proxy. The brick units were recognized as "generic model" in Revit, but enriched with custom IFC parameters (i.e., "Damage types"). The values of each brick unit were editable. The brick units were filtered by user-defined logics (Figure 9). The main benefit of LoD 3, in contrast to previous LoDs, is data management at the brick level, which is crucial for the conservation of the studied brick structures. Damage contents were annotated with 2D graphics at LoD 1, temporal changes were represented at the region level by subdividing components at LoD 2, while damages and temporal attributes were stored with assembles of 3D models representing individual brick units at LoD 3.

Discussion
Currently, accurate and detailed 3D models with optical measurement technologies are available in the field of architectural heritage even under extreme conditions (e.g., inaccessible areas and narrow spaces). However, data consumers have not sufficiently exploited these advantages. One of the obstacles is in the process from measurement to drawing in a survey workflow. The improvement of as-built accuracy tends to decrease the parametric intelligence of components in HBIM; hence, adopting an appropriate LoD for heritage types and surveys is critical. This study addresses this issue from a brick structure point of view.

Potential Applications of the Three LoDs
The direct application of LoD 1 is in situ maintenance through the combined use of photogrammetry and BIM on portable devices. This is a promising utilization given Nanjing's 35 km-long city wall built during the Ming Dynasty. Currently, the damage documentation in daily maintenance relies mostly on photos instead of metric data. It is not possible to detect changes unless they are evident. BIM Models at LoD 1 allow for web-based damage annotation and data sharing for these brick-built heritage sites. A by-product of LoD 1 is the rapid modeling of Ming Dynasty brick structures at the same LoD and a 3D geodatabase. Owing to its highly parametric geometry, the LoD 1 model serves as a prototype for the rapid modeling of the fifteenth-century brick-built counterparts and facilitates a geographical platform. As a volume is driven by two contours (at top and bottom) and penetration by a series of vaulted passages is a shared characteristic, a model can be rapidly adapted to another measurement. This is an efficient survey workflow considering cm-level (accuracy and resolution) 3D measurements conducted to such a structure requires less than 30 min using a hand-held mobile mapping system [4]. In addition, parametric modification from one BIM model to another requires less than 15 min by a skilled operator. The generated models can be georeferenced and visualized with 3D terrain and water for tourist guidance and game development.
As-built accuracy (volume), parametric geometry (bricklayer thickness) and semantic data (materials) are retained at LoD 2. The yielded models satisfy a wide range of applications with reasonable modeling efforts and model sizes. For instance, studies on vaulting geometries in Chinese brick remains have mainly employed preliminary surveys corresponding to LoD 1 in this study [53,54]; the convenience of as-built dimension extraction and data transfer will support such studies. The component-based semantic structure facilitates structural simulation based on as-built geometry and materials. The components yielded at LoD 2 retain complete semantic data as those inherently established (the default "system family") in Revit, ranging from mechanical properties (density) to thermal properties (thermal conductivity, heat transfer coefficient and thermal resistance).
The subdivided components facilitate geometric studies on brick laying among the brick structures built during the Ming and Qing Dynasties.
In additional to the current parameter, more attributes collected through various approaches can be enriched to the model at LoD 3. In the Ming Dynasty, detailed brick kilns were obliged to inscribe on each brick as a method of monitoring brick-making quality. Provenance of brick can be traced by studying these inscriptions. Nondestructive techniques can be employed to detect physical properties at the brick level, such as moisture content [55]. The self-defined IFC parameters provided by OSS tools enable BIM to be a historic brick database that integrates geometric data with dating, provenance and damage types. Further studies can be performed by combining these logics, such as the statistical analysis of cracked bricks with reference to provenance. In this manner, the studied brick structures with semantic data at the brick level can be shared with stakeholders through widely used BIM platforms.

Limitations and Future Developments
The proposed approaches were developed mainly within the framework of a widely used BIM platform. Limitations exist in the context of the as-built BIM representations of historical brick structures.
First, despite the use of OSS tools at LoD 3, the proposed methods mainly rely on a commercial BIM platform. Even though the operations are straightforward, compromises are required. For example, the barrel vaults were generated using " wall by face " at LoD 2 owing to the constraints of modeling irregular components in Revit. As a result, the generated vaults were semantically recognized as walls. The uses of the IFC proxy proved that self-defined parameters can be attached to BIM models with reasonable modeling efforts, but the use of the IFC model was not sufficiently studied. The IFC model along with the OSS CAD platform, DBMS, and webserver can be employed to customize the BIM representations of historic brick structures. Commercial platforms have advantages over OSS tools in aspects such as user interfaces and drawing production. Connections should be established between the self-defined parameters of OSS tools with the global parameters in commercial platforms.
Second, the brick units generated at LoD 3 are not strictly as-built. The proposed method uses a code to parametrically generate brick models based on average brick dimensions and mortar thickness and neglects their irregular arrangements caused by slight change in brick length. Manual brick-by-brick adjustment is labor intensive. CV algorithms should be tested in the future to automate the process of brick shape detection. Damage mapping on orthoimages is shown to be not flexible by default tools in Revit, while GIS provides versatile operations for establishing thematic maps on damage content through image processing algorithms. CAD-GIS mapping should be combined with the BIM representations in future.

Conclusions
This work focused on the as-built modeling of brick-built historic structures in BIM platforms. Three LoDs were proposed for the case study, which was a fifteenth-century UNESCO heritage site in China. The results were assessed in terms of model effects and modeling efforts. The following conclusions can be drawn: • BIM representations have advantages in terms of centralizing as-built geometries and nongraphical attributes (e.g., damage contents), compared with conventional vector-based methods when applied to brick structures; • As-built brick walls and vaults represented by parametric components (LoD 300 after BIMForum) can be generated by tracing point clouds, with reasonable modeling efforts, through default workflows in a commercial BIM application (Revit); • A BIM representation based on individual brick units attached with custom semantics (LoD 400 after BIMForum) is feasible for local parts by employing OSS tools and an IFC proxy. The automated detections of brick shapes are crucial for automating the workflow globally at this LoD.