CN112884899B - Three-dimensional member generation method, three-dimensional member generation device, computer equipment and storage medium - Google Patents

Three-dimensional member generation method, three-dimensional member generation device, computer equipment and storage medium Download PDF

Info

Publication number
CN112884899B
CN112884899B CN202110296021.2A CN202110296021A CN112884899B CN 112884899 B CN112884899 B CN 112884899B CN 202110296021 A CN202110296021 A CN 202110296021A CN 112884899 B CN112884899 B CN 112884899B
Authority
CN
China
Prior art keywords
geometric
parameter
model
parameters
mapping relation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110296021.2A
Other languages
Chinese (zh)
Other versions
CN112884899A (en
Inventor
刘东来
别雨璇
刘林华
贾守亮
郭豪鑫
马宇
潘春良
许田贵
李震霄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Glodon Co Ltd
Original Assignee
Glodon Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Glodon Co Ltd filed Critical Glodon Co Ltd
Priority to CN202110296021.2A priority Critical patent/CN112884899B/en
Publication of CN112884899A publication Critical patent/CN112884899A/en
Application granted granted Critical
Publication of CN112884899B publication Critical patent/CN112884899B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/10Constructive solid geometry [CSG] using solid primitives, e.g. cylinders, cubes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Geometry (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Structural Engineering (AREA)
  • Computational Mathematics (AREA)
  • Civil Engineering (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Architecture (AREA)
  • Computer Graphics (AREA)
  • Software Systems (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention provides a method, a device, computer equipment and a readable storage medium for generating a three-dimensional component, which comprise the following steps: determining a geometric model corresponding to a target member, wherein the geometric model comprises first geometric parameters, and the first geometric parameters are used for representing the appearance display effect of the geometric model; acquiring service parameters corresponding to the target component; determining corresponding first geometric parameters in the geometric model based on the service parameters according to a mapping relation between preset first geometric parameters and the service parameters; a three-dimensional model of the target member is generated from the geometric model that determines the first geometric parameter.

Description

Three-dimensional member generation method, three-dimensional member generation device, computer equipment and storage medium
Technical Field
The present invention relates to the field of three-dimensional modeling technologies, and in particular, to a method and apparatus for generating a three-dimensional member, a computer device, and a storage medium.
Background
In existing three-dimensional modeling software, the service parameters of the component are usually bound with the geometric model. In one aspect, the application scenario of each geometric model is fixed, i.e. the service parameters in different application scenarios correspond to different geometric models. When parameters are changed due to business adjustment, a geometric model is often required to be re-created and cannot be changed on the basis of the original model, so that a great amount of resources are wasted. On the other hand, the geometric model corresponding to the component is relatively fixed and unitary in shape, and is difficult to achieve with a geometric model for complex component shapes, and thus the three-dimensional modeling process for non-standardized components is less efficient.
Therefore, how to provide a technical solution that is suitable for multiple business scenarios and can quickly model non-standardized complex components is a technical problem to be solved by those skilled in the art.
Disclosure of Invention
The invention aims to provide a method, a device, computer equipment and a storage medium for generating a three-dimensional model of a component, so as to solve the problems in the prior art.
In order to achieve the above object, the present invention provides a method for generating a three-dimensional member, comprising the steps of:
Determining a geometric model corresponding to a target member, wherein the geometric model comprises first geometric parameters, and the first geometric parameters are used for representing the appearance display effect of the geometric model;
acquiring service parameters corresponding to the target component;
Determining corresponding first geometric parameters in the geometric model based on the service parameters according to a mapping relation between preset first geometric parameters and the service parameters;
a three-dimensional model of the target member is generated from the geometric model that determines the first geometric parameter.
According to the method for generating the three-dimensional component, provided by the invention, the step of determining the geometric model corresponding to the target component comprises any one of the following steps:
obtaining a pre-stored standard geometric model from a model library, wherein the standard geometric model is generated by a standard section graph according to a corresponding entity creation mode;
adjusting on the basis of the standard geometric model to obtain a first custom geometric model;
A second custom geometric model is generated based on the custom cross-sectional graph.
The method for generating the three-dimensional component provided by the invention, wherein the step of adjusting on the basis of the standard geometric model to obtain the first custom geometric model comprises the following steps:
acquiring a first standard section graph and a first entity creation mode for generating the standard geometric model;
And generating the first custom geometric model from the first standard section graph according to a second entity creation mode, wherein the second entity creation mode is different from the first entity creation mode.
The method for generating the three-dimensional component provided by the invention, wherein the step of generating the second custom geometric model based on the custom cross-section graph comprises the following steps:
acquiring a third section graph provided by a user and a third entity creation mode selected by the user;
And generating the second custom geometric model according to the third entity creation mode by the third section graph.
According to the method for generating the three-dimensional component provided by the invention, wherein the service parameters comprise template categories, and the step of determining the corresponding first geometric parameters in the geometric model based on the service parameters according to the mapping relation between the preset first geometric parameters and the service parameters comprises the following steps:
Determining a model template corresponding to the geometric model according to the template category, wherein the model template comprises second geometric parameters;
Acquiring a first mapping relation preset between the second geometric parameter and the first geometric parameter and a second mapping relation preset between the second geometric parameter and the service parameter;
and determining a third mapping relation between the first geometric parameter and the service parameter according to the first mapping relation and the second mapping relation, and determining a first geometric parameter corresponding to the service parameter according to the third mapping relation.
According to the three-dimensional component generating method provided by the invention, the first mapping relation comprises a mapping relation between the positioning parameter in the second geometric parameter and the section parameter in the first geometric parameter, and the second mapping relation comprises a mapping relation between the elevation parameter in the service parameter and the positioning parameter in the second geometric parameter.
According to the method for generating the three-dimensional component provided by the invention, the step of generating the target component according to the geometric model with the first geometric parameter determined comprises the following steps:
obtaining a preset constraint relation in the geometric model; the constraint relation is used for representing the influence mode of each first geometric parameter on the geometric model;
the target member is generated from the constraint relationship and the first geometric parameter.
In order to achieve the above object, the present invention also provides a three-dimensional member generating device, including:
a model determination module adapted to determine a geometric model corresponding to a target member, the geometric model comprising a first geometric parameter for characterizing an appearance display effect of the geometric model;
the service parameter module is suitable for acquiring service parameters corresponding to the target component;
the geometric parameter module is suitable for determining corresponding first geometric parameters in the geometric model based on the service parameters according to a mapping relation between preset first geometric parameters and the service parameters;
a component generation module adapted to generate a three-dimensional model of the target component from the geometric model for which the first geometric parameter is determined.
To achieve the above object, the present invention also provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the above method when executing the computer program.
To achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the above method.
Compared with the prior art, the three-dimensional member generation method, the three-dimensional member generation device, the computer equipment and the storage medium have the following beneficial effects:
(1) According to the invention, the service parameters of the component are separated from the geometric parameters of the geometric model, so that the freedom degree of the geometric model for different service scenes is improved;
(2) By establishing the mapping relation between the service parameters and the geometric parameters, the invention can ensure the accuracy of the generated three-dimensional component.
(3) The geometric model in the invention can be generated by a user according to the self-defined section graph through different entity creation modes, thereby ensuring that the geometric model is applicable to different morphological characteristics, being beneficial to improving the modeling efficiency of the three-dimensional component and improving the user experience.
Drawings
FIG. 1 is a flow chart of a first embodiment of a method of generating a three-dimensional structure of the present invention;
FIG. 2 is a schematic flow chart of determining a first geometric parameter according to a mapping relation according to an embodiment of the present invention;
FIG. 3 is a schematic representation of the relationship between the target member, model template and geometric model of the present invention;
fig. 4 is a schematic diagram of mapping relationship between service parameters and geometric parameters according to the first embodiment of the present invention;
FIG. 5 is a schematic view of a program module of a three-dimensional member generating apparatus according to an embodiment of the present invention
Fig. 6 is a schematic hardware configuration of a first embodiment of the three-dimensional member generating apparatus of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1
Referring to fig. 1, the present embodiment provides a method for generating a three-dimensional member, including the following steps:
And S100, determining a geometric model corresponding to the target component, wherein the geometric model comprises first geometric parameters, and the first geometric parameters are used for representing the appearance display effect of the geometric model.
The target member in the present invention may include any individual member or combination member in the construction field, such as a wall, a column, a beam, etc. The geometric model refers to an intermediate carrier that generates a three-dimensional model of the target component (i.e., a three-dimensional component) for representing geometric features of the three-dimensional component. For example, the target member is a wall body in a certain direction in a building, and the three-dimensional member corresponding to the target member is a three-dimensional wall body model with characteristics of specific size, color, material and the like. It will be understood by those skilled in the art that the necessary condition for generating the three-dimensional wall model is to obtain a solid geometric model consistent with the shape of the three-dimensional wall model, and finally obtain the three-dimensional wall model by assigning values to parameters of the geometric model.
The invention can preset a model library which stores a plurality of geometric models, such as cuboid, cube, cylinder, cone and the like, which respectively correspond to a plurality of three-dimensional shapes. So that the user can select a geometric model conforming to the intended shape of the target member directly from the model library. The different geometric models are defined by different first geometric parameters, for example, a cuboid may be defined by a length, a width, a height, a sphere may be defined by a radius, a stretched body may be defined by a cross-sectional shape, a stretched path, etc., where the length, the width, the height, the radius, the cross-sectional shape, the stretched path, etc. are the first geometric parameters corresponding to the different geometric models in this embodiment. It will be appreciated that, upon determining the geometric model, the first geometric parameter corresponding to the geometric model may be directly obtained.
S200, acquiring service parameters corresponding to the target component.
The service parameters refer to various characteristic parameters of the component in the specific service field, such as positioning parameters of top elevation, bottom elevation, etc., dimensional parameters of length, width, height, etc., material parameters, color parameters, etc., which are not listed one by one in this embodiment. These business parameters may be data that the user directly inputs or selects.
It will be appreciated that the same geometric model, when corresponding to different target components, may have different business parameters to be obtained. For example, the same cuboid aggregate model may include parameters 1,2, and 3 for the corresponding service parameters when used as a shear wall, and parameters 2, 3, and 4 for the corresponding service parameters when used as a lintel. The background program of the present embodiment determines a list of service parameters returned to the user according to the target member and the geometric model determined in step S100, so that the user can input or select a specific numerical value in the list. The service parameter list required to be returned when the geometric model is applied to different target components can be stored in the data table in advance, and the corresponding service parameter list is returned in a table look-up mode after the target components and the geometric model are designated by a user.
S300, according to a mapping relation between a preset first geometric parameter and a service parameter, determining a corresponding first geometric parameter in the geometric model based on the service parameter.
The purpose of establishing the mapping relationship between the first geometrical parameters and the service parameters is to determine how the service parameters entered by the user are to be applied to the body features of the geometrical model. Taking the target member as a shear wall and the geometric model as a cuboid as an example, the mapping relationship can comprise a corresponding relationship between the wall thickness in the service parameter and the side length of one side in the first geometric parameter. It can be seen that by constructing a mapping relationship between the first geometric parameter of the geometric model and the service parameter of the target component, it can be ensured that the geometric model accurately presents specific morphological features of the component according to different service parameters.
S400, generating a three-dimensional model of the target component according to the geometric model of the first geometric parameter.
On the basis of determining the mapping relation, the change of the first geometric parameter is matched with the change of the service parameter through direct assignment or indirect calculation. The specific steps may include obtaining a constraint relationship preset in the geometric model; the target member is generated from the constraint relationship and the first geometric parameter. Wherein constraint relations are used to characterize how each of said first geometrical parameters affects said geometrical model, e.g. when the length of a line segment changes from 2cm to 5cm, in particular from which end point of the line segment extends, etc. Thus, the three-dimensional component model can be quickly and accurately generated through the first geometric parameters and the constraint relation.
Through the steps, the service parameters of the target components and the geometric parameters of the geometric model are separated, different target components and different geometric models can be combined at will according to service requirements, and corresponding service parameters under different combined modes can be determined through a table look-up mode. The mode of separating the service parameters from the geometric parameters can be used for more flexible personalized customization, and different service requirements of enterprises are met. Further, by separating the aggregate parameters and the service parameters, the method is also beneficial to meeting the user's fine requirements on parameter filtering, data encryption and the like, thereby improving the working efficiency and the user experience.
In one example, the present invention provides the following several specific implementations of determining a geometric model corresponding to a target component, one of which may be optional as desired:
Mode one: and acquiring a pre-stored standard geometric model from a model library, wherein the standard geometric model is generated by a standard section graph according to a corresponding entity creation mode. Wherein the standard interface graphic comprises a common regular two-dimensional shape such as rectangular, circular, triangular, etc. The entity creation means comprises a conventional point type, a conventional line type, a profile stretching body, a line lofting body and the like, and it is understood that different geometric models can be generated by different entity creation means. The method is mainly applicable to regular and common component design scenes, such as walls extending along straight lines and having consistent heights, cylindrical side columns and the like.
Mode two: and adjusting on the basis of the standard geometric model to obtain a first custom geometric model. The method is suitable for a scene with the shape of the target component being relatively close to that of the standard geometric model, and can be obtained by adjusting a first standard section graph or a first entity creation mode in the standard geometric model.
The implementation steps of the method comprise:
And acquiring a first standard section graph and a first entity creation mode for generating the standard geometric model. For example, for a line loft 1 in a standard geometric model, its corresponding cross-sectional profile 1 and loft path 1 may be obtained.
And generating the first custom geometric model from the first standard section graph according to a second entity creation mode, wherein the second entity creation mode is different from the first entity creation mode. Assuming that the shape of the target member is consistent with the cross-sectional pattern of the line loft body 1, but the loft path is not consistent, for example, the loft path 1 is a straight line, and the loft path 2 of the target member is a curved line. At this time, the line type lofting body 2 can be obtained after lofting through the lofting path 2 based on the section graph 1, which is the first custom geometric model determined in the second mode in this embodiment.
Mode three: a second custom geometric model is generated based on the custom cross-sectional graph. The method is applied to a scene with a larger shape and standard geometric model of the target component, namely the section patterns are completely different. At this time, a third section graph corresponding to the target component can be obtained through uploading by a user or manually drawing, and a second custom geometric model can be generated according to a third entity creation mode selected by the user. The method has high flexibility, and a user can generate a geometric model with any shape according to the needs.
Through the three modes of obtaining the geometric model, the method and the device can be suitable for target components with any shape, and the three-dimensional modeling efficiency and accuracy of irregular components are improved.
In this embodiment, the mapping relationship between the first geometric parameter and the service parameter may include a direct mapping relationship or an indirect mapping relationship. In one example, an intermediate transition of model templates is added between the target component and the aggregate model, through which an indirect mapping between the first geometric parameters and the business parameters is achieved. Fig. 2 shows a schematic flow chart of determining a first geometrical parameter according to a mapping relation according to a first embodiment of the invention. As shown in fig. 2, step S300 includes:
and S310, determining a model template corresponding to the geometric model according to the template category, wherein the model template comprises second geometric parameters.
The model templates in this embodiment are further classification of the target components, and can be used as specific application objects of the geometric model. For example, the wall body is also formed by a cube geometric model, which can correspond to a bearing wall with equal floor spacing or a parapet wall suspended at the upper part, wherein the bearing wall and the parapet wall can be used as model templates. It will be appreciated that the second geometric parameters that it contains are also different for corresponding and different model templates. The second geometric parameters corresponding to each model template can be stored in the database in advance, and the corresponding second geometric parameters can be called through the database on the basis of determining the model template.
S320, a first mapping relation preset between the second geometric parameter and the first geometric parameter and a second mapping relation preset between the service parameter and the second geometric parameter are obtained.
When the model template is used as an intermediate transition body, a first mapping relation between the model template and the geometric model, namely, a mapping relation between the second geometric parameter and the first geometric parameter, and a second mapping relation between the target component and the model template, namely, a mapping relation between the service parameter and the second geometric parameter, can be preset. FIG. 3 shows a schematic diagram of the relationship between a target member, a model template, and a geometric model. As can be seen from fig. 3, the model template is located between the target member and the geometric model, and a first mapping relationship and a second mapping relationship are established with the model template and the geometric model respectively.
S330, determining a third mapping relation between the first geometric parameter and the service parameter according to the first mapping relation and the second mapping relation, and determining a first geometric parameter corresponding to the service parameter according to the third mapping relation.
In one example, the first mapping relation in the present invention includes a mapping relation between a positioning parameter in the second geometric parameter and a section parameter in the first geometric parameter, and the second mapping relation includes a mapping relation between an elevation parameter in the service parameter and a positioning parameter in the second geometric parameter. Fig. 4 shows a schematic diagram of a mapping relationship between service parameters and geometric parameters according to an embodiment of the present invention. As shown in fig. 4, the target component comprises a wall, and the corresponding service parameters comprise a foundation elevation, a wall height, a wall thickness and a structural material; the model template comprises a common wallpaper template and a plate template, wherein the second geometric parameters corresponding to the common wallpaper template comprise top correlation, bottom correlation, top offset, bottom offset, height and thickness, and the second geometric parameters corresponding to the plate template comprise contour, top correlation, top offset and wall thickness; the geometric model comprises a line type lofting body and a profile stretching body, wherein first geometric parameters corresponding to the line type lofting body comprise lofting paths, section heights, section widths and Z-axis positioning, and first geometric parameters corresponding to the profile stretching body comprise profiles, thicknesses and Z-axis positioning. Fig. 4 also shows the correspondence between different parameters, for example, the height of the wall in the service parameter corresponds to the height in the second geometrical parameter, which in turn corresponds to the height of the section in the first geometrical parameter, so that it can be determined that the height of the wall in the service parameter has a correspondence with the height of the section in the first geometrical parameter. Thus, the section height parameters in the geometric model can be determined on the basis of obtaining the wall height parameters of the target member input by the user.
The flexibility of the geometric model for simulating the target component can be further increased by setting the model template between the target component and the geometric model and establishing the first mapping relation and the second mapping relation, and when the first geometric parameters of the geometric model are insufficient to reflect all service parameters such as positioning parameters in all target components, the mapping relation between the two is clearer through the model template, so that the accuracy of three-dimensional modeling of the component is improved.
With continued reference to fig. 5, in this embodiment, the three-dimensional component generating apparatus 50 may include or be divided into one or more program modules, where the one or more program modules are stored in a storage medium and executed by one or more processors to complete the present invention and implement the three-dimensional component generating method described above. Program modules in the present invention refer to a series of computer program instruction segments capable of performing a specific function, which are more suitable than the program itself for describing the execution of the generating means 50 of the three-dimensional structure in a storage medium. The following description will specifically describe functions of each program module of the present embodiment:
A model determination module 51 adapted to determine a geometric model corresponding to the target member, the geometric model comprising first geometric parameters for characterizing an appearance display effect of the geometric model;
A service parameter module 52, adapted to obtain a service parameter corresponding to the target component;
The geometric parameter module 53 is adapted to determine, according to a mapping relationship between a preset first geometric parameter and a service parameter, a corresponding first geometric parameter in the geometric model based on the service parameter;
The component generation module 54 is adapted to generate the target component from the geometric model, in which the first geometric parameter is determined.
Through the device, the service parameters of the target components and the geometric parameters of the geometric model are separated, different target components and different geometric models can be combined at will according to service requirements, and corresponding service parameters under different combined modes can be determined in a table look-up mode. The mode of separating the service parameters from the geometric parameters can be used for more flexible personalized customization, and different service requirements of enterprises are met. Further, by separating the aggregate parameters and the service parameters, the method is also beneficial to meeting the user's fine requirements on parameter filtering, data encryption and the like, thereby improving the working efficiency and the user experience.
The present embodiment also provides a computer device, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack-mounted server, a blade server, a tower server, or a rack-mounted server (including an independent server or a server cluster formed by a plurality of servers) that can execute a program. The computer device 60 of the present embodiment includes at least, but is not limited to: a memory 61, a processor 62, which may be communicatively coupled to each other via a system bus, as shown in fig. 6. It should be noted that fig. 6 only shows a computer device 60 having components 61-62, but it should be understood that not all of the illustrated components are required to be implemented, and that more or fewer components may be implemented instead.
In the present embodiment, the memory 61 (i.e., readable storage medium) includes flash memory, a hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), random Access Memory (RAM), static Random Access Memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 61 may be an internal storage unit of the computer device 20, such as a hard disk or memory of the computer device 60. In other embodiments, the memory 61 may also be an external storage device of the computer device 20, such as a plug-in hard disk provided on the computer device 60, a smart memory card (SMART MEDIA CARD, SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD), or the like. Of course, the memory 21 may also include both internal storage units of the computer device 60 and external storage devices. In the present embodiment, the memory 61 is generally used to store an operating system and various types of application software installed in the computer device 60, for example, program codes of the three-dimensional member generating apparatus 50 of the first embodiment, and the like. Further, the memory 61 may also be used to temporarily store various types of data that have been output or are to be output.
Processor 62 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 62 is generally used to control the overall operation of the computer device 60. In this embodiment, the processor 62 is configured to execute the program code stored in the memory 61 or process data, for example, execute the generating device 50 for three-dimensional components, so as to implement the generating method for three-dimensional components of the first embodiment.
The present embodiment also provides a computer-readable storage medium such as a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application store, etc., on which a computer program is stored, which when executed by a processor, performs the corresponding functions. The computer-readable storage medium of the present embodiment is used for storing the three-dimensional member generating device 50, and when executed by the processor, implements the three-dimensional member generating method of the first embodiment.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and further implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order from that shown or discussed, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present invention.
It will be appreciated by those of ordinary skill in the art that all or part of the steps carried out in the method of the above-described embodiments may be implemented by a program to instruct related hardware, and the program may be stored in a computer readable medium, where the program when executed includes one or a combination of the steps of the method embodiment.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (9)

1. A method of generating a three-dimensional structure, comprising the steps of:
Determining a geometric model corresponding to a target member, wherein the geometric model comprises first geometric parameters, and the first geometric parameters are used for representing the appearance display effect of the geometric model;
acquiring service parameters corresponding to the target component;
Determining corresponding first geometric parameters in the geometric model based on the service parameters according to a mapping relation between preset first geometric parameters and the service parameters;
generating a three-dimensional model of the target member from the geometric model in which the first geometric parameter is determined;
The service parameters comprise template categories, and the step of determining the corresponding first geometric parameters in the geometric model based on the service parameters according to the mapping relation between the preset first geometric parameters and the service parameters comprises the following steps:
Determining a model template corresponding to the geometric model according to the template category, wherein the model template comprises second geometric parameters;
Acquiring a first mapping relation preset between the second geometric parameter and the first geometric parameter and a second mapping relation preset between the second geometric parameter and the service parameter;
and determining a third mapping relation between the first geometric parameter and the service parameter according to the first mapping relation and the second mapping relation, and determining a first geometric parameter corresponding to the service parameter according to the third mapping relation.
2. The method of generating a three-dimensional structure according to claim 1, wherein the step of determining a geometric model corresponding to the target structure comprises any one of:
obtaining a pre-stored standard geometric model from a model library, wherein the standard geometric model is generated by a standard section graph according to a corresponding entity creation mode;
adjusting on the basis of the standard geometric model to obtain a first custom geometric model;
A second custom geometric model is generated based on the custom cross-sectional graph.
3. The method of generating a three-dimensional structure according to claim 2, wherein the step of adapting to obtain a first custom geometric model based on the standard geometric model comprises:
acquiring a first standard section graph and a first entity creation mode for generating the standard geometric model;
And generating the first custom geometric model from the first standard section graph according to a second entity creation mode, wherein the second entity creation mode is different from the first entity creation mode.
4. The method of generating a three-dimensional structure according to claim 2, wherein the step of generating a second custom geometric model based on the custom cross-sectional graph comprises:
acquiring a third section graph provided by a user and a third entity creation mode selected by the user;
And generating the second custom geometric model according to the third entity creation mode by the third section graph.
5. The method of generating a three-dimensional structure according to claim 1, wherein the first mapping relation includes a mapping relation between a positioning parameter in a second geometrical parameter and a cross-sectional parameter in a first geometrical parameter, and the second mapping relation includes a mapping relation between an elevation parameter in the service parameter and a positioning parameter in the second geometrical parameter.
6. The method of generating a three-dimensional structure according to claim 1, wherein the step of generating the target structure from the geometric model in which the first geometric parameter is determined includes:
obtaining a preset constraint relation in the geometric model; the constraint relation is used for representing the influence mode of each first geometric parameter on the geometric model;
the target member is generated from the constraint relationship and the first geometric parameter.
7. A three-dimensional member generation device, comprising:
a model determination module adapted to determine a geometric model corresponding to a target member, the geometric model comprising a first geometric parameter for characterizing an appearance display effect of the geometric model;
the service parameter module is suitable for acquiring service parameters corresponding to the target component;
the geometric parameter module is suitable for determining corresponding first geometric parameters in the geometric model based on the service parameters according to a mapping relation between preset first geometric parameters and the service parameters;
a component generation module adapted to generate a three-dimensional model of the target component from the geometric model for which the first geometric parameter is determined;
The geometric parameter module is suitable for determining a model template corresponding to the geometric model according to the template category, and the model template comprises second geometric parameters; acquiring a first mapping relation preset between the second geometric parameter and the first geometric parameter and a second mapping relation preset between the second geometric parameter and the service parameter; and determining a third mapping relation between the first geometric parameter and the service parameter according to the first mapping relation and the second mapping relation, and determining a first geometric parameter corresponding to the service parameter according to the third mapping relation.
8. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 6 when the computer program is executed by the processor.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method according to any one of claims 1 to 6.
CN202110296021.2A 2021-03-19 2021-03-19 Three-dimensional member generation method, three-dimensional member generation device, computer equipment and storage medium Active CN112884899B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110296021.2A CN112884899B (en) 2021-03-19 2021-03-19 Three-dimensional member generation method, three-dimensional member generation device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110296021.2A CN112884899B (en) 2021-03-19 2021-03-19 Three-dimensional member generation method, three-dimensional member generation device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112884899A CN112884899A (en) 2021-06-01
CN112884899B true CN112884899B (en) 2024-04-26

Family

ID=76041418

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110296021.2A Active CN112884899B (en) 2021-03-19 2021-03-19 Three-dimensional member generation method, three-dimensional member generation device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112884899B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116664783B (en) * 2023-07-31 2023-10-24 成都工具研究所有限公司 Modeling method for complex three-dimensional modeling in webpage environment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107480315A (en) * 2017-05-26 2017-12-15 浙江理工大学 Parameterize the method and system of model design
CN109979007A (en) * 2019-04-02 2019-07-05 广联达科技股份有限公司 A kind of geometric modeling method and apparatus of building body
CN110750831A (en) * 2019-10-21 2020-02-04 西南交通大学 Method for constructing tunnel BIM model based on Revit platform
CN110826130A (en) * 2019-10-31 2020-02-21 上海宝冶集团有限公司 Application method of BIM modeling in design and construction of special-shaped curved surface structure body
CN111177831A (en) * 2019-12-26 2020-05-19 沈阳工业大学 BIM technology-based steel bar three-dimensional modeling and automatic calculation method
CN111597622A (en) * 2020-05-26 2020-08-28 同济大学建筑设计研究院(集团)有限公司 Three-dimensional model construction method and device, computer equipment and storage medium
CN112001012A (en) * 2020-08-17 2020-11-27 宇构科技(上海)有限公司 Building system based on BIM technology preset model
CN112184894A (en) * 2020-10-15 2021-01-05 洛阳众智软件科技股份有限公司 Sculpture method, device and equipment for three-dimensional modeling and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090033656A1 (en) * 2007-07-30 2009-02-05 Larkins Darren Database driven relational object modeling and design system, method and software
US20160117087A1 (en) * 2014-10-23 2016-04-28 Microsoft Corporation Job creation and reuse

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107480315A (en) * 2017-05-26 2017-12-15 浙江理工大学 Parameterize the method and system of model design
CN109979007A (en) * 2019-04-02 2019-07-05 广联达科技股份有限公司 A kind of geometric modeling method and apparatus of building body
CN110750831A (en) * 2019-10-21 2020-02-04 西南交通大学 Method for constructing tunnel BIM model based on Revit platform
CN110826130A (en) * 2019-10-31 2020-02-21 上海宝冶集团有限公司 Application method of BIM modeling in design and construction of special-shaped curved surface structure body
CN111177831A (en) * 2019-12-26 2020-05-19 沈阳工业大学 BIM technology-based steel bar three-dimensional modeling and automatic calculation method
CN111597622A (en) * 2020-05-26 2020-08-28 同济大学建筑设计研究院(集团)有限公司 Three-dimensional model construction method and device, computer equipment and storage medium
CN112001012A (en) * 2020-08-17 2020-11-27 宇构科技(上海)有限公司 Building system based on BIM technology preset model
CN112184894A (en) * 2020-10-15 2021-01-05 洛阳众智软件科技股份有限公司 Sculpture method, device and equipment for three-dimensional modeling and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Dynamo可视化编程在预制装配式构件中的应用;程霄等;四川建筑;第38卷(第02期);第25-27, 29页 *
Research of the Part Family Master Model Automatic Variant Technology Based on Web Server;Hualin Yang等;2012 Fourth International Conference on Computational Intelligence and Communication Networks;20121206;第1-5页 *
基于建筑设计教学的构件族库开发――以幕墙族为例;陈永乐;;福建工程学院学报;第17卷(第06期);第606-612页 *

Also Published As

Publication number Publication date
CN112884899A (en) 2021-06-01

Similar Documents

Publication Publication Date Title
US9495482B2 (en) Computer method and apparatus for creating sketch geometry
CN113010937B (en) Parametric modeling method of member section steel bar and related device
CN110335345B (en) Curtain wall node rendering method and device, computer equipment and storage medium
CN110167756B (en) Build direction based partitioning for building solid objects by additive manufacturing
CN112765695B (en) Support body generation method, 3D printer, computer device, and storage medium
EP2869226A1 (en) Updating a CAD model to reflect global or local shape changes
KR20080107963A (en) System and method for calculating loft surfaces using 3d scan data
CN112884899B (en) Three-dimensional member generation method, three-dimensional member generation device, computer equipment and storage medium
US9129075B2 (en) Mesh generation system
CN109388840B (en) Special programming computer for numerical simulation of metal forming processes with predefined load paths and corresponding grid adjustment schemes
CN112784340A (en) Conversion method and conversion device for construction Building Information Modeling (BIM)
JP7313433B2 (en) Construction and Enforcement of Counterconstraints on CAD (Computer Aided Design) Models
CN116595839A (en) System for generating structural analysis model
US9639992B2 (en) Methods and systems for multilevel editing of subdivided polygonal data
JP2021068148A (en) Three-d model evaluation system
CA2941198A1 (en) Improved computer-implemented method for defining the points of development of supporting elements of an object made by means of a stereolithography process
CN113919027A (en) Component adjustment method and device in BIM (building information modeling) model, computer equipment and storage medium
US11017596B2 (en) Methods, devices, and systems for part-to-build
CN112950764A (en) Three-dimensional modeling method and three-dimensional modeling device based on plane set diagram
US8022953B2 (en) Dimensions and computer aided modeling
CN106909721B (en) Editable section obtaining method and device
US20220343582A1 (en) Application of displacement maps to 3d mesh models
CN117830579A (en) Skirting information determining method and device, computer equipment and storage medium
CN117237487A (en) Method and device for creating and editing Blendshape node, storage medium and electronic equipment
CN115631315A (en) Method and system for building parking lot model based on Unreal engine

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant