Modeling device and modeling method for three-dimensional object
By pre-defined motion models and standardized frameworks for three-dimensional objects, the existing modeling methods are solved, and fast and efficient three-dimensional object modeling is achieved, reducing the error rate.
Patent Information
- Application Number
- CN202310557630.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-17
- Publication Date
- 2024-11-22
AI Technical Summary
The existing modeling method of integrating virtual and real requires users to set the moving class and connection relationship of components one by one according to experience, resulting in a cumbersome and time-consuming modeling process and prone to errors.
Design a modeling device and method for three-dimensional objects. By pre-defining the motion models of multiple model objects, including the motion classes and patterns of each model element, using a standardized framework to guide users to quickly establish a three-dimensional object model, and reduce manual setting steps. .
It greatly reduces the time for users to build virtual three-dimensional object models, improves modeling efficiency and reduces error rates, especially when multiple similar model objects need to be built, significantly improves modeling efficiency.
Smart Images

Figure CN119006694A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a modeling device and a modeling method, and more particularly to a modeling device and a modeling method for three-dimensional objects. Background Art
[0002] The current modeling method of virtual-reality integration requires users to model based on experience. When modeling, users need to set the motion hierarchy of each component and the connection relationship between components one by one to initially complete the setting of the model structure. Then, users set the motion attribute values of each component one by one according to the motion hierarchy (such as the range of rotatable angles, motion speed limits, component friction and damping, etc.). However, every time a model is built, users must set the parameters of each component one by one for the model object, which is very time-consuming and prone to errors.
[0003] Three-dimensional modeling technology can be applied to a wide range of fields, but the modeling process is quite cumbersome and lengthy. Before using an object model each time, the user needs to perform the above modeling process based on the operating characteristics and properties of the object. Therefore, how to improve the cumbersome modeling process has become a technical issue of concern. Summary of the invention
[0004] According to one embodiment of the present case, a modeling device for a three-dimensional object is disclosed, including a storage medium and a processor. The storage medium is configured to store a plurality of program codes. The processor is connected to the storage medium and is configured to load the plurality of program codes to perform a plurality of operations. The plurality of operations include: loading a motion model of a model object, wherein the motion model defines a motion hierarchy of each of a plurality of model elements of the model object; receiving an object to be modeled including a plurality of elements; reading an element attribute of each element; adjusting the motion hierarchy of each model element based on the element attribute of each element to generate a modeling element with the element attribute; and obtaining a modeled object after the motion hierarchy of each of the plurality of model elements is set, wherein the modeled object includes modeling elements corresponding to each model element.
[0005] According to an embodiment of the present case, a modeling method for a three-dimensional object is disclosed, including loading a motion model for establishing a model object, wherein the motion model defines a motion hierarchy of each of a plurality of model elements of the model object; receiving an object to be modeled including a plurality of elements; reading an element attribute of each element; adjusting the motion hierarchy of each model element based on the element attribute of each element to generate a modeling element with the element attribute; and obtaining a modeled object after the motion hierarchy of each of the plurality of model elements is set, wherein the modeled object includes modeling elements corresponding to each model element. BRIEF DESCRIPTION OF THE DRAWINGS
[0006] Figure 1is a block diagram of a modeling device according to an embodiment of the present invention;
[0007] Figure 2 is a flow chart of a modeling method according to an embodiment of the present invention;
[0008] Figure 3 is a schematic diagram of a motion model of a two-finger gripper according to an embodiment of the present invention;
[0009] Figure 4 A schematic diagram of a framework of a motion model of a model object according to an embodiment of the present invention;
[0010] Figure 5 is a schematic diagram of an object to be modeled according to an embodiment of the present invention;
[0011] Figure 6 is a schematic diagram of an interactive interface for creating a three-dimensional object according to an embodiment of the present invention;
[0012] Figure 7 is a schematic diagram of an interactive interface for creating a three-dimensional object according to an embodiment of the present invention;
[0013] Figure 8 is a schematic diagram of an interactive interface for creating a three-dimensional object according to an embodiment of the present invention;
[0014] Fig. 9 FIG. 4 is a schematic diagram of a modeled object according to an embodiment of the present invention.
[0015] Description of Figure Numbers
[0016] 10: Modeling device
[0017] 110: Processor
[0018] 120: Storage Media
[0019] 130: Display device
[0020] 310, 320, 330: Model components
[0021] 312, 313: Movement Type
[0022] 400:Frame
[0023] 410, 420, 430: preset bounding box
[0024] 500: Objects to be modeled
[0025] 510, 520, 530: Components
[0026] 510', 520', 530': Modeling components
[0027] 610, 620, 630: minimum bounding box
[0028] 900: Modeled objects
[0029] 910, 920, 930: Modeling components
[0030] 950: origin coordinates
[0031] S210~S250: Operation DETAILED DESCRIPTION
[0032] The present invention will be further described below in conjunction with the accompanying drawings and embodiments so that relevant persons in the technical field to which the present invention belongs can better understand the present invention and implement it accordingly, but the embodiments are not intended to limit the present invention.
[0033] As used herein, terms such as "first," "second," "third," "fourth," and "fifth" describe various elements, components, regions, layers, and / or portions, which should not be limited by these terms. These terms may only be used to distinguish one element, component, region, layer, or portion from another. Unless the context clearly indicates, terms such as "first," "second," "third," "fourth," and "fifth" as used herein do not imply an order or sequence.
[0034] Please refer to Figure 1 , which is a block diagram of a modeling device according to an embodiment of the present invention. The modeling device 10 of the present invention pre-classifies the type or structure of the object to be modeled and establishes a standardized framework for each different type of object, so that the user only needs to perform corresponding operations according to the guidance of the standardized framework to quickly complete the modeling of the three-dimensional object, without having to start from a blank model to make the three-dimensional object model.
[0035] In one embodiment, the modeling device 10 includes a processor 110 and a storage medium 120 electrically connected or communicatively connected to the processor 110. The storage medium 120 stores a plurality of program codes. After the program codes are loaded into the processor 110, the processor 110 executes the modeling operation program of the present case.
[0036] In one embodiment, the modeling device 10 includes a display device 130. The display device 130 is used to display an interactive interface. The user watches the instructions on the interactive interface and operates more intuitively to control the modeling device 10 to execute the modeling program.
[0037] In one embodiment, the modeling device 10 may be, but is not limited to, a tablet computer, a laptop computer, a personal computer, or an electronic device having a processor and / or a storage device that can execute applications or software installed thereon and / or in the cloud.
[0038] In one embodiment, the processor 110 may be, but is not limited to, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a central processing unit (CPU), a system on chip (SoC), a field programmable gate array (FPGA), and a network processor chip, etc.
[0039] In one embodiment, the storage medium 120 may be, but is not limited to, a random access memory (RAM) or a non-volatile memory (such as a flash memory, a read-only memory (ROM), a hard disk drive (HDD), a solid state drive (SSD), or an optical storage device.
[0040] In one embodiment, the display device 130 may be, but is not limited to, a display screen or a projector.
[0041] To facilitate the explanation of the modeling operation of this case, please refer to Figure 2 . Figure 2 FIG. 4 is a flow chart of a modeling method according to an embodiment of the present invention. Figure 2 The modeling method can be obtained by Figure 1 In one embodiment, after the processor 110 loads the program code, at least the following operations are performed.
[0042] In operation S210 , the processor 110 loads a motion model of the model object and stores it in the storage medium 120 .
[0043] In one embodiment, the model object is a framework for establishing a virtual three-dimensional object designed based on the function type of each machine part of the mechanical device and the conditions such as the mutual movement or restricted movement between each machine part and other machine parts. There are many types of mechanical devices, for example, they can be a two-finger gripper, a horizontal joint robot, a vertical joint robot or an XYZ linear platform, etc., and the present case does not limit the type of mechanical device. The model object can be a framework for establishing a virtual three-dimensional simulation object of a mechanical device such as a two-finger gripper, a horizontal joint robot, a vertical joint robot or an XYZ linear platform.
[0044] In one embodiment, a model object includes a plurality of model elements, and the mutual motion between these model elements forms the function of the model object. As described above, the present invention can be applied to different types of model objects, and the model elements of each type of model object can roughly correspond to various parts of the mechanical device. The user can design the motion model of the model object according to the actual application requirements and implement it by the processor 110 to match the structure of the mechanical device.
[0045] The motion model of the model object is the motion relationship of the model components defined in the program. In one embodiment, the motion model includes the motion hierarchy of each model component in the model object and the motion patterns between each model component.
[0046] To facilitate understanding of the design of the motion model of this case, the following is an example of a model object for a two-finger gripper to illustrate the motion hierarchy of this case.
[0047] The functional structure of the two-finger gripper includes two links and a base. The two links are two fingers of the gripper. The base is connected to the two links. The two-finger gripper also includes a drive module disposed on the base, and the drive module is used to control the gripping and lowering actions of the two fingers of the gripper.
[0048] Please refer to Figure 3 , which is a schematic diagram of a motion model of a two-finger gripper according to an embodiment of the present invention. In this embodiment, the model object of the two-finger gripper includes three model elements: model elements 310 , 320 and 330 .
[0049] In one embodiment, the model component 310 is a seat corresponding to a two-finger clamp, the model component 320 is corresponding to one finger of the two-finger clamp, and the model component 330 is corresponding to the other finger of the two-finger clamp.
[0050] In this embodiment, the motion hierarchy of model element 310 is a base link; the motion hierarchy of model elements 320 and 330 is a slide link. It is worth mentioning that the motion hierarchy of each model element in a model object can be designed by the type of link mechanism and the motion relationship between the link mechanisms, and the collection of the motion hierarchy of all model elements is the motion model of the model object.
[0051] In one embodiment, the motion type is the coordinated operation between each model element and other model elements. The motion type may be rotation or sliding.
[0052] According to the above embodiment, the model element 310 is a base link connected to two sliding links, so the motion type 312 between the model element 310 and the model element 320 is "slide", which means that the model element 310 and the model element 320 cooperate with each other in a sliding manner. Similarly, the motion type 313 between the model element 310 and the model element 330 is also sliding.
[0053] The above-mentioned motion model structure indicates that there is a sliding relationship between the model element 310 and the model element 320 , and there is also a sliding relationship between the model element 310 and the model element 330 .
[0054] The processor 110 pre-establishes motion models of different types of model objects through user design, and the motion model defines the motion hierarchy of each model element of the model object. As described above, the motion hierarchy of the model element 320 (one of the two-finger gripper) is a sliding link.
[0055] In one embodiment, each motion model corresponds to the structure of a mechanical device, such as Figure 3 The motion model corresponds to the structure of the mechanical device of the two-finger gripper. The modeling device 10 can pre-establish multiple motion models and store them in the storage medium 120 to increase the breadth of modeling.
[0056] In one embodiment, the motion model records the framework properties of the model object (the motion hierarchy of the model elements and the motion patterns between the model elements). In order to allow users to quickly apply the model to create customized virtual three-dimensional objects, the modeling device 10 of the present case provides an interactive interface to allow users to intuitively use the model object to create a virtual three-dimensional object that can be applied to the actual field according to their own needs.
[0057] In one embodiment, the model object includes a plurality of model elements, and each model element has a corresponding motion level. The model object includes a default bounding box corresponding to the motion level of each model element. The relative positions between the plurality of default bounding boxes represent the relative connection relationship between the plurality of model elements.
[0058] Please refer to Figure 4 , which is a schematic diagram of the framework of the model object according to an embodiment of the present invention. As described above, Figure 3 The motion model shown includes the motion hierarchy of each model element in the model object and the motion patterns between the model elements.
[0059] In one embodiment, the motion model retains the attribute fields of each motion layer in the model object, and the type of the attribute field is, for example, the size of the component, appearance (color or texture) and other visual design data. In other words, the user can use the model object as a basic framework to import a file carrying the size or appearance information of the three-dimensional object that can be used for modeling, and the modeling device 10 uses this file to quickly create a virtual three-dimensional object.
[0060] like Figure 4 As shown, the frame 400 of the model object includes preset bounding boxes 410, 420 and 430. In one embodiment, each preset bounding box corresponds to a model element. Taking the two-finger gripper as an example, the preset bounding box 410 corresponds to Figure 3 The model element 410 (base body) of FIG. 4 is a model element 410 (base body), and the preset bounding box 420 corresponds to Figure 3 The model element 420 (one of the two-finger gripper), and the preset bounding box 430 correspond to Figure 3 Model element 430 (the other finger of the two-finger gripper).
[0061] The preset bounding boxes 410, 420 and 430 are visual prompts. The user can know the structure of the model object that can be provided for modeling through the overall shape of the frame 400 (the user can initially confirm whether the model object corresponds to the data of the object to be modeled by the appearance), and add the attribute information of the components to the preset bounding boxes 410, 420 and 430 one by one (for example, by dragging the components to the preset bounding boxes, which will be described in detail later). After the modeling device 10 edits the attribute information of all components, the generated customized virtual three-dimensional object is the modeled object.
[0062] Please refer to Figure 2 In operation S220, the processor 110 receives an object to be modeled including a plurality of components. The object to be modeled is visual design data designed by a user to generate a virtual three-dimensional object.
[0063] Please refer to Figure 5, which is a schematic diagram of an object to be modeled according to an embodiment of the present invention. In one embodiment, the object to be modeled 500 is visual design data (e.g., stored in CAD file format) produced by a user based on computer-aided design software (CAD, Computer Aided Design), such as AutoCAD, PRO-E or Solidworks.
[0064] Visual design data is the data of the component size and component appearance (color or texture) of a three-dimensional object designed by computer-aided design software. The user can import the CAD file into the modeling device 10 as visual design data. The interactive interface of the modeling device 10 also presents the framework 400 ( Figure 4 ) and the object to be modeled 500 ( Figure 5 ), allowing users to perform modeling operations intuitively.
[0065] like Figure 5 As shown, the object 500 to be modeled is a two-finger gripper. The object 500 to be modeled includes components 510, 520, and 530. In this embodiment, component 510 displays the actual appearance of the base of the two-finger gripper (i.e., the appearance of the virtual three-dimensional object that the user wants to model), and components 521 and 530 display the actual appearance of the two claws of the two-finger gripper.
[0066] Please refer to Figure 6 , which is a schematic diagram of an interactive interface for creating a three-dimensional object according to an embodiment of the present invention. Figure 6 As shown, the user can simultaneously view the frame 400 of the motion model and the object 500 to be modeled on the interactive interface.
[0067] In one embodiment, the interactive interface provides the user with a function of dragging the object to be modeled 500. For example, the user can drag the components 510, 520, and 530 to their respective designated positions to implement modeling.
[0068] Please refer to Figure 2 In operation S230, the processor 110 reads the component attributes of each component of the object to be modeled 500. In operation S240, the processor 110 adjusts the motion hierarchy of each model component based on the component attributes of each component to generate a modeled component having the component attributes.
[0069] During the modeling operation, the user can move the components of the object 500 to be modeled one by one to the position of the preset bounding box corresponding to the frame 400. For example, the component 520 of the object 500 to be modeled can be moved to the position of the preset bounding box 420. As described above, the preset bounding box 420 corresponds to the model component 320. The modeling device 10 reads the component attributes of the component 520 (e.g., visual design data such as the size and appearance (color or texture) of the component), and modifies the attribute fields of the motion hierarchy of the model component 320 with the component attributes of the component 520 (e.g., writing the data such as the claw size, claw color and claw pattern of one of the fingers of the component 520 into the attribute fields of the motion hierarchy of the model component 320). After the attribute fields of the model component 320 are written with data, the modeling device 10 generates a modeling component 520', wherein the modeling component 520' has the component attributes of the component 520 (e.g., the claw size, color and texture of the modeling component 520' are the same as those of the component 520).
[0070] In one embodiment, after the modeling device 10 generates the modeling element 520', the size of the default bounding box 420 is scaled with the size of the modeling element 520'. Figure 4 ) is enlarged to a minimum bounding box of 620 ( Figure 6 ). The minimum bounding box 620 is a three-dimensional minimum circumscribed rectangle that can enclose the modeling element 520'.
[0071] As described above, after the user moves the component 520 to the frame of the motion model, the processor 110 reads the component attributes of the component 520. The component attributes are, for example, visual design data such as component size or component appearance (color or texture).
[0072] Next, the processor 110 adjusts the motion hierarchy of the model component 320 based on the component size and component appearance of the component 520 to obtain the modeled component 520′. Therefore, the attribute field of the motion hierarchy of the modeled component 520′ includes the component attributes of the component 520. In other words, the size and appearance of the modeled component 520′ are the same as the size and appearance of the component 520.
[0073] Please refer to Figure 2 In operation S250 , the processor 110 obtains a modeled object after completing the setting of the motion hierarchy of each model element.
[0074] In one embodiment, the processor 110 moves the components 510, 520 and 530 of the object 500 to be modeled to the positions of the preset bounding boxes 410, 420 and 430 in the motion model frame 400 one by one, and adjusts the motion hierarchy of each corresponding model component one by one according to the component attributes of each component 510, 520 and 530.
[0075] Please refer to Figure 7 , which is a schematic diagram of an interactive interface for building a three-dimensional object according to an embodiment of the present invention. The processor 110 determines that there are still model elements (such as model elements 330 and 310) whose motion hierarchy has not been adjusted (i.e., the attribute field (such as visual design data) of the relevant motion hierarchy is blank), then the element 530 of the object to be modeled 500 is moved to the position of the preset bounding box 430 of the model element 330 to generate a modeling element 530' (i.e., the modeling device 10 adds the visual design data of the element 530 to the attribute field of the motion hierarchy of the model element 330).
[0076] The size of the default bounding box 430 will scale with the size of the modeling element 530'. For example, the default bounding box 430 ( Figure 4 ) is enlarged to the minimum bounding box 630 ( Figure 6 ). The minimum bounding box 630 is the minimum three-dimensional circumscribed rectangle that can enclose the modeling element 530'.
[0077] At this time, the processor 110 determines that there are still model objects whose motion levels have not been adjusted. Figure 8 , which is a schematic diagram of an interactive interface for building a three-dimensional object according to an embodiment of the present invention. The component 510 of the object to be modeled 500 is moved to the position of the preset bounding box 410 of the model component 310 to become a modeling component 510' (i.e., the modeling device 10 adds the visual design data of the component 510 to the attribute field of the motion hierarchy of the model component 310).
[0078] The size of the default bounding box 410 will scale with the size of the modeling element 510'. For example, the default bounding box 410 ( Figure 4 ) is enlarged to the minimum bounding box 610 ( Figure 6 ). The minimum bounding box 610 is the minimum three-dimensional circumscribed rectangle that can enclose the modeling element 510 ′.
[0079] In one embodiment, the structure of the motion model of the model object may be slightly different from the structure of the object to be modeled, so the motion hierarchy of some model elements in the model object can be set as a field that must be filled with attribute values or can be empty according to the preset adjustment properties.
[0080] In operation S240 , if a model component of the model object does not correspond to any component of the object to be modeled and the processor 110 determines that the adjustment attribute of the motion hierarchy of the model component can be a null value, the adjustment of the motion hierarchy can be skipped.
[0081] Figure 8 The modeling elements 510 ′, 520 and 530 ′ shown in the figure have not been combined into one (ie, have not been combined into a modeled object), and their motion coordinate systems have not been integrated into a unified coordinate system.
[0082] In one embodiment, the processor 110 combines the modeling components 510 ′, 520 ′, and 530 ′ into a modeled object, and integrates the motion coordinate systems of the modeling components 510 ′, 520 ′, and 530 ′ into a unified motion coordinate system.
[0083] The integrated modeling elements 510', 520' and 530' form a modeled object. The modeled object has the size and appearance of the object to be modeled 500 drawn by the user, and is a virtual three-dimensional object that can be manipulated in a virtual environment. The processor 110 can accurately control the action (e.g., movement or rotation) of the modeled object through the integrated motion coordinates.
[0084] Please refer to Fig. 9 , which is a schematic diagram of a modeled object according to an embodiment of the present invention. The processor 110 combines modeling elements 510', 520' and 530' based on the motion model of the model object. For example, modeling element 910 (the base of the two-finger gripper) is combined with modeling elements 920 and 930 (the two fingers of the two-finger gripper) to obtain a modeled object 900 (a two-finger gripper with a unified motion coordinate system).
[0085] In one embodiment, the origin coordinates 950 of the motion coordinate system of the modeled object 900 may be calculated by the processor 110 according to the center coordinates of the three modeling elements 910, 920, and 930 (e.g., calculating the center coordinates of the center coordinates of the three modeling elements 910, 920, and 930). In another embodiment, the origin coordinates 950 may also be obtained by the user operating the modeling device 10 and selecting on the interactive interface.
[0086] In one embodiment, after generating the modeling elements 510', 520' and 530' (i.e., before obtaining the modeling object 900), the processor 110 sets the motion hierarchy attribute values of the modeling elements 510', 520' and 530', respectively. In another embodiment, after generating the modeling elements 910, 920 and 930, the processor 110 sets the motion hierarchy attribute values of the modeling elements 910, 920 and 930, respectively.
[0087] The motion class attribute values include the motion position limit, motion speed limit, friction, and damping.
[0088] For example, the movement position limit of the modeling element 910 may be 180 degrees of rotation to the left and 180 degrees of rotation to the right along an axis, so as to indicate the operation state or movement limit of the modeling element 910 .
[0089] In one embodiment, the modeling device 10 can execute 3D modeling software to construct a model with 3D data in a virtual 3D space, including the structural design data and visual design data of the 3D object. The constructed model, such as the modeled object 900 in this case, can be applied to the fields of industrial control, surgical medicine, and game design. The virtual 3D object model can be used for testing in a virtual environment to simulate the feasibility, safety, yield, etc. of the implementation before implementation to determine whether to make improvements to reduce the probability of failure in implementation.
[0090] In summary, the modeling device and modeling method of the three-dimensional object proposed in this case pre-designs the motion model of each model object based on the structure of the machine (such as the behavior of the industrial control component), wherein the motion model includes the motion hierarchy and motion type of each model component. The user can follow the guidance of the preset bounding box of the model object (such as whether the object to be modeled has been moved into the preset bounding box) and directly apply the size and appearance information of the object to be modeled to the designed motion model to quickly complete the modeling of the virtual three-dimensional object.
[0091] The existing technology requires the user to operate the modeling software and design the motion hierarchy of the components (such as the characteristics of the connecting rod), the motion relationship between the components, the motion hierarchy properties of the components, and the visual properties of the components one by one, which is quite time-consuming. In comparison, the present case can greatly reduce the time it takes for users to establish virtual three-dimensional object models. The present case proposes a standardized and modular design, and the user does not need to execute the modeling process of the virtual three-dimensional object one by one, and can complete the modeling quickly. When the number of model objects to be established is large and the motion behaviors of the model objects are similar, the user does not need to spend a lot of time executing repetitive and trivial modeling procedures. Therefore, the modeling technology of the present case can improve the efficiency of modeling and reduce the error rate of modeling.
[0092] The above description is only a preferred specific example of the present case, and does not limit the patent scope of the present case. Therefore, all equivalent changes made by applying the contents of the present case are also included in the scope of the present case and are hereby stated.
Claims
1. A three-dimensional object modeling device, include: A storage medium configured to store a plurality of program codes; A processor, connected to the storage medium, is configured to load the plurality of program codes to perform a plurality of operations, the plurality of operations comprising: loading a motion model of a model object, wherein the motion model defines a motion hierarchy for each of a plurality of model elements of the model object; receiving an object to be modeled including a plurality of components; Reading component attributes of each of the components; Adjusting the motion hierarchy of each of the model elements based on the element attributes of each of the elements to generate a modeled element having the element attributes; and After the motion hierarchy of each of the plurality of model elements is set, a modeled object is obtained, wherein the modeled object includes the modeling element corresponding to each of the model elements.
2. The modeling apparatus according to claim 1, wherein the plurality of operations performed by the processor include: After the modeled object is obtained, the origin coordinates of the modeled object are adjusted to control the movement of the modeled object based on the origin coordinates.
3. The modeling device according to claim 1, wherein the processor performs the operation of adjusting the motion hierarchy of each of the model elements based on the element properties of each of the elements. include: The motion hierarchy of each of the model objects is adjusted one by one according to the component attributes of the plurality of components, so that the attribute fields of the motion hierarchy of each of the model objects respectively include the size and appearance of each of the component attribute records.
4. The modeling device according to claim 1, wherein the processor performs the operation of adjusting the motion hierarchy of each of the model elements based on the element properties of each of the elements. include: The preset bounding box corresponding to the model element is scaled to the size of a minimum bounding box, wherein the minimum bounding box is a three-dimensional minimum circumscribed rectangle that encloses the modeling element.
5. The modeling device according to claim 1, wherein the processor performs the operation before loading the motion model of the model object. include: The motion hierarchy and motion type of each model element are established. The motion type is the cooperative operation between each model element and other model elements, wherein the motion type includes rotation or sliding.
6. A method for modeling a three-dimensional object, include: loading a motion model of a model object, wherein the motion model defines a motion hierarchy for each of a plurality of model elements of the model object; receiving an object to be modeled including a plurality of components; Reading component attributes of each of the components; adjusting the motion hierarchy of each of the model elements based on the element attributes of each of the elements to generate a modeled element having the element attributes; as well as After the motion hierarchy of each of the plurality of model elements is set, a modeled object is obtained, wherein the modeled object includes the modeling element corresponding to each of the model elements.
7. The modeling method according to claim 6, further comprising: include: After obtaining the modeled object, adjusting the origin coordinates of the modeled object; as well as The movement of the modeled object is controlled based on the origin coordinates.
8. The modeling method according to claim 6, wherein the operation of adjusting the motion hierarchy of each of the model elements based on the element properties of each of the elements include: The motion hierarchy of each of the model objects is adjusted one by one according to the component attributes of the plurality of components, so that the attribute field of the motion hierarchy of each of the model components respectively includes the size and appearance of each of the component attribute records.
9. The modeling method according to claim 6, wherein the operation of adjusting the motion hierarchy of each of the model elements is based on the element properties of each of the elements. include: The preset bounding box corresponding to the model element is scaled to the size of a minimum bounding box, wherein the minimum bounding box is a three-dimensional minimum circumscribed rectangle that encloses the modeling element.
10. The modeling method according to claim 6, wherein the operation before loading the motion model of the model object include: The motion hierarchy and motion type of each model element are established. The motion type is the cooperative operation between each model element and other model elements, wherein the motion type includes rotation or sliding.
