CN111177825B - Parameterized modeling method and device - Google Patents

Parameterized modeling method and device Download PDF

Info

Publication number
CN111177825B
CN111177825B CN201911271471.5A CN201911271471A CN111177825B CN 111177825 B CN111177825 B CN 111177825B CN 201911271471 A CN201911271471 A CN 201911271471A CN 111177825 B CN111177825 B CN 111177825B
Authority
CN
China
Prior art keywords
components
business
service
component
parameterized model
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
CN201911271471.5A
Other languages
Chinese (zh)
Other versions
CN111177825A (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 CN201911271471.5A priority Critical patent/CN111177825B/en
Publication of CN111177825A publication Critical patent/CN111177825A/en
Application granted granted Critical
Publication of CN111177825B publication Critical patent/CN111177825B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/08Construction
    • 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

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Economics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Stored Programmes (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A parametric modeling method, the method comprising: creating a business component library containing business components and a UI plugin library containing UI plugins; selecting the service components in the service component library and the UI plug-ins in the UI plug-in library, and arranging the selected service components in an arrangement area, wherein data transmission among the service components is represented by visual connection lines; adjusting the attribute value of the service component to generate a parameterized model file; displaying a parameterized model file generated through arrangement of the service components and adjustment of the attribute values through a three-dimensional preview interface; storing the generated parameterized model file; and storing the stored parameterized model file in a cloud end, and transmitting the parameterized model file to a user through the cloud end. The user can more clearly grasp and mount the design of the self-complex parameterized model, and the self-needed parameterized model is organized in a mode of assembly and connection, so that the method has greater accuracy and degree of freedom, and the test cost is reduced.

Description

Parameterized modeling method and device
Technical Field
The application relates to the technical field of building model design, in particular to a parameterized modeling method and a parameterized modeling device.
Background
With the development of computer software and hardware technology, three-dimensional model software is developed faster and faster, and has been widely applied to various industries, and the core features are as follows: a virtual model of the real world object can be established; the model is modifiable; can be exported and transferred; has rendering capability. In the construction industry, a building information model (BIM: building information modeling) is particularly important, and the building information model is a general term for the process and result of digital expression of physical and functional characteristics of building engineering and facilities in the whole life cycle of the building engineering and facilities, and design, construction and operation according to the digital expression. It is particularly important to create building information models, and there are a large number of software (abbreviated as BIM modeling software) for creating building information models in the market place.
At present, BIM modeling software is of various types, the development trend is more humanized, free and parameterized in the modeling mode, besides basic editing operation functions, in order to reduce the use difficulty of software users, software developers or secondary developers provide a large number of parameterized modeling solutions by researching client services, complex modeling services are provided by parameterized solutions, semi-finished products of a parameterized model are provided, and users can input parameters in the parameterized model, so that modeling of the complex model can be completed, and the operation difficulty is reduced.
Parametric modeling is an important process for building a BIM model. The key problem in modeling is how to create a parameterized model meeting the needs of users, so the following factors need to be considered in parameterizing modeling:
(1) Analyzing basic elements composing the geometric shape of the part, and the relation among the elements;
(2) Analyzing which elements the free parameters relate to, how to ensure free variation of the free parameters;
(3) Determining main features and all auxiliary features of the model;
(4) Analyzing the partial expression according to the free parameters by using an expression editor;
(5) Determining a feature creation sequence and creating a model;
(6) And changing the value of each free parameter, and verifying whether the change of the model is reasonable.
The parameterized model models the semi-finished product by the graphic element and the driving parameter, provides the modified driving parameter value, and changes the corresponding parameter value of the graphic element. In the development of solutions to create parametric modeling, two main categories are:
the method is that a developer writes out parameterized functions, such as stairs in a general purpose gateway GTJ2018, by using codes through code implementation, namely software developer, through business analysis, the expandability of the parameterized model is limited, each time of adjustment needs to develop an adjustment code, and the cost of testing and maintenance is high;
another category is the creation of parameterized modeling schemes based on constraint solving techniques, such as BIM software Autodesk Revit Structure (abbreviated as Revit) from the company oltec software, where families can be created by the functions provided by the software. A family is a group of primitives that contains a generic set of attributes and associated graphical representations, each family primitive being capable of defining a plurality of types therein, each type being capable of having different size, shape, texture, etc. attributes. The families are of five types, system, build, loadable, nested and shared.
The invention mainly aims at a loadable family, the loadable family is an independent family file which can be loaded, a user can create a corresponding family template, and parameters such as size and material are added into the family according to the needs of the user. After creation is completed, the user can save it as a separate family file and can load it into any desired item. Loadable family is the family file that the user uses and creates the most, and the loadable family file format that can be generated is: * Rfa.
When using the family function, the user needs to create parameterized families in the following steps:
(1) Selecting a family template;
(2) Setting a family category and a family parameter;
(3) Setting group types and parameters;
(4) Setting a reference plane, a reference line and a working plane;
(5) Creating model lines and model words;
(6) Creating a three-dimensional model;
(7) And finishing the editing mode and storing.
The constraint solver used in the second type of solution described above, also called a geometric constraint solver, has the capability to be used in only two families worldwide, one being the euteck AutoDesk in the united states and the other being SIEMENS in germany.
A geometric constraint solver is a software component that solves for dimensions and constraints to specify and preserve geometric feature locations in a 2D or 3D design. In Computer Aided Design (CAD), a geometric constraint solver can achieve rapid design improvements in historian-based parametric modeling and direct modeling.
For example, the Revit software provides a "family" with primitive groups containing graphic identifications associated with a common attribute set, each family primitive can define multiple types therein, and each type can be of different size, shape, material, and the like.
The following problems are encountered when using constraint solving techniques:
the constraint relationship is complex, and the requirement on the user is high; in the Revit software, loadable families are researched and developed by a large number of secondary development enterprises, and because the constraint solution has high use difficulty threshold, common mass users cannot directly use the constraint solution, and the general mass users need to purchase family members of the secondary development enterprises to input parameters for use;
the complexity of the constraint solution structure is too high for a large-scale complex parameterized model scene; when a complex scene is encountered, the structure of constraint solving is very complex, a large number of constraint relations need to be set to determine the shape and the position of the primitive, and the development cost is high. For example, the connection ring plate of the steel column and the steel beam is a complex graphic element, the shape of which is affected by the connection number of the steel beam, and the constraint solution is very complex.
The test cost of the parameterized model is high; the parameterized model created through constraint solution has the advantages that each parameter, the position, the size, the relation, the equation and the reference plane of the parameterized model are required to be tested manually by testers, the testing cost is high, a large amount of time is wasted, the quick delivery capacity is low, nodes in the Tekla Structure are also solved by constraint, and the blank positions are all parameters and are required to be tested one by one.
The expansibility of secondary development is weak, the requirement on secondary developers is high, the developers need to understand the service requirements, and then development coding is carried out according to the service characteristics, so that a great amount of time is wasted.
Therefore, the method for establishing the parameterized model in the prior art has high use complexity, high development cost and high development requirement, and is not beneficial to the use of technicians.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides the parameterized modeling method and the parameterized modeling device, so that a user can more clearly grasp and drive own complex parameterized model design, and the parameterized model required by the user is organized in a mode of components and wires, so that the parameterized modeling method and the parameterized modeling device have greater accuracy and freedom degree, and the test cost is reduced.
The invention provides a parameterized modeling method, which comprises the following steps:
step 1: creating a business component library containing business components and a UI plugin library containing UI plugins;
step 2: selecting the service components in the service component library and the UI plug-ins in the UI plug-in library, and arranging the selected service components in an arrangement area, wherein data transmission among the service components is represented by visual connection lines;
step 3: adjusting the attribute value of the service component to generate a parameterized model file;
step 4: displaying a parameterized model file generated through arrangement of the service components and adjustment of the attribute values through a three-dimensional preview interface;
step 5: storing the generated parameterized model file;
step 6: and storing the stored parameterized model file in a cloud end, and transmitting the parameterized model file to a user through the cloud end.
Further, the service components are compiled by a developer according to service requirements, and each service component is a component in a specific service scene of a client and comprises data input, component options, data output, geometric characteristic relation among components and driving parameter data information.
Further, the UI plug-in is a display part of the graph and parameter relation of the business components, and comprises graphic element display, label display, parameter display, logic display and business relation display among the business components.
Further, the arranging the selected service components includes: and after dragging the business components in the business component library to the arrangement area, clicking the output of the business components, and connecting the output of the business components to the input of other business components.
Further, the arranging the selected service components further includes: the positions of the business components are dragged, and the connecting lines among the business components automatically change.
Further, an attribute column is set to manage attribute value options of the business components, and a user adjusts attribute values of the business components through the attribute column.
Further, the three-dimensional preview interface includes a front view, a side view, a top view, and a three-dimensional view, each supporting translation, zoom-in, and zoom-out operations, the three-dimensional view also supporting rotation operations.
The invention also provides a parameterized modeling device, which comprises a component creation unit, a component arrangement unit, an attribute value adjustment unit, a display unit, a storage unit and an application unit;
the component creation unit is used for creating a business component library containing business components and a UI plug-in library containing UI plug-ins;
the component arrangement unit is used for selecting the service components in the service component library and the UI plug-ins in the UI plug-in library, arranging the selected service components in an arrangement area, and data transmission among the service components is represented by visual connection lines;
the attribute value adjusting unit is used for adjusting the attribute value of the service component and generating a parameterized model file;
the display unit is used for displaying a parameterized model file generated through arrangement of the business components and adjustment of the attribute values through a three-dimensional preview interface;
the storage unit is used for storing the generated parameterized model file;
the application unit is used for storing the stored parameterized model file in the cloud and transmitting the parameterized model file to a user through the cloud.
Further, the service components are compiled by a developer according to service requirements, and each service component is a component in a specific service scene of a client and comprises data input, service component options, data output, geometric characteristic relations among service components and driving parameter data information.
Further, the UI plug-in is a display part of the graph and parameter relation of the business components, and comprises graphic element display, label display, parameter display, logic display and business relation display among the business components.
Further, the arranging the selected service components includes: and after dragging the business components in the business component library to the arrangement area, clicking the output of the business components, and connecting the output of the business components to the input of other business components.
Further, the arranging the selected service components further includes: the positions of the business components are dragged, and the connecting lines among the business components automatically change.
Further, an attribute column is set to manage attribute value options of the business components, and a user adjusts attribute values of the business components through the attribute column.
Further, the three-dimensional preview interface includes a front view, a side view, a top view, and a three-dimensional view, each supporting translation, zoom-in, and zoom-out operations, the three-dimensional view also supporting rotation operations.
The invention also provides an electronic device, which comprises:
a storage device;
one or more processors;
the storage device is configured to store one or more programs that, when executed by the one or more processors, cause the one or more processors to implement the methods described above.
The present invention also provides a computer readable storage medium having stored thereon a computer program which, when executed, implements the above method.
Compared with the modeling method in the prior art, the parameterized modeling method and the parameterized modeling device provided by the invention have the advantages that the component library plug-in or the UI library plug-in is researched and developed by research personnel according to the business characteristics of clients, then a parameterized model is built by modeling personnel by using a parameterized modeling tool, and the parameterized model is previewed and verified by a three-dimensional model and then is released to a user by a cloud; the parameterized nodes may be used by a user in modeling design software to create a parameterized component model. The method can enable a user to grasp and mount the design of the complex parameterized model more clearly, organizes the parameterized model required by the user in a mode of assembly and connection, has greater accuracy and freedom, and reduces the test cost.
Drawings
In order to facilitate an understanding and a complete description of the technical solutions of the present application by a person skilled in the art, reference is made to the accompanying drawings, it being apparent that the described embodiments are only some, but not all, embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
FIG. 1 is a schematic diagram of a system architecture of the present invention.
FIG. 2 is a flow chart of a parametric modeling method of the present invention.
FIG. 3 is a schematic diagram of the business component organization of the business component library of the present invention;
FIG. 4 is a schematic diagram of a business component arrangement of the present invention;
FIG. 5 is a schematic diagram of the modular composition of a parametric modeling apparatus of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
Before describing the solution of the present application, several technical terms in the art will be described:
scene component primitives: creating independent component primitives according to the service scene;
relationship parameters: parameters describing the relationship between primitives;
parameterized model: is divided into two parts: the parameterized graphic element and the driving parameters are influenced by the driving parameters to change, so that the parameters of the related graphic element change in relation, and the model in each three-dimensional view and two-dimensional view changes.
Referring to fig. 1, the main concept of the parametric modeling method and apparatus provided by the present invention is that: firstly, research and development personnel research and develop component library plug-ins and UI library plug-ins according to the business characteristics of clients and release the component library plug-ins and the UI library plug-ins into a parameterized modeling tool; establishing a parameterized model by using a parameterized modeling tool by a modeling staff, previewing and verifying the parameterized model through a three-dimensional model, and publishing the parameterized model to a user through a cloud; the parameterized nodes may be used by a user in modeling design software to create a parameterized component model.
Embodiment one:
referring to fig. 2, a first embodiment of the present invention provides a parametric modeling method, the method including the steps of:
step 1: a business component library containing business components and a UI plugin library containing UI plugins are created.
The service components are compiled by a developer according to service requirements, and each service component is a component in a specific service scene of a client and comprises data input, component options, data output, geometric characteristic relations among the components and driving parameter data information. An example of the created business components is shown in fig. 3.
The UI plug-in is a display part of the graph and parameter relation of the service components, and comprises graphic element display, label display, parameter display, logic display and service relation display among the service components.
Step 2: and selecting the service components in the service component library and the UI plugins in the UI plugin library, and arranging the selected service components in an arrangement area.
The arranging of the selected components includes: and after dragging the business components in the business component library to the arrangement area, clicking the output of the business components, and connecting the output of the business components to the input of other business components. The arranging of the selected components further comprises: the positions of the business components are dragged, and the connecting lines among the business components automatically change. See fig. 4 for a specific arrangement.
The data transmission between the service components is represented by visual connection lines, and replaces the complicated data transmission operation in the command line, so that a user can more clearly grasp and drive own complex parameterized model design, and organize own needed parameterized model in a mode of the service components and the connection lines.
Step 3: and adjusting the attribute value of the service component to generate a parameterized model file.
And the attribute information of the different business components is different, each business component comprises a corresponding attribute value option, an attribute column is set to manage the attribute value option of the business component, and a user adjusts the attribute value of the business component through the attribute column.
When each business component recognizes that input items are input or input is changed, the business component automatically rerun the internal program by the latest input data to form an operation result and display the operation result in real time, and provides numerical options for users, so that the user has greater freedom degree and clear model change when establishing a parameterized model, and the test cost is reduced completely.
Step 4: and displaying the parameterized model file generated through the arrangement of the business components and the adjustment of the attribute values through a three-dimensional preview interface.
And after the service components are dragged into the arrangement area and the service components are connected, the three-dimensional preview interface is automatically refreshed, and the effect of the current parameterized model is displayed. If the attribute of the business component, such as color, specification, section style, section size and the like, is modified, the display of the three-dimensional preview interface is correspondingly refreshed.
The three-dimensional preview interface comprises four views, namely a front view, a side view, a top view and a three-dimensional view, wherein each view supports translation, zooming in and zooming out operations, and the three-dimensional view also supports rotation operations, so that dynamic observation can be realized. The labeling information and the numerical values imported by the numerical parameter business component are automatically generated in the front view, the side view and the top view, and can be directly modified in the figure, and the model changes from time to time after modification. When the "numerical parameter" business component is modified, the model in the front view, side view, top view, three-dimensional view will automatically change according to the numerical value.
Step 5: and saving the generated parameterized model file.
Files can be saved as json data formats, for example, the saved files are in a format with suffix of json, and the advantages of saving the files are that the file size is very small, the occupied storage space is very small, and the files are convenient to save.
Step 6: and storing the stored parameterized model file in a cloud end, and transmitting the parameterized model file to a user through the cloud end.
When the user uses the building model, the parameters are directly input into the three-dimensional preview interface, and after the three-dimensional preview interface receives the parameters input by the user, the building model corresponding to the parameters is generated.
The parameterized modeling method can quickly create the parameterized model, and when the parameterized model is used, a user can directly select the needed parameterized model, and the model can be generated by inputting parameters, so that the quick creation of the building information model is solved.
Embodiment two:
referring to fig. 5, a second embodiment of the present invention provides a parametric modeling apparatus including a component creation unit, a component arrangement unit, an attribute value adjustment unit, a display unit, a storage unit, and an application unit.
The component creation unit is used for creating a business component library containing business components and a UI plug-in library containing UI plug-ins.
The service components are compiled by a developer according to service requirements, and each service component is a component in a specific service scene of a client and comprises data input, component options, data output, geometric characteristic relations among the components and driving parameter data information.
The UI plug-in is a display part of the graph and parameter relation of the service components, and comprises graphic element display, label display, parameter display, logic display and service relation display among the service components.
The component arrangement unit is used for selecting the service components in the service component library and the UI plug-ins in the UI plug-in library, and arranging the selected service components in an arrangement area.
The arranging of the selected business components includes: and after dragging the business components in the business component library to the arrangement area, clicking the output of the business components, and connecting the output of the business components to the input of other business components. The arranging of the selected components further comprises: the positions of the business components are dragged, and the connecting lines among the business components automatically change.
The data transmission between the service components is represented by visual connection lines, and replaces the complicated data transmission operation in the command line, so that a user can more clearly grasp and drive own complex parameterized model design, and organize own needed parameterized model in a mode of the service components and the connection lines.
The attribute value adjusting unit is used for adjusting the attribute value of the service component and generating a parameterized model file.
And the attribute information of the different business components is different, each business component comprises a corresponding attribute value option, an attribute column is set to manage the attribute value option of the business component, and a user adjusts the attribute value of the business component through the attribute column.
When each business component recognizes that input items are input or input is changed, the business component automatically rerun the internal program by the latest input data to form an operation result and display the operation result in real time, and provides numerical options for users, so that the user has greater freedom degree and clear model change when establishing a parameterized model, and the test cost is reduced completely.
The display unit is used for displaying the parameterized model file generated through the arrangement of the business components and the adjustment of the attribute values through a three-dimensional preview interface.
And after the service components are dragged into the arrangement area and the service components are connected, the three-dimensional preview interface is automatically refreshed, and the effect of the current parameterized model is displayed. If the attribute of the business component, such as color, specification, section style, section size and the like, is modified, the display of the three-dimensional preview interface is correspondingly refreshed.
The three-dimensional preview interface comprises four views, namely a front view, a side view, a top view and a three-dimensional view, wherein each view supports translation, zooming in and zooming out operations, and the three-dimensional view also supports rotation operations, so that dynamic observation can be realized. The labeling information and the numerical values imported by the numerical parameter business component are automatically generated in the front view, the side view and the top view, and can be directly modified in the figure, and the model changes from time to time after modification. When the "numerical parameter" business component is modified, the model in the front view, side view, top view, three-dimensional view will automatically change according to the numerical value.
And the storage unit is used for storing the generated parameterized model file.
Files can be saved as json data formats, for example, the saved files are in a format with suffix of json, and the advantages of saving the files are that the file size is very small, the occupied storage space is very small, and the files are convenient to save.
The application unit is used for storing the stored parameterized model file in the cloud and transmitting the parameterized model file to a user through the cloud.
When the user uses the building model, the parameters are directly input into the three-dimensional preview interface, and after the three-dimensional preview interface receives the parameters input by the user, the building model corresponding to the parameters is generated.
The parameterized modeling method can quickly create the parameterized model, and when the parameterized model is used, a user can directly select the needed parameterized model, and the model can be generated by inputting parameters, so that the quick creation of the building information model is solved.
As can be seen from the description of the first and second embodiments, the method and apparatus for parametric modeling of components provided by the present invention are characterized in that:
(1) Visualization operation:
the invention provides a component parameterized modeling method and device, which are most remarkable in characteristics that the components with comprehensive functions provide component visualization operation, the components are compiled by developers according to service requirements, each component is a service scene of a client, the service scene comprises data input, component options, data output, geometric characteristic relations among the components and driving parameter data information, the data transmission among the components is represented by visual connection lines, the complex data transmission operation in command lines is replaced, a user can grasp and drive own complex parameterized model design more clearly, and the parameterized model needed by the user is organized in a mode of component and connection lines.
(2) Dynamic real-time effect;
different from the mode executed after script writing, each component of the parameterized modeling method and the parameterized modeling device can automatically rerun the internal program by the latest input data when the input item input or the input change is identified, form the real-time display of the running result, provide various numerical options for a user, and provide simple, convenient and quick modification and adjustment, so that the user has greater freedom degree and clear model change when establishing a parameterized model, and the test cost is reduced.
(3) Rigorous data modeling operations:
the operation in the parameterized modeling method and the parameterized modeling device of the invention are based on data, and do not need to be carried out in a model. In the modeling process, the graph only plays a role in monitoring the modeling state of the components, each component is compiled according to the business scene of the client, and the options can be used for adjusting the components, so that the high efficiency and the high accuracy are obtained.
(4) Complete data preservation and outer chain:
the shape created by the parameterized modeling method and the parameterized modeling device emphasizes strict data transfer relation in the user operation level, and the data are completely saved by the components in the modeling process, on the other hand, the graph generated by each process can be decomposed into data by the corresponding components to form a model structure. The generated data file can be obtained in BIM modeling software, the file is very small, and the file can be released into the BIM modeling software through a cloud end for other users to use.
(5) Open user customization and development:
the parameterized modeling method and the parameterized modeling device are tools developed by C++ language, so that the parameterized modeling method and the parameterized modeling device have strong openness, and allow users to perform extensive plug-in custom function expansion.
(6) Test cost reduction:
the parameterized model created by the parameterized modeling method and the parameterized model created by the parameterized modeling device has definite data flow relation and three-dimensional and two-dimensional view response due to the used components and data flow modes, so that the test cost is very low after the parameterized model is manufactured, and the test and verification can be performed only by being released into modeling software through a cloud.
In addition, the embodiment of the application also discloses an electronic device, which comprises a storage device and one or more processors, wherein the storage device is used for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method as in the embodiment.
The embodiment of the application also discloses a computer readable storage medium, on which a computer program is stored, which when executed, implements the method as in the first embodiment.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of methods, apparatuses, and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart and block diagrams may represent a unit, module, segment, or portion of code, which comprises one or more computer-executable instructions for implementing the logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. It will also be noted that each block or combination of blocks in the block diagrams and flowchart illustrations, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The present application is not limited to any specific form of combination of hardware and software. In summary, the above embodiments are only preferred embodiments of the present application, and are not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims (10)

1. A parametric modeling method, the method comprising the steps of:
step 1: creating a business component library containing business components and a UI plug-in library containing UI plug-ins, wherein the business components are compiled by a developer according to business requirements, each business component is a component in a specific business scene of a client, the business components comprise data input, component options, data output, geometric characteristic relations among the components and driving parameter data information, and the UI plug-ins are display parts of graphics and parameter relations of the business components and comprise graphic primitive display, label display, parameter display, logic display and business relation display among the business components;
step 2: selecting the service components in the service component library and the UI plugins in the UI plugin library, and arranging the selected service components in an arrangement area, wherein data transmission among the service components is represented by visual connection lines, and the arrangement of the selected service components comprises: after dragging the business components in the business component library to the arrangement area, clicking the output of the business components, and connecting the output of the business components to the input of other business components;
step 3: adjusting the attribute value of the service component to generate a parameterized model file;
step 4: displaying a parameterized model file generated through arrangement of the service components and adjustment of the attribute values through a three-dimensional preview interface;
step 5: storing the generated parameterized model file;
step 6: and storing the stored parameterized model file in a cloud end, and transmitting the parameterized model file to a user through the cloud end.
2. The method of claim 1, wherein the arranging the selected business components further comprises: the positions of the business components are dragged, and the connecting lines among the business components automatically change.
3. The method of claim 1, wherein an attribute bar is provided to manage attribute value options for business components, and wherein a user adjusts attribute values for business components via the attribute bar.
4. The method of claim 1, wherein the three-dimensional preview interface comprises a front view, a side view, a top view, a three-dimensional view, each view supporting panning, zooming in, and zooming out operations, the three-dimensional view also supporting rotation operations.
5. A parameterized modeling apparatus, characterized in that the apparatus comprises a component creation unit, a component arrangement unit, an attribute value adjustment unit, a display unit, a storage unit, and an application unit;
the component creation unit is used for creating a service component library containing service components and a UI plug-in library containing UI plug-ins, wherein the service components are compiled by a developer according to service requirements, each service component is a component in a specific service scene of a client and comprises data input, component options, data output, geometric characteristic relations among the components and driving parameter data information, and the UI plug-ins are display parts of graphics and parameter relations of the service components and comprise graphic primitive display, label display, parameter display, logic display and service relation display among the service components;
the component arrangement unit is configured to select the service components in the service component library and the UI plug-ins in the UI plug-in library, arrange the selected service components in an arrangement area, and data transfer between the service components is represented by intuitive connection lines, where the arranging the selected service components includes: after dragging the business components in the business component library to the arrangement area, clicking the output of the business components, and connecting the output of the business components to the input of other business components;
the attribute value adjusting unit is used for adjusting the attribute value of the service component and generating a parameterized model file;
the display unit is used for displaying a parameterized model file generated through arrangement of the business components and adjustment of the attribute values through a three-dimensional preview interface;
the storage unit is used for storing the generated parameterized model file;
the application unit is used for storing the stored parameterized model file in the cloud and transmitting the parameterized model file to a user through the cloud.
6. The apparatus of claim 5, wherein the arranging the selected business components further comprises: the positions of the business components are dragged, and the connecting lines among the business components automatically change.
7. The apparatus of claim 5, wherein an attribute bar is provided to manage attribute value options for business components, and wherein a user adjusts attribute values for business components via the attribute bar.
8. The apparatus of claim 5, wherein the three-dimensional preview interface comprises a front view, a side view, a top view, and a three-dimensional view, each view supporting panning, zooming in, and zooming out operations, the three-dimensional view also supporting rotation operations.
9. An electronic device, the electronic device comprising:
a storage device;
one or more processors;
the method is characterized in that:
the storage means is for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the method of any of the preceding claims 1-4.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the method according to one of the preceding claims 1-4 is implemented when said computer program is executed.
CN201911271471.5A 2019-12-12 2019-12-12 Parameterized modeling method and device Active CN111177825B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911271471.5A CN111177825B (en) 2019-12-12 2019-12-12 Parameterized modeling method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911271471.5A CN111177825B (en) 2019-12-12 2019-12-12 Parameterized modeling method and device

Publications (2)

Publication Number Publication Date
CN111177825A CN111177825A (en) 2020-05-19
CN111177825B true CN111177825B (en) 2023-04-25

Family

ID=70650187

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911271471.5A Active CN111177825B (en) 2019-12-12 2019-12-12 Parameterized modeling method and device

Country Status (1)

Country Link
CN (1) CN111177825B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111666126B (en) * 2020-06-09 2021-06-29 中亿丰建设集团股份有限公司 Building Internet of things integration system and method based on 3d visualization code-free development technology
CN112347528A (en) * 2020-11-18 2021-02-09 广东三维家信息科技有限公司 Node modeling method and device for furniture, electronic equipment and storage medium
CN112465953A (en) * 2020-12-02 2021-03-09 杭州群核信息技术有限公司 Rapid parameterization modeling method based on template
CN114675910A (en) * 2020-12-24 2022-06-28 广东飞企互联科技股份有限公司 Distributed service-oriented component layout method and system
CN113609553B (en) * 2021-07-12 2023-12-22 广联达科技股份有限公司 Stair component creation method and device and electronic equipment
CN113868280B (en) * 2021-11-25 2022-03-25 芯和半导体科技(上海)有限公司 Parameterized unit data updating method and device, computer equipment and storage medium
CN114968219B (en) * 2022-05-09 2024-06-14 中国三峡建工(集团)有限公司 Construction method based on visual drag logic analysis script

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8201143B2 (en) * 2006-09-29 2012-06-12 Microsoft Corporation Dynamic mating of a modified user interface with pre-modified user interface code library
US11036933B2 (en) * 2014-09-25 2021-06-15 Oracle International Corporation User interface component autowiring
CN105677446B (en) * 2016-01-28 2019-05-28 中国电子科技集团公司第十研究所 The visual modeling method of Distributed Simulation Platform
CN106682324A (en) * 2016-12-30 2017-05-17 苏州同元软控信息技术有限公司 System for visually modeling complicated equations on basis of Modelica
CN109684701B (en) * 2018-12-17 2023-08-18 中铁四局集团有限公司 BIM model resource management system and BIM model creation method
CN109918814A (en) * 2019-03-14 2019-06-21 中交一航局第三工程有限公司 The software package and application method of template design aids based on Revit software
CN110135070A (en) * 2019-05-16 2019-08-16 深圳天际云数字技术有限公司 A kind of method and device of BIM model creation

Also Published As

Publication number Publication date
CN111177825A (en) 2020-05-19

Similar Documents

Publication Publication Date Title
CN111177825B (en) Parameterized modeling method and device
Cordeil et al. IATK: An immersive analytics toolkit
Möbius et al. OpenFlipper: An open source geometry processing and rendering framework
Xu Integrating Advanced Computer-Aided Design, Manufacturing, and Numerical Control: Principles and Implementations: Principles and Implementations
US20070208464A1 (en) System and method of interactively compiling a database for an in-vehicle display device
US10417924B2 (en) Visual work instructions for assembling product
Geng et al. A design method for three-dimensional maintenance, repair and overhaul job card of complex products
Mourtzis et al. Collaborative manufacturing design: a mixed reality and cloud-based framework for part design
Marchenko et al. A new method of visualization and documentation of parametric information of 3D CAD models
CN115495069A (en) Model-driven coal industry software flow implementation method, device and equipment
Rossoni et al. Integration of virtual reality in a knowledge-based engineering system for preliminary configuration and quotation of assembly lines
Murray et al. A virtual environment for the design and simulated construction of prefabricated buildings
Nan Easy3D: a lightweight, easy-to-use, and efficient C++ library for processing and rendering 3D data
Yang et al. Development and optimization of CAD system based on big data technology
CN111429578B (en) Three-dimensional model generation method and three-dimensional virtual overhaul system for thermal power plant unit
US11275871B2 (en) Systems and methods for modifying CAD files
Van Emmerik et al. Simplifying interactive design of solid models: a hypertext approach
Bernard et al. Virtual engineering based on knowledge integration
Okuya et al. Distributed architecture for remote collaborative modification of parametric cad data
Katzenbach et al. Product lifecycle visualization
KR102537489B1 (en) Digital twin constructing system, method and device therefor using visual script
CN115311416A (en) Method for creating three-dimensional scene
JP5948479B1 (en) System, method and computer software program for displaying and operating two-dimensional or three-dimensional object data
Bocevska et al. An example of application design using solidworks application programming interface
Kretz et al. Implementing ISO standard 10303 application protocol 224 for automated process planning

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