A 3D model building block intelligent conversion and construction system

By rasterizing the 3D model and optimizing the cell data set, the problem of manual production and lack of interest in the production of building block drawings in the existing technology is solved, the effect of adapting to multiple building block types and reducing redundant parts is achieved, and the cost is reduced Difficulty and cost to build.

CN118505936BActive Publication Date: 2024-10-22SHANTOU GOBRICKS CULTURAL TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410969184.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2024-10-22
Estimated Expiration
2044-07-19

AI Technical Summary

Technical Problem

The existing production method of building block drawings relies on manual design, which results in high cost and lack of interest in the output building block construction solutions. It cannot adapt to high-rise building block parts, and there are redundancies and duplications in the merging process, which increases the difficulty of construction.

Method used

Through rasterization and optimization of 3D models, cell data sets are generated, cells that do not participate in merging are filtered out, merged randomly, adapted to multiple building block types, reduce redundancy, and generate rich and diverse building plans.

Benefits of technology

It can adapt to more types of building block parts, reducing the difficulty and cost of construction. The output building block drawings are more abundant and the use of redundant parts is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118505936B_ABST
    Figure CN118505936B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for intelligent conversion and construction of 3D model building blocks, which rasterizes the imported 3D model, divides the space where the 3D model is located into a number of cells, optimizes the number of cells by an intelligent algorithm, and then models the remaining cells, and finally generates corresponding building block construction guidance drawings. The present invention has high automation, high precision and high stability, and at the same time, merging is performed by an intelligent algorithm, which reduces the problem of excessive occupation of computer computing resources during the building block merging process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a method for producing a building block blueprint, and in particular to a 3D model building block intelligent conversion and construction system. Background Art

[0002] Most existing building block manufacturers select building blocks manually, and then design the building blocks and corresponding design drawings according to their shapes and functions. However, this method often requires the design of drawings to rely extensively on manual labor, especially the generation of drawing instructions after the subsequent design is completed, which requires a lot of design and labor costs, resulting in a large amount of R&D costs for each new building block shape.

[0003] In order to solve this problem, many building block manufacturers on the market have tried to develop a system or software that can reverse generate building block drawings through photos and 3D model files. For example, patent CN110992472A discloses a method for constructing a building block 3D model intelligent building system, which constructs a building block building plan by layering, slicing and rasterizing the 3D model and then merging it.

[0004] But in fact, it still has certain disadvantages, for example: ① It turns the 3D model into several two-dimensional planes through layered slicing, which means that it can only adapt to flat basic building blocks, but not to building blocks with height; ② Its merging method is to set priorities for different basic building blocks, and then merge the building blocks according to the priorities, which means that building blocks with high priorities will be merged earlier, and building blocks with low priorities will be merged later, which makes the building blocks highly concentrated and repeated during the entire construction process, and thus makes the final output building block drawings lack of interest. ③ There is no optimization of the number of building blocks involved in the merger, which wastes many building blocks located inside the building block shape, making the final output building block construction plan not only costly but also more difficult to build.

[0005] Based on the above-mentioned problems, the applicant designed a 3D model building block intelligent conversion and construction system. Summary of the invention

[0006] In order to solve the above technical problems, an embodiment of the present invention provides a 3D model building block intelligent conversion and construction system, including the following steps:

[0007] Step S1: importing a 3D model, acquiring feature data of the 3D model, preset data set by a user, and target building block parameters;

[0008] Step S2: rasterizing the 3D model to form a plurality of cells, traversing all cells to obtain the position coordinates of the cells, and establishing a cell data set for each cell according to the position coordinates;

[0009] Step S3: Optimizing the number of cells in the cell data set, filtering out cells that do not participate in merging, randomly shuffling the remaining cells after optimization and merging them, so that the merged cell features can correspond to the target building block parameters.

[0010] Step S4: retrieve the color, texture and coordinate parameters corresponding to the merged cells, and render to generate a model.

[0011] The feature data includes the number of faces, shape, texture and color of the 3D model.

[0012] The conversion parameters set by the user include: the length, width and height ratio of the cell, and the set size; the target building block parameters include: the type, color, texture, shape, and length, width and height dimensions of the target building block; the building block types include: standard building block pieces, plate pieces, cylinders, studs, hollow studs and special pieces.

[0013] The rasterization of the 3D model in step S2 includes the following steps:

[0014] Step S21: generating a bounding box that can cover the 3D model, that is, a minimum hexahedron that can accommodate the 3D model in the X, Y, and Z axis space;

[0015] Step S22: according to the cell length, width and height ratio and the set size in the conversion parameters, the bounding box generated in step S21 is cut, and the bounding box is scanned and divided along the X, Y and Z axes until all cells in the bounding box are divided.

[0016] The traversal method of step S2 is: taking a reference point in the space where the cell-based 3D model is located as the origin of the coordinate axis, and completing the traversal along the directions of the X, Y, and Z axes until the data of all cells in the space are scanned and recorded.

[0017] The cell data set in step S3 includes: cell position parameters, cell material, cell size, cell merging parameters, cell parent, and cell type.

[0018] The random merging step in step S3 includes:

[0019] Step S31: traverse all cells, determine the position information of each cell, filter out cells that are not located at the shell position and cells that are marked by the user as not to be merged, and establish a merge list of cells that need to meet the merging conditions;

[0020] Step S32: randomly shuffle the cells in the merge list, perform merge calculation on each cell by traversal, and modify the state parameters of the merged cells until all cells are merged.

[0021] Wherein, the model format of step 4 is STL or OBJ format.

[0022] The implementation of the present invention has the following beneficial effects: 1. The 3D model is rasterized in three-dimensional space through the bounding box, so that in the subsequent merging scheme, building block parts with height can be merged and generated. Compared with the existing layer-by-layer rasterization scheme, more building block part types can be adapted. 2. The merging is performed in a traversal but random manner. Compared with the existing merging method by priority, the building method of the output building block drawings is richer and more diverse, and the problem of a certain part being highly repeated in a certain area will not occur. 3. The number of cells is screened before merging, which saves a large number of redundant building blocks inside the building block shape, reduces the number of parts required to build the building blocks, and reduces the difficulty of building. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 It is a flowchart of the steps of the present invention;

[0024] Figure 2 is a schematic diagram of the segmentation method of step 2 of the present invention; DETAILED DESCRIPTION

[0025] In order to make the objectives, technical solutions and advantages of the present invention more clear, the present invention will be further described in detail below with reference to the accompanying drawings.

[0026] like Figure 1 As shown, a 3D model building block intelligent conversion and construction system includes the following steps:

[0027] Step S1: importing a 3D model, acquiring feature data of the 3D model, preset data set by a user, and target building block parameters;

[0028] Step S2: rasterizing the 3D model to form a plurality of cells, traversing all cells to obtain the position coordinates of the cells, and establishing a cell data set for each cell according to the position coordinates;

[0029] Step S3: Optimize the number of cells in the cell data set, filter out cells that do not participate in merging, randomly shuffle the remaining cells after optimization and merge them so that the merged cell features can correspond to the target building block parameters

[0030] Step S4: retrieve the color, texture and coordinate parameters corresponding to the merged cells, and render to generate a model.

[0031] Specifically, the feature data is the number of model faces, shape, texture and color of the 3D model. The feature data is data directly obtained from the 3D model, and can be directly obtained through modeling software such as Blender.

[0032] The user-set conversion parameters include: the aspect ratio of the cell and the set size. The user-set conversion parameters are set by the customer according to actual conditions and are mainly used to define the size of the cell in step S2.

[0033] The target building block parameters include: type, color, texture, shape, and length, width, and height of the target building block. The target building block parameters are obtained from existing building block accessories, and the data of the building block accessories are directly entered into the data and called as target parameters in subsequent merging operations.

[0034] It should be noted that the general types of building blocks include: standard building blocks, plate pieces, cylinders, studs, hollow studs and special pieces, especially decorative accessories with special geometric shapes.

[0035] The cell data set in step S3 includes: cell position parameters, cell material, cell size, cell merging parameters, cell parent, and cell type.

[0036] like Figure 2 As shown, the 3D model segmentation in step S2 includes the following steps:

[0037] Step S21: Generate a bounding box that can cover the 3D model, that is, the smallest hexahedron that can accommodate the 3D model in the X, Y, and Z axis space, which can be mathematically expressed as (Xmax-Xmin, Ymax-Ymin, Zmax-Zmin), where Xmax and Xmin are the X-axis coordinates of the two vertices of the sphere in the X direction. Ymax, Ymin and Zmax, Zmin are the coordinates of the two vertices in the Y and Z directions.

[0038] It should be noted that in order to have a certain redundancy at the model boundary and avoid ignoring some shape features located at the boundary, the bounding grid of this embodiment will reserve one more row / column / layer. For example, if the smallest hexahedron that accommodates the 3D model is (5, 5, 4), its bounding box is (6, 6, 5).

[0039] Step S32: according to the cell length, width and height ratio and the set size set by the system, the bounding box generated in step S21 is cut, and the bounding box is scanned and divided along the X, Y and Z axes until all cells in the bounding box are divided.

[0040] It should be noted that the bounding box is a six-sided cuboid, so it is necessary to perform ray detection from two directions of the three axes to determine whether there is a grid here. Since some areas of the 3D model may have missing surfaces / hollowed out parts / excessive reserved gaps, for example, when the part in the current grid is a flat model / single-sided, only one axis may be scanned. Therefore, the processing here is to perform ray detection from the center point of the current point to the center point of the next point in three directions in three different directions to confirm whether a cell needs to be generated here.

[0041] Specifically, the traversal method of step S3 is: taking a reference point in the space where the cell-based 3D model is located as the origin of the coordinate axis, and completing the traversal along the directions of the X, Y, and Z axes until the data of all cells in the space are scanned and recorded.

[0042] The merging operation in step S3 includes:

[0043] Step S31: traverse all cells, determine the position information of each cell, filter out cells that are not located at the shell position and cells that are marked by the user as not to be merged, and establish a merge list of cells that need to meet the merging conditions;

[0044] Step S32: randomly shuffle the cells in the merge list, perform merge calculation on each cell by traversal, and modify the state parameters of the merged cells until all cells are merged.

[0045] Specifically, the building block construction guidance drawing exported in step 4 is in STL or OBJ format.

[0046] Of course, the above embodiments are only for illustrating the technical concept and features of the present invention, and their purpose is to enable people familiar with the technology to understand the content of the present invention and implement it accordingly, and they cannot be used to limit the protection scope of the present invention. Any modifications made according to the spirit of the main technical solution of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for intelligent conversion and construction of 3D models into building blocks, It is characterized in that The following steps are involved: Step S1: importing a 3D model, acquiring feature data of the 3D model, preset data set by a user, and target building block parameters; The feature data is the number of model faces, shape, texture and color of the 3D model; The preset data set by the user includes: the length, width and height ratio of the cell, and the set size; The target building block parameters include: the type, color, texture, shape, and length, width, and height of the target building block. The target building block types include: standard building block pieces, plate pieces, cylinders, studs, hollow studs, and special pieces. Step S2: generating a bounding box that can cover the 3D model and rasterizing the 3D model to form a plurality of cells, traversing all cells to obtain the position coordinates of the cells, and establishing a cell data set for each cell according to the position coordinates; Step S3: traverse all cells, determine the position information of each cell, filter out cells that are not located at the outer shell position and cells that are marked by the user and do not need to be merged, establish a merge list of cells that need to meet the merging conditions, randomly shuffle the remaining cells after optimization and merge them, modify the state parameters of the cells after merging, until all cells are merged, so that the characteristics of the merged cells can correspond to the target building block parameters; Step S4: retrieve the color, texture and coordinate parameters corresponding to the merged cells, and render to generate a model.

2. A 3D model building block intelligent conversion and construction method according to claim 1, It is characterized in that The rasterization of the 3D model in step S2 comprises the following steps: Step S21: generating a bounding box that can cover the 3D model, that is, a minimum hexahedron that can accommodate the 3D model in the X, Y, and Z axis space; Step S22: according to the cell length, width and height ratio and the set size in the conversion parameters, the bounding box generated in step S21 is cut, and the bounding box is scanned and divided along the X, Y and Z axes until all cells in the bounding box are divided.

3. A 3D model building block intelligent conversion and construction method according to claim 1, It is characterized in that The traversal method of step S2 is: taking a reference point in the space where the cell-based 3D model is located as the origin of the coordinate axis, and completing the traversal along the directions of the X, Y, and Z axes until the data of all cells in the space are scanned and recorded.

4. A 3D model building block intelligent conversion and construction method according to claim 1, It is characterized in that The cell data set in step S3 includes: cell position parameters, cell material, cell size, cell merging parameters, cell parent, and cell type.

5. A 3D model building block intelligent conversion and construction method according to claim 1, It is characterized in that The model format of step S4 is STL or OBJ format.

Citation Information

Patent Citations

  • Construction method of building block 3D model intelligent building system

    CN110992472A

  • Automatic generation of building instructions for building element models

    CN101675458A

  • Method and system for automatically generating building block building flow chart based on building block components

    CN117298613A

  • Method and apparatus of modeling shape of 3D model using available bricks

    KR101527343B1