Automatic three-dimensional entity modeling method and device and computer readable storage medium

Through the automated 3D solid modeling method and the use of unit component projection technology, the problems of low efficiency and high cost of the existing 3D digital modeling system are solved, an efficient and accurate 3D modeling process is realized, and the rapid design and optimization of complex models are supported. .

CN118570387AInactive Publication Date: 2024-08-30深圳寿恒建筑设计事务所有限公司
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410717055.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-08-30
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing 3D digital modeling system requires a large amount of human resources for manual operations, resulting in high cost and low efficiency. Especially when the model becomes complex, the design efficiency drops significantly.

Method used

The automated three-dimensional solid modeling method is used to construct unit components through pre-input reference plane parameters and geometric parameters, and project them onto the initial three-dimensional solid to generate the target three-dimensional solid, thereby realizing the automated modeling process.

Benefits of technology

It greatly shortens 3D modeling time, reduces manual operation complexity and error rate, improves modeling efficiency and accuracy, provides a flexible model management method, and supports rapid iteration and optimization of complex design projects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570387A
    Figure CN118570387A
Patent Text Reader

Abstract

The invention discloses an automatic three-dimensional entity modeling method and device and a computer readable storage medium. The automatic three-dimensional entity modeling method comprises the steps that unit assemblies are constructed according to pre-input reference plane parameters and geometric parameters; determining a target projection area of the unit assembly on a pre-constructed initial three-dimensional entity; projecting the unit component to a corresponding target projection area so as to generate an entity of the unit component on the initial three-dimensional entity; and generating an entity of the corresponding unit assembly in each target projection area of the initial three-dimensional entity so as to generate a target three-dimensional entity. The automatic three-dimensional entity modeling method has the advantages of improving three-dimensional modeling efficiency and design efficiency and the like.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of three-dimensional modeling, and in particular to an automated three-dimensional solid modeling method, device and computer-readable storage medium. Background Art

[0002] 3D digital modeling has become an indispensable tool in the modern design industry, used for design conception, design communication and discussion, and design results display. However, the existing 3D digital modeling system has many shortcomings in meeting contemporary design needs.

[0003] One of the many deficiencies is that existing 3D digital modeling systems usually require designers to complete modeling by manually entering command lines or clicking icon buttons. This manual operation method requires a large amount of work and requires a lot of human resources, resulting in high costs. In addition, the modeling work requires manual construction and manual assembly of each component, which is tedious and complicated. As the design progresses, the 3D model becomes more and more complex, and the difficulty of manual modification continues to increase, so the design work efficiency is significantly reduced. Summary of the invention

[0004] The embodiments of the present application provide an automated three-dimensional solid modeling method, aiming to improve three-dimensional modeling efficiency and design efficiency.

[0005] To achieve the above objectives, the present application provides an automated three-dimensional solid modeling method, comprising:

[0006] Construct unit components according to pre-input reference surface parameters and geometric parameters;

[0007] Determine a target projection area of ​​the unit component on the pre-constructed initial three-dimensional solid;

[0008] Projecting the unit component to a corresponding target projection area to generate a solid body of the unit component on an initial three-dimensional solid body;

[0009] A corresponding entity of unit components is generated in each target projection area of ​​the initial three-dimensional entity to generate a target three-dimensional entity.

[0010] In one embodiment, constructing a unit component according to pre-input reference surface parameters and geometric parameters includes:

[0011] Creating a reference surface according to the reference surface parameters;

[0012] Creating a geometric entity on the reference surface according to the geometric parameters;

[0013] Associating identification information of each geometric entity with the reference surface to establish an association relationship between the reference surface and the geometric entity;

[0014] A unit component is constructed based on the reference surface and the association relationship.

[0015] In one embodiment, the geometric parameters include curve parameters, cross-sectional position parameters, and cross-sectional curve parameters;

[0016] Constructing a geometric entity on the construction surface according to geometric parameters, including:

[0017] Creating a curve on the reference surface according to the curve parameters;

[0018] Creating a section curve on the curve according to the section position parameters and the section curve parameters;

[0019] Lofting is performed along the curve and using the section curve to generate a three-dimensional solid.

[0020] In one embodiment, projecting the unit component to a corresponding target projection area to generate a solid body of the unit component on the initial three-dimensional solid body includes:

[0021] The reference surface is used as the projection reference surface, the target projection area is used as the projection target surface, and the geometric entity is projected to the corresponding target projection area, wherein:

[0022] If the geometric entity is a curve having section position parameters and section curve parameters, projecting the geometric entity to a corresponding target projection area includes:

[0023] Projecting the curve to the target projection area;

[0024] Creating a section curve on the curve according to the section position parameters and the section curve parameters;

[0025] Lofting is performed along the curve using the section curve to generate a three-dimensional solid.

[0026] In one embodiment, creating a section curve on a curve according to the section position parameter and the section curve parameter comprises:

[0027] Determining the cross-section position on the curve according to the cross-section position parameter;

[0028] Obtaining a normal vector and a tangent vector of the curve at the cross-section position, wherein the normal vector is obtained based on a preset reference plane;

[0029] Rotating the normal vector around the tangent vector until the normal vectors before and after the rotation are perpendicular to each other, and creating a section reference surface at the section position using the normal vector before and after the rotation;

[0030] A corresponding section curve is generated on the section reference plane according to the section position parameters and the section curve parameters.

[0031] In one embodiment, the method further comprises:

[0032] Receive the section type input by the user, and return a corresponding parameter table according to the section type;

[0033] The section data input by the user based on the parameter table is received, and is stored together with the section type as section parameters corresponding to the current section position.

[0034] In one embodiment, receiving a section type input by a user and returning a corresponding parameter table according to the section type includes:

[0035] When the user selects a standard section type, a list of predefined standard section types is provided to the user;

[0036] The index information input by the user based on the standard section type list is received to determine the section type, and a parameter table associated with the index information is returned.

[0037] In one embodiment, creating a section curve on a curve according to the section position parameter and the section curve parameter comprises:

[0038] Calculating the center point coordinates of the cross-section curve according to the offset distance and the cross-section position parameters;

[0039] Determining the deflection state of the cross-sectional curve according to the rotation angle and the normal vector before the rotation;

[0040] Based on the determined center point coordinates and deflection state of the cross-sectional curve, the cross-sectional curve is generated according to the shape parameters.

[0041] In one embodiment, generating the cross-sectional curve according to the shape parameter includes:

[0042] Select a matching section curve generation algorithm from a preset algorithm library according to the section type of the section parameters;

[0043] The curve parameters and the shape parameters are input into the selected cross-section curve generation algorithm to generate the cross-section curve.

[0044] In one embodiment, determining a target projection area of ​​a unit component on a pre-constructed initial three-dimensional solid includes:

[0045] Draw subdivision surfaces on the specified surface of the pre-built initial 3D solid according to user-defined parameters;

[0046] The unit component is applied on the subdivision surface to determine a target projection area of ​​the unit component on a designated surface of a pre-constructed initial three-dimensional solid.

[0047] In one embodiment, determining a target projection area of ​​a unit component on a pre-constructed initial three-dimensional solid includes:

[0048] Unfold the specified surface of the pre-built initial 3D solid into a target plane;

[0049] Drawing subdivision surfaces on the target plane according to user-defined parameters, and projecting the subdivision surfaces onto the designated surface, establishing a one-to-one correspondence between each subdivision surface and each projection area on the designated surface;

[0050] The unit component is applied on the subdivision surface to determine a target projection area of ​​the unit component on a designated surface of a pre-constructed initial three-dimensional solid.

[0051] In one embodiment, unfolding a designated surface of a pre-constructed initial three-dimensional solid into a target plane includes:

[0052] Setting a reference point on the specified surface;

[0053] constructing a reference line based on the reference point and a preset reference axis, and generating a projection of the reference line on the specified surface;

[0054] constructing a first reference axis according to a tangent line of the projection of the reference line at the reference point;

[0055] Rotate the first reference axis by a preset angle around the normal of the tangent plane of the designated surface at the reference point to construct a second reference axis;

[0056] constructing a local reference system according to the first reference axis and the second reference axis;

[0057] The directions of the coordinate axes of the coordinate system of the designated surface are corrected according to the local reference system, and the target plane is obtained by unfolding the designated surface after the direction correction of the coordinate system.

[0058] In one embodiment, correcting the directions of the coordinate axes of the designated surface coordinate system according to the local reference system includes:

[0059] Generate a coordinate system of the specified surface with the reference point as the origin, wherein the coordinate system of the specified surface includes a first coordinate axis and a second coordinate axis;

[0060] According to the angle between the first coordinate axis and the second coordinate axis of the specified surface coordinate system and the first reference axis, the direction of the coordinate axis of the specified surface coordinate system is adjusted so that the positive direction of the first coordinate axis faces a preset first direction and the positive direction of the second coordinate axis faces a preset second direction.

[0061] In one embodiment, adjusting the direction of the coordinate axis of the specified surface coordinate system according to the angle between the first coordinate axis and the second coordinate axis of the specified surface coordinate system and the first reference axis includes:

[0062] Setting the preset first direction as the positive direction of the first reference axis;

[0063] Selecting a smaller one from the angle between the first coordinate axis and the first reference axis in the positive direction and the angle between the first coordinate axis and the first reference axis in the negative direction as the first angle;

[0064] Selecting a smaller one from the angle between the second coordinate axis and the positive direction of the first reference axis and the angle between the second coordinate axis and the negative direction of the first reference axis as the second angle;

[0065] If the first angle is greater than the second angle, swapping the first coordinate axis with the second coordinate axis;

[0066] If the angle between the first coordinate axis and the positive direction of the first reference axis is greater than a first preset value, the direction of the first coordinate axis is reversed;

[0067] If the angle between the second coordinate axis and the positive direction of the first reference axis is greater than a second preset value, the direction of the second coordinate axis is reversed.

[0068] In one embodiment, correcting the directions of the coordinate axes of the designated surface coordinate system according to the local reference system includes:

[0069] Generate a coordinate system of the specified surface with the reference point as the origin, wherein the coordinate system of the specified surface includes a first coordinate axis and a second coordinate axis;

[0070] According to the first coordinate axis and the second coordinate axis of the specified surface coordinate system and the angle between the first reference axis and the second reference axis of the local reference system, the direction of the coordinate axis of the specified surface coordinate system is adjusted so that the positive direction of the first coordinate axis faces a preset first direction and the positive direction of the second coordinate axis faces a preset second direction.

[0071] In one embodiment, adjusting the direction of the coordinate axis of the designated surface coordinate system according to the angle between the first coordinate axis and the second coordinate axis of the designated surface coordinate system and the first reference axis and the second reference axis of the local reference system includes:

[0072] Setting the preset first direction as the positive direction of the first reference axis, and setting the preset second direction as the positive direction of the second reference axis;

[0073] Selecting a smaller one from the angle between the first coordinate axis and the first reference axis in the positive direction and the angle between the first coordinate axis and the first reference axis in the negative direction as the first angle;

[0074] Selecting a smaller one from the angle between the second coordinate axis and the positive direction of the first reference axis and the angle between the second coordinate axis and the negative direction of the first reference axis as the second angle;

[0075] If the first angle is greater than the second angle, swapping the first coordinate axis with the second coordinate axis;

[0076] If the angle between the first coordinate axis and the positive direction of the second reference axis is greater than a third preset value, the direction of the first coordinate axis is reversed;

[0077] If the included angle between the second coordinate axis and the positive direction of the first reference axis is greater than a fourth preset value, the direction of the second coordinate axis is reversed.

[0078] In one embodiment, after generating the target three-dimensional entity, the method includes:

[0079] When the unit component of the three-dimensional entity is updated, the entity of the old unit component on the target three-dimensional entity is deleted according to the identification information of the updated unit component, and is updated to the entity of the new unit component.

[0080] To achieve the above objectives, an embodiment of the present application also proposes an automated three-dimensional solid modeling device, comprising a memory, a processor, and an automated three-dimensional solid modeling program stored in the memory and executable on the processor, wherein the processor implements the automated three-dimensional solid modeling method as described in any one of the above items when executing the automated three-dimensional solid modeling program.

[0081] To achieve the above objectives, an embodiment of the present application also proposes a computer-readable storage medium, on which an automated three-dimensional solid modeling program is stored. When the automated three-dimensional solid modeling program is executed by a processor, it implements the automated three-dimensional solid modeling method as described in any of the above items.

[0082] The automated 3D solid modeling method of the technical solution of the present application has the following advantages over the traditional modeling method:

[0083] 1. Three-dimensional model management: By establishing a modeling system of unit components-three-dimensional solid models, models can be edited and managed in different dimensions. Specifically, designers can change the unit style at the unit component level, and can also change the matching relationship between the unit component and the target projection area of ​​the initial three-dimensional entity at the three-dimensional digital model level. This multi-dimensional management method provides great flexibility, making the design and modification process more convenient and efficient.

[0084] 2. Realize automated 3D solid modeling: When the unit components, 3D digital models and the relationships between them are defined, the system can automatically generate a detailed 3D digital model. This automated process greatly shortens the 3D modeling time, reduces the complexity and error rate of manual operations, and improves modeling efficiency and accuracy.

[0085] 3. Establish a large model library: Every defined unit component and even a 3D digital model can be used as part of the large model library. When defining new unit components and 3D digital models, designers can directly reference existing models in the large model library. This not only improves the reusability of the model, but also greatly reduces duplication of work and improves design efficiency and consistency.

[0086] It can be seen that compared with traditional modeling methods, the automated three-dimensional solid modeling method of the technical solution of the present application greatly improves the flexibility, efficiency and accuracy of modeling through modular, parametric and standardized design, reduces the possibility of human errors, and can build and manage larger-scale model libraries, supporting the rapid iteration and optimization of complex design projects, thereby improving design efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0087] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.

[0088] Figure 1 It is a module structure diagram of an embodiment of the automatic three-dimensional solid modeling device of the present invention;

[0089] Figure 2 It is a flow chart of an embodiment of the automatic three-dimensional solid modeling method of the present invention.

[0090] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0091] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0092] In order to better understand the above technical solution, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0093] It should be noted that in the claims, any reference symbols placed between brackets shall not be constructed as limitations to the claims. The presence of "comprising" in the text does not exclude the presence of components or steps not listed in the claims. The quantifier "one" or "an" preceding a component does not exclude the presence of a plurality of such components. The present invention can be implemented by means of hardware comprising several different components and by means of appropriately programmed computers. In a unit claim that lists several means, several of these means may be embodied by the same hardware item. The use of "first", "second", and "third" etc. does not indicate any order, and these words may be interpreted as names.

[0094] like Figure 1 As shown, Figure 1 It is a structural diagram of a server 1 (also called an automated three-dimensional solid modeling device) in the hardware operating environment involved in the embodiment of the present invention.

[0095] The server of the embodiment of the present invention is a device with display function, such as "Internet of Things devices", smart air conditioners, smart lights, smart power supplies with networking functions, AR / VR devices with networking functions, smart speakers, self-driving cars, PCs, smart phones, tablet computers, e-book readers, portable computers, etc.

[0096] like Figure 1 As shown, the server 1 includes: a memory 11, a processor 12 and a network interface 13.

[0097] The memory 11 includes at least one type of readable storage medium, including flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 11 may be an internal storage unit of the server 1, such as a hard disk of the server 1. In other embodiments, the memory 11 may also be an external storage device of the server 1, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card, etc., equipped on the server 1.

[0098] Furthermore, the memory 11 may include an internal storage unit of the server 1 as well as an external storage device. The memory 11 may be used not only to store application software and various data installed on the server 1, such as the code of the automated three-dimensional solid modeling program 10, but also to temporarily store data that has been output or is to be output.

[0099] In some embodiments, the processor 12 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor or other data processing chip, used to run program codes or process data stored in the memory 11, such as executing the automated three-dimensional solid modeling program 10.

[0100] The network interface 13 may optionally include a standard wired interface, a wireless interface (such as a WI-FI interface), and is generally used to establish a communication connection between the server 1 and other electronic devices.

[0101] The network may be the Internet, a cloud network, a wireless fidelity (Wi-Fi) network, a personal area network (PAN), a local area network (LAN), and / or a metropolitan area network (MAN). Various devices in the network environment may be configured to connect to the communication network according to various wired and wireless communication protocols. Examples of such wired and wireless communication protocols may include, but are not limited to, at least one of the following: Transmission Control Protocol and Internet Protocol (TCP / IP), User Datagram Protocol (UDP), Hypertext Transfer Protocol (HTTP), File Transfer Protocol (FTP), ZigBee, EDGE, IEEE 802.11, Light Fidelity (Li-Fi), 802.16, IEEE 802.11s, IEEE 802.11g, multi-hop communication, wireless access point (AP), device-to-device communication, cellular communication protocol, and / or Bluetooth (Blue Tooth) communication protocol or a combination thereof.

[0102] Optionally, the server may further include a user interface, which may include a display, an input unit such as a keyboard, and an optional user interface may further include a standard wired interface and a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode) touch device, etc. The display may also be referred to as a display screen or a display unit, which is used to display information processed in the server 1 and to display a visual user interface.

[0103] Figure 1Only the server 1 having the components 11-13 and the automated 3D solid modeling program 10 is shown, and it can be understood by those skilled in the art that Figure 1 The structure shown does not constitute a limitation on the server 1, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.

[0104] In this embodiment, the processor 12 may be used to call the automated three-dimensional solid modeling program stored in the memory 11 and perform the following operations:

[0105] Construct unit components according to pre-input reference surface parameters and geometric parameters;

[0106] Determine a target projection area of ​​the unit component on the pre-constructed initial three-dimensional solid;

[0107] Projecting the unit component to a corresponding target projection area to generate a solid body of the unit component on an initial three-dimensional solid body;

[0108] A corresponding entity of unit components is generated in each target projection area of ​​the initial three-dimensional entity to generate a target three-dimensional entity.

[0109] In one embodiment, the processor 12 may be used to call the automated three-dimensional solid modeling program stored in the memory 11 and perform the following operations:

[0110] Creating a reference surface according to the reference surface parameters;

[0111] Creating a geometric entity on the reference surface according to the geometric parameters;

[0112] Associating identification information of each geometric entity with the reference surface to establish an association relationship between the reference surface and the geometric entity;

[0113] A unit component is constructed based on the reference surface and the association relationship.

[0114] In one embodiment, the processor 12 may be used to call the automated three-dimensional solid modeling program stored in the memory 11 and perform the following operations:

[0115] Creating a curve on the reference surface according to the curve parameters;

[0116] Creating a section curve on the curve according to the section position parameters and the section curve parameters;

[0117] Lofting is performed along the curve and using the section curve to generate a three-dimensional solid.

[0118] In one embodiment, the processor 12 may be used to call the automated three-dimensional solid modeling program stored in the memory 11 and perform the following operations:

[0119] The reference surface is used as the projection reference surface, the target projection area is used as the projection target surface, and the geometric entity is projected to the corresponding target projection area, wherein:

[0120] If the geometric entity is a curve having section position parameters and section curve parameters, projecting the geometric entity to a corresponding target projection area includes:

[0121] Projecting the curve to the target projection area;

[0122] Creating a section curve on the curve according to the section position parameters and the section curve parameters;

[0123] Lofting is performed along the curve using the section curve to generate a three-dimensional solid.

[0124] In one embodiment, the processor 12 may be used to call the automated three-dimensional solid modeling program stored in the memory 11 and perform the following operations:

[0125] Determining the cross-section position on the curve according to the cross-section position parameter;

[0126] Obtaining a normal vector and a tangent vector of the curve at the cross-section position, wherein the normal vector is obtained based on a preset reference plane;

[0127] Rotating the normal vector around the tangent vector until the normal vectors before and after the rotation are perpendicular to each other, and creating a section reference surface at the section position using the normal vector before and after the rotation;

[0128] A corresponding section curve is generated on the section reference plane according to the section position parameters and the section curve parameters.

[0129] In one embodiment, the processor 12 may be used to call the automated three-dimensional solid modeling program stored in the memory 11 and perform the following operations:

[0130] Draw subdivision surfaces on the specified surface of the pre-built initial 3D solid according to user-defined parameters;

[0131] Applying the unit component on the subdivision surface to determine a target projection area of ​​the unit component on a designated surface of a pre-constructed initial three-dimensional solid;

[0132] or,

[0133] Unfold the specified surface of the pre-built initial 3D solid into a target plane;

[0134] Drawing subdivision surfaces on the target plane according to user-defined parameters, and projecting the subdivision surfaces onto the designated surface, establishing a one-to-one correspondence between each subdivision surface and each projection area on the designated surface;

[0135] The unit component is applied on the subdivision surface to determine a target projection area of ​​the unit component on a designated surface of a pre-constructed initial three-dimensional solid.

[0136] In one embodiment, the processor 12 may be used to call the automated three-dimensional solid modeling program stored in the memory 11 and perform the following operations:

[0137] Setting a reference point on the specified surface;

[0138] constructing a reference line based on the reference point and a preset reference axis, and generating a projection of the reference line on the specified surface;

[0139] constructing a first reference axis according to a tangent line of the projection of the reference line at the reference point;

[0140] Rotate the first reference axis by a preset angle around the normal of the tangent plane of the designated surface at the reference point to construct a second reference axis;

[0141] constructing a local reference system according to the first reference axis and the second reference axis;

[0142] The directions of the coordinate axes of the coordinate system of the designated surface are corrected according to the local reference system, and the target plane is obtained by unfolding the designated surface after the direction correction of the coordinate system.

[0143] In one embodiment, the processor 12 may be used to call the automated three-dimensional solid modeling program stored in the memory 11 and perform the following operations:

[0144] When the unit component of the three-dimensional entity is updated, the entity of the old unit component on the target three-dimensional entity is deleted according to the identification information of the updated unit component, and is updated to the entity of the new unit component.

[0145] Based on the hardware architecture of the above-mentioned automated 3D solid modeling device, an embodiment of the automated 3D solid modeling method of the present invention is proposed. The automated 3D solid modeling method of the present invention is intended to improve the efficiency of 3D modeling.

[0146] Reference Figure 2 , Figure 2 This is an embodiment of the automatic three-dimensional solid modeling method of the present invention, and the automatic three-dimensional solid modeling method comprises the following steps:

[0147] S10. Construct unit components according to pre-input reference surface parameters and geometric parameters.

[0148] Among them, the unit component is a modular unit constructed by referring to surface parameters and geometric parameters. It can be applied to any modular objects required for 3D modeling, such as construction design, mechanical engineering, and product design.

[0149] For example, in architectural design, unit components can be prefabricated modules such as walls, floors, windows, etc. In mechanical engineering, unit components can be standardized mechanical parts, such as gears, bearings, bolts, etc. In product design and manufacturing, unit components can be various parts of a product, such as the outer shell and internal structural parts of a home appliance.

[0150] Furthermore, unit components can be defined by parameterization (i.e., reference surface parameters and geometric parameters), that is, using a set of parameters to describe its shape, size, and position. Adjusting these parameters can quickly generate different versions of components to meet various needs. Parametric design allows designers to generate components of different shapes and sizes by changing parameter values, thereby achieving flexible design and application.

[0151] It can be understood that the core of the unit assembly is modular design. By pre-designing and manufacturing standardized modular units, the modeling process of complex systems (three-dimensional entities) can be greatly simplified.

[0152] Specifically, the pre-input reference surface parameters and geometric parameters can be input by the designer through a user interface or a file, wherein the reference surface parameters generally include the position, direction, size, etc. of the surface, while the geometric parameters include the shape, size, proportion, etc.

[0153] Specifically, in actual operation, designers can set the reference surface parameters and geometric parameters of the unit component according to project requirements. The geometric parameters include the parameters of geometric entities such as points, lines, surfaces, and bodies. Then, the system will use the determined reference surface and geometric parameters to construct a complete unit component.

[0154] S20, determining a target projection area of ​​the unit component on the pre-constructed initial three-dimensional entity.

[0155] Among them, the pre-built initial 3D entity is the basic 3D structure used to carry and combine various unit components in the automated 3D modeling process. It is the core framework of the entire modeling process and provides a reference for the projection and combination of unit components.

[0156] Specifically, before carrying out 3D solid modeling, the designer can create an initial 3D entity in the modeling software according to the project requirements, such as basic 3D geometric shapes, such as cubes, cuboids, cylinders and their combinations.

[0157] For example, in architectural design, the pre-constructed initial 3D entity can be the basic framework of the building, such as the basic wall, floor and roof structure.

[0158] It is worth noting that when constructing the initial 3D solid, a projection area needs to be reserved on the initial 3D solid to receive the unit components. These projection areas can be planes, curved surfaces or specific geometric shapes, depending on the design of the unit components.

[0159] Specifically, the target projection area of ​​the unit component on the initial three-dimensional entity is determined according to the shape of the initial three-dimensional entity and the position instructions input by the designer. After the target projection area is determined, the projection target area parameters corresponding to the unit component will be automatically recorded so that the unit component can be projected to the corresponding area in the projection step.

[0160] S30, projecting the unit component to a corresponding target projection area to generate a solid body of the unit component on the initial three-dimensional solid body.

[0161] Specifically, the corresponding projection method can be selected according to the modeling software currently used to project the unit components into the target projection area of ​​the initial three-dimensional entity.

[0162] For example, when using RhinoCommon software for modeling, the SpaceMorph.Morph method in RhinoCommon can be used to project the object into the target projection area to obtain the projection result.

[0163] Among them, Rhinocommon is a .NET plug-in for Rhino and Grasshopper, which provides a set of APIs (Application Programming Interface) for writing Rhino and Grasshopper plug-ins. The SpaceMorph.Morph method is used to perform space deformation operations on geometric entities.

[0164] More specifically, in this step, the system projects the unit component to the previously determined target projection area, and the specific process is as follows:

[0165] 1. Read unit component information: The system reads the two-dimensional list representing the unit components and obtains the reference surface RefSrf and ComponentObject.

[0166] 2. Determine the projection target surface: Select the surface ComponentTarget to be applied. If the ComponentTarget has a SecondaryTarget, set the RealTarget as the SecondaryTarget, otherwise set the RealTarget as the ComponentTarget.

[0167] 3. Perform projection operation: Use RefSrf as the projection reference surface, project ComponentObjects onto RealTarget, and generate ComponentResults. If an item of ComponentObjects contains SectionData, ignore LtsSolids, only project LtsCrv, and inherit SectionData into ComponentResults.

[0168] S40: Generate entities of corresponding unit components in each target projection area of ​​the initial three-dimensional entity to generate a target three-dimensional entity.

[0169] Among them, the unit component entity is a specific three-dimensional object generated by projecting and combining unit components in the three-dimensional modeling process.

[0170] Specifically, when performing the projection operation of step 30, each target projection area on the initial three-dimensional entity can be traversed according to the designer's instructions to ensure that each projection area generates a corresponding unit component entity. When each target projection area of ​​the initial three-dimensional entity generates a corresponding unit component entity, the generation of the target three-dimensional entity can be completed, that is, the desired three-dimensional entity is obtained.

[0171] Through the above modeling method, in the actual modeling process, the designer only needs to define the unit components and the target projection area of ​​the unit components on the initial three-dimensional entity, and then the projection algorithm of the modeling software can be used to automatically complete the projection of the unit components, thereby obtaining the required target three-dimensional entity and realizing automated three-dimensional entity modeling.

[0172] It is understandable that the automated three-dimensional solid modeling method using the technical solution of the present application has the following advantages over the traditional modeling method:

[0173] 1. Three-dimensional model management: By establishing a modeling system of unit components-three-dimensional solid models, models can be edited and managed in different dimensions. Specifically, designers can change the unit style at the unit component level, and can also change the matching relationship between the unit component and the target projection area of ​​the initial three-dimensional entity at the three-dimensional digital model level. This multi-dimensional management method provides great flexibility, making the design and modification process more convenient and efficient.

[0174] 2. Realize automated 3D solid modeling: When the unit components, 3D digital models and the relationships between them are defined, the system can automatically generate a detailed 3D digital model. This automated process greatly shortens the 3D modeling time, reduces the complexity and error rate of manual operations, and improves modeling efficiency and accuracy.

[0175] 3. Establish a large model library: Every defined unit component and even a 3D digital model can be used as part of the large model library. When defining new unit components and 3D digital models, designers can directly reference existing models in the large model library. This not only improves the reusability of the model, but also greatly reduces duplication of work and improves design efficiency and consistency.

[0176] It can be seen that compared with traditional modeling methods, the automated three-dimensional solid modeling method of the technical solution of the present application greatly improves the flexibility, efficiency and accuracy of modeling through modular, parametric and standardized design, reduces the possibility of human errors, and can build and manage larger-scale model libraries, supporting the rapid iteration and optimization of complex design projects.

[0177] In some embodiments, constructing a unit component according to pre-input reference surface parameters and geometric parameters includes:

[0178] S11. Create a reference surface according to the reference surface parameters.

[0179] Optionally, the reference surface parameters include but are not limited to the type, position, direction, size, etc. of the reference surface.

[0180] Specifically, when actually modeling, the designer can input the reference surface parameters through the user interface of the modeling software, and the modeling software will create a reference surface object based on the reference surface parameters. After creating the reference surface object, the modeling software will assign a globally unique identifier (Globally Unique Identifier, Guid, such as Guid0) to the reference surface to ensure its uniqueness throughout the modeling process. At the same time, the geometric type of the reference surface is defined as Surface, and its geometric information is stored.

[0181] S12. Create a geometric entity on the reference surface according to the geometric parameters.

[0182] Optionally, the geometric parameters include but are not limited to the type, shape, size, position, etc. of the geometric entity. The type of the geometric entity includes but is not limited to point, line, surface, body, etc.

[0183] Specifically, during actual modeling, designers can input geometric parameters through the user interface of the modeling software, and then the modeling software will create one or more geometric entities on the reference surface based on the input geometric parameters. Multiple geometric entities can be coordinated or combined according to design requirements.

[0184] After creating a geometric entity, the modeling software will assign a unique identifier to each geometric entity (such as Guid1, Guid2, Guid3...) to ensure its uniqueness throughout the modeling process. At the same time, the geometric type of the geometric entity is defined as Brep (polysurface), Surface (plane), LtsCrv (curve), etc., and its geometric information is stored.

[0185] S13. Associating the identification information of each geometric entity with the reference surface to establish an association relationship between the reference surface and the geometric entity.

[0186] Specifically, establishing the association relationship between the geometric entity and the reference surface can be based on the following steps:

[0187] 1. Get unique identifier: Get the unique identifier of the reference surface object (Guid0) and the unique identifier of the geometric entity (Guid1, Guid2, Guid3...).

[0188] 2. Store identification information: Store the unique identifier of each geometric entity in the user dictionary (UserDictionary) of the reference surface. Create a list in the user dictionary to record the unique identifiers of all associated geometric entities. UserDictionary refers to a data structure or file used to store user-defined vocabulary or terms.

[0189] 3. Update reference surface: Update the user dictionary of the reference surface object so that it contains the association relationship with the geometric entity.

[0190] 4. Save the updated reference surface object back to the system's memory or database.

[0191] Based on the above steps, it can be seen that this association relationship between geometric entities and reference surfaces actually refers to a data structure. Typically, this data structure can be a two-dimensional list. Among them, a two-dimensional list is a data structure in the form of a matrix, which is often used to represent the relationship between elements. In the association between reference surfaces and geometric entities, a two-dimensional list can be used to represent each reference surface and its associated geometric entity.

[0192] For example, assume that we have the following reference faces and geometric entities identifiers and associations:

[0193] Reference surface 1 (Guid0_1): associated geometric entities (Guid1_1, Guid1_2);

[0194] Reference surface 2 (Guid0_2): associated geometric entities (Guid2_1, Guid2_2, Guid2_3);

[0195] Reference surface 3 (Guid0_3): no associated geometric entity;

[0196] Through the two-dimensional list, the association relationship between the reference surface and the geometric entity is expressed as follows:

[0197] Reference surface GUID Geometric entity GUID1 Geometric entity GUID2 Geometric entity GUID3 Guid0_1 Guid1_1 Guid1_2 NULL Guid0_2 Guid2_1 Guid2_2 Guid2_3 Guid0_3 NULL NULL NULL

[0198] In this two-dimensional list:

[0199] The first line represents the reference surface Guid0_1, which is associated with two geometric entities Guid1_1 and Guid1_2.

[0200] The second line represents the reference surface Guid0_2, which is associated with three geometric entities Guid2_1, Guid2_2 and Guid2_3.

[0201] The third line represents the reference surface Guid0_3, which is not associated with any geometric entity.

[0202] It can be understood that the above two-dimensional list is a mapping of reference surfaces to unique identifiers of geometric entities: the first column of the two-dimensional list (reference surface ID column) contains the unique identifiers of all reference surfaces (Guid0). Other columns (geometric entity ID columns) contain the unique identifiers of geometric entities associated with the reference surfaces (Guid1, Guid2...).

[0203] In this way, each row of data represents a reference surface and all its associated geometric entities, which is convenient for quick search and modification (if a reference surface has no associated geometric entity, its geometric entity ID column is empty (or NULL)).

[0204] It can be understood that by using a data structure (such as a two-dimensional list) to represent the association relationship between a reference surface and a geometric entity on the reference surface, batch operations can be easily performed on the reference surface and the geometric entity, such as adding, deleting, and modifying the association relationship. It is also possible to quickly traverse all reference surfaces and their associated geometric entities to improve management efficiency.

[0205] S14. Construct a unit component based on the reference surface and the association relationship.

[0206] Among them, constructing a unit component based on a reference surface and an association relationship means extracting the created reference surface object from the system and the geometric entity association relationship stored in its user dictionary. Then, the unit component is constructed based on the reference surface and the list of geometric entities stored in its user dictionary. In other words, the unit component is actually composed of a reference surface and a list containing multiple unique identifiers of geometric entities, which are recorded in the user dictionary of the reference surface.

[0207] In combination with the embodiments of step S11 to step S14, specifically, the specific steps of establishing a unit component are: setting a reference surface (RefSrf) according to design requirements. Placing geometric entities based on RefSrf, wherein the geometric entities can be points, lines, surfaces, bodies, etc.

[0208] When defining this unit component in the user interface, the reference surface RefSrf and the geometric entities (also defined as unit component contents (ComponentObjects)) will form a two-dimensional list (List <List <objref>>{List <objref>{RefSrf},List <objref>{ComponentObject_1,ComponentObject_2,…,ComponentObject_n}) and recorded in the userdictionary of the reference surface RefSrf.

[0209] Among them, ObjRef is a class in RhinoCommon. It mainly contains the following information (used in our program):

[0210] 1. Geometric information of objects (geometric entities such as points, lines, surfaces, and bodies) and their spatial position information:

[0211] 2. The Guid (globally unique identifier) ​​of the geometric entity;

[0212] 3. UserDictionary of the geometric entity (a container for storing information).

[0213] That is to say, the unit component consists of two parts: Reference (reference surface) and Objects (geometric entities that make up the unit component). Reference contains an ObjRef whose Geometry (geometry type) is Surface. Objects stores the relevant information of each geometric entity. The relationship between Reference and Objects is established by storing the value of each ObjRef (ObjRef1, ObjRef2, ObjRef3...) in Objects into the UserDictionary of ObjRef in Reference.

[0214] Through the above steps S11 to S14, it is possible to construct a unit component according to the pre-input reference surface parameters and geometric parameters. It can be understood that the construction of such a unit component represents the association relationship between the reference surface and the geometric entities on the reference surface through a data structure (such as a two-dimensional list), so that batch operations can be easily performed on the reference surface and the geometric entities, such as adding, deleting, and modifying the association relationship. It is also possible to quickly traverse all reference surfaces and their associated geometric entities to improve management efficiency.

[0215] In some embodiments, the geometric parameters include curve parameters, cross-sectional position parameters, and cross-sectional curve parameters.

[0216] Specifically, the curve parameters include but are not limited to the starting point, end point, control point, curve type (such as Bezier curve, spline curve, etc.) and geometric information of the curve. It is worth noting that in 3D solid modeling, a straight line is also a type of curve.

[0217] Section position parameters refer to the specified positions placed along the curve. These section positions act as reference points, indicating the position and direction of the section curve (i.e., the section contour line), thereby guiding the lofting process to generate surfaces or solids.

[0218] The cross-sectional curve parameters refer to numerical values ​​or geometric information used to define the shape and size of the cross-sectional curve, including but not limited to the shape, size, and geometric type (such as circle, rectangle, etc.) of the cross-sectional curve.

[0219] It is worth noting that the specific type and number of section curve parameters depends on the type of section curve being used. For example, a circular section curve may only require a radius parameter, while an elliptical section curve may require radius, major axis, and minor axis parameters.

[0220] Based on the above embodiments, in some embodiments, constructing a geometric entity on the construction surface according to geometric parameters includes:

[0221] S121. Create a curve on the reference surface according to the curve parameters.

[0222] Specifically, during actual modeling, designers can use a graphical interface or command line interface to input curve parameters, and then the modeling software (such as Rhino) will generate matching curve objects on the reference surface based on these curve parameters.

[0223] S122. Create a section curve on the curve according to the section position parameters and the section curve parameters.

[0224] Specifically, after completing the construction of the curve, the user can continue to use the graphical interface or command line interface to input the section position parameters and section curve parameters. After receiving the section position parameters, the modeling software, taking Rhino as an example, will call the RhinoCommon API: Rhino.Geometry.CurvePointAtNormalizedLength method to specify the section position required by the designer on the curve. Among them, Rhino.Geometry.CurvePointAtNormalizedLengt is a method of the Curve class in RhinoCommon, which is used to obtain the point on the curve (i.e. the section position) according to the normalized length of the curve.

[0225] It is worth adding that the number of section positions is not limited. You can set only one section position on the curve, or you can set two or more section positions, depending on the actual situation of the curve and the desired three-dimensional entity.

[0226] After determining the section position on the curve, the modeling software (such as Rhino software) will create a corresponding section curve object at the corresponding section position according to the section curve parameters.

[0227] S123, performing lofting along the curve and using the cross-sectional curve to generate a three-dimensional entity.

[0228] Among them, in 3D modeling technology, lofting operation is a technology that creates a 3D entity by connecting a set of 2D contours along a guide path.

[0229] Specifically, after generating the corresponding section curve at the specified section position, the designer can input the lofting command, use the curve as the lofting path, and perform lofting processing on each section curve to generate a three-dimensional entity.

[0230] Among them, for the entities formed by lofting adjacent cross-section curves, the modeling software can automatically perform splicing and smoothing. For example, taking the Rhino software as an example, when generating a 3D model, the system will call the RhinoCommon API: Brep.CreateFromSweep Method, automatically input the 2D lines and cross-section curves as parameters, and generate the required 3D model.

[0231] Among them, Brep.CreateFromSweep Method is a method of the Brep class in RhinoCommon, which is used to create a Brep (boundary representation) object by performing a sweep operation along a given curve path.

[0232] It can be understood that through the embodiments of the above steps S121 to S123, the process of constructing a geometric entity on a reference surface according to geometric parameters can be realized. Using this method, the designer only needs to input curve parameters, section position parameters and section curve parameters in the reference surface to complete the modeling of the three-dimensional model. In this way, the corresponding three-dimensional model can be automatically generated based on the geometric information of the two-dimensional sketch. In this way, it is not only possible to accurately express the design intent of the designer in the two-dimensional sketch, minimize information loss, and ensure the complete presentation of the design concept, but also to achieve rapid conversion from two-dimensional sketches to three-dimensional models, improve the modeling efficiency of geometric entities, and shorten the design iteration cycle. Compared with traditional modeling methods, the above method has the advantages of realizing the automatic translation of two-dimensional sketches to three-dimensional models, accurately expressing design intent, improving modeling efficiency, and shortening the design iteration cycle.

[0233] Of course, the design of the present application is not limited thereto, and in other embodiments, traditional modeling methods may also be used to construct geometric entities on the reference surface.

[0234] In some embodiments, projecting the unit component to a corresponding target projection area to generate a solid body of the unit component on the initial three-dimensional solid body includes:

[0235] The reference plane is used as a projection reference plane, the target projection area is used as a projection target plane, and the geometric entity is projected to the corresponding target projection area.

[0236] Among them, the reference surface (RefSrf) is the surface where the initial geometric entity is located, which contains the geometric objects to be projected. This surface has a unique identifier (such as Guid0) to distinguish different reference surfaces.

[0237] The target projection area (Target Projection Area, RealTarget) is a specific area on the initial 3D entity, and the geometric entity will be projected onto this area.

[0238] Geometric entities (Geometric Objects, ComponentObjects) are geometric objects that need to be projected, usually composed of reference faces and geometric data. Each geometric entity has a unique identifier (such as Guid1, Guid2, Guid3, etc.) and a geometric type (such as Brep or Surface).

[0239] Specifically, in actual operation, we can use specific projection algorithms or tools (such as the SpaceMorph.Morph method in RhinoCommon) to project geometric entities from the reference surface to the target projection area.

[0240] Furthermore, in some embodiments, when projecting a unit component, it is necessary to check whether the geometric entity to be projected has a curve with section position parameters and section curve parameters. For example, if the projected geometric object is a curve (LtsCrv) and the curve carries section data (SectionData), the curve will generate a solid model (LtsSolids) on the reference surface (LtsRef). At this time, the curve is a curve containing specific section data.

[0241] In this case, special processing will be performed during projection. Specifically, projecting the geometric entity to the corresponding target projection area includes:

[0242] S110: Projecting the curve to the target projection area.

[0243] Specifically, the reference surface (RefSrf) is used as the projection reference surface, and the target projection area (RealTarget) is used as the projection target surface. Then, the SpaceMorph.Morph method is used to project the geometric entities (ComponentObjects) into the target projection area.

[0244] S210: Create a section curve on the curve according to the section position parameters and the section curve parameters.

[0245] Specifically, after completing the construction of the curve, the modeling software, taking Rhino as an example, will call the RhinoCommonAPI: Rhino.Geometry.CurvePointAtNormalizedLength method to specify the section position required by the designer on the curve, and create the corresponding section curve object at the corresponding section position according to the section curve parameters.

[0246] S230, performing lofting along the curve using the cross-section curve to generate a three-dimensional entity.

[0247] Specifically, after generating the corresponding section curve at the specified section position, the designer can input the lofting command, use the curve as the lofting path, and perform lofting processing on each section curve to generate a three-dimensional entity.

[0248] Take Rhino software as an example. When projecting a unit component, first check whether each item in the ComponentResults of the unit component carries specific information. If an item in the ComponentObjects of the unit component contains SectionData information, ignore its LtsSolids, only project the LtsCrv, and inherit the SectionData to the corresponding item (NewLtsCrv) of ComponentResults. At the same time, update the reference surface of NewLtsCrv to NewLtsRef, regenerate LtsSolids, and regenerate LtsSolids once with the curve, NewLtsRef and SectionData.

[0249] It can be understood that, through the above special operation, it is possible to avoid generating repeated geometric entities on the initial three-dimensional entity during projection, thereby ensuring the integrity and consistency of the projection result.

[0250] In some embodiments, creating a section curve on a curve according to the section position parameter and the section curve parameter includes:

[0251] S210, determining a cross-sectional position on the curve according to a cross-sectional position parameter;

[0252] Specifically, taking Rhino as an example, according to the section position parameters, the system can call the RhinoCommon API: Rhino.Geometry.CurvePointAtNormalizedLength method to specify the section position on the curve. Among them, Rhino.Geometry.CurvePointAtNormalizedLengt is a method of the Curve class in RhinoCommon, which is used to obtain a point on the curve according to the normalized length of the curve.

[0253] S220. Obtain a normal vector and a tangent vector of the curve at the cross-section position, wherein the normal vector is obtained based on a preset reference plane.

[0254] The preset reference plane is a predefined plane used to establish the direction of the section reference plane at each section position. The reference plane can be any plane in the 3D model or a plane specified by external constraints or parameters.

[0255] For example, when creating a pipeline model, the center line of the pipeline can be used as a preset reference plane to ensure that the cross-sectional curve is perpendicular to the center line and aligned with the cross-sectional shape of the pipeline.

[0256] When you create a building model, you can use the building's plan view as a preset reference plane to ensure that section curves are parallel to the building's walls and floors.

[0257] When creating a mechanical part model, you can use the part's reference planes as preset reference planes to ensure that section curves are aligned with the part's features.

[0258] Specifically, the designer can enter reference plane parameters to determine the reference plane that will be used to establish the section reference plane direction at the section location of the curve. The normal vector of the reference plane at the section location is then calculated as the tangent vector of the curve at the section location.

[0259] Furthermore, the tangent vector refers to the tangent direction vector of the curve at the current section position.

[0260] Specifically, generating the tangent vector of a curve includes the following steps:

[0261] 1. Get curve parameters: directly get the curve parameters, such as starting point, end point, vector direction and other parameters, through the input curve parameters.

[0262] 2. Calculate the curve derivative: Calculate its derivative at the cross-section position based on the obtained curve parameters. The derivative represents the local direction change rate of the curve at that point.

[0263] 3. Normalized derivative: Normalize the calculated derivative so that its length is 1. The normalized vector is the tangent vector of the curve at the section position.

[0264] In addition to the above methods, the tangent vector can also be obtained by differentiation or by using the geometric calculation function of the modeling software.

[0265] S230, rotating the normal vector around the tangent vector until the normal vectors before and after the rotation are perpendicular to each other, and using the normal vector before and after the rotation to create a section reference surface at the section position.

[0266] Specifically, the normal vector is rotated 90 degrees clockwise or counterclockwise with the tangent vector as the rotation axis, so that the normal vector after rotation is perpendicular to the normal vector before rotation.

[0267] Then, a section reference plane is created at the section position using the normal vector before rotation and the normal vector after rotation as the two coordinate axes of the reference plane. The section reference plane is a plane whose normal vector is the normal vector after rotation and the tangent vector is in the plane.

[0268] For example, taking Rhino software as an example, after rotating the normal vector, the RhinoCommon API: Rhino.Geometry.Plane method can be called to generate a cross-section reference plane at the cross-section position. Rhino.Geometry.Plane is a class in the RhinoCommon API, which is used to represent a plane in a three-dimensional space.

[0269] S240 , generating a corresponding section curve on the section reference plane according to the section position parameters and the section curve parameters.

[0270] Specifically, after determining the section reference surface, the corresponding section curve can be generated on the created section reference surface according to the section curve parameters. For example, if the section curve parameters are defined as a circle with a diameter of D, a circular section curve with a diameter of D is drawn on the section reference surface.

[0271] Through the above steps S210 to S240, a section curve can be created on the curve. This process includes determining the section position, obtaining the tangent and normal vectors of the curve at the position, creating a section reference surface, and generating a section curve on the reference surface. Each step ensures the accuracy and consistency of the geometric calculation, thereby providing a basis for the subsequent three-dimensional entity generation.

[0272] In some embodiments, the method further comprises:

[0273] S310, receiving a section type input by a user, and returning a corresponding parameter table according to the section type.

[0274] Specifically, users can select the section type of the current section position on the curve through the graphical interface, input commands or other methods. The section type can be a predefined standard type, such as circular, square, elliptical, rectangular, I-beam, H-beam, etc., or a user-defined non-standard type.

[0275] After the user selects the section type, the system will query and return the corresponding parameter table from the predefined parameter table database according to the section type selected by the user. The parameter table usually contains all the parameters required for this type of section and their value ranges, such as the radius of a circle, the side length of a square, the major and minor axes of an ellipse, the length, width and height of a rectangle, the web thickness of an I-beam, the width and thickness of the flange, etc.

[0276] Then, the system presents the queried parameter table to the user in a specific data format, such as through a table, graph or other visual interface. It is worth noting that when the parameter table is returned, the user can view information such as the parameter name, definition, value range and default value.

[0277] In some embodiments, for commonly used section types, the system can automatically pre-fill some parameter values ​​based on model context or history to reduce user input workload and improve operational efficiency.

[0278] S320, receiving the section data input by the user based on the parameter table, and storing the data together with the section type as section parameters corresponding to the current section position.

[0279] Specifically, users can enter or select specific section parameter values ​​according to the prompts and default values ​​in the parameter table. The parameter values ​​can be numerical values, proportions, expressions, or other valid data formats. Then, the system will integrate these parameters with the section type and store the integrated section parameters as the section parameters corresponding to the current section position.

[0280] In some embodiments, the system will perform type checking, consistency checking, preprocessing and other operations on the parameters input by the user as required. Type checking refers to the system performing type checking on the parameter values ​​input by the user to ensure that they conform to the data type and value range defined by the parameter. If there is an error or out of range, the system will prompt the user to make corrections. Consistency checking refers to the system performing consistency checks on all input parameters to ensure that they are compatible with each other and meet geometric constraints. If there are contradictions or conflicts, the system will prompt the user to make adjustments. Parameter preprocessing refers to the system performing preprocessing on the input parameters, such as unit conversion, data formatting, etc., to make them meet the requirements of the subsequent section generation process.

[0281] It can be understood that the above embodiment divides the definition of section parameters into two intuitive and easy-to-understand steps. The user only needs to select the section type first and then input specific data, which greatly reduces the operation difficulty and learning cost and improves the modeling efficiency.

[0282] Furthermore, based on the steps of the above embodiment, the system can support a variety of predefined standard section types and allow users to customize non-standard section types, providing users with greater modeling freedom and flexibility. At the same time, the system can easily expand new section types and parameters to meet evolving modeling needs.

[0283] In addition, the parameter table uniformly manages the parameters required for different section types, avoiding duplication and redundancy of parameter definitions and ensuring data consistency and integrity. At the same time, the maintenance of the parameter table is also more convenient, and only the corresponding parameters need to be modified or added.

[0284] It is worth adding that, through functions such as pre-defined parameter tables, parameter pre-filling, parameter checking and pre-processing, this method can improve modeling efficiency, reduce user input workload, and reduce modeling error rate.

[0285] In some embodiments, receiving a section type input by a user and returning a corresponding parameter table according to the section type includes:

[0286] S311. When the user selects a standard section type, a predefined list of standard section types is provided to the user.

[0287] Specifically, when the user selects a section type, the system obtains all available standard section types from the predefined standard section type database. These types can include common types such as round, square, elliptical, rectangular, I-beam, H-beam, etc., and can also include professional types in other specific fields.

[0288] The obtained standard section types are then organized into a list that is easy to browse and select. The list can be classified by different dimensions such as type name, geometric shape, application field, etc., so that users can quickly find the required type.

[0289] Finally, the organized list of standard section types is presented to the user through a graphical interface, text list or other means. The list contains the name, brief description and representative graphical representation of each type, which makes it easy for users to intuitively understand the characteristics of different types.

[0290] S312: receiving index information input by the user based on the standard section type list to determine the section type, and returning a parameter table associated with the index information.

[0291] The index information may be a digital serial number, a type name, a graphic identifier, or other valid information that can uniquely identify the section type.

[0292] Specifically, after receiving the index information entered by the user, the system retrieves and determines the corresponding section type from the predefined standard section type database. The type contains all the parameter definitions and default values ​​required for the section. The parameter table of the determined section type is returned to the user. The parameter table usually contains information such as parameter name, definition, value range, default value and unit, so as to prepare for the user to enter the section parameters later.

[0293] It is worth noting that after receiving the index information input by the user, the system can verify the index information input by the user according to the needs to ensure its validity and accuracy. When the index information is incorrect or invalid, the system will prompt the user to re-enter.

[0294] It can be understood that based on the technical solutions provided by the above steps S311 to S312, a list of predefined standard section types can be provided to the user, avoiding the tedious operation of the user entering the type name or parameters one by one, greatly improving the selection efficiency and user experience. In addition, the unified specification of the parameter definition of the standard section type can ensure that the meaning, unit and value range of parameters of different types are consistent, which is convenient for users to understand and use, and avoids confusion and ambiguity in parameter definition.

[0295] In some embodiments, standard section types can be returned through graphical representation, classification organization, and clear prompts, making the list of standard section types more intuitive and easy to understand, allowing users to quickly find the required type and reducing selection difficulty and error rate.

[0296] In some embodiments, the cross-sectional parameters include shape parameters and position parameters, and the position parameters include an offset distance and a rotation angle.

[0297] Among them, shape parameters are used to define the basic shape characteristics of the cross section. Specifically, shape parameters include but are not limited to the following:

[0298] Size parameters: used to define the basic dimensions of the cross-section, such as the radius of a circle, the side length of a square, the length, width and height of a rectangle, the web thickness, flange width and thickness of an I-beam, etc.

[0299] Proportional parameter: used to define the proportional relationship between the various parts of the cross section, such as the ratio of the major and minor axes of an ellipse, the ratio of the width to height of a rectangle, etc.

[0300] Shape profile parameters: used to define the specific shape profile of the cross section, such as the number of sides of the polygon, corner point coordinates, etc.

[0301] Specifically, the position parameters are used to define the position and direction of the cross section in three-dimensional space. Specifically, the position parameters include but are not limited to the following:

[0302] Offset distance: used to define the offset of a section relative to a reference position, such as the offset distance along a certain direction or the offset vector relative to a certain plane. The offset distance controls the position of the section in space.

[0303] Rotation angle: used to define the rotation angle of the section relative to the reference direction. The rotation angle can be positive or negative. A positive value means that the section curve rotates clockwise, and a negative value means that it rotates counterclockwise. The rotation angle is used to control the direction and posture of the section curve.

[0304] For illustration, here are some examples of shape parameters and position parameters:

[0305] Circular cross section: shape parameters include radius, position parameters include offset distance and rotation angle.

[0306] Rectangular section: Shape parameters include length, width, and height; position parameters include offset distance and rotation angle.

[0307] I-beam section: shape parameters include web thickness, flange width and thickness, and position parameters include offset distance and rotation angle.

[0308] Polygonal section: Shape parameters include the number of sides, side length and corner point coordinates; position parameters include offset distance and rotation angle.

[0309] Further, creating a section curve on the curve according to the section position parameter and the section curve parameter comprises the following steps:

[0310] S241. Calculate the center point coordinates of the cross-section curve according to the offset distance and the cross-section position parameters.

[0311] The offset distance represents the offset of the section curve relative to the reference position. Usually, the section position is used as the reference position. The center point coordinates of the section curve represent the actual position of the section curve on the section reference plane.

[0312] Specifically, the offset vector can be calculated based on the offset distance and the coordinate value of the section position. The offset vector refers to the direction vector pointing from the reference position to the center point of the section curve. Then, the offset vector is added to the section position coordinates to obtain the center point coordinates of the section curve.

[0313] S242: Determine the deflection state of the cross-sectional curve according to the rotation angle and the normal vector before rotation.

[0314] Among them, the deflection state refers to the rotation angle and direction of the cross-section curve relative to the reference direction. Specifically, the deflection state is used to determine the specific direction of the cross-section curve. For example, in pipeline modeling, the deflection state can be used to control the bending angle and direction of the pipeline; in building modeling, the deflection state can be used to control the inclination angle and direction of beams and columns; in mechanical part modeling, the deflection state can be used to control the inclination angle and direction of the parts.

[0315] Specifically, the system can directly obtain the value of the rotation angle from the section parameters, and obtain the normal vector before rotation from the section reference surface data (the normal vector before rotation is usually the first coordinate axis of the section reference surface). Then, based on the rotation angle and the reference coordinate axis (i.e., the normal vector before rotation), the rotation matrix is ​​calculated. The rotation matrix is ​​used to rotate the section curve around the reference coordinate axis by a specified angle. Finally, the rotation matrix is ​​applied to the first coordinate axis of the section reference surface to obtain the rotated coordinate axis. The rotated coordinate axis represents the deflection state of the section curve.

[0316] S243. Based on the determined center point coordinates and deflection state of the cross-sectional curve, generate the cross-sectional curve according to the shape parameters.

[0317] Specifically, the system can determine the type of cross-sectional curve and the parameters corresponding to the cross-sectional type based on the shape parameters. Then, based on the determined curve type, shape parameters and center point coordinates, the cross-sectional curve data is generated using mathematical formulas or other algorithms. Finally, the generated curve data is passed to the modeling software to create the corresponding curve object.

[0318] It can be understood that by generating a cross-sectional curve using the method provided in steps S241 to S243, the position and deflection angle of the cross-sectional curve compared to the curve (lofting path) can be customized according to needs, thereby enabling more flexible and free creation of geometric entities.

[0319] In some embodiments, generating the cross-sectional curve according to the shape parameter includes:

[0320] S2431. Select a matching section curve generation algorithm from a preset algorithm library according to the section type of the section parameters.

[0321] Among them, the preset algorithm library refers to a collection of various types of cross-section curve generation algorithms. The preset algorithm library usually contains the following types of algorithms:

[0322] Standard section curve generation algorithm: Algorithm used to generate standard section curves such as circle, square, rectangle, ellipse, I-beam, etc.

[0323] Non-standard cross-section curve generation algorithm: Algorithms used to generate cross-section curves of non-standard shapes. These algorithms can be based on parameterized curves or on sample curve fitting.

[0324] Special section curve generation algorithm: an algorithm used to generate section curves with special shapes or features. For example, an algorithm used to generate section curves with chamfers or rounded edges.

[0325] Specifically, the section type corresponding to each section position can be determined according to the data input by the user, and then a preset algorithm library is accessed to retrieve and select a matching section curve generation algorithm from the algorithm library.

[0326] S2432. Input the curve parameters and the shape parameters into the selected cross-sectional curve generation algorithm to generate the cross-sectional curve.

[0327] Specifically, the obtained shape parameters are passed as input parameters to the selected cross-sectional curve generation algorithm. Then, the selected cross-sectional curve generation algorithm is executed, and the calculation results are organized into complete curve data and passed to the modeling software, so that the corresponding cross-sectional curve object can be created at the corresponding cross-sectional position.

[0328] It can be understood that using the preset algorithms in the preset algorithm library to generate cross-sectional curves can efficiently and accurately generate corresponding types of curves, thereby avoiding possible deficiencies in efficiency and accuracy of general algorithms.

[0329] In some embodiments, determining a target projection area of ​​a unit component on a pre-constructed initial three-dimensional solid includes:

[0330] S410, drawing a subdivision surface on a specified surface of a pre-constructed initial three-dimensional solid according to user-defined parameters.

[0331] Among these, the parameters input by the user include but are not limited to the type, size, resolution, segmentation method, etc. of the subdivision surface, for example, the number of rows and columns of the subdivision surface, the shape of the subdivision surface (such as square, rectangle, triangle, etc.), the size of the subdivision surface, the distribution density, etc.

[0332] The specified surface is the target area for subdivision surface drawing, which can be any one or more surfaces of the original 3D solid, depending on the designer's design requirements.

[0333] Specifically, when drawing a subdivision surface, the position of the segmentation points of the subdivision surface is first calculated according to the user-defined parameters. For example, if the user defines the subdivision surface as a 10x10 grid, 11 longitudinal and lateral segmentation points need to be evenly calculated on the specified surface.

[0334] Then, using the calculated segmentation points, subdivision surfaces are drawn on the specified surface. Each subdivision surface consists of multiple small patches, and the shape and size of these patches are determined according to the parameters defined by the user. For example, for a rectangular surface, if the user selects a 10x10 subdivision grid, the subdivision surface drawn will contain 100 small rectangular patches.

[0335] Finally, the generated subdivision surface and its parameter information are saved in the system for use in subsequent steps. The subdivision surface information usually includes the vertex coordinates, center point coordinates, boundary information, etc. of each small face.

[0336] For example, it is assumed that the user inputs the subdivision surface parameters as follows: number of rows = 10, number of columns = 10, subdivision surface shape = rectangle; and specifies a plane surface of the initial three-dimensional solid as the subdivision surface drawing area.

[0337] At this time, when drawing the subdivision surface, the system calculates the vertical and horizontal split point positions based on the following method: evenly distributed from the starting point to the end point, the distance between each split point is the total length divided by the number of subdivision surfaces. For example, if the surface is specified as a rectangle with a width of W and a height of H, then the width of each subdivision surface is W / 10 and the height is H / 10.

[0338] Finally, use the segmentation points to draw small rectangular patches one by one to form a 10x10 subdivision grid. Each small rectangular patch consists of four vertices and four boundary lines. In addition, the drawn subdivision surface information is saved in the system. The subdivision surface information includes the vertex coordinates, center point coordinates, boundary line information, etc. of each small rectangle.

[0339] S420, applying the unit component on the subdivision surface to determine a target projection area of ​​the unit component on a designated surface of a pre-constructed initial three-dimensional solid;

[0340] Specifically, in step S420, the user can directly apply the unit component on the subdivision surface, that is, the unit component can be directly placed on the small face of the specified subdivision surface, and the specific position can be the center point of the small face or other specified position. In this way, the target projection area to which the unit component is to be applied can be determined by directly specifying it.

[0341] Through the technical solutions of step S410 to step S420, by drawing subdivision surfaces on the specified surface, the application position of the unit components can be finely controlled. The user can adjust the parameters of the subdivision surface according to specific needs and flexibly define the arrangement and distribution of the unit components. At the same time, this method is suitable for situations where the unit components need to be evenly distributed on the specified surface. The subdivision surface ensures that the unit components are arranged neatly and orderly.

[0342] In some embodiments, determining a target projection area of ​​a unit component on a pre-constructed initial three-dimensional solid includes:

[0343] S430, unfolding the designated surface of the pre-constructed initial three-dimensional solid into a target plane.

[0344] The specified surface is the target area for subdivision surface drawing, which can be any one or more surfaces of the initial three-dimensional solid, depending on the designer's design requirements.

[0345] Specifically, the geometric unfolding technique can be used to unfold a specified three-dimensional surface into a two-dimensional plane. This can be achieved through different algorithms, such as plane unfolding method, unfolding mesh method, etc. When unfolding, it is necessary to ensure that each point on the surface has a unique corresponding position on the unfolding plane to maintain the continuity and accuracy of the surface geometry. Then, the unfolded surface is saved as the target plane to ensure that all geometric information (such as vertices, edges, and faces) remain consistent during the unfolding process.

[0346] For example, you can select a surface on the original 3D solid and then use the Unroller.PerformUnroll method in Rhinocommon to unroll the 3D surface to get the desired target plane. Unroller.PerformUnroll is a method used to flatten a 3D surface or polygonal mesh (such as polygon face, polygon mesh, etc.) into 2D.

[0347] S440, drawing subdivision surfaces on the target plane according to user-defined parameters, and projecting the subdivision surfaces onto the designated surface, establishing a one-to-one correspondence between each subdivision surface and each projection area on the designated surface.

[0348] Among these, the parameters input by the user include but are not limited to the type, size, resolution, segmentation method, etc. of the subdivision surface, for example, the number of rows and columns of the subdivision surface, the shape of the subdivision surface (such as square, rectangle, triangle, etc.), the size of the subdivision surface, the distribution density, etc.

[0349] Specifically, when drawing a subdivision surface, the position of the segmentation points of the subdivision surface can be calculated according to the user-defined parameters. For example, if the user defines the subdivision surface as a 10x10 grid, 11 longitudinal and lateral segmentation points need to be evenly calculated on the specified surface.

[0350] Then, using the calculated segmentation points, subdivision surfaces are drawn on the specified surface. Each subdivision surface is composed of multiple small patches, and the shape and size of these patches are determined according to the parameters defined by the user. At the same time, the correspondence between each subdivision surface and each projection area on the specified surface is recorded. Make sure that the information of the subdivision surface and the projection area is consistent for use in subsequent steps. For example, for a rectangular surface, if the user selects a 10x10 subdivision grid, the drawn subdivision surface will contain 100 small rectangular patches.

[0351] Next, the drawn subdivision surface is projected from the target plane back to the specified surface. This projection process needs to maintain geometric consistency to ensure that the shape and position of the subdivision surface are correctly reflected on the three-dimensional surface. This can be done by using a geometric mapping algorithm to project each subdivision surface of the target plane onto the three-dimensional surface to establish a one-to-one correspondence.

[0352] Finally, record the correspondence between each subdivision surface and each projection area on the specified surface. Ensure that the information of the subdivision surface and the projection area is consistent for use in subsequent steps.

[0353] S450: Apply the unit component on the subdivision surface to determine a target projection area of ​​the unit component on a designated surface of a pre-constructed initial three-dimensional solid.

[0354] Specifically, the user obtains the subdivision surface information that has been drawn and projected onto the specified surface from the previous step, and then projects the geometric entities of the unit component onto the subdivision surface of the target plane. Since each subdivision surface of the target surface establishes a one-to-one correspondence with each projection area on the specified surface, when the unit component is applied to the subdivision surface, the target projection area to be projected can be determined through this correspondence.

[0355] By using the technical solution of steps S430 to S450, the three-dimensional surface is unfolded into a two-dimensional plane, and unit components can be applied more easily on the complex surface. The unfolding surface method is suitable for processing complex surface geometry to ensure the accurate projection and arrangement of unit components on the surface. In addition, drawing subdivision surfaces and applying unit components on a two-dimensional plane is more intuitive and simpler than operating directly on a three-dimensional surface. The subdivision surface is then projected back to the three-dimensional surface, simplifying the calculation process.

[0356] It is worth adding that, based on the two embodiments of determining the target projection area provided in steps 410 to S420 and steps S430 to S443, taking the rhino software as an example, when applying a unit component, the system will first read the two-dimensional list representing the unit component to obtain its reference surface RefSrf and ComponentObject. Then, select the target projection area (referred to as ComponentTarget) to which the unit component is to be applied. After the user selects ComponentTarget, the program will identify whether the surface has a secondary target surface SecondaryTarget (i.e., target plane).

[0357] If there is no SecondaryTarget, the target projection area (referred to as RealTarget) of the final application unit component is ComponentTarget.

[0358] If there is a SecondaryTarget, then RealTarget is the SecondaryTarget.

[0359] It can be understood that the above two embodiments are respectively applicable to different scenarios and requirements. In the 3D modeling software, the combination of these two methods can flexibly and efficiently apply unit components to the specified surface of the initial 3D entity to ensure the accuracy and consistency of the model. By reading the unit component information and detecting the secondary target surface, the system can further improve the automation and intelligence level of the modeling process.

[0360] In some embodiments, unfolding a specified surface of a pre-constructed initial three-dimensional solid into a target plane includes:

[0361] S510: Set a reference point on the designated surface.

[0362] Specifically, a reference point is selected on the specified surface of the pre-built initial 3D solid. The position of the reference point can be selected according to the user's needs or automatically, and usually a feature point on the surface (such as the center or edge point of the surface) is selected. Of course, any point on the 3D surface can also be specified as the required reference point.

[0363] S520: construct a reference line based on the reference point and a preset reference axis, and generate a projection of the reference line on the designated surface.

[0364] Specifically, a preset reference axis can be selected according to the needs, which is usually a certain direction in the global coordinate system (such as the X axis, Y axis or Z axis). For example, the z axis of the world coordinate system can be selected as the preset reference axis, and then a reference line is constructed based on the z axis of the world coordinate system and the reference point. Specifically, a line passing through the reference point and parallel to the z axis of the world coordinate system is made as the reference line.

[0365] The constructed reference line is then projected onto the specified surface. The projection method can be orthographic or perspective, ensuring that the projection of the projection line onto the surface is accurate.

[0366] Among them, the World Coordinate System (WCS) is a three-dimensional coordinate system that is used to describe the position and orientation of objects in three-dimensional space. The world coordinate system is usually expressed in the form of a Cartesian coordinate system, which consists of three orthogonal axes (X, Y, Z) and an origin.

[0367] S530: Construct a first reference axis according to a tangent line of a projection of the reference line at the reference point.

[0368] Specifically, the reference line can be projected along the z-axis of the world coordinate axis to obtain the projection of the reference line on the three-dimensional surface. Alternatively, the tangent of the reference line projection is calculated at the reference point. The tangent is the direction vector of the projection line at the point. Then, the tangent of the reference line projection is used as the first reference axis. The tangent direction vector is recorded as the reference axis for subsequent steps.

[0369] S540: Rotate the first reference axis by a preset angle around the normal of the tangent plane of the designated surface at the reference point to construct a second reference axis.

[0370] Specifically, at the reference point, the normal vector of the specified surface is calculated. The normal vector is the perpendicular direction vector of the surface at the point. Then, the first reference axis is rotated by a preset angle (e.g., 90 degrees, 180 degrees, or any angle between 90 and 180 degrees) with the normal vector as the rotation axis. The rotated vector is calculated as the second reference axis.

[0371] S550: Construct a local reference system according to the first reference axis and the second reference axis.

[0372] Specifically, a new local reference system is constructed using the first reference axis and the second reference axis. The reference system takes the reference point as the origin, and the first reference axis and the second reference axis as two coordinate axes.

[0373] S560: Correct the directions of the coordinate axes of the coordinate system of the designated surface according to the local reference system, and unfold the designated surface after the direction correction of the coordinate system to obtain the target plane.

[0374] Correcting the direction of the coordinate axis means adjusting the direction of each axis in the coordinate system to make it consistent with a specific reference system or standard direction. The purpose of this is to unify the coordinate system of the three-dimensional surface.

[0375] Specifically, the constructed local reference system is used to correct the direction of the coordinate system of the specified surface, and the coordinate axis direction on the surface is adjusted to align it with the local reference system. Then, according to the coordinate axis direction of the corrected coordinate system of the specified plane, the specified surface is unfolded into a target plane. The unfolding method maintains the geometric continuity on the surface and ensures the accuracy of the unfolded plane. Finally, a plane is generated to unfold the three-dimensional surface into a two-dimensional plane.

[0376] Through the embodiments of the above steps S510 to S560, the specified surface of the pre-constructed initial three-dimensional solid can be accurately unfolded into a target plane, and the coordinates of the specified plane and the target plane can be guaranteed to correspond, so as to facilitate the accurate projection of the unit component to the target projection area.

[0377] In some embodiments, correcting the directions of coordinate axes of the specified surface coordinate system according to the local reference system includes:

[0378] S561. Generate a coordinate system of a specified surface with the reference point as the origin, wherein the coordinate system of the specified surface includes a first coordinate axis and a second coordinate axis.

[0379] Specifically, step S561 aims to establish a coordinate system of the specified surface itself and use the reference point as the origin of the coordinate system. The specific steps are as follows:

[0380] 1. Define the coordinate axes: First, you need to define the two coordinate axes of the specified surface coordinate system, namely the first coordinate axis and the second coordinate axis. Usually, the first coordinate axis and the second coordinate axis are named u-axis and v-axis respectively. These two axes can be determined according to the shape and characteristics of the three-dimensional surface. For example, for a plane, the u-axis and the v-axis can be defined as the two perpendicular directions of the plane respectively; for a curved surface, the u-axis and the v-axis can be defined as two parametric curves on the curved surface.

[0381] 2. Determine the direction of the coordinate axis: Next, you need to determine the direction of the u-axis and the v-axis. This can be done by analyzing the shape and characteristics of the three-dimensional surface. For example, for a plane, the directions of the u-axis and the v-axis can be defined as the two perpendicular directions of the plane; for a curved surface, the directions of the u-axis and the v-axis can be defined as the tangent directions of the two parametric curves on the curved surface.

[0382] 3. Establish the coordinate system: Finally, establish the specified plane coordinate system with the reference point as the origin and the u-axis and v-axis as the coordinate axes. The coordinate system can be expressed as:

[0383] M=[u1,u2,u3]

[0384] [v1,v2,v3];

[0385] Among them, u1, u2, u3 are the direction vectors of the u-axis, and v1, v2, v3 are the direction vectors of the v-axis.

[0386] Furthermore, the coordinate system of the three-dimensional surface also includes a w-axis, which is parallel to and in the same direction as the third reference axis of the local reference system (i.e., the z-axis of the local reference system). The w-axis is used to express the coordinates in the height direction of the three-dimensional surface.

[0387] S562. Adjust the directions of the coordinate axes of the specified surface coordinate system according to the angles between the first coordinate axis and the second coordinate axis of the specified surface coordinate system and the first reference axis, so that the positive direction of the first coordinate axis faces a preset first direction, and the positive direction of the second coordinate axis faces a preset second direction.

[0388] Specifically, step S562 is intended to adjust the coordinate axis direction of the specified plane coordinate system to make it consistent with the local reference system. In some embodiments, the specific steps of step S562 are as follows:

[0389] S5621. Set the preset first direction as the positive direction of the first reference axis.

[0390] Specifically, the preset first direction is set as the positive direction of the first reference axis of the local reference system. In this embodiment, the preset first direction is the positive direction of the y-axis of the world coordinate system, that is, the side of the first reference axis from the reference point toward the positive direction of the y-axis of the world coordinate system is the positive direction of the first reference axis.

[0391] S5622. Select a smaller one from the angle between the first coordinate axis and the first reference axis in the positive direction and the angle between the first coordinate axis and the first reference axis in the negative direction as the first angle.

[0392] Specifically, the angle between the first coordinate axis and the first reference axis in the positive direction and the angle between the first coordinate axis and the first reference axis in the negative direction are calculated respectively, and then the two angles are compared to obtain a relatively small angle as the required first angle. The angle reflects the deviation angle between the two directions, and the smaller the angle, the smaller the deviation between the two directions.

[0393] Specifically, the first angle can be calculated based on the following steps:

[0394] 1. Get relevant vectors: First, you need to get the following vectors:

[0395] The direction vector of the first coordinate axis: denoted as u, indicating the direction of the first coordinate axis;

[0396] The direction vector of the first reference axis of the local reference system: denoted by r.

[0397] 2. Calculate the angle: Use the vector dot product and the arc cosine function to calculate the angle between the u-axis and the first reference axis of the local reference system. The calculation formula is as follows:

[0398] cosθ=u·r / ||u|‖||r||;

[0399] Among them, θ represents the angle, · represents the vector dot product operation, ||u|| and ||r|| represent the length of the first coordinate axis and the first reference axis of the local reference system respectively (usually the standard length).

[0400] 3. Distinguish positive and negative angles: Since the vector dot product can return positive and negative values, it is necessary to distinguish the positive and negative angles according to the actual situation. In general, the angle between the first coordinate axis and the first reference axis of the local reference system should be non-negative. If the calculated result is a negative value, it needs to be converted to a positive value.

[0401] 4. Calculate the first angle: Calculate the positive and negative angles between the first coordinate axis and the first reference axis of the local reference system, respectively, and record them as θ_u_pos and θ_u_neg; where θ_u_pos represents the angle between the first coordinate axis and the positive direction of the first reference axis of the local reference system; θ_u_neg represents the angle between the u axis and the negative direction of the first reference axis of the local reference system. Then, select the smaller one from the angles between the first coordinate axis and its positive and negative directions as the angle between the axis and the first reference axis of the local reference system, and record it as the first angle θ_1, where θ_1=min(θ_u_pos,θ_u_neg).

[0402] S5623. Select a smaller one from the angle between the second coordinate axis and the positive direction of the first reference axis and the angle between the second coordinate axis and the negative direction of the first reference axis as the second angle.

[0403] Specifically, the angle between the second coordinate axis and the positive direction of the first reference axis and the angle between the second coordinate axis and the negative direction of the first reference axis are calculated respectively, and then the two angles are compared to obtain a relatively small angle as the required second angle. The size of the angle reflects the deviation angle between the two directions, and the smaller the angle, the smaller the deviation between the two directions.

[0404] Specifically, the second angle can be calculated based on the following steps:

[0405] 1. Get relevant vectors: First, you need to get the following vectors:

[0406] The second coordinate axis direction vector: denoted as v, indicating the direction of the second coordinate axis;

[0407] The direction vector of the first reference axis of the local reference system: denoted by r.

[0408] 2. Calculate the angle: Use the vector dot product and the arc cosine function to calculate the angle between the u-axis and the first reference axis of the local reference system. The calculation formula is as follows:

[0409] cosθ=v·r / ||v|‖||r||;

[0410] Among them, θ represents the angle, · represents the vector dot product operation, ||v|| and ||r|| represent the length of the second coordinate axis and the first reference axis of the local reference system respectively (usually the standard length).

[0411] 3. Distinguish positive and negative angles: Since the vector dot product can return positive and negative values, it is necessary to distinguish the positive and negative angles according to the actual situation. In general, the angle between the second coordinate axis and the first reference axis of the local reference system should be non-negative. If the calculated result is a negative value, it needs to be converted to a positive value.

[0412] 4. Calculate the first angle: Calculate the positive and negative angles between the second coordinate axis and the first reference axis of the local reference system, respectively, and record them as θ_v_pos and θ_v_neg; where θ_v_pos represents the angle between the v axis and the positive direction of the first reference axis of the local reference system; θ_v_neg represents the angle between the second coordinate axis and the negative direction of the first reference axis of the local reference system. Then, select the smaller one from the angles between the second coordinate axis and its positive and negative directions as the angle between the axis and the first reference axis of the local reference system, and record it as the second angle θ_2, where θ_2 = min(θ_v_pos,θ_v_neg).

[0413] S5624: If the first angle is greater than the second angle, swap the first coordinate axis and the second coordinate axis.

[0414] Specifically, the sizes of the first angle and the second angle are compared. If the first angle is greater than the second angle, the first coordinate axis and the second coordinate axis are swapped. This operation ensures that the degree of deviation of the first coordinate axis and the second coordinate axis from the first reference axis is as small as possible, and the directional relationship between the two is maintained. In three-dimensional space, the degree of deviation between two directions depends not only on the size of the angle, but also on the positive and negative nature of the angle. By comparing the sizes of the first angle and the second angle, it can be ensured that the deviation directions between the first coordinate axis and the second coordinate axis and the first reference axis are consistent, so that the orientation of the specified plane coordinate system is more in line with the preset requirements.

[0415] S5625: If the angle between the first coordinate axis and the positive direction of the first reference axis is greater than a first preset value, reverse the direction of the first coordinate axis.

[0416] Specifically, it is determined whether the angle between the first coordinate axis and the positive direction of the first reference axis is greater than a first preset value. The angle can be calculated by vector dot product and inverse cosine function. If it is greater than the first preset value, the direction of the first coordinate axis is reversed. Otherwise, the current direction of the first coordinate axis is maintained. Reversing the direction of the first coordinate axis means changing the direction of the first coordinate axis to the opposite direction. This operation makes the direction of the first coordinate axis more in line with the preset requirements and avoids a large deviation between the first coordinate axis and the first reference axis.

[0417] The first preset value is a threshold value, which is used to limit the maximum deviation between the first coordinate axis and the positive direction of the first reference axis.

[0418] Optionally, the first preset value is set to π / 2 (i.e., 90 degrees). π / 2 represents a right angle, and setting the first preset value to π / 2 means that the maximum deviation angle between the first coordinate axis and the first reference axis of the local reference system is 90 degrees. In other words, the angle between the first coordinate axis and the first reference axis of the local reference system must be less than or equal to 90 degrees. This setting means that the direction difference between the first coordinate axis and the first reference axis of the local reference system will not be too large. This is conducive to maintaining the consistency of direction between the specified plane coordinate system and the local reference system, and avoiding the situation where the first coordinate axis and the first reference axis of the local reference system are completely opposite in direction.

[0419] S5626: If the angle between the second coordinate axis and the positive direction of the first reference axis is greater than a second preset value, reverse the direction of the second coordinate axis.

[0420] Specifically, it is determined whether the angle between the second coordinate axis and the positive direction of the first reference axis is greater than a second preset value. The angle can be calculated by vector dot product and inverse cosine function. If it is greater than the second preset value, the direction of the second coordinate axis is reversed. Otherwise, the current direction of the second coordinate axis is maintained. Reversing the direction of the second coordinate axis means changing the direction of the second coordinate axis to the opposite direction. This operation makes the direction of the second coordinate axis more in line with the preset requirements and avoids a large deviation between the second coordinate axis and the first reference axis.

[0421] The second preset value is a threshold value, which is used to limit the maximum deviation between the first coordinate axis and the positive direction of the first reference axis.

[0422] Optionally, the first preset value is set to π / 2 (i.e., 90 degrees). π / 2 represents a right angle, and setting the second preset value to π / 2 means that the maximum deviation angle between the second coordinate axis and the first reference axis of the local reference system is 90 degrees. In other words, the angle between the second coordinate axis and the first reference axis of the local reference system must be less than or equal to 90 degrees. This setting means that the direction difference between the second coordinate axis and the first reference axis of the local reference system will not be too large. This is conducive to maintaining the consistency of direction between the specified plane coordinate system and the local reference system, and avoiding the situation where the second coordinate axis is in completely opposite directions to the first reference axis of the local reference system.

[0423] In some embodiments, correcting the directions of coordinate axes of the specified surface coordinate system according to the local reference system includes:

[0424] S563: Generate a coordinate system of the specified surface with the reference point as the origin, wherein the coordinate system of the specified surface includes a first coordinate axis and a second coordinate axis.

[0425] Among them, the implementation of step S563 can refer to step S561, which will not be repeated here.

[0426] S564. Adjust the directions of the coordinate axes of the specified surface coordinate system according to the angles between the first coordinate axis and the second coordinate axis of the specified surface coordinate system and the first reference axis and the second reference axis of the local reference system, so that the positive direction of the first coordinate axis faces a preset first direction and the positive direction of the second coordinate axis faces a preset second direction.

[0427] Specifically, step S564 is intended to adjust the coordinate axis direction of the specified surface coordinate system to make it consistent with the local reference system. In some embodiments, the specific steps of step S564 are as follows:

[0428] S5641. Set the preset first direction as the positive direction of the first reference axis, and set the preset second direction as the positive direction of the second reference axis.

[0429] Specifically, the preset first direction is set as the positive direction of the first reference axis of the local reference system, and the preset second direction is set as the positive direction of the second reference axis of the local reference system, so as to determine the directions of the first reference axis and the second reference axis in the local reference system. The preset first direction and the preset second direction are respectively used to determine the orientations of the first coordinate axis and the second coordinate axis of the specified plane coordinate system. In this embodiment, the preset first direction is the positive direction of the y-axis of the world coordinate system, and the preset second direction is the positive direction of the x-axis of the world coordinate system. That is to say, the side of the first reference axis from the reference point toward the positive direction of the y-axis of the world coordinate system is the positive direction of the first reference axis, and the side of the second reference axis from the reference point toward the positive direction of the x-axis of the world coordinate system is the positive direction of the second reference axis.

[0430] S5642: Select a smaller one from the angle between the first coordinate axis and the first reference axis in the positive direction and the angle between the first coordinate axis and the first reference axis in the negative direction as the first angle;

[0431] S5643, selecting a smaller one from the angle between the second coordinate axis and the positive direction of the first reference axis and the angle between the second coordinate axis and the negative direction of the first reference axis as the second angle;

[0432] S5644: If the first angle is greater than the second angle, swap the first coordinate axis and the second coordinate axis.

[0433] Specifically, the specific steps of step S5642 to step S5644 can refer to step S5622 to step S5624 of the above embodiment, and will not be repeated here.

[0434] S5645: If the angle between the first coordinate axis and the positive direction of the second reference axis is greater than a third preset value, reverse the direction of the first coordinate axis.

[0435] Specifically, it is determined whether the angle between the first coordinate axis and the positive direction of the second reference axis is greater than a third preset value. The angle can be calculated by vector dot product and inverse cosine function. If it is greater than the third preset value, the direction of the first coordinate axis is reversed. Otherwise, the current direction of the first coordinate axis is maintained. Reversing the direction of the first coordinate axis means changing the direction of the first coordinate axis to the opposite direction. This operation makes the direction of the first coordinate axis more in line with the preset requirements and avoids a large deviation between the first coordinate axis and the second reference axis.

[0436] The third preset value is a threshold value, which is used to limit the maximum deviation between the first coordinate axis and the positive direction of the second reference axis.

[0437] Optionally, the third preset value is set to π / 2 (i.e., 90 degrees). π / 2 represents a right angle, and setting the third preset value to π / 2 means that the maximum deviation angle between the first coordinate axis and the second reference axis of the local reference system is 90 degrees. In other words, the angle between the first coordinate axis and the second reference axis of the local reference system must be less than or equal to 90 degrees. This setting means that the direction difference between the first coordinate axis and the second reference axis of the local reference system will not be too large. This is conducive to maintaining the consistency of direction between the specified plane coordinate system and the local reference system, and avoiding the situation where the first coordinate axis and the second reference axis of the local reference system are completely opposite in direction.

[0438] S5646: If the angle between the second coordinate axis and the positive direction of the first reference axis is greater than a fourth preset value, reverse the direction of the second coordinate axis.

[0439] Specifically, determine whether the angle between the second coordinate axis and the positive direction of the first reference axis is greater than a fourth preset value. The angle can be calculated by vector dot product and inverse cosine function. If it is greater than the fourth preset value, the direction of the second coordinate axis is reversed. Otherwise, the current direction of the second coordinate axis is maintained. Reversing the direction of the second coordinate axis means changing the direction of the second coordinate axis to the opposite direction. This operation makes the direction of the second coordinate axis more in line with the preset requirements and avoids a large deviation between the second coordinate axis and the first reference axis.

[0440] The fourth preset value is a threshold value, which is used to limit the maximum deviation between the first coordinate axis and the positive direction of the first reference axis.

[0441] Optionally, the fourth preset threshold is set to π / 2 (i.e., 90 degrees). π / 2 represents a right angle, and setting the fourth preset value to π / 2 means that the maximum deviation angle between the second coordinate axis and the first reference axis of the local reference system is 90 degrees. In other words, the angle between the second coordinate axis and the first reference axis of the local reference system must be less than or equal to 90 degrees. This setting means that the direction difference between the second coordinate axis and the first reference axis of the local reference system will not be too large. This is conducive to maintaining the consistency of direction between the specified plane coordinate system and the local reference system, and avoiding the situation where the second coordinate axis is in completely opposite directions to the first reference axis of the local reference system.

[0442] It can be understood that, compared with steps S5621 to S5626, steps S5641 to S5646 introduce a second reference axis to adjust the directions of the first coordinate axis and the second coordinate axis of the specified plane coordinate system. This arrangement has the following advantages:

[0443] 1. Improve the flexibility of direction control: When only the first reference axis is used to adjust the direction, the directions of the first coordinate axis and the second coordinate axis can only be adjusted according to the first reference axis, which may limit the direction freedom of the specified plane coordinate system. After the second reference axis is introduced, the directions of the first coordinate axis and the second coordinate axis can be adjusted according to the first reference axis and the second reference axis respectively, which makes the direction control more flexible and can better meet the needs of 3D surface modeling.

[0444] 2. Enhance the matching degree between the specified plane coordinate system and the local reference system: In some cases, adjusting the direction using only the first reference axis may not make the specified plane coordinate system completely match the local reference system, such as when the 3D surface and the local reference system are tilted or rotated. After introducing the second reference axis, the appropriate first reference axis and second reference axis can be selected according to the specific relationship between the 3D surface and the local reference system, so that the specified plane coordinate system and the local reference system are more matched, and the accuracy of 3D surface modeling is improved.

[0445] 3. Simplify the process of adjusting the coordinate system of the specified plane: In some cases, it may take multiple iterations to find the appropriate directions of the first coordinate axis and the second coordinate axis when only the first reference axis is used to adjust the direction. After the second reference axis is introduced, the directions of the first coordinate axis and the second coordinate axis can be directly determined based on the relationship between the first reference axis and the second reference axis, thereby simplifying the process of adjusting the coordinate system of the specified plane and improving efficiency.

[0446] Of course, compared to step S5641 to step S5646, the embodiment provided by step S5621 to step S5626 can use only the first reference axis to adjust the direction of the first coordinate axis and the second coordinate axis of the specified plane coordinate system, and the operation steps are relatively simple, easy to understand and implement. In addition, when only the first reference axis is used to meet the direction adjustment requirements, there is no need to introduce the second reference axis to increase the calculation complexity, which helps to improve the calculation efficiency.

[0447] It is understandable that when selecting a solution for adjusting the direction of a designated plane coordinate system, the specific requirements and limitations of the 3D modeling scenario should be comprehensively considered. If the direction control requirements are not high or the relationship between the designated plane and the local reference system is relatively simple, the solution of steps S5621 to S5626 can be selected; if the direction control requirements are high or there is a tilt or rotation between the designated plane and the local reference system, the solution of steps S5641 to S5656 can be selected.

[0448] In some embodiments, after generating the target three-dimensional entity, the method includes:

[0449] When the unit component of the three-dimensional entity is updated, the entity of the old unit component on the target three-dimensional entity is deleted according to the identification information of the updated unit component, and is updated to the entity of the new unit component.

[0450] Specifically, after the target 3D model is generated, the system adds the unique identifier (Guid) of each unit component in ComponentResults and the Guids of all newly generated LtsSolids to a list AllComponentResults.

[0451] At the same time, the AllComponentResults list is recorded in the UserDictionary of ComponentRef to ensure that the information of all unit components is tracked and stored.

[0452] When it is detected that a unit component of a 3D entity is updated, the system needs to identify the identification information of the updated unit component. This can be achieved by comparing the Guid of the new unit component with the Guid recorded in the UserDictionary.

[0453] Then, the system traverses the AllComponentResults list and deletes the unit component entity corresponding to the old Guid from the target 3D entity.

[0454] Then, according to the updated unit component information, the previous steps (step S10 to step S30) are repeated to apply the new unit component entity to the target three-dimensional entity, and the new Guid is recorded in AllComponentResults.

[0455] Finally, the Guid of each item in the updated ComponentResults and the Guid of the newly generated LtsSolids are added to the AllComponentResults list again, and the UserDictionary of ComponentRef is updated to reflect the current unit component status.

[0456] It can be understood that the above embodiments have the following effects:

[0457] 1. Maintain model consistency: By deleting the old unit component entities and updating them to the new unit component entities, the accuracy and consistency of the target 3D entity after the unit component is updated can be ensured.

[0458] 2. Efficient management: By using Guid to track and manage unit components, the system can efficiently detect and process changes in unit components, reducing manual operations and errors.

[0459] 3. Dynamic update: Supports dynamic update of models. Users can continuously modify and optimize 3D entities according to needs to improve design flexibility and efficiency.

[0460] In summary, through the above embodiments, when a unit component is updated, the old unit component entity can be automatically deleted and updated to a new unit component entity. This process uses Guid for precise positioning and management, ensuring the accuracy and consistency of the three-dimensional model, and improving the system's automation and user experience.

[0461] In addition, the embodiment of the present invention further proposes a computer-readable storage medium, which may be any one or any combination of a hard disk, a multimedia card, an SD card, a flash memory card, an SMC, a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a portable compact disk read-only memory (CD-ROM), a USB memory, etc. The computer-readable storage medium includes an automated three-dimensional solid modeling program 10, and the specific implementation of the computer-readable storage medium of the present invention is substantially the same as the specific implementation of the automated three-dimensional solid modeling method and the server 1 described above, and will not be described in detail herein.

[0462] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0463] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0464] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0465] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0466] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0467] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.< / objref> < / objref> < / objref>

Claims

1. An automated three-dimensional solid modeling method, characterized in that: include: Construct unit components according to pre-input reference surface parameters and geometric parameters; Determine a target projection area of ​​the unit component on the pre-constructed initial three-dimensional solid; Projecting the unit component to a corresponding target projection area to generate a solid body of the unit component on an initial three-dimensional solid body; A corresponding entity of unit components is generated in each target projection area of ​​the initial three-dimensional entity to generate a target three-dimensional entity.

2. The automated three-dimensional solid modeling method according to claim 1, characterized in that: Construct unit components based on pre-input reference surface parameters and geometric parameters, including: Creating a reference surface according to the reference surface parameters; Creating a geometric entity on the reference surface according to the geometric parameters; Associating identification information of each geometric entity with the reference surface to establish an association relationship between the reference surface and the geometric entity; A unit component is constructed based on the reference surface and the association relationship.

3. The automated three-dimensional solid modeling method according to claim 2, characterized in that: The geometric parameters include curve parameters, section position parameters and section curve parameters; Constructing a geometric entity on the construction surface according to geometric parameters, including: Creating a curve on the reference surface according to the curve parameters; Creating a section curve on the curve according to the section position parameters and the section curve parameters; Lofting is performed along the curve and using the section curve to generate a three-dimensional solid.

4. The automated three-dimensional solid modeling method according to claim 2, characterized in that: Projecting the unit component to a corresponding target projection area to generate a solid body of the unit component on the initial three-dimensional solid body includes: The reference surface is used as the projection reference surface, the target projection area is used as the projection target surface, and the geometric entity is projected to the corresponding target projection area, wherein: If the geometric entity is a curve having section position parameters and section curve parameters, projecting the geometric entity to a corresponding target projection area includes: Projecting the curve to the target projection area; Creating a section curve on the curve according to the section position parameters and the section curve parameters; Lofting is performed along the curve using the section curve to generate a three-dimensional solid.

5. The automated three-dimensional solid modeling method according to claim 3 or 4, characterized in that: Creating a section curve on the curve according to the section position parameter and the section curve parameter includes: Determining the cross-section position on the curve according to the cross-section position parameter; Obtaining a normal vector and a tangent vector of the curve at the cross-section position, wherein the normal vector is obtained based on a preset reference plane; Rotating the normal vector around the tangent vector until the normal vectors before and after the rotation are perpendicular to each other, and creating a section reference surface at the section position using the normal vector before and after the rotation; A corresponding section curve is generated on the section reference plane according to the section position parameters and the section curve parameters.

6. The automated three-dimensional solid modeling method according to claim 2, wherein: Determine the target projection area of ​​the unit component on the pre-built initial 3D solid, including: Draw subdivision surfaces on the specified surface of the pre-built initial 3D solid according to user-defined parameters; Applying the unit component on the subdivision surface to determine a target projection area of ​​the unit component on a designated surface of a pre-constructed initial three-dimensional solid; or, Unfold the specified surface of the pre-built initial 3D solid into a target plane; Drawing subdivision surfaces on the target plane according to user-defined parameters, and projecting the subdivision surfaces onto the designated surface, establishing a one-to-one correspondence between each subdivision surface and each projection area on the designated surface; The unit component is applied on the subdivision surface to determine a target projection area of ​​the unit component on a designated surface of a pre-constructed initial three-dimensional solid.

7. The automated three-dimensional solid modeling method according to claim 6, characterized in that: Unfold the specified surface of a pre-built initial 3D solid to a target plane, including: Setting a reference point on the specified surface; constructing a reference line based on the reference point and a preset reference axis, and generating a projection of the reference line on the specified surface; constructing a first reference axis according to a tangent line of the projection of the reference line at the reference point; Rotate the first reference axis by a preset angle around the normal of the tangent plane of the designated surface at the reference point to construct a second reference axis; constructing a local reference system according to the first reference axis and the second reference axis; The directions of the coordinate axes of the coordinate system of the designated surface are corrected according to the local reference system, and the target plane is obtained by unfolding the designated surface after the direction correction of the coordinate system.

8. The automated three-dimensional solid modeling method according to claim 1, wherein: After generating the target three-dimensional entity, the method includes: When the unit component of the three-dimensional entity is updated, the entity of the old unit component on the target three-dimensional entity is deleted according to the identification information of the updated unit component, and is updated to the entity of the new unit component.

9. An automated three-dimensional solid modeling device, characterized in that: The invention comprises a memory, a processor and an automated three-dimensional solid modeling program stored in the memory and executable on the processor, wherein the processor implements the automated three-dimensional solid modeling method as claimed in any one of claims 1 to 8 when executing the automated three-dimensional solid modeling program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an automated three-dimensional solid modeling program, and when the automated three-dimensional solid modeling program is executed by a processor, the automated three-dimensional solid modeling method according to any one of claims 1 to 8 is implemented.

Citation Information

Cited By

  • Drawing method of three-dimensional pipeline

    CN119963764A