A free-form building skin discretization method, apparatus, device and medium
By setting horizontal slice planes on the freeform building skin, extracting and fitting intersecting curves to generate quadrilateral panel units, the problem of a large number and complex types of components in the existing technology is solved, realizing high-precision component processing and installation, and improving construction efficiency.
Patent Information
- Application Number
- CN202610346215.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-03-20
- Publication Date
- 2026-11-06
- Estimated Expiration
- 2046-03-20
AI Technical Summary
In existing technologies, the discrete methods for freeform surface building skins generate a large number of components with complex types, which is not conducive to actual processing and construction installation. Furthermore, the mesh generation method based on parametric surfaces has high requirements for surface regularity and is difficult to handle complex structures.
By acquiring a freeform surface 3D model, setting a horizontal slicing plane along the direction perpendicular to the ground, extracting intersecting curves and performing linear discretization fitting, generating quadrilateral panel units, determining processing parameters and installation information based on the panel units, and adaptively adjusting the slicing spacing to improve accuracy.
It improves the geometric accuracy of surface discretization, reduces the number of component types, is suitable for standardized processing and on-site installation, and improves design and construction efficiency.
Smart Images

Figure CN122263230B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of architectural design technology, and specifically relates to a method, apparatus, equipment and medium for discretizing free-form building skins. Background Technology
[0002] With the development of modern architectural design, free-form building skins have been widely used in large public buildings, cultural buildings and landmark buildings due to their unique shape effect. Such building skins are usually composed of complex spatial curved surfaces. In actual engineering construction, it is necessary to discretize the continuous free-form surface into several processable and installable component units in order to carry out component processing, transportation and on-site installation.
[0003] In existing technologies, discretization methods for freeform building skins mainly include discretization methods based on triangular meshes and mesh generation methods based on parametric surfaces. Among them, the discretization method based on triangular meshes typically generates a large number of triangular patches by triangulating the surface. Although this method can approximate complex surfaces well, it generates a large number of components with complex component types, which is not conducive to actual processing and construction installation. The mesh generation method based on parametric surfaces relies on the parametric model of the surface and has high requirements for the regularity of the building surface. When the surface structure is relatively complex, it is easy to produce problems such as large differences in component dimensions. Summary of the Invention
[0004] Based on the above analysis, the embodiments of the present invention aim to provide a method, apparatus, equipment and medium for discretizing freeform building skins, in order to solve the technical problem that the designed components in the prior art are not conducive to actual processing and construction installation.
[0005] The objective of this invention is achieved as follows: A first aspect of the present invention provides a method for discretizing freeform building skins, comprising: Obtain a freeform 3D model of the building's facade; Multiple horizontal slicing planes are set along a direction perpendicular to the ground, and the horizontal slicing planes cover the height range of the freeform surface 3D model; Extract the intersection curves between each of the horizontal slice planes and the freeform surface; For each of the intersecting curves, a linear discrete fitting is performed to divide the horizontal intersection line into multiple continuous straight line segments, with the endpoints of each straight line segment located on the horizontal intersection line; Connect the straight line segments on two adjacent horizontal slice planes according to their corresponding relationship to obtain several quadrilateral panel units; The processing parameters and installation information of the building skin components are generated based on the quadrilateral panel unit.
[0006] Further, the spacing of the horizontal slice planes is adaptively determined based on the rate of curvature change of the freeform surface, including: calculating the principal curvature of the freeform surface in the vertical direction; and calculating the curvature gradient based on the principal curvature, expressed as: ,in, z The vertical height is represented; the spacing of the horizontal slice planes is determined based on the curvature gradient, and is expressed as follows: ,in, Indicates the initial spacing. This represents the curvature sensitivity coefficient.
[0007] Further, the step of performing linear discrete fitting on each of the intersecting curves includes: sampling the intersecting curves to obtain a set of curve points; determining curve segmentation points based on the set of curve points; dividing the intersecting curves into curve segments based on the curve segmentation points; and fitting the curve segments into straight line segments using the least squares method.
[0008] Furthermore, if the number of line segments after linear discretization fitting of adjacent intersecting curves is inconsistent, the line segments are split into multiple sub-line segments or adjacent line segments are merged.
[0009] Furthermore, the step of connecting the straight line segments on two adjacent horizontal slice planes according to the corresponding relationship includes: sequentially numbering the straight line segments on each horizontal slice plane along the same direction; and connecting the endpoints of the straight line segments on two adjacent horizontal slice planes corresponding to the number to obtain a number of quadrilateral panel units.
[0010] Furthermore, the step of generating processing parameters and installation information for building skin components based on the quadrilateral panel unit includes: obtaining the vertex coordinates of the quadrilateral panel unit in the spatial coordinate system; and determining the side length, included angle, connection edge relationship between adjacent components, and installation position coordinates of each building skin component based on the vertex coordinates of the quadrilateral panel unit.
[0011] Furthermore, it also includes: calculating the spatial deviation between the quadrilateral panel unit and the freeform surface 3D model; if the spatial deviation is greater than the deviation threshold, then re-fitting the intersecting curve with a straight line discrete.
[0012] A second aspect of the present invention provides a device for discretizing freeform building skins, comprising: The 3D model acquisition module is used to acquire the free-form 3D model of the building skin; The slicing design module is used to set multiple horizontal slicing planes along a direction perpendicular to the ground, and the horizontal slicing planes cover the height range of the freeform surface 3D model; The intersection curve extraction module is used to extract the intersection curves between each of the horizontal slice planes and the freeform surface; The linear discretization fitting module is used to perform linear discretization fitting on each of the intersecting curves, dividing the horizontal intersection line into multiple continuous straight line segments, with the endpoints of each straight line segment located on the horizontal intersection line; The panel unit generation module is used to connect the straight line segments on two adjacent horizontal slice planes according to the corresponding relationship to obtain several quadrilateral panel units. The component parameter generation module is used to generate processing parameters and installation information for building skin components based on the quadrilateral panel unit.
[0013] A third aspect of the present invention provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, it implements the freeform surface building skin discretization method described in any embodiment.
[0014] A fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the freeform surface building skin discretization method described in any embodiment.
[0015] Compared with the prior art, the present invention can achieve at least one of the following beneficial effects: The freeform surface building skin discretization method provided by this invention obtains a freeform surface model and sets multiple horizontal slicing planes along the vertical direction. The freeform surface is sliced to obtain intersecting curves, and the intersecting curves are discretized and fitted to generate straight line segments. Then, the straight line segments on adjacent slicing planes are connected to form quadrilateral panel units, thereby determining the processing parameters and installation positioning information of the building skin components. This achieves structured discretization of the freeform surface building skin, which not only improves the geometric accuracy of surface discretization but also reduces the number of component types, making the generated building skin components more suitable for standardized processing and on-site installation, thereby improving the efficiency of building skin design and construction. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in the embodiments of this specification or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of this specification. For those skilled in the art, other drawings can be obtained based on these drawings.
[0017] Figure 1 This is a flowchart of the freeform surface building skin discretization method provided in Embodiment 1 of the present invention; Figure 2 This is a schematic diagram of the freeform surface building skin discretization device provided in Embodiment 2 of the present invention; Figure 3This is a schematic diagram of the electronic device architecture provided in Embodiment 3 of the present invention. Detailed Implementation
[0018] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. It should be noted that, unless otherwise specified, the implementation methods and features in the implementation methods in this disclosure can be combined, separated, interchanged, and / or rearranged. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0019] Example 1 A specific embodiment of the present invention, such as Figure 1 As shown, a method for discretizing freeform building skins is disclosed, including the following steps: S1. Obtain a freeform 3D model of the building's facade.
[0020] For example, a free-form surface mathematical model (such as a BIM model) of the building skin can be imported or constructed using 3D modeling software (such as Rhino or Grasshopper) to ensure that the model accuracy meets the design requirements (surface control point error ≤ 0.1mm) and to clarify the spatial range and boundary conditions of the surface.
[0021] S2. Multiple horizontal slicing planes are set along the direction perpendicular to the ground, and the horizontal slicing planes cover the height range of the freeform surface three-dimensional model.
[0022] In this embodiment, the spacing of the horizontal slice planes is adaptively determined based on the rate of curvature change of the freeform surface, including: Calculate the principal curvatures of the freeform surface in the vertical direction; The curvature gradient is calculated based on the principal curvature and expressed as follows: ,in, z Indicates the height in the vertical direction; The spacing of the horizontal slice planes is determined based on the curvature gradient, and is expressed as follows: ,in, Indicates the initial spacing. This represents the curvature sensitivity coefficient.
[0023] Specifically, the initial spacing and curvature sensitivity coefficient can be set manually according to the actual situation. The spacing of the slice planes is dynamically adjusted according to the curvature gradient, so that the slice spacing is smaller in areas with large curvature changes and larger in areas with gentle curvature, thereby facilitating the processing and installation of subsequent components while ensuring accuracy.
[0024] S3. Extract the intersection curves between each of the horizontal slice planes and the freeform surface.
[0025] Specifically, by using the Boolean operations or surface intersection function of 3D modeling software, the intersection line between each horizontal slice plane and the freeform surface model is calculated, resulting in a series of intersection curves. To reduce the impact of modeling errors, the extracted intersection lines can be preprocessed, such as removing redundant control points caused by model accuracy issues, and performing smoothing or noise reduction to ensure the smoothness and continuity of the intersection lines.
[0026] S4. Perform linear discretization fitting on each of the intersecting curves to divide the horizontal intersection line into multiple continuous straight line segments, with the endpoints of each straight line segment located on the horizontal intersection line.
[0027] In this embodiment, step S4 specifically includes: S401. Sample the intersecting curves to obtain a set of curve points; S402. Determine the curve segmentation points based on the set of curve points; S403. Divide the intersecting curves into curve segments according to the curve segmentation points; S404. Use the least squares method to fit the curve segment into a straight line segment.
[0028] Specifically, firstly, the intersecting curves are densely sampled to obtain a set of curve points that can describe the curve shape. Secondly, based on a preset fitting accuracy threshold (e.g., 2mm-5mm) and the set of curve points, segmentation points on the curves are determined. The selection principle for segmentation points is: the curve segment between each two adjacent segmentation points can be approximated by a straight line segment, and the maximum distance (i.e., fitting deviation) between the straight line segment and the original curve segment does not exceed the preset accuracy threshold. At the same time, in order to meet the processing requirements of building components, a minimum included angle constraint can also be set (e.g., the included angle between adjacent straight line segments is not less than 15°) to avoid generating excessively sharp corners that could cause damage to the panel during production or installation. Then, the intersecting curves are divided into multiple curve segments based on the determined segmentation points. Finally, for each curve segment, algorithms such as the least squares method are used to fit it into a straight line segment, and the endpoint coordinates, length, and direction vector of each straight line segment are recorded as the basic data for subsequent generation of panel units.
[0029] In some embodiments, if the number of line segments after linear discretization fitting of adjacent intersecting curves is inconsistent, the line segments are split into multiple sub-line segments or adjacent line segments are merged.
[0030] Specifically, due to the complexity of the surface, the number of straight line segments on the upper and lower slice planes may be inconsistent. In this case, if the number of straight line segments on the two adjacent slice planes is different, the straight line segments of the layer with more segments can be merged, or the straight line segments of the layer with fewer segments can be split. Through this splitting or merging operation, it is ensured that the straight line segments of the upper and lower layers can correspond one-to-one.
[0031] S5. Connect the straight line segments on two adjacent horizontal slice planes according to their corresponding relationship to obtain several quadrilateral panel units.
[0032] Specifically, step S5 is as follows: S501. Number the straight line segments on each horizontal slice plane sequentially in the same direction. S502. Connect the endpoints of the straight line segments on two adjacent horizontal slice planes corresponding to the number to obtain several quadrilateral panel units.
[0033] Specifically, the straight line segments on each horizontal slice plane are sequentially numbered along the same direction (such as the positive X-axis direction or the counterclockwise direction). Then, the two endpoints of the i-th straight line segment of the upper slice plane are connected to the two endpoints of the i-th straight line segment of the lower slice plane, thereby generating the i-th quadrilateral panel unit. The top and bottom sides of the panel unit are the discretized straight line segments, and the left and right sides are the line segments connecting the corresponding top and bottom endpoints.
[0034] S6. Generate the processing parameters and installation information of the building skin components based on the quadrilateral panel unit.
[0035] In this embodiment, step S6 specifically includes: Obtain the vertex coordinates of the quadrilateral panel unit in the spatial coordinate system; The side lengths, included angles, connection relationships between adjacent components, and installation position coordinates of each building skin component are determined based on the vertex coordinates of the quadrilateral panel unit.
[0036] Specifically, after obtaining all quadrilateral panel units, the geometric information of each unit is extracted to guide the production and on-site installation of the actual components. For example, the coordinates of the four vertices of each quadrilateral panel unit in the spatial coordinate system are obtained; the lengths of the four sides, the angles of the four interior angles, and the shared side relationships between adjacent components of each building skin component are calculated based on the vertex coordinates, and the precise installation position coordinates of each panel in the overall building are calculated to form an installation positioning diagram. In addition, the panel can be unfolded into a planar processing diagram based on its spatial shape for the cutting, quarrying, and drilling of the panels.
[0037] In some embodiments, it also includes: S7. Calculate the spatial deviation between the quadrilateral panel unit and the freeform surface 3D model. If the spatial deviation is greater than the deviation threshold, then re-fit the intersecting curve with a straight line discrete.
[0038] Specifically, in order to ensure the consistency between the building skin after the components are installed and the original freeform surface, the generated quadrilateral panel units are compared with the original freeform surface model. The distance from the center point or vertex of each panel to the original surface is calculated as the spatial deviation. If the spatial deviation is greater than the deviation threshold, it indicates that the discretization accuracy is insufficient, and the discretization fitting and panel generation need to be repeated until the deviations of all panels from the original surface are within the allowable range.
[0039] Compared with existing technologies, the freeform surface building skin discretization method provided in this embodiment obtains a freeform surface model and sets multiple horizontal slicing planes along the vertical direction. The freeform surface is sliced to obtain intersecting curves, and the intersecting curves are discretized and fitted to generate straight line segments. Then, the straight line segments on adjacent slicing planes are connected to form quadrilateral panel units, thereby determining the processing parameters and installation positioning information of the building skin components. This achieves structured discretization of the freeform surface building skin, which not only improves the geometric accuracy of surface discretization but also reduces the number of component types, making the generated building skin components more suitable for standardized processing and on-site installation, thereby improving the efficiency of building skin design and construction.
[0040] The following are project examples that apply the freeform surface building skin discretization method provided in this embodiment: A complex building complex is planning to use a complex freeform terracotta brick skin system for some buildings. To achieve this design, the freeform building skin discretization method proposed in this invention is adopted, and the process is as follows: (1) Three-dimensional surface modeling and horizontal slicing decomposition: Based on the project's BIM model, a high-precision three-dimensional model of the building's free-form surface is first obtained; then, the surface is horizontally sliced along the Z-axis to decompose the continuous three-dimensional surface into a series of two-dimensional intersecting curves and fit them into multiple straight line segments.
[0041] (2) Discretization and fitting of ceramic brick components: Based on the length and direction of the straight line segments obtained after slicing and the calculated torsion angle, the following is performed: Ceramic brick specification grading design: Based on slice data, ceramic bricks are divided into 9 main types according to their horizontal cross-sectional shape, including a straight brick suitable for non-twisting areas, and various L-shaped bricks with different corner specifications, each corresponding to different torsion angle segments. Through the combination of these 9 standardized bricks, segmented fitting of the entire complex curved surface is achieved.
[0042] Discrete optimization of brick layout logic: Specific brick layout rules were developed for non-standard length straight segments generated by slicing. For example, when a segment length x is between 520mm and 780mm, a single standard brick is used to directly cover it; if x is less than 520mm, this segment is merged with adjacent straight segments and then evenly distributed. This set of rules ensures that all straight segments can be covered by combinations of standard bricks, minimizing the use of custom bricks and reducing production and construction costs.
[0043] (3) Straightening adaptation and pre-arching compensation of the keel system: The keel system supporting the ceramic bricks also adopts a straightening design to adapt to the discretized curved surface.
[0044] Keel straight segment design: Both the horizontal main keel and the vertical columns use straight components and are arranged according to the segment spacing of the slices. The original free-form surface contour is simulated and approximated by splicing the straight components with broken lines.
[0045] Pre-arching and reference positioning compensation: To compensate for the geometric deviations caused by the splicing of straight keels, pre-arching measures were adopted. For example, the columns were treated with a broken line, a certain arch height (such as more than 40mm) was set, and the installation reference surface of the keel was uniformly offset to provide adjustment margin for the subsequent installation of ceramic bricks and ensure that the final curved surface accurately fits the design shape.
[0046] (4) Error Absorption of Multi-Degree-of-Freedom Connection System: To achieve precise connection between standardized ceramic bricks and the linear keel system, a multi-degree-of-freedom connection system was designed. This system, through rotatable connectors (such as stainless steel pipes and aluminum alloy sleeves), allows for minute angle adjustments in three-dimensional space, effectively absorbing accumulated errors generated during slicing, component production, and on-site installation, and ensuring smooth connection of ceramic bricks of different specifications in the straight direction. Simultaneously, the system integrates anti-fall spring sheets and a back net, ensuring the seismic and wind resistance stability of the components.
[0047] (5) Construction implementation and digital control: Simplified surveying and layout: The traditional three-dimensional spatial layout is simplified to two-dimensional horizontal line positioning. On-site construction personnel only need to set up horizontal reference lines at 150mm intervals to position the keel and terracotta bricks, significantly reducing the difficulty of operation.
[0048] Digital twin-driven closed-loop control: Adopting the "reverse modeling-forward construction" mode, the system uses 3D laser scanning technology to obtain the as-built data of the main structure, compares it with the design model, and dynamically adjusts the component processing and installation parameters to ensure the final construction accuracy.
[0049] Example 2 This embodiment provides a freeform surface building skin discretization device, such as... Figure 2 As shown, it includes: The 3D model acquisition module is used to acquire the free-form 3D model of the building skin; The slicing design module is used to set multiple horizontal slicing planes along a direction perpendicular to the ground, and the horizontal slicing planes cover the height range of the freeform surface 3D model; The intersection curve extraction module is used to extract the intersection curves between each of the horizontal slice planes and the freeform surface; The linear discretization fitting module is used to perform linear discretization fitting on each of the intersecting curves, dividing the horizontal intersection line into multiple continuous straight line segments, with the endpoints of each straight line segment located on the horizontal intersection line; The panel unit generation module is used to connect the straight line segments on two adjacent horizontal slice planes according to the corresponding relationship to obtain several quadrilateral panel units. The component parameter generation module is used to generate processing parameters and installation information for building skin components based on the quadrilateral panel unit.
[0050] Example 3 This embodiment provides an electronic device, such as... Figure 3 As shown, it includes a memory and a processor. The memory stores a computer program, which, when executed by the processor, implements the freeform surface building skin discretization method as described in any of the above embodiments.
[0051] Example 4 This embodiment provides a computer-readable storage medium storing a computer program thereon. When the program is executed by a processor, it implements the freeform surface building skin discretization method as described in any of the above embodiments.
[0052] Computer-readable storage media include both permanent and non-permanent, removable and non-removable media that can store information by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0053] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0054] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented in hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0055] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for discretizing freeform building skins, characterized in that, include: Obtain a freeform 3D model of the building's facade; Multiple horizontal slicing planes are set along a direction perpendicular to the ground, and the horizontal slicing planes cover the height range of the freeform surface 3D model; The spacing of the horizontal slice planes is adaptively determined based on the rate of curvature change of the freeform surface, including: calculating the principal curvature of the freeform surface in the vertical direction; and calculating the curvature gradient based on the principal curvature, expressed as: ,in, and Indicates the principal curvature. z The vertical height is represented; the spacing of the horizontal slice planes is determined based on the curvature gradient, and is expressed as follows: ,in, Indicates the initial spacing. Indicates the curvature sensitivity coefficient; Extract the intersection curves between each of the horizontal slice planes and the freeform surface; For each of the intersecting curves, perform linear discretization fitting to divide the horizontal intersection line into multiple continuous straight line segments. The endpoints of each straight line segment are located on the horizontal intersection line. If the number of straight line segments after linear discretization fitting of adjacent intersecting curves is inconsistent, the straight line segments are split into multiple sub-straight line segments or adjacent straight line segments are merged. Connect the straight line segments on two adjacent horizontal slice planes according to the corresponding relationship to obtain several quadrilateral panel units; calculate the spatial deviation between the quadrilateral panel units and the freeform surface 3D model; if the spatial deviation is greater than the deviation threshold, then re-perform linear discretization fitting on the intersecting curves. The processing parameters and installation information of the building skin components are generated based on the quadrilateral panel unit.
2. The method for discretizing freeform building skins according to claim 1, characterized in that, The step of performing linear discrete fitting on each of the intersecting curves includes: The intersecting curves are sampled to obtain a set of curve points; Determine the curve segmentation points based on the set of curve points; The intersecting curves are divided into curve segments based on the curve segmentation points; The curve segment was fitted to a straight line segment using the least squares method.
3. The method for discretizing freeform building skins according to claim 1, characterized in that, The step of connecting the straight line segments on two adjacent horizontal slice planes according to their corresponding relationship includes: Number the straight line segments on each horizontal slice plane sequentially in the same direction; Connect the endpoints of the straight line segments on two adjacent horizontal slice planes corresponding to the number to obtain several quadrilateral panel units.
4. The method for discretizing freeform building skins according to claim 3, characterized in that, The process of generating the processing parameters and installation information of the building skin components based on the quadrilateral panel unit includes: Obtain the vertex coordinates of the quadrilateral panel unit in the spatial coordinate system; The side lengths, included angles, connection relationships between adjacent components, and installation position coordinates of each building skin component are determined based on the vertex coordinates of the quadrilateral panel unit.
5. A device for discretizing freeform building skins, characterized in that, The device includes: The 3D model acquisition module is used to acquire the free-form 3D model of the building skin; A slicing design module is used to set multiple horizontal slicing planes along a direction perpendicular to the ground, the horizontal slicing planes covering the height range of the freeform surface 3D model; wherein, the spacing of the horizontal slicing planes is adaptively determined according to the curvature change rate of the freeform surface, including: calculating the principal curvature of the freeform surface in the vertical direction; calculating the curvature gradient based on the principal curvature, expressed as: ,in, and Indicates the principal curvature. z The vertical height is represented; the spacing of the horizontal slice planes is determined based on the curvature gradient, and is expressed as follows: ,in, Indicates the initial spacing. Indicates the curvature sensitivity coefficient; The intersection curve extraction module is used to extract the intersection curves between each of the horizontal slice planes and the freeform surface; The linear discrete fitting module is used to perform linear discrete fitting on each of the intersecting curves, dividing the horizontal intersection line into multiple continuous straight line segments, with the endpoints of each straight line segment located on the horizontal intersection line. If the number of straight line segments after linear discrete fitting of adjacent intersecting curves is inconsistent, the straight line segments are split into multiple sub-straight line segments or adjacent straight line segments are merged. The panel unit generation module is used to connect the straight line segments on two adjacent horizontal slice planes according to the corresponding relationship to obtain a number of quadrilateral panel units; calculate the spatial deviation between the quadrilateral panel units and the freeform surface three-dimensional model; if the spatial deviation is greater than the deviation threshold, then the intersecting curves are re-fitted with straight line discretization. The component parameter generation module is used to generate processing parameters and installation information for building skin components based on the quadrilateral panel unit.
6. An electronic device, characterized in that, It includes a memory and a processor, the memory storing a computer program that, when executed by the processor, implements the freeform surface building skin discretization method as described in any one of claims 1-4.
7. A storage medium, characterized in that, It stores a computer program, which, when executed by a processor, implements the freeform surface building skin discretization method according to any one of claims 1-4.
Citation Information
Patent Citations
Freeform surface building grid division method based on self-defined element method
CN104331932A
Spraying robot trajectory planning method based on improved point cloud slicing algorithm
CN112632718A
