Model parameter adjustment method and device, and storage medium
By receiving and parsing input, displaying a parameter modification interface, and adjusting size parameters and methods, the problem of cumbersome component size adjustments in cruise ship modeling is solved, improving adjustment efficiency and accuracy.
Patent Information
- Application Number
- CN202311436328.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-31
- Publication Date
- 2026-08-25
- Estimated Expiration
- 2043-10-31
AI Technical Summary
The process of adjusting the size of components during cruise ship model building is cumbersome and inefficient.
A method and apparatus for adjusting model parameters are provided. By receiving and parsing input, a parameter modification interface is displayed, allowing users to adjust dimensional parameters and methods to achieve dimensional adjustment of target components.
It significantly simplifies the parameter adjustment steps for ship models, shortens the modification time, and improves adjustment efficiency and accuracy.
Smart Images

Figure CN117421794B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data modeling technology, and in particular to a method, apparatus and storage medium for adjusting model parameters. Background Technology
[0002] Cruise ship model design is a complex systems engineering project, involving high technical content and a massive amount of work. Specifically, cruise ship models are composed of a large number of components such as plates and profiles. Therefore, during the modeling process, many components need to be resized, resulting in cumbersome steps for adjusting component dimensions and low efficiency in this process. Summary of the Invention
[0003] In view of this, the present invention provides a method, apparatus and storage medium for adjusting model parameters.
[0004] Specifically, the present invention is achieved through the following technical solution:
[0005] According to a first aspect of the present invention, a method for adjusting model parameters is provided. The method includes: receiving a first input to the displayed components when displaying components of a ship model; determining a target component in the ship model in response to the first input; receiving a second input and, in response to the second input, displaying a parameter modification interface for the target component, the parameter modification interface displaying size parameters and adjustment methods for the size parameters; receiving a third input to the size parameters and adjustment methods for the size parameters, and determining a target size parameter and a target adjustment method; and adjusting the target component based on the target size parameter and the target adjustment method in response to the third input.
[0006] The model parameter adjustment method in this embodiment displays the components of the ship model during the design process and receives a first input for the components. The first input is parsed to determine the target component in the ship model. A second input is received, and in response to the second input, a parameter modification interface for the target component is displayed. A third input for the parameter modification interface is received to determine the target size parameters and the target adjustment method. In response to the third input, the size parameters of the target component are adjusted according to the target size parameters and the target adjustment method. This significantly simplifies the parameter adjustment steps of the ship model, reduces the time required to modify parameters in the ship model, and thus improves the efficiency of parameter adjustment in the ship model.
[0007] According to a second aspect of the present invention, a model parameter adjustment device is provided, comprising: a processing module for receiving a first input to the displayed components of a ship model when the components of the ship model are displayed; the processing module is further configured to determine a target component in the ship model in response to the first input; the processing module is further configured to receive a second input and, in response to the second input, display a parameter modification interface for the target component, the parameter modification interface displaying size parameters and adjustment methods for the size parameters; the processing module is further configured to receive a third input to the size parameters and adjustment methods for the size parameters, and determine a target size parameter and a target adjustment method; the processing module is further configured to adjust the target component based on the target size parameter and the target adjustment method in response to the third input.
[0008] In this embodiment, the model parameter adjustment device displays the components of the ship model during the design process and receives a first input for the components. It then parses the first input to determine the target component in the ship model, receives a second input, and displays a parameter modification interface for the target component in response to the second input. Finally, it receives a third input for the parameter modification interface to determine the target size parameters and the target adjustment method. In response to the third input, it adjusts the size parameters of the target component according to the target size parameters and the target adjustment method. This significantly simplifies the parameter adjustment steps of the ship model, reduces the time required to modify parameters in the ship model, and thus improves the efficiency of parameter adjustment in the ship model.
[0009] According to a third aspect of the present invention, a model parameter adjustment apparatus is provided, comprising: a processor; a memory storing a program or instructions, wherein the processor, when executing the program or instructions in the memory, implements the steps of the model parameter adjustment method in any possible implementation of the first aspect.
[0010] According to a fourth aspect of the present invention, a storage medium is provided having a computer program stored thereon, wherein the program, when executed by a processor, implements the steps of the method for adjusting model parameters in any possible implementation of the first aspect.
[0011] The technical solution provided by this invention brings at least the following beneficial effects:
[0012] The parameter adjustment steps for ship models have been greatly simplified, the time required to modify parameters in ship models has been reduced, and thus the efficiency of parameter adjustment in ship models has been improved. Attached Figure Description
[0013] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0014] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, those skilled in the art can obtain other drawings based on these drawings without creative effort.
[0015] Figure 1 This is one of the flowcharts illustrating a method for adjusting model parameters according to an embodiment of the present invention;
[0016] Figure 2 One of the interface diagrams for a method of adjusting model parameters provided in an embodiment of the present invention;
[0017] Figure 3 A second schematic diagram of an interface for a method of adjusting model parameters provided in an embodiment of the present invention;
[0018] Figure 4 The third schematic diagram of an interface for a method of adjusting model parameters provided in an embodiment of the present invention;
[0019] Figure 5 The fourth schematic diagram of an interface for a method of adjusting model parameters provided in an embodiment of the present invention;
[0020] Figure 6 A second schematic flowchart illustrating a method for adjusting model parameters provided in an embodiment of the present invention;
[0021] Figure 7 The third flowchart illustrates a method for adjusting model parameters according to an embodiment of the present invention.
[0022] Figure 8 The fourth flowchart illustrates a method for adjusting model parameters according to an embodiment of the present invention.
[0023] Figure 9 Fifth flowchart illustrating a method for adjusting model parameters provided in an embodiment of the present invention;
[0024] Figure 10 A flowchart illustrating a method for adjusting model parameters provided in an embodiment of the present invention is shown in Figure 6.
[0025] Figure 11 The seventh flowchart illustrates a method for adjusting model parameters according to an embodiment of the present invention.
[0026] Figure 12 This is the eighth flowchart illustrating a method for adjusting model parameters provided in an embodiment of the present invention.
[0027] Figure 13One of the structural block diagrams of a model parameter adjustment device provided in an embodiment of the present invention;
[0028] Figure 14 A second structural block diagram of a model parameter adjustment device provided in an embodiment of the present invention; Detailed Implementation
[0029] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0030] The technical solution for adjusting model parameters provided by this invention can be implemented by an adjustment device, or it can be determined according to actual usage requirements, and no specific limitation is made here. To more clearly describe the method for adjusting model parameters provided by this invention, the following description uses an adjustment device as the implementing entity.
[0031] See Figure 1 This invention provides a method for adjusting model parameters, which may include the following steps:
[0032] S101. When displaying the components of a ship model, receive a first input to the displayed components;
[0033] S102. In response to the first input, determine the target component in the ship model;
[0034] S103. Receive the second input and respond to the second input by displaying the parameter modification interface of the target component. The parameter modification interface displays the size parameters and the adjustment method of the size parameters.
[0035] S104. Receive a third input regarding the dimensional parameters and the adjustment method of the dimensional parameters, and determine the target dimensional parameters and the target adjustment method;
[0036] S105. In response to the third input, adjust the target components based on the target size parameters and the target adjustment method.
[0037] In this embodiment, a method for adjusting model parameters is provided. During the design process of a ship model, the adjustment device displays the components of the ship model and receives a first input for the components. The ship model is a three-dimensional model of a ship, the components are the parts that constitute the ship model, and the first input is a selection input for the components.
[0038] For example, a ship model is displayed on the display interface of the modeling software.
[0039] For example, the ship model can be specifically a 3D model of a cruise ship, and the components can be specifically the plates or profiles in the cruise ship model.
[0040] For example, the first input may specifically be a click selection input for a component.
[0041] The adjustment device analyzes the first input to determine the target component in the ship model, wherein the target component is the target component among the components.
[0042] For example, the target component may specifically be a target sheet in a cruise ship model.
[0043] The adjustment device receives a second input and, in response to the second input, displays a parameter modification interface for the target component. The parameter modification interface displays dimensional parameters and adjustment methods for the dimensional parameters. The second input is the input to open the parameter modification interface. The dimensional parameters are used to represent the dimensions of the component, and the adjustment methods are used to represent the methods for modifying the dimensions of the component.
[0044] For example, the second input can be specifically the input of clicking the start button, and the parameter modification interface can be specifically a window interface for inputting size parameters and the adjustment method of size parameters.
[0045] For example, adjusting the size parameters may specifically include updating the size values or scaling the size proportionally.
[0046] The adjustment device receives a third input regarding the size parameters and the adjustment method of the size parameters, and determines the target size parameters and the target adjustment method. The third input is the size parameters and adjustment method input in the parameter modification interface, the target size parameters are the size parameters in the third input, and the target adjustment method is the adjustment method in the third input.
[0047] For example, the third input may specifically include parameter input and method selection in the parameter modification interface.
[0048] The adjustment device responds to the third input and then adjusts the size parameters of the target component according to the target size parameters and the target adjustment method.
[0049] For example, the method for adjusting model parameters can be used in a modeling program, the interface of which is as follows: Figure 2As shown, it includes a function selection bar and a model display area. The function selection bar can display function selection buttons such as function 1, function 2, and function 3. Users can select the function of the modeling program by clicking the function selection buttons. The model display area is used to display the ship model. Users can select target components in the ship model in the model display area.
[0050] For example, such as Figure 3 As shown, users can select the length modification function in the function selection bar. Figure 4 As shown, after selecting the length modification function, the parameter modification interface is displayed in the model display area.
[0051] For example, such as Figure 5 As shown, on the parameter modification interface, you can choose how to modify the length of the target component. The modification methods can include the head, tail, and both ends. For the length of the target component, the user can choose to increase the length or the overall length.
[0052] The model parameter adjustment method in this embodiment displays the components of the ship model during the design process and receives a first input for the components. The first input is parsed to determine the target component in the ship model. A second input is received, and in response to the second input, a parameter modification interface for the target component is displayed. A third input for the parameter modification interface is received to determine the target size parameters and the target adjustment method. In response to the third input, the size parameters of the target component are adjusted according to the target size parameters and the target adjustment method. This significantly simplifies the parameter adjustment steps of the ship model, reduces the time required to modify parameters in the ship model, and thus improves the efficiency of parameter adjustment in the ship model.
[0053] In some embodiments, optionally, such as Figure 6 As shown, a method for adjusting model parameters is proposed, including:
[0054] S601. When displaying components of a ship model, receive a first input to the displayed components;
[0055] S602. In response to the first input, determine the target component in the ship model;
[0056] S603. Receive the second input and respond to the second input by displaying the parameter modification interface of the target component. The parameter modification interface displays the size parameters and the adjustment method of the size parameters.
[0057] S604, Receive a third input regarding the dimensional parameters and the adjustment method of the dimensional parameters, and determine the target dimensional parameters and the target adjustment method;
[0058] S605. In response to the third input, when the target adjustment method is to adjust the component size, the size parameters of the target component are adjusted to the target size parameters.
[0059] In this embodiment, when the target adjustment method is to adjust the component size, the adjustment device adjusts the size parameters of the target component to the target size parameters.
[0060] For example, when the target adjustment method is to adjust the component size and the target size parameter is specifically the length parameter 400mm, the length of the target component is adjusted from 300mm to 400mm.
[0061] In this embodiment, the model parameter adjustment method adjusts the size parameters of the target component to the target size parameters when the target adjustment method is to adjust the component size. This simplifies the adjustment steps of the target size parameters and improves the adjustment efficiency of the target size parameters.
[0062] In some embodiments, optionally, such as Figure 7 As shown, a method for adjusting model parameters is proposed, including:
[0063] S701. When displaying components of a ship model, receive a first input to the displayed components;
[0064] S702, In response to the first input, determine the target component in the ship model;
[0065] S703. Receive the second input and respond to the second input by displaying the parameter modification interface of the target component. The parameter modification interface displays the size parameters and the adjustment method of the size parameters.
[0066] S704, Receive a third input regarding the dimensional parameters and the adjustment method of the dimensional parameters, and determine the target dimensional parameters and the target adjustment method;
[0067] S705. In response to the third input, when the target adjustment method is to adjust the size of the component, and the target adjustment method also includes the first adjustment position or the second adjustment position of the component, a first value is determined based on the size parameters of the target component and the target size parameters.
[0068] S706. Based on the first value, adjust the size of the first adjustment position or the second adjustment position of the component so that the size parameter of the component is equal to the target size parameter.
[0069] In this embodiment, when the target adjustment method is to adjust the size of the component, and the target adjustment method also includes a first adjustment position or a second adjustment position of the component, it is explained that the size adjustment of the component needs to be performed at the first adjustment position or the second adjustment position. The adjustment device performs a difference calculation on the size parameter of the target component and the target size parameter to obtain a first value, wherein the first value is the difference between the size parameter of the target component and the target size parameter, and the first adjustment position and the second adjustment position are the size modification positions of the target component.
[0070] For example, the size parameter of the target component is specifically a length of 300mm, the target size parameter is specifically a length of 400mm, and thus the first value is determined to be 100mm.
[0071] For example, the target component's dimensional parameter is specifically a length of 300 mm, the target dimensional parameter is specifically a length of 250 mm, and thus the first value is determined to be -50 mm.
[0072] For example, the first adjustment position may be specifically the "start" position of the target component, and the second adjustment position may be specifically the "end" position of the target component.
[0073] The adjustment device adjusts the size of the component at the first adjustment position or the second adjustment position according to the first value, so that the size parameter of the component is equal to the target size parameter.
[0074] For example, the adjustment device increases a first value at a first adjustment position of the component so that the dimensional parameter of the component is equal to the target dimensional parameter.
[0075] For example, the adjustment device increases the first value at the second adjustment position of the component so that the dimensional parameter of the component is equal to the target dimensional parameter.
[0076] In this embodiment, the model parameter adjustment method, when the target adjustment method is to adjust the size of the component, and the target adjustment method also includes the first adjustment position or the second adjustment position of the component, performs a difference calculation on the size parameter of the target component and the target size parameter to obtain a first value. Based on the first value, the size of the first adjustment position or the second adjustment position of the component is adjusted so that the size parameter of the component is equal to the target size parameter, thus ensuring the data accuracy of the size parameter of the target component, and thus ensuring the model accuracy of the ship model.
[0077] In some embodiments, optionally, such as Figure 8 As shown, a method for adjusting model parameters is proposed, including:
[0078] S801. When displaying components of a ship model, receive a first input to the displayed components;
[0079] S802, In response to the first input, determine the target component in the ship model;
[0080] S803. Receive the second input and respond to the second input by displaying the parameter modification interface of the target component. The parameter modification interface displays the size parameters and the adjustment method of the size parameters.
[0081] S804: Receive a third input regarding the dimensional parameters and the adjustment method of the dimensional parameters, and determine the target dimensional parameters and the target adjustment method;
[0082] S805. In response to the third input, when the target adjustment method is to adjust the size of the component, and the target adjustment method also includes the first adjustment position and the second adjustment position of the component, the second value and the third value are determined according to the size parameters of the target component and the target size parameters.
[0083] S806. Based on the second value, the first adjustment position of the component is adjusted in size, and based on the third value, the second adjustment position of the component is adjusted in size, so that the size parameter of the component is equal to the target size parameter.
[0084] In this embodiment, when the target adjustment method is to adjust the size of the component, and the target adjustment method also includes the first adjustment position and the second adjustment position of the component, it is explained that the size adjustment needs to be performed at the first adjustment position and the second adjustment position of the component. The adjustment device performs difference and mean calculation on the size parameter of the target component and the target size parameter to obtain a second value and a third value, wherein the second value and the third value are the average value of the difference between the size parameter of the target component and the target size parameter.
[0085] For example, the target component's size parameter is specifically a length of 300 mm, the target size parameter is specifically a length of 400 mm, and thus the second and third values are both determined to be 50 mm.
[0086] For example, the target component's size parameter is specifically a length of 300mm, and the target size parameter is specifically a length of 250mm, thus determining that the second and third values are both -25mm.
[0087] The adjustment device adjusts the size of the first adjustment position of the component according to the second value, and adjusts the size of the second adjustment position of the component according to the third value, so that the size parameter of the component is equal to the target size parameter.
[0088] For example, the adjustment device increases a second value at a first adjustment position of the component and increases a third value at a second adjustment position of the component, so that the dimensional parameters of the component are equal to the target dimensional parameters.
[0089] In this embodiment, the model parameter adjustment method, when the target adjustment method is to adjust the component size, and the target adjustment method also includes the first adjustment position and the second adjustment position of the component, performs difference and mean calculations on the size parameters of the target component and the target size parameters to obtain a second value and a third value. Based on the second value, the size of the first adjustment position of the component is adjusted, and based on the third value, the size of the second adjustment position of the component is adjusted, so that the size parameters of the component are equal to the target size parameters, ensuring the data accuracy of the size parameters of the target component, and thus ensuring the model accuracy of the ship model.
[0090] In some embodiments, optionally, such as Figure 9 As shown, a method for adjusting model parameters is proposed, including:
[0091] S901. When displaying components of a ship model, receive a first input to the displayed components;
[0092] S902, In response to the first input, determine the target component in the ship model;
[0093] S903. Receive the second input and respond to the second input by displaying the parameter modification interface of the target component. The parameter modification interface displays the size parameters and the adjustment method of the size parameters.
[0094] S904, Receive a third input regarding the dimensional parameters and the adjustment method of the dimensional parameters, and determine the target dimensional parameters and the target adjustment method;
[0095] S905. In response to the third input, when the target adjustment method is to increase the component size, the target size parameter is added to the target component size parameter.
[0096] In this embodiment, when the target adjustment method is to increase the component size, the adjustment device adds the target size parameter based on the size parameter of the target component.
[0097] For example, when the target adjustment method is to increase the component size and the target size parameter is specifically the length parameter 50mm, the length of the target component is adjusted from 300mm to 350mm.
[0098] For example, when the target adjustment method is to increase the component size and the target size parameter is specifically the length parameter -50mm, the length of the target component is adjusted from 300mm to 250mm.
[0099] In this embodiment, the model parameter adjustment method, when the target adjustment method is to increase the component size, adds a target size parameter to the target component size parameter, which simplifies the adjustment steps of the target size parameter and thus improves the adjustment efficiency of the target size parameter.
[0100] In some embodiments, optionally, such as Figure 10 As shown, a method for adjusting model parameters is proposed, including:
[0101] S1001. When displaying the components of a ship model, receive a first input to the displayed components;
[0102] S1002, In response to the first input, determine the target component in the ship model;
[0103] S1003. Receive the second input and respond to the second input by displaying the parameter modification interface of the target component. The parameter modification interface displays the size parameters and the adjustment method of the size parameters.
[0104] S1004. Receive a third input regarding the dimensional parameters and the adjustment method of the dimensional parameters, and determine the target dimensional parameters and the target adjustment method;
[0105] S1005. In response to the third input, if the target adjustment method is to increase the component size, and the target adjustment method also includes a first adjustment position or a second adjustment position of the component, a target size parameter is added to the first adjustment position or the second adjustment position of the component to adjust the size parameter of the component.
[0106] In this embodiment, when the target adjustment method is to increase the size of the component, and the target adjustment method also includes a first adjustment position or a second adjustment position of the component, it is explained that the size needs to be increased at the first adjustment position or the second adjustment position of the component, and the adjustment device increases the target size parameter at the first adjustment position or the second adjustment position of the component to adjust the size parameter of the component.
[0107] For example, the target size parameter is 50mm, the size parameter of the component is 200mm, the first adjustment position is the start head position, and the adjustment device increases the target size parameter at the start head position of the component so that the size parameter of the component is equal to 250mm.
[0108] For example, the target size parameter is -50mm, the size parameter of the component is 200mm, the second adjustment position is the end position, and the adjustment device increases the target size parameter at the end position of the component so that the size parameter of the component is equal to 150mm.
[0109] In this embodiment, the model parameter adjustment method, when the target adjustment method is to increase the component size and the target adjustment method also includes the first adjustment position or the second adjustment position of the component, adds the target size parameter at the first adjustment position or the second adjustment position of the component to adjust the size parameter of the component, thereby ensuring the data accuracy of the size parameter of the target component and thus ensuring the model accuracy of the ship model.
[0110] In some embodiments, optionally, such as Figure 11 As shown, a method for adjusting model parameters is proposed, including:
[0111] S1101. When displaying the components of a ship model, receive a first input to the displayed components;
[0112] S1102. In response to the first input, determine the target component in the ship model;
[0113] S1103. Receive the second input and respond to the second input by displaying the parameter modification interface of the target component. The parameter modification interface displays the size parameters and the adjustment method of the size parameters.
[0114] S1104. Receive a third input regarding the dimensional parameters and the adjustment method of the dimensional parameters, and determine the target dimensional parameters and the target adjustment method;
[0115] S1105. In response to the third input, when the target adjustment method is to adjust the size of the component and the target adjustment method also includes the first adjustment position or the second adjustment position of the component, the fourth value and the fifth value are determined according to the target size parameter.
[0116] S1106. Add a fourth value at the first adjustment position of the component and add a fifth value at the second adjustment position of the component to adjust the dimensional parameters of the component.
[0117] In this embodiment, when the target adjustment method is to adjust the size of the component, and the target adjustment method also includes the first adjustment position and the second adjustment position of the component, it is explained that the size adjustment needs to be performed at the first adjustment position and the second adjustment position of the component. The adjustment device performs an average calculation on the target size parameters to obtain a fourth value and a fifth value, wherein the fourth value and the fifth value are the average values of the target size parameters.
[0118] For example, the size parameter of the target component is specifically a length of 50 mm, and thus the fourth and fifth values are both determined to be 25 mm.
[0119] For example, the size parameter of the target component is specifically a length of -50mm, and thus the fourth and fifth values are both determined to be -25mm.
[0120] The adjustment device adds a fourth value at the first adjustment position of the component and a fifth value at the second adjustment position of the component to adjust the dimensional parameters of the component.
[0121] For example, the fourth and fifth values are both 25mm, and the adjustment device increases by 25mm at the first adjustment position of the component and by 25mm at the second adjustment position of the component.
[0122] For example, the fourth and fifth values are both -25mm, and the adjustment device shortens by 25mm at the first adjustment position of the component and by 25mm at the second adjustment position of the component.
[0123] In this embodiment, the model parameter adjustment method, when the target adjustment method is to adjust the component size, and the target adjustment method also includes the first adjustment position and the second adjustment position of the component, performs an average calculation on the target size parameters to obtain a fourth value and a fifth value. The fourth value is added at the first adjustment position of the component, and the fifth value is added at the second adjustment position of the component to adjust the size parameters of the component. This ensures the accuracy of the target component size parameters, and thus ensures the accuracy of the ship model.
[0124] In some embodiments, optionally, such as Figure 12 As shown, a method for adjusting model parameters is proposed, including:
[0125] S1201. When displaying the components of a ship model, receive a first input to the displayed components;
[0126] S1202. Analyze the first input to determine the component numbers in the ship model;
[0127] S1203. Based on the component number, filter the components in the ship model to obtain the target components;
[0128] S1204. Receive the second input and respond to the second input by displaying the parameter modification interface of the target component. The parameter modification interface displays the size parameters and the adjustment method of the size parameters.
[0129] S1205, Receive a third input regarding the dimensional parameters and the adjustment method of the dimensional parameters, and determine the target dimensional parameters and the target adjustment method;
[0130] S1206, In response to the third input, adjust the target components based on the target size parameters and the target adjustment method.
[0131] In this embodiment, the adjustment device analyzes the first input to determine the component number in the ship model, wherein the component number is the serial number of the constituent parts in the ship model.
[0132] For example, the first input can be a click selection of a component in the ship model, and the component number can be the number of the clicked component.
[0133] The adjustment device filters the components in the ship model according to the component number, and then determines the target component.
[0134] For example, if the component number is 5, the target component is determined to be component number 5.
[0135] The model parameter adjustment method in this embodiment parses the first input, determines the component number in the ship model, filters the components in the ship model based on the component number, and then determines the target component, thus ensuring the accuracy of the target component and optimizing the parameter modification steps of the ship model.
[0136] Based on the same inventive concept, such as Figure 13 As shown, this embodiment of the invention also provides a model parameter adjustment device 1300, which includes:
[0137] The processing module 1302 is used to receive a first input to the displayed components when displaying the components of a ship model;
[0138] Processing module 1302 is also configured to, in response to the first input, determine the target component in the ship model;
[0139] The processing module 1302 is also used to receive the second input and, in response to the second input, display the parameter modification interface of the target component, which displays the size parameters and the adjustment method of the size parameters;
[0140] The processing module 1302 is also used to receive a third input on the size parameters and the adjustment method of the size parameters, and to determine the target size parameters and the target adjustment method;
[0141] The processing module 1302 is also used to adjust the target components based on the target size parameters and the target adjustment method in response to the third input.
[0142] In this embodiment, a model parameter adjustment device 1300 is provided. During the design process of the ship model, the processing module 1302 displays the components of the ship model and receives a first input for the components. The ship model is a three-dimensional model of the ship, the components are the parts that constitute the ship model, and the first input is a selection input for the components.
[0143] For example, a ship model is displayed on the display interface of the modeling software.
[0144] For example, the ship model can be specifically a 3D model of a cruise ship, and the components can be specifically the plates or profiles in the cruise ship model.
[0145] For example, the first input may specifically be a click selection input for a component.
[0146] The processing module 1302 analyzes the first input to determine the target component in the ship model, wherein the target component is the target component among the components.
[0147] For example, the target component may specifically be a target sheet in a cruise ship model.
[0148] The processing module 1302 receives the second input and, in response to the second input, displays the parameter modification interface of the target component. The parameter modification interface displays the size parameters and the adjustment method of the size parameters. The second input is the input to open the parameter modification interface. The size parameters are used to represent the size of the component, and the adjustment method is used to represent the size modification method of the component.
[0149] For example, the second input can be specifically the input of clicking the start button, and the parameter modification interface can be specifically a window interface for inputting size parameters and the adjustment method of size parameters.
[0150] For example, adjusting the size parameters may specifically include updating the size values or scaling the size proportionally.
[0151] The processing module 1302 receives a third input regarding the size parameters and the adjustment method of the size parameters, and determines the target size parameters and the target adjustment method. The third input is the size parameters and adjustment method input in the parameter modification interface, the target size parameters are the size parameters in the third input, and the target adjustment method is the adjustment method in the third input.
[0152] For example, the third input may specifically include parameter input and method selection in the parameter modification interface.
[0153] The processing module 1302 responds to the third input and then adjusts the size parameters of the target component according to the target size parameters and the target adjustment method.
[0154] In this embodiment, the model parameter adjustment device 1300 displays the components of the ship model during the design process and receives a first input for the components. It parses the first input to determine the target component in the ship model, receives a second input, and displays a parameter modification interface for the target component in response to the second input. It then receives a third input for the parameter modification interface to determine the target size parameters and target adjustment method. In response to the third input, it adjusts the size parameters of the target component according to the target size parameters and target adjustment method. This significantly simplifies the parameter adjustment steps of the ship model, reduces the time required to modify parameters in the ship model, and thus improves the efficiency of parameter adjustment in the ship model.
[0155] Based on the same inventive concept, embodiments of the present invention also provide a model parameter adjustment device 1300, which further includes:
[0156] The processing module 1302 is also used to adjust the size parameters of the target component to the target size parameters when the target adjustment method is to adjust the component size.
[0157] In this embodiment, the model parameter adjustment device 1300 adjusts the size parameters of the target component to the target size parameters when the target adjustment method is to adjust the component size. This simplifies the adjustment steps of the target size parameters and improves the adjustment efficiency of the target size parameters.
[0158] Based on the same inventive concept, embodiments of the present invention also provide a model parameter adjustment device 1300, which further includes:
[0159] The processing module 1302 is further configured to determine a first value based on the size parameters of the target component and the target size parameters when the target adjustment method includes a first adjustment position or a second adjustment position of the component.
[0160] The processing module 1302 is further configured to adjust the size of the first adjustment position or the second adjustment position of the component according to the first value, so that the size parameter of the component is equal to the target size parameter.
[0161] In this embodiment, when the target adjustment method is to adjust the size of a component, and the target adjustment method also includes a first adjustment position or a second adjustment position of the component, the model parameter adjustment device 1300 performs a difference calculation on the size parameter of the target component and the target size parameter to obtain a first value. Based on the first value, the size of the first adjustment position or the second adjustment position of the component is adjusted so that the size parameter of the component is equal to the target size parameter, thus ensuring the data accuracy of the size parameter of the target component and thereby ensuring the model accuracy of the ship model.
[0162] Based on the same inventive concept, embodiments of the present invention also provide a model parameter adjustment device 1300, which further includes:
[0163] The processing module 1302 is further configured to determine a second value and a third value based on the size parameters of the target component and the target size parameters, when the target adjustment method further includes a first adjustment position and a second adjustment position of the component.
[0164] The processing module 1302 is further configured to adjust the size of the first adjustment position of the component according to the second value, and adjust the size of the second adjustment position of the component according to the third value, so that the size parameter of the component is equal to the target size parameter.
[0165] In this embodiment, the model parameter adjustment device 1300 performs difference and mean calculations on the size parameters of the target component and the target size parameters when the target adjustment method is to adjust the component size, and the target adjustment method also includes the first adjustment position and the second adjustment position of the component. The second value and the third value are then used to adjust the size of the first adjustment position of the component and adjust the size of the second adjustment position of the component according to the second value, so that the size parameters of the component are equal to the target size parameters. This ensures the accuracy of the size parameters of the target component and thus ensures the accuracy of the ship model.
[0166] Based on the same inventive concept, embodiments of the present invention also provide a model parameter adjustment device 1300, which further includes:
[0167] The processing module 1302 is also used to add target size parameters based on the size parameters of the target component when the target adjustment method is to increase the component size.
[0168] In this embodiment, the model parameter adjustment device 1300, when the target adjustment method is to increase the component size, adds a target size parameter based on the size parameter of the target component, which simplifies the adjustment steps of the target size parameter and thus improves the adjustment efficiency of the target size parameter.
[0169] Based on the same inventive concept, embodiments of the present invention also provide a model parameter adjustment device 1300, which further includes:
[0170] The processing module 1302 is further configured to add a target size parameter to the first adjustment position or the second adjustment position of the component when the target adjustment method includes a first adjustment position or a second adjustment position of the component, so as to adjust the size parameter of the component.
[0171] In this embodiment, when the target adjustment method is to increase the size of a component, and the target adjustment method also includes a first adjustment position or a second adjustment position of the component, the model parameter adjustment device 1300 adds a target size parameter at the first adjustment position or the second adjustment position of the component to adjust the size parameter of the component, thereby ensuring the data accuracy of the size parameter of the target component and thus ensuring the model accuracy of the ship model.
[0172] Based on the same inventive concept, embodiments of the present invention also provide a model parameter adjustment device 1300, which further includes:
[0173] The processing module 1302 is also used to determine a fourth value and a fifth value based on the target size parameters when the target adjustment method includes the first adjustment position and the second adjustment position of the component.
[0174] The processing module 1302 is also used to add a fourth value at the first adjustment position of the component and a fifth value at the second adjustment position of the component to adjust the dimensional parameters of the component.
[0175] In this embodiment, the model parameter adjustment device 1300 performs an average calculation on the target size parameters when the target adjustment method is to adjust the size of the component, and the target adjustment method also includes the first adjustment position and the second adjustment position of the component. This yields a fourth value and a fifth value. The fourth value is added to the first adjustment position of the component, and the fifth value is added to the second adjustment position of the component to adjust the size parameters of the component. This ensures the accuracy of the target component size parameters and thus ensures the accuracy of the ship model.
[0176] Based on the same inventive concept, embodiments of the present invention also provide a model parameter adjustment device 1300, which further includes:
[0177] The processing module 1302 is also used to parse the first input and determine the component number in the ship model;
[0178] The processing module 1302 is also used to filter the components in the ship model according to the component number to obtain the target component.
[0179] In this embodiment, the model parameter adjustment device 1300 analyzes the first input, determines the component number in the ship model, filters the components in the ship model according to the component number, and then determines the target component, thus ensuring the accuracy of the target component and optimizing the parameter modification steps of the ship model.
[0180] Based on the same inventive concept, such as Figure 14 As shown, this embodiment of the invention also provides a model parameter adjustment device 1400, including a processor 1402 and a memory 1404. The memory 1404 stores a program or instructions. When the processor 1402 executes the program or instructions in the memory 1404, it implements the steps of the model parameter adjustment method in any of the above possible implementations.
[0181] Based on the same inventive concept, embodiments of the present invention also provide a storage medium storing a computer program thereon, wherein when the program is executed by a processor, it implements the steps of the model parameter adjustment method in any of the above possible implementations.
[0182] Optionally, the storage medium may be a non-transitory computer-readable storage medium, such as a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device.
[0183] The embodiments of the subject matter and functional operation described in this specification can be implemented in the following ways: digital electronic circuits, tangibly embodied computer software or firmware, computer hardware including the structures disclosed in this specification and their structural equivalents, or combinations thereof. Embodiments of the subject matter described in this specification can be implemented as one or more computer programs, i.e., one or more modules of computer program instructions encoded on a tangible, non-transitory program carrier for execution by a data processing apparatus or for controlling the operation of a data processing apparatus. Alternatively or additionally, the program instructions may be encoded on artificially generated propagation signals, such as machine-generated electrical, optical, or electromagnetic signals, which are generated to encode information and transmit it to a suitable receiving device for execution by the data processing apparatus. The computer storage medium may be a machine-readable storage device, a machine-readable storage substrate, a random or serial access memory device, or combinations thereof.
[0184] The processing and logic described in this specification can be executed by one or more programmable computers that execute one or more computer programs to perform corresponding functions by operating on input data and generating output. The aforementioned processing and logic can also be executed by dedicated logic circuitry—such as FPGAs (Field-Programmable Gate Arrays) or ASICs (Application-Specific Integrated Circuits), and the device can also be implemented as dedicated logic circuitry.
[0185] Suitable computers for executing computer programs include, for example, general-purpose and / or special-purpose microprocessors, or any other type of central processing unit. Typically, the central processing unit receives instructions and data from read-only memory and / or random access memory. The basic components of a computer include a central processing unit for implementing or executing instructions and one or more memory devices for storing instructions and data. Typically, a computer will also include one or more mass storage devices for storing data, such as disks, magneto-optical disks, or optical disks, or the computer will be operatively coupled to such mass storage devices to receive data from or transfer data to them, or both. However, a computer is not required to have such devices. Furthermore, a computer can be embedded in another device, such as a mobile phone, a personal digital assistant (PDA), a mobile audio or video player, a game console, a global positioning system (GPS) receiver, or a portable storage device such as a universal serial bus (USB) flash drive, to name a few.
[0186] Computer-readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media, and memory devices, such as semiconductor memory devices (e.g., EPROM, EEPROM, and flash memory devices), magnetic disks (e.g., internal hard disks or removable disks), magneto-optical disks, and CD-ROM and DVD-ROM disks. Processors and memory may be supplemented by or incorporated into dedicated logic circuitry.
[0187] While this specification contains numerous specific implementation details, these should not be construed as limiting the scope of any invention or the scope of the claims, but rather are primarily used to describe features of specific embodiments of a particular invention. Certain features described in the various embodiments herein may also be implemented in combination in a single embodiment. Conversely, various features described in a single embodiment may also be implemented separately in various embodiments or in any suitable sub-combination. Furthermore, while features may function in certain combinations as described above and even initially claimed in this way, one or more features from a claimed combination may be removed from that combination in some cases, and a claimed combination may refer to a sub-combination or a variation thereof.
[0188] Similarly, although the operations are depicted in a specific order in the accompanying drawings, this should not be construed as requiring these operations to be performed in the specific order shown or sequentially, or requiring all illustrated operations to be performed to achieve the desired result. In some cases, multitasking and parallel processing may be advantageous. Furthermore, the separation of various system modules and components in the above embodiments should not be construed as requiring such separation in all embodiments, and it should be understood that the described program components and systems can generally be integrated together in a single software product or packaged into multiple software products.
[0189] Thus, specific embodiments of the subject matter have been described. Other embodiments are within the scope of the appended claims. In some cases, the actions recited in the claims may be performed in a different order and still achieve the desired result. Furthermore, the processes depicted in the drawings are not necessarily shown in a specific order or sequence to achieve the desired result. In some implementations, multitasking and parallel processing may be advantageous.
[0190] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes the aforementioned element.
[0191] The above description is merely a specific embodiment of the present invention, enabling those skilled in the art to understand or implement the invention. Various modifications to these embodiments will be readily 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 invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A method for adjusting model parameters, characterized in that, The methods for adjusting the model parameters include: When displaying the components of a ship model, receive a first input to the displayed components; In response to the first input, the target component in the ship model is determined; Upon receiving a second input and in response to the second input, a parameter modification interface for the target component is displayed, the parameter modification interface displaying dimensional parameters and the adjustment methods for the dimensional parameters; Receive a third input regarding the size parameters and the adjustment method of the size parameters, and determine the target size parameters and the target adjustment method; In response to the third input, the target component is adjusted based on the target size parameter and the target adjustment method; The adjustment of the target component based on the target size parameters and the target adjustment method includes: When the target adjustment method is to adjust the component size, the size parameters of the target component are adjusted to the target size parameters; The step of adjusting the size of the target component to the target size parameter includes: When the target adjustment method further includes the first adjustment position and the second adjustment position of the component, the second value and the third value are determined according to the size parameters of the target component and the target size parameters; Based on the second value, the first adjustment position of the component is adjusted in size, and based on the third value, the second adjustment position of the component is adjusted in size, so that the size parameter of the component is equal to the target size parameter; The adjustment of the target component based on the target size parameters and the target adjustment method includes: When the target adjustment method is to increase the component size, the target size parameter is added to the size parameter of the target component. Adding the target dimension parameter to the target component's dimension parameters includes: When the target adjustment method further includes the first adjustment position and the second adjustment position of the component, the fourth value and the fifth value are determined according to the target size parameter; The fourth value is added at the first adjustment position of the component, and the fifth value is added at the second adjustment position of the component to adjust the dimensional parameters of the component.
2. The method for adjusting model parameters according to claim 1, characterized in that, The step of determining the target component in the ship model in response to the first input includes: The first input is parsed to determine the component numbers in the ship model; Based on the component number, the components in the ship model are screened to obtain the target component.
3. A device for adjusting model parameters, characterized in that, The model parameter adjustment device includes: The processing module is used to receive a first input to the components to be displayed when displaying the components of a ship model; The processing module is also configured to determine the target component in the ship model in response to the first input; The processing module is also used to receive a second input and, in response to the second input, display a parameter modification interface for the target component, wherein the parameter modification interface displays size parameters and adjustment methods for the size parameters; The processing module is also used to receive a third input regarding the size parameters and the adjustment method of the size parameters, and to determine the target size parameters and the target adjustment method; The processing module is also configured to adjust the target components based on the target size parameters and the target adjustment method in response to the third input; The processing module is further configured to adjust the size parameters of the target component to the target size parameters when the target adjustment method is to adjust the component size. The step of adjusting the size of the target component to the target size parameter includes: When the target adjustment method further includes the first adjustment position and the second adjustment position of the component, the second value and the third value are determined according to the size parameters of the target component and the target size parameters; Based on the second value, the first adjustment position of the component is adjusted in size, and based on the third value, the second adjustment position of the component is adjusted in size, so that the size parameter of the component is equal to the target size parameter; The processing module is further configured to, when the target adjustment method is to increase the component size, add the target size parameter to the size parameter of the target component; Adding the target dimension parameter to the target component's dimension parameters includes: When the target adjustment method further includes the first adjustment position and the second adjustment position of the component, the fourth value and the fifth value are determined according to the target size parameter; The fourth value is added at the first adjustment position of the component, and the fifth value is added at the second adjustment position of the component to adjust the dimensional parameters of the component.
4. A device for adjusting model parameters, characterized in that, include: processor; A memory storing programs or instructions, wherein the processor, when executing the programs or instructions in the memory, implements the steps of the model parameter adjustment method as described in claim 1 or 2.
5. A storage medium, characterized in that, It stores a computer program that, when executed by a processor, implements the steps of the method for adjusting the model parameters of claim 1 or 2.
Citation Information
Patent Citations
Method for dynamically and directionally setting, inspecting and executing three-dimensional model
CN101751481A
Tool bar adjusting method, device and equipment and computer readable storage medium
CN112631475A