Parameter acquisition method of multi-body dynamic elements, drawing system and related equipment
By enabling the pick mode in the multi-body dynamics simulation software, automatically filling the parameters of the reference element, solving the problem of cumbersome operation of creating multi-body dynamics elements in the existing technology, and achieving a more convenient and efficient element creation process.
Patent Information
- Application Number
- CN202411810403.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-10
- Publication Date
- 2025-03-21
AI Technical Summary
Existing multibody dynamics simulation software is cumbersome to create multibody dynamics elements and has high error rates, especially when multiple reference elements are needed at the same time.
By enabling pick mode, the selected drawn elements are automatically determined as reference elements and their target parameters are populated into the parameter configuration area of the new element, simplifying the creation process of new elements.
It realizes convenient operation when creating multi-body dynamic elements, reduces the user's need to memorize reference element information, and improves operation efficiency and accuracy.
Smart Images

Figure CN119670181A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of dynamic simulation technology, and in particular to a method for obtaining parameters of multi-body dynamic elements, a drawing system and related equipment. Background Art
[0002] Multibody Dynamics (MBD) software is a tool for simulating and analyzing the motion behavior of complex mechanical systems composed of multiple rigid or flexible bodies. ADAMS (Automatic Dynamic Analysis of Mechanical Systems) is a multibody dynamics simulation software that is widely used in the design, analysis and optimization of mechanical systems. ADAMS helps engineers identify potential problems in the early stages of product development, optimize designs, and reduce the manufacturing and testing costs of physical prototypes by simulating the motion and mechanical behavior of complex mechanical systems.
[0003] To create a multi-body dynamics element, the following key data is usually required, including but not limited to element name, position, geometric direction, associated components, constraints, etc. For example: there are already elements A, B, and C, and a new element D is created using the position information of one of the modeling elements as a coordinate reference. There are generally two ways: select the reference element, view and record the position information of the reference element, and then open the new element window, enter the relevant information of the reference element to create a new element. Or select the reference element in the canvas area, then right-click to pop up a menu, and create a new element through the menu. When multiple reference elements are needed at the same time, multiple operations are required to create a new element, which not only requires the user to have a certain engineering foundation, but also requires the user to be proficient in remembering the accurate data of each reference element. The operation is cumbersome and has a high error rate.
[0004] Therefore, a multi-body dynamic element creation solution is urgently needed to achieve more convenient operation. Summary of the invention
[0005] In order to solve the above problems in the prior art, the present application provides a parameter acquisition method, a drawing system and related equipment for a multi-body dynamics element to achieve convenient operation when creating a new element.
[0006] According to a first aspect of the present application, a method for obtaining parameters of a multi-body dynamic element is provided, the method comprising:
[0007] In response to a pick mode enable signal, determining the selected drawn element as a reference element;
[0008] In response to a signal that a reference element is selected, the target parameters of the reference element are filled into a parameter configuration area of the newly created element; the newly created element is established at least according to the information of the reference element.
[0009] In an optional embodiment, the method further comprises: determining a parameter category to be picked up in response to a pick-up mode enabling signal;
[0010] In response to a signal that the reference element is selected, the target parameters of the reference element are filled into the parameter configuration area of the newly created element, including:
[0011] In response to a signal indicating that the reference element is selected, the target parameter is extracted from the configuration information of the reference element according to the parameter category to be picked up.
[0012] In an optional implementation, when there are multiple target parameters, filling the target parameters of the reference element into the parameter configuration area of the newly created element includes:
[0013] Get the filling rule of the target parameter, the filling rule is determined by turning on the picking mode;
[0014] Fill multiple target parameters into corresponding parameter filling areas in the parameter configuration area according to the filling rules; the parameter filling area is used to fill the target parameters.
[0015] In an optional implementation, the filling rule includes single-point execution and sequential execution, and multiple target parameters are filled into corresponding parameter filling areas in the parameter configuration area according to the filling rule, including:
[0016] When the filling rule is single-point execution, after filling the current target parameter into the corresponding parameter filling area in the parameter configuration area, switch to the filling operation of the next target parameter through the preset switching action;
[0017] When the filling rule is sequential execution, multiple target parameters are sequentially filled into corresponding parameter filling areas in the parameter configuration area according to a preset parameter filling order.
[0018] In an optional implementation, filling the target parameter of the reference element into the parameter configuration area of the newly created element includes:
[0019] When the selected reference element is switched multiple times in succession, the target parameters of the most recently selected reference element are filled into the parameter configuration area of the newly created element.
[0020] In an optional embodiment, in response to a pick mode enable signal, determining a selected drawn element as a reference element includes: in response to a pick mode enable signal, determining a preset area as a pick area, taking the selected drawn element in the pick area as a reference element, and the pick area at least includes the area where the drawn element is located.
[0021] According to a second aspect of the present application, a device for acquiring parameters of a multi-body dynamics element is provided, the device comprising:
[0022] a generating unit, for determining the selected drawn element as a reference element in response to a pick mode enabling signal;
[0023] The filling unit is used to fill the target parameters of the reference element into the drawing parameter configuration area of the newly created element in response to the signal that the reference element is selected; the newly created element is established at least according to the information of the reference element.
[0024] According to a third aspect of the present application, a drawing system is provided, comprising: an element creation control subsystem, the element creation control subsystem being used to execute a parameter acquisition method of a multi-body dynamics element as in the first aspect or any one embodiment of the first aspect.
[0025] According to a fourth aspect of the present application, there is provided an electronic device, comprising a memory and a processor;
[0026] The memory is connected to the processor and is used for storing programs;
[0027] The processor is used to implement the parameter acquisition method of the multi-body dynamics element as described in the first aspect or any one embodiment of the first aspect by running the program in the memory.
[0028] According to a fifth aspect of the present application, a storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, a method for acquiring parameters of a multi-body dynamics element as in the first aspect or any one of the embodiments of the first aspect is implemented.
[0029] The present application provides a parameter acquisition method, drawing system and related equipment for multi-body dynamics elements, which determines the selected drawn element as a reference element by responding to a pick mode activation signal; and fills the target parameters of the reference element into the parameter configuration area of the newly created element in response to a signal that the reference element is selected. In the present application, by enabling the pick mode, the information of the reference element selected in the pick mode is automatically filled into the parameter configuration area of the newly created element, which can avoid the operator's memorization of the reference element information, and the operation is simple and quick; at the same time, the operation steps of the new element are simplified, and the work efficiency is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the embodiments of the present application 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 embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0031] Figure 1A flow chart of a method for obtaining parameters of a multi-body dynamics element provided in an embodiment of the present application;
[0032] Figure 2 A schematic diagram of a newly created element parameter configuration area provided in an embodiment of the present application;
[0033] Figure 3 A schematic diagram of the interface in the picking mode provided in an embodiment of the present application;
[0034] Figure 4 A schematic diagram of a portion of the interface of the parameter configuration area of a newly created element provided in an embodiment of the present application;
[0035] Figure 5 A flowchart for filling in multi-objective parameters of a newly created element provided in an embodiment of the present application;
[0036] Figure 6 A structural block diagram of a device for acquiring parameters of multi-body dynamic elements provided in an embodiment of the present application;
[0037] Figure 7 A structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0038] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0039] The present application provides a parameter acquisition method, drawing system and related equipment for multi-body dynamics elements, which determines the selected drawn element as a reference element by responding to a pick mode enable signal; and fills the target parameter of the reference element into the parameter configuration area of the newly created element in response to a signal that the reference element is selected. In the present application, by enabling the pick mode, the information of the reference element selected in the pick mode will be filled into the parameter configuration area of the newly created element, which can avoid the memory of the reference element information, and the operation is simple and fast; at the same time, the operation steps of the new element are simplified, and the work efficiency is improved.
[0040] Exemplary Implementation Environment
[0041] The implementation environment of the method for obtaining parameters of multi-body dynamic elements provided in the embodiment of the present invention involves ADAMS software, which is a software widely used in multi-body dynamics simulation and virtual prototype development, and is designed to help engineers and designers perform kinematic, dynamic and static analysis of complex mechanical systems in the early stages of product design. Through ADAMS, users can create detailed mechanical system models, simulate their behavior, and optimize the design to improve performance, reliability and safety.
[0042] Exemplary Methods
[0043] Figure 1 This is a flow chart of a method for obtaining parameters of multi-body dynamics elements provided in an embodiment of the present application. Figure 1 In an exemplary embodiment, a method for obtaining parameters of a multi-body dynamic element is provided, and the method may include:
[0044] S120: In response to a pick mode enabling signal, determining a selected drawn element as a reference element.
[0045] In the embodiment of the present application, the picking mode is entered in response to the enabling signal. In the picking mode, the parameters of the reference element can be obtained by clicking on the drawn element.
[0046] When the pick mode is enabled, a pick mode prompt box will be automatically created above the canvas area to remind the user to enter the pick mode. The configuration area of the newly created element will create a new location pick state locationPickUpState, set the pick state locationPickUpState to true, and send a signal to the main window; after receiving the signal, the main window sets the state of the current canvas area to eStateElementPick (pick state); the preset area in the canvas is the pick area, and subsequent mouse operations in the pick area will be recognized as information pick of the reference element, and no other response will be made.
[0047] The reference element can be a component or point that has been drawn. For example, a Marker that has been drawn can be used as a reference element. A Marker is a reference point or reference direction in a multi-body system, usually attached to a rigid body or a flexible body. It can represent a fixed point, a moving point relative to a rigid body, or a direction vector. A Point that has been drawn can also be used as a reference element. In multi-body dynamics, a Point is a geometric object without size and shape, usually used to represent a position in space. It can be a fixed point on a rigid body, or a contact point or connection point between two objects. Any drawn element that has information that can be picked up, such as position information, name information, or angle information, can be used as a reference element in the embodiments of the present application.
[0048] S140: In response to a signal that a reference element is selected, fill the target parameter of the reference element into a parameter configuration area of the newly created element; the newly created element is created at least according to the information of the reference element.
[0049] In actual applications, the user can select the position information and other information of the reference element by clicking the mouse in the picking mode, and pass the position information and other information to the filling area of the parameter configuration area of the new element to realize the picking of the target parameters.
[0050] Figure 2 A schematic diagram of a newly created element parameter configuration area provided in an embodiment of the present application; Figure 2 As shown, the configuration area of the newly created element includes the name information, position information, mechanical parameter information, geometric size information, etc. of the newly created element. In the picking mode, the user can complete the parameter configuration of the newly created element by picking the information of the reference element.
[0051] The parameter acquisition method of the multi-body dynamic element provided in the embodiment of the present application can fill the target parameters of the reference element into the parameter configuration area of the newly created element by selecting the reference element in the picking mode, and interactively create the multi-body dynamic element, which is more convenient and friendly to operate. In the embodiment of the present application, information can be picked up by operations such as mouse clicks, and element information can be obtained in a timely and accurate manner, eliminating tedious operations and avoiding the memory of reference element information. The operation is simple and fast; at the same time, the operation steps of the newly created element are simplified, and the work efficiency is improved.
[0052] In an optional embodiment, the method further includes:
[0053] Exit picking mode.
[0054] In actual applications, after the parameter filling area of the newly created element picks up the correct information, the user can exit the picking mode through the preset exit picking mode operation, set the pick flag locationPickUpState of the parameter configuration area of the newly created element to false, and set the state of the main window to eStateNone. The preset exit picking mode operation can be an operation pre-set by the user, such as: right-clicking, or clicking the esc button, etc.
[0055] Figure 3 This is a schematic diagram of the interface in the picking mode provided in the embodiment of the present application; Figure 3As shown, the interface includes an area pick area for the drawn area, and the pick area includes prompt information for prompting the user to select a reference element and prompt information for exiting the pick mode. When the user clicks the esc button, the pick mode is exited. When the user selects a reference element, the parameter information of the reference element is filled into the parameter filling area of the new element.
[0056] In an optional embodiment, the method further comprises: determining a parameter category to be picked up in response to a pick-up mode enabling signal;
[0057] In response to a signal that the reference element is selected, the target parameters of the reference element are filled into the parameter configuration area of the newly created element, including:
[0058] In response to a signal indicating that the reference element is selected, the target parameter is extracted from the configuration information of the reference element according to the parameter category to be picked up.
[0059] Since the parameters of the newly created element can include information such as position information, name information, and angle information, it is necessary to determine the parameter category to be picked up when starting the picking mode. The parameter category can include position information, name information, and angle information. After determining the parameter category to be picked up, in the picking mode, when the reference element is selected, the parameter category to be picked up can be realized, and the target parameters can be extracted from the configuration information of the reference element, without the user having to memorize the parameters, and the target parameters can be accurately filled in, thereby improving the operation efficiency of the newly created element.
[0060] Figure 4 This is a schematic diagram of a part of the interface of the parameter configuration area of a new element provided in an embodiment of the present application. Figure 4 As shown, by clicking the pick mode area located in the location information area, Figure 4 The area where the mouse is located in the picking mode is the area where the picking mode is entered. At this time, by clicking the reference element in the picking area, the position information can be picked up. It should be noted that after entering the picking mode in this embodiment, the position information is picked up.
[0061] In an optional implementation, when there are multiple target parameters, filling the target parameters of the reference element into the parameter configuration area of the newly created element includes:
[0062] Get the filling rule of the target parameter, the filling rule is determined by turning on the picking mode;
[0063] Fill multiple target parameters into corresponding parameter filling areas in the parameter configuration area according to the filling rules; the parameter filling area is used to fill the target parameters.
[0064] Since there are multiple target parameters, it is necessary to determine the filling rules of the target parameters in advance, and fill the target parameters into the parameter filling area according to the filling rules.
[0065] By determining the filling rules when the picking mode is turned on, when there are multiple target parameters, they can be filled in an orderly manner, thereby improving the efficiency of parameter filling of the newly created element.
[0066] In an optional implementation, the filling rule may include single-point execution and sequential execution, and multiple target parameters are filled into corresponding parameter filling areas in the parameter configuration area according to the filling rule, including:
[0067] When the filling rule is single-point execution, after filling the current target parameter into the corresponding parameter filling area in the parameter configuration area, switch to the filling operation of the next target parameter through the preset switching action;
[0068] When the filling rule is sequential execution, multiple target parameters are sequentially filled into corresponding parameter filling areas in the parameter configuration area according to a preset parameter filling order.
[0069] In actual applications, when the filling rule is single-point execution, the reference element target parameter can be filled into the current parameter filling area by clicking the mouse. After the user confirms that the data is correct, the next target parameter can be picked up by clicking the next parameter filling area. It should be noted that when the user needs to confirm that the current parameter is incorrect, it can be corrected by manual modification.
[0070] In the single-point execution mode, the filling operation of the next target parameter can also be switched to by a preset switching action. The preset switching action can be based on a predefined operation, such as an enter operation.
[0071] When the filling rule is executed sequentially, you can fill in the parameters according to the preset filling order. The preset parameter filling order is generally a filling order from top to bottom. You can fill in multiple target parameters by clicking the mouse multiple times, which improves the efficiency of creating new elements.
[0072] Figure 5 This is a flow chart for filling in the multi-objective parameters of a newly created element provided in an embodiment of the present application. Figure 5As shown, the picking mode is entered from the parameter filling area of the position information. At this time, the parameter category picked is the position information. After selecting the reference element, the position information of the reference element is filled into the filling area of the position information of the newly created element. After judging that the position information is correct, the name information picking mode can be entered through the preset switching operation or the sequential execution sequence. At this time, the parameter category picked is the name information. After selecting the reference element, the name information of the reference element is filled into the filling area of the name information of the newly created element. After judging that the name information is correct, the name information picking is terminated. In practical applications, other information of the newly created element can also be manually input. After all the parameters of the newly created element are filled, the parameter configuration operation of the newly created element is terminated. It should be understood that in practical applications, all the parameters of the newly created element can be manually input, that is, the filling of all the parameters of the newly created element is realized by manual input without entering the picking mode.
[0073] In an optional implementation, filling the target parameter of the reference element into the parameter configuration area of the newly created element includes:
[0074] When the selected reference element is switched multiple times in succession, the target parameters of the most recently selected reference element are filled into the parameter configuration area of the newly created element.
[0075] In actual operation, when the user selects reference elements multiple times, the target parameters of the most recently selected reference element are used as the parameters of the parameter configuration area of the new element. That is, in the picking mode, multiple repeated selections are supported, and the most recently selected target parameters are used as the parameters of the parameter filling area of the new element.
[0076] In an optional embodiment, in response to a pick mode enable signal, determining a selected drawn element as a reference element includes: in response to a pick mode enable signal, determining a preset area as a pick area, taking the selected drawn element in the pick area as a reference element, and the pick area at least includes the area where the drawn element is located.
[0077] In actual applications, the canvas can be divided into a pick area and a parameter configuration area for new elements. The pick area includes the area where the drawn elements are located, so that the new elements can be used as references. The parameters of the reference elements are used as the parameters of the parameter filling area by clicking the mouse. In the pick mode, the mouse click operations in the pick area are all information pick operations. Through the set pick area, the target parameters can be quickly obtained.
[0078] Exemplary Devices
[0079] Correspondingly, an embodiment of the present application also provides a device for acquiring parameters of multi-body dynamics elements. Figure 6A structural block diagram of a parameter acquisition device for a multi-body dynamics element provided in an embodiment of the present application, such as Figure 6 As shown, the apparatus may include:
[0080] A generating unit 610, configured to determine the selected drawn element as a reference element in response to a pick mode enabling signal;
[0081] The filling unit 630 is used to fill the target parameters of the reference element into the drawing parameter configuration area of the newly created element in response to the signal that the reference element is selected; the newly created element is created at least according to the information of the reference element.
[0082] The parameter acquisition device of the multi-body dynamics element provided in this embodiment belongs to the same application concept as the parameter acquisition method of the multi-body dynamics element provided in the above-mentioned embodiment of this application, and can execute the parameter acquisition method of the multi-body dynamics element provided in any of the above-mentioned embodiments of this application, and has the corresponding functional modules and beneficial effects of executing the parameter acquisition method of the multi-body dynamics element. For the technical details not described in detail in this embodiment, please refer to the specific processing content of the parameter acquisition method of the multi-body dynamics element provided in the above-mentioned embodiment of this application, and will not be repeated here.
[0083] The functions implemented by the above generation unit 610 and filling unit 630 may be implemented by the same or different processors, respectively, and are not limited in the embodiments of the present application.
[0084] It should be understood that the generating unit 610 and the filling unit 630 in the above device can be implemented in the form of a processor calling software. For example, the device includes a processor, the processor is connected to a memory, and instructions are stored in the memory. The processor calls the instructions stored in the memory to implement any of the above methods or realize the functions of each unit of the device, wherein the processor can be a general-purpose processor, such as a CPU or a microprocessor, etc., and the memory can be a memory in the device or a memory outside the device. Alternatively, the unit in the device can be implemented in the form of a hardware circuit, and the functions of some or all units can be realized by designing the hardware circuit. The hardware circuit can be understood as one or more processors; for example, in one implementation, the hardware circuit is an ASIC, and the functions of some or all of the above units are realized by designing the logical relationship of the components in the circuit; for another example, in another implementation, the hardware circuit can be implemented by PLD, taking FPGA as an example, which can include a large number of logic gate circuits, and the connection relationship between the logic gate circuits is configured by a configuration file, so as to realize the functions of some or all of the above units. All units of the above device can be implemented in the form of a processor calling software, or in the form of a hardware circuit, or in part by a processor calling software, and the remaining part is implemented in the form of a hardware circuit.
[0085] In an embodiment of the present application, a processor is a circuit with the ability to process signals. In one implementation, the processor may be a circuit with the ability to read and run instructions, such as a CPU, a microprocessor, a GPU, or a DSP; in another implementation, the processor may implement certain functions through the logical relationship of a hardware circuit, and the logical relationship of the hardware circuit is fixed or reconfigurable, such as a hardware circuit implemented by an ASIC or PLD, such as an FPGA. In a reconfigurable hardware circuit, the process of the processor loading a configuration document to implement the hardware circuit configuration can be understood as the process of the processor loading instructions to implement the functions of some or all of the above units. In addition, it can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as an NPU, TPU, DPU, etc.
[0086] It can be seen that each unit in the above device can be one or more processors (or processing circuits) configured to implement the above method, such as: CPU, GPU, NPU, TPU, DPU, microprocessor, DSP, ASIC, FPGA, or a combination of at least two of these processor forms.
[0087] In addition, all or part of the units in the above device can be integrated together, or can be implemented independently. In one implementation, these units are integrated together and implemented in the form of a SOC. The SOC may include at least one processor for implementing any of the above methods or implementing the functions of each unit of the device. The type of the at least one processor may be different, for example, including a CPU and an FPGA, a CPU and an artificial intelligence processor, a CPU and a GPU, etc.
[0088] Exemplary Systems
[0089] The embodiment of the present application further provides a drawing system, the system comprising: an element creation control subsystem, wherein the element creation control subsystem is used to execute the parameter acquisition method of the multi-body dynamics element.
[0090] It should be noted that the drawing system in this embodiment may be ADAMS software, and the parameter acquisition method of the multi-body dynamics element may be directly executed on the software.
[0091] Exemplary Electronic Devices
[0092] Another embodiment of the present application also provides an electronic device, see Figure 7 As shown, the device includes:
[0093] Memory 700 and processor 710;
[0094] The memory 700 is connected to the processor 710 and is used to store programs;
[0095] The processor 710 is used to implement the method for obtaining parameters of multi-body dynamic elements disclosed in any of the above embodiments by running the program stored in the memory 700.
[0096] Specifically, the electronic device may further include: a bus, a communication interface 720 , an input device 730 and an output device 770 .
[0097] The processor 710, the memory 700, the communication interface 720, the input device 730 and the output device 770 are connected to each other via a bus.
[0098] A bus may include a pathway that transfers information between components of a computer system.
[0099] Processor 710 may be a general-purpose processor, such as a general-purpose central processing unit (CPU), a microprocessor, etc., or an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the scheme of the present invention. It may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0100] The processor 710 may include a main processor, and may also include a baseband chip, a modem, and the like.
[0101] The memory 700 stores a program for executing the technical solution of the present invention, and may also store an operating system and other key services. Specifically, the program may include a program code, and the program code includes a computer operation instruction. More specifically, the memory 700 may include a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM), other types of dynamic storage devices that can store information and instructions, a disk storage, a flash, and the like.
[0102] The input device 730 may include a device for receiving data and information input by a user, such as a keyboard, a mouse, a camera, a scanner, a light pen, a voice input device, a touch screen, a pedometer, or a gravity sensor.
[0103] Output device 770 may include devices that allow information to be output to a user, such as a display screen, printer, speakers, etc.
[0104] The communication interface 720 may include any transceiver or the like to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Network (WLAN), etc.
[0105] The processor 710 executes the program stored in the memory 700 and calls other devices, which can be used to implement each step of the parameter acquisition method of any multi-body dynamics element provided in the above embodiments of the present application.
[0106] An embodiment of the present application also proposes a chip, which includes a processor and a data interface. The processor reads and runs a program stored in a memory through the data interface to execute the parameter acquisition method of the multi-body dynamics element introduced in any of the above embodiments. The specific processing process and its beneficial effects can be found in the embodiment introduction of the parameter acquisition method of the multi-body dynamics element mentioned above.
[0107] Exemplary computer program products and storage media
[0108] In addition to the above-mentioned methods and devices, an embodiment of the present application may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the parameter acquisition method of the multi-body dynamic elements according to various embodiments of the present application described in any of the above embodiments of this specification.
[0109] The computer program product may be written in any combination of one or more programming languages to write program codes for performing the operations of the embodiments of the present application, including object-oriented programming languages, such as Java, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0110] In addition, the embodiment of the present application may also be a storage medium on which a computer program is stored. The computer program is executed by a processor to execute the steps of the method for obtaining parameters of a multi-body dynamics element according to various embodiments of the present application described in any of the above embodiments of this specification, and specifically the following steps may be implemented:
[0111] S120: In response to a pick mode enabling signal, determining a selected drawn element as a reference element.
[0112] S140: In response to a signal that a reference element is selected, fill the target parameter of the reference element into a parameter configuration area of the newly created element; the newly created element is created at least according to the information of the reference element.
[0113] For the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0114] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0115] The steps in the methods of each embodiment of the present application can be adjusted in order, combined and deleted according to actual needs, and the technical features recorded in each embodiment can be replaced or combined.
[0116] The modules and sub-modules in the devices and terminals of the various embodiments of the present application can be combined, divided and deleted according to actual needs.
[0117] In the several embodiments provided in the present application, it should be understood that the disclosed terminals, devices and methods can be implemented in other ways. For example, the terminal embodiments described above are only schematic, for example, the division of modules or submodules is only a logical function division, and there may be other division methods in actual implementation, for example, multiple submodules or modules can be combined or integrated into another module, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.
[0118] The modules or submodules described as separate components may or may not be physically separated, and the components of the modules or submodules may or may not be physical modules or submodules, that is, they may be located in one place, or they may be distributed on multiple network modules or submodules. Some or all of the modules or submodules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0119] In addition, each functional module or submodule in each embodiment of the present application may be integrated into one processing module, or each module or submodule may exist physically separately, or two or more modules or submodules may be integrated into one module. The above-mentioned integrated modules or submodules may be implemented in the form of hardware or in the form of software functional modules or submodules.
[0120] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0121] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly by hardware, software units executed by a processor, or a combination of the two. The software units may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0122] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0123] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for obtaining parameters of multi-body dynamics elements, characterized in that: include: In response to a pick mode enable signal, determining the selected drawn element as a reference element; In response to a signal that the reference element is selected, the target parameter of the reference element is filled into a parameter configuration area of a newly created element; the newly created element is established at least according to the information of the reference element.
2. The method for obtaining parameters of multi-body dynamics elements according to claim 1, characterized in that: The method further includes: determining a parameter category to be picked up in response to the pick-up mode enable signal; In response to the signal that the reference element is selected, filling the target parameter of the reference element into the parameter configuration area of the newly created element includes: In response to a signal indicating that the reference element is selected, target parameters are extracted from configuration information of the reference element according to the parameter category to be picked up.
3. The method for obtaining parameters of multi-body dynamics elements according to claim 1, characterized in that: When there are multiple target parameters, filling the target parameters of the reference element into the parameter configuration area of the newly created element includes: Acquire a filling rule of the target parameter, wherein the filling rule is determined by turning on the picking mode; Fill the plurality of target parameters into corresponding parameter filling areas in the parameter configuration area according to the filling rule; the parameter filling area is used to fill the target parameters.
4. The method for obtaining parameters of multi-body dynamics elements according to claim 3, characterized in that: The filling rule includes single-point execution and sequential execution, and the filling of the plurality of target parameters into corresponding parameter filling areas in the parameter configuration area according to the filling rule includes: When the filling rule is single-point execution, after the current target parameter is filled into the corresponding parameter filling area in the parameter configuration area, the filling operation of the next target parameter is switched to through a preset switching action; When the filling rule is sequential execution, the plurality of target parameters are sequentially filled into corresponding parameter filling areas in the parameter configuration area according to a preset parameter filling order.
5. The method for obtaining parameters of multi-body dynamics elements according to claim 1, characterized in that: The step of filling the target parameter of the reference element into the parameter configuration area of the newly created element includes: When the selected reference element is switched multiple times in succession, the target parameters of the most recently selected reference element are filled into the parameter configuration area of the newly created element.
6. The method for obtaining parameters of multi-body dynamics elements according to claim 1, characterized in that: The step of determining the selected drawn element as a reference element in response to a pick mode enable signal includes: determining a preset area as a pick area in response to a pick mode enable signal, and using the selected drawn element in the pick area as a reference element, wherein the pick area at least includes an area where the drawn element is located.
7. A parameter acquisition device for multi-body dynamics elements, characterized in that: include: a generating unit, for determining the selected drawn element as a reference element in response to a pick mode enabling signal; a filling unit, configured to fill the target parameters of the reference element into the drawing parameter configuration area of the newly created element in response to a signal that the reference element is selected; The newly created element is established at least according to the information of the reference element.
8. A drawing system, characterized in that: include: An element creation control subsystem, wherein the element creation control subsystem is used to execute the parameter acquisition method of the multi-body dynamics element as described in any one of claims 1 to 6.
9. An electronic device, characterized in that: including memory and processor; The memory is connected to the processor and is used to store programs; The processor is used to implement the parameter acquisition method of the multi-body dynamics element as described in any one of claims 1 to 6 by running the program in the memory.
10. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, the method for obtaining parameters of a multi-body dynamics element according to any one of claims 1 to 6 is implemented.