CN115034052A - Sole model elastic display method, device, equipment and storage medium - Google Patents

Sole model elastic display method, device, equipment and storage medium Download PDF

Info

Publication number
CN115034052A
CN115034052A CN202210598663.2A CN202210598663A CN115034052A CN 115034052 A CN115034052 A CN 115034052A CN 202210598663 A CN202210598663 A CN 202210598663A CN 115034052 A CN115034052 A CN 115034052A
Authority
CN
China
Prior art keywords
pressing
sole
sole model
elastic
touch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210598663.2A
Other languages
Chinese (zh)
Inventor
林子森
张辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Shidi Intelligent Technology Co Ltd
Original Assignee
Guangdong Shidi Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Shidi Intelligent Technology Co Ltd filed Critical Guangdong Shidi Intelligent Technology Co Ltd
Priority to CN202210598663.2A priority Critical patent/CN115034052A/en
Publication of CN115034052A publication Critical patent/CN115034052A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • AHUMAN NECESSITIES
    • A43FOOTWEAR
    • A43DMACHINES, TOOLS, EQUIPMENT OR METHODS FOR MANUFACTURING OR REPAIRING FOOTWEAR
    • A43D2200/00Machines or methods characterised by special features
    • A43D2200/60Computer aided manufacture of footwear, e.g. CAD or CAM

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Graphics (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Footwear And Its Accessory, Manufacturing Method And Apparatuses (AREA)

Abstract

The application discloses a sole model elastic display method, device, equipment and storage medium. The method comprises the steps of determining whether the touch operation performed on a sole model is a sliding operation or a long-time pressing operation according to a touch track of a touch instruction by detecting an input touch instruction; determining a pressing part of the sole model according to the initial touch position of the touch track and the positions of all parts of the sole model in the display interface; determining the elastic deformation quantity of the pressing part according to the sliding translation quantity in the sliding operation and the elastic parameters of the pressing part; or, the pressing acting force applied to the pressing part is determined according to the pressing duration in the long-time pressing operation, and the elastic deformation quantity of the pressing part is determined according to the pressing acting force and the elastic parameters of the pressing part; and determining the target shape parameters of the deformed sole model according to the elastic deformation quantity and the original shape parameters of the sole model, and displaying the deformed sole model according to the target shape parameters.

Description

Sole model elastic display method, device, equipment and storage medium
Technical Field
The application relates to the technical field of shoe production, in particular to a method, a device, equipment and a storage medium for exhibiting elasticity of a sole model.
Background
Shoe designers design shoe models through some shoe design software, and the shoe models in the shoe design software are displayed on a design page with a 2D or 3D effect. Shoe designers may use shoe design software to sequentially design the components of the upper and sole, etc., and assemble these components into a model of the shoe. In the subsequent shoe production process, the solid shoe can be rapidly produced based on the complete shoe shape.
In the existing shoe design software, static design is mostly carried out on the materials, shapes and color matching of all components, namely, a shoe model can only show the static properties of shoes, and the dynamic properties of the shoes under the action of external force are ignored. This results in the production of shoes that do not meet the design of designers, who need to reconsider the problems of the materials and shapes of shoes, and the design efficiency is low.
Disclosure of Invention
The application provides a sole model elasticity display method, device, equipment and storage medium, solves the problem that the dynamic property of shoes cannot be displayed through shoe shapes in the prior art, enriches the display function of shoe design software, and improves the shoe shape design efficiency.
In a first aspect, the present application provides a method for elastically displaying a sole model, comprising:
detecting an input touch instruction, and determining that the touch operation performed on the sole model is sliding operation or long-time pressing operation according to a touch track of the touch instruction;
determining a pressing part of the sole model according to the initial touch position of the touch track and the positions of all parts of the sole model in a display interface;
determining the elastic deformation amount of the pressing part according to the sliding translation amount in the sliding operation and the elastic parameters of the pressing part; or, determining the pressing acting force applied to the pressing part according to the pressing duration in the long-time pressing operation, and determining the elastic deformation quantity of the pressing part according to the pressing acting force and the elastic parameters of the pressing part;
and determining the deformed target shape parameters of the sole model according to the elastic deformation and the original shape parameters of the sole model, and displaying the deformed sole model according to the target shape parameters.
Further, the determining, according to the touch trajectory of the touch instruction, that the touch operation performed on the sole model is a sliding operation or a long-time pressing operation includes:
if the touch track is in a point shape, determining that the operation executed by the touch instruction on the sole model is a long-press operation;
and if the touch track is linear, determining that the operation executed by the touch instruction on the sole model is a sliding operation.
Further, the determining the elastic deformation amount of the pressing part according to the sliding translation amount in the sliding operation and the elastic parameter of the pressing part includes:
determining the sliding translation amount of the touch track as an expected deformation amount of the pressing part;
determining an elastic deformation threshold of the pressing part according to the elastic parameters of the pressing part;
and comparing the expected deformation quantity with the elastic deformation threshold value, and determining the elastic deformation quantity of the pressing part according to the comparison result.
Further, the determining the elastic deformation amount of the pressing part according to the comparison result includes:
determining the elastic deformation threshold value as the elastic deformation amount of the pressing part according to the comparison result that the expected deformation amount is larger than the elastic deformation threshold value;
and determining the expected deformation amount to be the elastic deformation amount of the pressing part according to the comparison result that the expected deformation amount is smaller than or equal to the elastic deformation threshold value.
Further, the determining the elastic deformation amount of the pressing part according to the pressing acting force and the elastic parameter of the pressing part comprises:
and determining the elastic deformation quantity of the pressing part according to the pressing acting force and the elastic parameters of the pressing part based on a preset deformation calculation formula.
Further, the touch instruction is a multi-finger touch instruction, the multi-finger touch instruction corresponds to a plurality of initial touch positions, and different initial touch positions correspond to different sole models in the display interface;
correspondingly, the displaying the corresponding sole model according to the target shape parameter includes:
and acquiring the deformed target shape parameters of each sole model in the display interface, and displaying a plurality of deformed sole models in the display interface together according to the target shape parameters.
Further, the displaying the corresponding sole model according to the target shape parameter includes:
dividing the touch operation into a plurality of sub-operations at touch time, and acquiring a target shape parameter corresponding to each sub-operation;
and sequentially displaying the sole models of the target shape parameters according to the target shape parameters corresponding to each sub-operation and the sequence of the touch control moments.
In a second aspect, the present application provides a sole model elastic display device, comprising: the operation determining module is configured to detect an input touch instruction and determine that the touch operation performed on the sole model is a sliding operation or a long-press operation according to a touch track of the touch instruction;
the part determining module is configured to determine a pressing part of the sole model according to an initial touch position of the touch track and positions of all parts of the sole model in a display interface;
a deformation amount determination module configured to determine an elastic deformation amount of the pressing portion according to a sliding translation amount in the sliding operation and an elastic parameter of the pressing portion; or, determining the pressing acting force applied to the pressing part according to the pressing duration in the long-time pressing operation, and determining the elastic deformation quantity of the pressing part according to the pressing acting force and the elastic parameters of the pressing part;
and the model display module is configured to determine a target shape parameter of the sole model after deformation according to the elastic deformation quantity and the original shape parameter of the sole model, and display the sole model after deformation according to the target shape parameter.
In a third aspect, the present application provides a sole model elastic display device comprising:
one or more processors; a storage device storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the method for elastically displaying a model of a sole according to the first aspect.
In a fourth aspect, the present application provides a storage medium containing computer-executable instructions for performing the method of elastically demonstrating a model of a sole, as set forth in the first aspect, when executed by a computer processor.
This application triggers the sliding operation or the long-time operation of pressing to sole model through touch instruction to according to touch instruction's initial touch position, confirm the position of pressing of sole model. And performing sliding operation or long-time pressing operation on the pressing part to enable the sole model to generate corresponding elastic deformation, displaying the sole model after the elastic deformation in a display interface, and displaying the dynamic property of the sole model under the action of external pressing force. When the pressing part of the sole model is subjected to sliding operation, the sole model is controlled to generate corresponding elastic deformation according to the sliding amount of the fingers, and when the pressing part of the sole model is subjected to long-time pressing operation, the sole model is controlled to generate corresponding elastic deformation according to the length of time of finger touch. Through the technical means, the dynamic property of the sole model under the action of external pressing force is displayed, the display function of the sole model in shoe design software is enriched, a designer can conveniently adjust the material and the shape of the sole model according to the shape of the sole model under the action of external force, and the shoe design efficiency is improved. And the arrangement of sliding operation and long pressing operation enriches the elastic deformation mode of the display sole model.
Drawings
FIG. 1 is a flow chart of a method for elastically displaying a sole model according to an embodiment of the present disclosure;
FIG. 2 is a schematic view of a sliding operation of the sole model provided by an embodiment of the present application;
FIG. 3 is a schematic view of a sole model being long pressed according to an embodiment of the present application;
FIG. 4 is a flow chart of determining an amount of elastic deformation corresponding to a sliding operation according to an embodiment of the present disclosure;
FIG. 5 is a first schematic view of a sole model according to an embodiment of the present application after elastic deformation;
FIG. 6 is a second schematic view of a sole model according to an embodiment of the present application after being elastically deformed;
FIG. 7 is a schematic view of two fingers respectively performing long-pressing operations on two sole models according to an embodiment of the present application;
FIG. 8 is a schematic view of two sole models elastically deformed together according to an embodiment of the present application;
FIG. 9 is a flow chart showing the process of the shoe sole model undergoing elastic deformation according to the embodiment of the present application;
FIG. 10 is a schematic view of a sole model elastic display device according to an embodiment of the present application;
fig. 11 is a schematic structural view of a sole model elastic display device provided in the embodiment of the application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, specific embodiments of the present application will be described in detail with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some but not all of the matters relating to the present application are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The sole model elastic display method provided in this embodiment may be performed by a sole model elastic display device, the sole model elastic display device may be implemented in a software and/or hardware manner, and the sole model elastic display device may be formed by two or more physical entities or may be formed by one physical entity. For example, the sole model elastic display device can be a computer provided with shoe design software and also can be a processor of the computer.
The sole model elastic display device is provided with at least one type of operating system, the sole model elastic display device can be provided with at least one application program based on the operating system, and the application program can be an application program carried by the operating system or an application program downloaded from a third party device or a server. In this embodiment, the sole model elastic display device is at least installed with an application program capable of executing the sole model elastic display method, and therefore, the sole model elastic display device may also be the application program itself, such as the sole model elastic display device may also be shoe design software.
For convenience of understanding, the present embodiment will be described by taking shoe design software as an example of a main body for implementing the elastic display method of the sole model.
In one embodiment, the shoe model in the existing shoe design software can only show the static properties of the shoe, but neglects the dynamic properties of the shoe under the external force. This results in the production of shoes that do not meet the expectations of designers who must reconsider the material and shape of the shoes, which is inefficient.
In order to solve the above problems, the present embodiment provides a sole model elastic display method to complement the function of shoe design software for displaying the dynamic properties of a shoe model.
Fig. 1 is a flowchart illustrating a sole model elasticity display method according to an embodiment of the present application. Referring to fig. 1, the method for elastically displaying the sole model specifically includes:
s110, detecting a currently triggered touch instruction, and determining that the touch operation performed on the sole model is sliding operation or long-time pressing operation according to a touch track of the touch instruction.
The sole model refers to a three-dimensional model of a sole designed by a designer through shoe design software, and when the designer designs the three-dimensional model of the sole, the designer can design the shape of the sole and select the material of the sole, so that the sole model is obtained. It can be understood that when the elastic parameters of the materials adopted by the sole model are different, the shoes can generate different deformation under the action of the same external force, the elastic parameters of the sole model can be regarded as the dynamic property of the shoes, the embodiment is the sole model which generates elastic deformation under the action of the external force through display, the influence of the elastic parameters of the sole model on the elastic deformation of the sole model is reflected, and the display of the dynamic property of the shoes is realized.
In this embodiment, the touch instruction is an instruction for triggering the shoe design software to display the sole model that elastically deforms under the action of an external force. For example, when a designer uses a finger to perform a touch operation on a shoe model in a display interface of shoe design software, the shoe design software detects a touch instruction triggered by the touch operation. The touch operation provided by the embodiment includes a sliding operation and a long-press operation, the sliding operation is understood as that the designer presses the sole model by sliding a finger on the screen, and the long-press operation is understood as that the designer presses the sole model by long-pressing the finger on the screen. When the sole model is subjected to long-press operation or sliding operation, the sole model equivalently receives external pressing force and generates corresponding elastic deformation, so that the sole model which deforms under the action of external force can be displayed through the long-press operation and the sliding operation.
In this embodiment, when the designer inputs the touch operation, the shoe design software generates a corresponding touch trajectory according to the touch action when the designer inputs the touch operation, and stores the touch trajectory in the touch instruction. Because the designer inputs different touch actions when performing sliding operation and long-time pressing operation on the shoe model, and correspondingly, the touch tracks generated by the sliding operation and the long-time pressing operation are different, the touch operation performed on the sole module by the designer can be determined as the sliding operation or the long-time pressing operation according to the touch track in the touch instruction.
In one embodiment, fig. 2 is a schematic view of a sliding operation performed on a sole model according to an embodiment of the present application. As shown in fig. 2, the shoe sole model 13 is shown in the display interface 12, and if the designer wants to press the middle portion of the shoe sole model, the designer touches the upper side of the middle portion 14 with the finger 11 and slides the finger downward, so that the shoe design software correspondingly generates a linear trajectory extending downward. Therefore, in this embodiment, when the touch trajectory is a linear trajectory, the operation performed on the sole model by the touch instruction may be determined to be a sliding operation.
In one embodiment, fig. 3 is a schematic view of a sole model performing a long press operation according to an embodiment of the present application. As shown in fig. 3, the shoe sole model 13 is shown in the display interface 12, and if the designer wants to press the middle part of the shoe sole model, the designer touches the tail part 15 with the finger 11 and keeps the finger still for a while, and the shoe design software correspondingly generates a point-like track. Therefore, in this embodiment, when the touch trajectory is a dotted trajectory, it may be determined that the operation performed on the sole model by the touch instruction is a long-press operation.
And S120, determining the pressing part of the sole model according to the initial touch position of the touch track and the positions of all parts of the sole model in the display interface.
Wherein. The initial touch position refers to a position where a finger starts to touch when a designer performs a sliding operation or a long-time pressing operation on the sole model, that is, a pixel coordinate of a first track point of a touch track in a display interface. The pressed portion is understood to be a portion where the sole model is elastically deformed by the pressing force. Referring to fig. 2 and 3, regardless of whether the current designer performs a sliding operation or a long-press operation on the sole model, a position where the sole model is elastically deformed by the action of the pressing force is selected by a position where a finger initially touches.
In one embodiment, referring to FIG. 2, the designer touches a finger to the upper side of the middle portion of the sole model and the shoe design software determines that the initial touch position of the finger is (x1, y 1). Comparing (x1, y1) with the pixel coordinates of each portion of the sole model in the presentation interface, respectively, and determining (x1, y1) as the upper side corresponding to the middle portion, the upper side and the opposite side in the sole model are regarded as the force-bearing ends, and the middle portion between the upper side and the opposite side is regarded as the pressing portion of the sole model.
In another embodiment, referring to FIG. 3, the designer touches a finger to the upper surface of the middle portion of the sole model and the shoe design software determines that the initial touch position of the finger is (x2, y 2). When (x2, y2) is determined to correspond to the caudal region by comparing (x2, y2) with the pixel coordinates of each region showing the top view of the sole model in the interface, the upper side and the opposite side of the caudal region are regarded as the force-bearing ends, and the caudal region between the upper side and the opposite side is regarded as the pressing region 14 of the sole model.
S130, determining the elastic deformation amount of the pressed part according to the sliding translation amount in the sliding operation and the elastic parameters of the pressed part; or, the pressing acting force applied to the pressing part is determined according to the pressing time length in the long-time pressing operation, and the elastic deformation quantity of the pressing part is determined according to the pressing acting force and the elastic parameters of the pressing part.
Illustratively, the sole can be elastically deformed under the action of external pressing force, and the magnitude of the elastic deformation can be determined according to the magnitude of the pressing force and the elastic parameters of the sole. Although the present embodiment simulates a situation in which the sole model is elastically deformed by an external pressing force, since it is difficult for the shoe design software to obtain an actual pressing force, the present embodiment proposes to determine a simulated pressing force acting on the sole model according to a sliding translation amount or a pressing time length of the touch control action, and further determine an elastic deformation amount of the sole model under the action of the simulated pressing force.
In an embodiment, when the sole model is slid, the sole model is correspondingly elastically deformed, so that the portion of the sole model at the initial touch position moves to the end touch position of the touch trajectory. The ending touch position refers to a position that a finger finally touches after a designer slides the finger, namely a pixel coordinate of a last track point in the touch track in the display interface. In this embodiment, the sliding translation amount refers to a distance between the initial touch position and the end touch position, and the amount of elastic deformation of the sole model under the action of the sliding operation can be determined according to the sliding translation amount and the elastic parameters of the pressed portion. Illustratively, fig. 4 is a flowchart for determining an elastic deformation amount corresponding to a sliding operation according to an embodiment of the present application.
As shown in fig. 4, the step of determining the amount of elastic deformation corresponding to the sliding operation specifically includes S1301-S1303:
and S1301, determining the sliding translation amount of the touch track as the expected deformation amount of the pressing part.
FIG. 5 is a first schematic view of a sole model according to an embodiment of the present application after being elastically deformed. Fig. 5 shows a front view of the sole model after elastic deformation. As shown in fig. 5, when the designer slides and presses the upper surface of the middle portion of the sole model in fig. 2, the middle portion of the sole model is elastically deformed in fig. 5. The upper surface of the middle part in fig. 2 moves to the position of the finger in fig. 5 along the sliding direction of the finger, so that the middle part is concave downwards, and the elastic deformation amount of the middle part can be regarded as the sliding translation amount of the finger.
It should be noted that the sliding translational amount is considered as an expected deformation amount of the deformation of the pressing portion that the designer wants to deform, and the actual elastic deformation amount of the sole model is determined based on the expected deformation amount and the elastic parameter of the pressing portion, because the sliding translational amount is limited by the influence of the elastic parameter of the middle portion of the sole model and cannot be infinitely recessed.
S1302, determining an elastic deformation threshold value of the pressing part according to the elastic parameters of the pressing part.
When the pressing force applied to the pressing portion exceeds the range defined by the elastic parameters of the material of the pressing portion, the pressing portion is plastically deformed and cannot return to the original shape after the pressing force is cancelled, so that the elastic parameters of the pressing portion limit the pressing portion to only elastically deform. In this embodiment, the elastic deformation threshold is understood to be the maximum deformation of the pressing portion when the pressing portion is elastically deformed, indicating that the pressing portion is plastically deformed when the deformation of the pressing portion exceeds the elastic deformation threshold, and conversely, indicating that the pressing portion is elastically deformed when the deformation of the pressing portion does not exceed the elastic deformation threshold.
And S1303, comparing the expected deformation amount with an elastic deformation threshold value, and determining the elastic deformation amount of the pressing part according to the comparison result.
In this embodiment, the elastic deformation threshold is determined as the amount of elastic deformation of the pressed portion, according to the result of comparison that the expected amount of deformation is greater than the elastic deformation threshold. For example, to limit the pressing portion to only elastic deformation, when the expected deformation amount is greater than the elastic deformation threshold, the elastic deformation threshold is used as the actual elastic deformation amount of the pressing portion.
Conversely, the desired amount of deformation is determined to be the amount of elastic deformation of the pressed portion, based on the result of the comparison that the desired amount of deformation is less than or equal to the elastic deformation threshold value. For example, when the pressing portion is deformed according to the desired amount of deformation, the pressing portion is elastically deformed, and thus the desired amount of deformation can be used as the actual amount of elastic deformation of the pressing portion.
In this embodiment, the external pressing force applied to the pressing portion can be calculated according to the actual elastic deformation amount of the pressing portion and the elastic parameter of the pressing portion, and the pressing force value is displayed through the floating window, so that a designer can know the dynamic property of each shoe model more deeply than the pressing force applied to a plurality of shoe models.
In another embodiment, when the sole model is subjected to long-press operation, the pressing acting force of the long-press operation on the pressing part of the sole model is determined according to the preset mapping relation between the pressing time length and the pressing acting force. Similarly, in order to limit the pressing part to only generate elastic deformation, the pressing acting force threshold value of each part of the sole model can be determined in advance according to the elastic parameters, and if the pressing acting force corresponding to the current pressing duration reaches the pressing acting force threshold value, the pressing acting force is not increased along with the increase of the pressing duration. In this embodiment, the amount of elastic deformation of the pressed portion is determined from the pressing force and the elastic parameter of the pressed portion based on a preset deformation calculation formula. Illustratively, the deformation calculation formula is obtained by reasoning based on hooke's law, constant term coefficients in the deformation calculation formula correspond to elastic parameters of the pressed part, and the elastic deformation can be calculated by substituting the pressing acting force into the deformation calculation formula.
Fig. 6 is a second schematic view of the sole model according to the present application after elastic deformation. Figure 6 shows a top view of the sole model after elastic deformation. As shown in fig. 6, when the designer presses the tail portion of the shoe sole model in fig. 3 for a long time, the tail portion of the shoe sole model is elastically deformed as shown in fig. 6, and the tail portion is depressed downward as shown in fig. 3.
S140, determining the target shape parameters of the deformed sole model according to the elastic deformation and the original shape parameters of the sole model, and displaying the deformed sole model according to the target shape parameters.
The original shape parameter refers to a shape parameter of the sole model when no deformation occurs, and the parameter of the corresponding shape of the sole model in fig. 2 and 3 is the original shape parameter. The target shape parameter refers to a shape parameter of the deformed sole model, and a parameter of a corresponding shape of the sole model in fig. 5 and 6 is the target shape parameter.
In this embodiment, the shape parameters of the sole model in fig. 2 are corrected based on the amount of elastic deformation in the middle portion, and the shape parameters of the sole model in fig. 5 after elastic deformation are obtained. Similarly, the shape parameters of the sole model in fig. 3 are corrected according to the amount of elastic deformation of the middle portion, so as to obtain the shape parameters of the sole model in fig. 6 after elastic deformation. Further, according to the shape parameters of the sole model in fig. 5 or fig. 6, which is correspondingly elastically deformed, can be displayed in the display interface.
It should be noted that, although fig. 2, 3, 5 and 6 show two-dimensional views of the sole model, the shape parameters belong to shape parameters of a three-dimensional sole model, and after determining a three-dimensional model corresponding to the original shape parameters or the target shape parameters, two-dimensional views in various directions can be obtained through projection, that is, two-dimensional views of the sole model in fig. 2, 3, 5 and 6 can be obtained. In this regard, the present embodiment supports not only the display of the two-dimensional view of the sole model, but also the display of the three-dimensional view of the sole model.
In one embodiment, when a plurality of sole models are simultaneously displayed in the display interface, if a designer wants to simultaneously observe and compare the dynamic attributes of the sole models, the designer can perform long-time pressing operation on the sole models through a plurality of fingers to trigger a multi-finger touch instruction. Fig. 7 is a schematic diagram of two fingers respectively performing long-pressing operations on two sole models according to an embodiment of the present application. As shown in fig. 7, the designer touches the tail portions of the first and second sole models 16 and 11, respectively, in the presentation interface with two fingers and keeps the same time. And the shoe design software generates a corresponding initial touch position according to the position touched by each finger for the first time, and determines the pressing duration according to the time for which the fingers are kept motionless. And the shoe design software is stored in the multi-finger touch instruction according to the initial touch position and the pressing time length of each finger in a correlated manner. Furthermore, a plurality of initial touch positions in the multi-finger touch instruction are compared with pixel coordinates of each part of each sole model in the display interface, and the pressing part of each sole model is determined. And determining the elastic deformation amount of the pressing part of each sole model according to the pressing time and the elastic parameters of the pressing part. And determining the target shape parameters of each sole model based on the elastic deformation quantity and the original shape parameters of the sole model.
In the embodiment, the deformed target shape parameters of each sole model in the display interface are obtained, and the deformed sole models are displayed together in the display interface according to the target shape parameters. For example, fig. 8 is a schematic view of two sole models which are elastically deformed together according to the embodiment of the present application. As shown in fig. 8, the designer performs the pressing operation for the same pressing time period on the first and second sole models 16 and 17 of fig. 7 at the same time, and the elastic deformation of fig. 8 occurs on the first and second sole models. The designer can compare with fig. 8 that the amount of elastic deformation of the first sole model is smaller than the amount of elastic deformation of the second sole model, i.e. to determine the difference in the dynamic properties of the first sole model and the second sole model. The designer can select the more suitable material of sole model based on the difference of the dynamic attribute of each sole model, improves shoes design efficiency.
In one embodiment, in order to show the whole change process of the elastic deformation of the sole model in detail, the touch operation may be divided into a plurality of sub-operations, and the sole model generated corresponding to each sub-operation is sequentially shown in the display interface according to the time sequence. In this embodiment, fig. 9 is a flowchart illustrating a process of changing the elastic deformation of the sole model according to the embodiment of the present application. As shown in fig. 9, the step of showing the elastic deformation process of the sole model specifically includes steps S1401 to S1402:
s1401, dividing the touch operation into a plurality of sub-operations at touch time, and acquiring a target shape parameter corresponding to each sub-operation.
Illustratively, the touch operation is uniformly divided into sub-operations of a plurality of touch periods according to a preset time duration, and if the preset time duration is Δ T and the operation time duration of the touch operation is T, the touch time of the kth sub-operation is (k-1) × T/Δ T to k × T/Δ T.
In this embodiment, when the touch operation is a long press operation, k × T/Δ T is used as a press duration of a kth sub-operation, a press acting force corresponding to a pressed portion is determined according to the press duration, an elastic deformation amount of the pressed portion is determined according to the press acting force, and a target shape parameter of the kth sub-operation is determined according to the elastic deformation amount and an original shape parameter of the sole model.
In this embodiment, when the touch operation is a sliding operation, assuming that the time node of the initial touch position is T1, the touch position corresponding to T1+ k × T/Δ T is taken as the end touch position of the kth sub-operation, the sliding translation amount of the kth sub-operation is determined by the end touch position of the kth sub-operation and the initial touch position, the elastic deformation amount of the pressed portion is determined according to the sliding translation amount, and the target shape parameter of the kth sub-operation is determined according to the elastic deformation amount and the original shape parameter of the sole model.
And S1402, sequentially displaying the sole models of the target shape parameters according to the target shape parameters corresponding to the sub-operations and the sequence of the touch control moments.
For example, assuming that the touch operation can be divided into N sub-operations, the sole models of the target shape parameters corresponding to the 1 st sub-operation to the nth sub-operation are sequentially displayed in the display interface according to the touch time of each sub-operation and the time sequence.
In summary, according to the elastic display method for the sole model provided by the embodiment of the application, the sliding operation or the long-time pressing operation of the sole model is triggered through the touch instruction, and the pressing part of the sole model is determined according to the initial touch position of the touch instruction. And performing sliding operation or long-time pressing operation on the pressing part to enable the sole model to generate corresponding elastic deformation, displaying the sole model after the elastic deformation in a display interface, and displaying the dynamic property of the sole model under the action of external pressing force. When the pressing part of the sole model is subjected to sliding operation, the sole model is controlled to generate corresponding elastic deformation according to the sliding amount of the finger, and when the pressing part of the sole model is subjected to long-time pressing operation, the sole model is controlled to generate corresponding elastic deformation according to the touch duration of the finger. Through the technical means, the dynamic property of the sole model under the action of external pressing force is displayed, the display function of the sole model in shoe design software is enriched, a designer can conveniently adjust the material and the shape of the sole model according to the shape of the sole model under the action of external force, and the shoe design efficiency is improved. And the arrangement of sliding operation and long pressing operation enriches the elastic deformation mode of the display sole model.
On the basis of the above embodiments, fig. 10 is a schematic structural view of a sole model elastic display device provided in the embodiments of the present application. Referring to fig. 10, the elastic display device for a sole model provided in this embodiment specifically includes: an operation determination module 21, a part determination module 22, a deformation amount determination module 23, and a model presentation module 24.
The operation determination module is configured to detect an input touch instruction, and determine whether the touch operation performed on the sole model is a sliding operation or a long-time pressing operation according to a touch track of the touch instruction;
the part determining module is configured to determine a pressing part of the sole model according to the initial touch position of the touch track and the positions of all parts of the sole model in the display interface;
a deformation amount determination module configured to determine an elastic deformation amount of the pressing portion according to a sliding translation amount in the sliding operation and an elastic parameter of the pressing portion; or, determining the pressing acting force applied to the pressing part according to the pressing duration in the long-time pressing operation, and determining the elastic deformation quantity of the pressing part according to the pressing acting force and the elastic parameters of the pressing part;
and the model display module is configured to determine a target shape parameter of the sole model after deformation according to the elastic deformation and the original shape parameter of the sole model, and display the sole model after deformation according to the target shape parameter.
On the basis of the above embodiment, the operation determination module includes: the long-press operation determining unit is configured to determine that the operation executed by the touch instruction on the sole model is a long-press operation if the touch trajectory is in a point shape; and the sliding operation determining unit is configured to determine that the operation executed on the sole model by the touch instruction is a sliding operation if the touch track is linear.
On the basis of the above embodiment, the deformation amount determination module includes: a desired deformation amount determination unit configured to determine a slide translation amount of the touch trajectory as a desired deformation amount of the pressing part; an elastic deformation threshold determination unit configured to determine an elastic deformation threshold of the pressing portion according to an elastic parameter of the pressing portion; a first deformation amount determination unit configured to compare the desired deformation amount with an elastic deformation threshold value, and determine an elastic deformation amount of the pressing portion according to the comparison result.
On the basis of the above embodiment, the first deformation amount determining unit includes: a first determining subunit configured to determine, according to a comparison result that the expected deformation amount is larger than an elastic deformation threshold, the elastic deformation threshold as an elastic deformation amount of the pressing portion; a second determining subunit configured to determine the expected deformation amount as an elastic deformation amount of the pressing portion, according to a comparison result that the expected deformation amount is less than or equal to the elastic deformation threshold value.
On the basis of the above embodiment, the deformation amount determination module includes: a second deformation amount determination unit configured to determine an amount of elastic deformation of the pressing portion from the pressing force and the elastic parameter of the pressing portion based on a preset deformation calculation formula.
On the basis of the above embodiment, the touch instruction is a multi-finger touch instruction, the multi-finger touch instruction corresponds to a plurality of initial touch positions, and different initial touch positions correspond to different sole models in the display interface; correspondingly, the model display module comprises: the multi-model display unit is configured to obtain the deformed target shape parameters of each sole model in the display interface and display the deformed sole models in the display interface together according to the target shape parameters.
On the basis of the above embodiment, the model display module includes: the operation dividing unit is configured to divide the touch operation into a plurality of sub-operations at touch time and acquire a target shape parameter corresponding to each sub-operation; and the model sequential display unit is configured to sequentially display the sole models of the target shape parameters according to the target shape parameters corresponding to each sub-operation and the sequence of the touch control moments.
In the above, the sole model elasticity display device that this application embodiment provided triggers the slip operation or the long-term operation of pressing to the sole model through touch instruction to according to the initial touch position of touch instruction, confirm the press position of sole model. And performing sliding operation or long-time pressing operation on the pressing part to enable the sole model to generate corresponding elastic deformation, displaying the sole model after the elastic deformation in a display interface, and displaying the dynamic property of the sole model under the action of external pressing force. When the pressing part of the sole model is subjected to sliding operation, the sole model is controlled to generate corresponding elastic deformation according to the sliding amount of the finger, and when the pressing part of the sole model is subjected to long-time pressing operation, the sole model is controlled to generate corresponding elastic deformation according to the touch duration of the finger. Through the technical means, the dynamic property of the sole model under the action of external pressing force is displayed, the display function of the sole model in shoe design software is enriched, a designer can conveniently adjust the material and the shape of the sole model according to the shape of the sole model under the action of external force, and the shoe design efficiency is improved. And the arrangement of sliding operation and long pressing operation enriches the elastic deformation mode of the display sole model.
The sole model elastic display device provided by the embodiment of the application can be used for executing the sole model elastic display method provided by the embodiment, and has corresponding functions and beneficial effects.
Fig. 11 is a schematic structural view of a sole model elastic display device provided in an embodiment of the present application, and referring to fig. 11, the sole model elastic display device includes: a processor 31, a memory 32, a communication device 33, an input device 34, and an output device 35. The number of the processors 31 in the sole model elastic display device may be one or more, and the number of the memories 32 in the sole model elastic display device may be one or more. The processor 31, the memory 32, the communication device 33, the input device 34 and the output device 35 of the sole model elastic display device may be connected by a bus or other means.
The memory 32 is a computer readable storage medium, which can be used to store software programs, computer executable programs, and modules, such as program instructions/modules corresponding to the sole model elastic display method according to any embodiment of the present application (for example, the first feature point determining module 41, the first triangulation module 42, the first sequence generating module 43, and the sole model elastic display module 44 in the sole model elastic display device). The memory 32 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory 32 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory may further include memory located remotely from the processor, and these remote memories may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The communication device 33 is used for data transmission.
The processor 31 executes software programs, instructions and modules stored in the memory 32, so as to execute various functional applications and data processing of the device, that is, to implement the sole model elastic display method.
The input device 34 may be used to receive entered numeric or character information and to generate key signal inputs relating to user settings and function controls of the apparatus. The output device 35 may include a display device such as a display screen.
The sole model elastic display equipment can be used for executing the sole model elastic display method provided by the embodiment, and has corresponding functions and beneficial effects.
Embodiments of the present application further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a method for elastically displaying a sole model, the method including: detecting an input touch instruction, and determining that the touch operation performed on the sole model is a sliding operation or a long-time pressing operation according to a touch track of the touch instruction; determining a pressing part of the sole model according to the initial touch position of the touch track and the positions of all parts of the sole model in the display interface; determining the elastic deformation amount of the pressing part according to the sliding translation amount in the sliding operation and the elastic parameters of the pressing part; or, the pressing acting force applied to the pressing part is determined according to the pressing duration in the long-time pressing operation, and the elastic deformation quantity of the pressing part is determined according to the pressing acting force and the elastic parameters of the pressing part; and determining the target shape parameters of the deformed sole model according to the elastic deformation quantity and the original shape parameters of the sole model, and displaying the deformed sole model according to the target shape parameters.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory, such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media residing in different locations, e.g., in different computer systems connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium provided in the embodiments of the present application contains computer-executable instructions, and the computer-executable instructions are not limited to the elastic sole model display method described above, and may also perform related operations in the elastic sole model display method provided in any embodiments of the present application.
The sole model elasticity display device, the sole model elasticity display system, the storage medium and the sole model elasticity display apparatus provided in the above embodiments may perform the sole model elasticity display method provided in any embodiments of the present application, and the technical details not described in detail in the above embodiments may be referred to the sole model elasticity display method provided in any embodiments of the present application.
The foregoing is considered as illustrative of the preferred embodiments of the invention and the technical principles employed. The present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the claims.

Claims (10)

1. A sole model elastic display method is characterized by comprising the following steps:
detecting an input touch instruction, and determining that the touch operation performed on the sole model is a sliding operation or a long-time pressing operation according to a touch track of the touch instruction;
determining a pressing part of the sole model according to the initial touch position of the touch track and the positions of all parts of the sole model in a display interface;
determining the elastic deformation amount of the pressing part according to the sliding translation amount in the sliding operation and the elastic parameters of the pressing part; or, determining the pressing acting force applied to the pressing part according to the pressing duration in the long-time pressing operation, and determining the elastic deformation quantity of the pressing part according to the pressing acting force and the elastic parameters of the pressing part;
and determining the deformed target shape parameters of the sole model according to the elastic deformation and the original shape parameters of the sole model, and displaying the deformed sole model according to the target shape parameters.
2. The elastic sole model display method according to claim 1, wherein the determining, according to the touch trajectory of the touch instruction, that the touch operation performed on the sole model is a sliding operation or a long-press operation includes:
if the touch track is in a point shape, determining that the operation executed by the touch instruction on the sole model is a long-press operation;
and if the touch track is linear, determining that the operation executed by the touch instruction on the sole model is a sliding operation.
3. The sole model elastic display method according to claim 1, wherein the determining the elastic deformation amount of the pressing portion according to the sliding translation amount in the sliding operation and the elastic parameter of the pressing portion comprises:
determining the sliding translation amount of the touch track as an expected deformation amount of the pressing part;
determining an elastic deformation threshold of the pressing part according to the elastic parameters of the pressing part;
and comparing the expected deformation quantity with the elastic deformation threshold value, and determining the elastic deformation quantity of the pressing part according to the comparison result.
4. The method for elastically displaying a sole model according to claim 3, wherein the determining the amount of elastic deformation of the pressed portion according to the comparison result includes:
determining the elastic deformation threshold value as the elastic deformation amount of the pressing part according to the comparison result that the expected deformation amount is larger than the elastic deformation threshold value;
and determining the expected deformation amount to be the elastic deformation amount of the pressing part according to the comparison result that the expected deformation amount is smaller than or equal to the elastic deformation threshold value.
5. The method for elastically displaying a sole model according to claim 1, wherein the determining of the amount of elastic deformation of the pressing portion according to the pressing force and the elastic parameter of the pressing portion comprises:
and determining the elastic deformation amount of the pressed part according to the pressing acting force and the elastic parameters of the pressed part based on a preset deformation calculation formula.
6. The method for elastically displaying the sole model according to claim 1, wherein the touch instruction is a multi-finger touch instruction, the multi-finger touch instruction corresponds to a plurality of initial touch positions, and different initial touch positions correspond to different sole models in the display interface;
correspondingly, the displaying the corresponding sole model according to the target shape parameter includes:
and acquiring the deformed target shape parameters of each sole model in the display interface, and displaying a plurality of deformed sole models together in the display interface according to the target shape parameters.
7. The elastic exhibiting method of the sole model according to claim 1, wherein the exhibiting the corresponding sole model according to the target shape parameter comprises:
dividing the touch operation into a plurality of sub-operations at touch time, and acquiring a target shape parameter corresponding to each sub-operation;
and sequentially displaying the sole models of the target shape parameters according to the target shape parameters corresponding to each sub-operation and the sequence of the touch control moments.
8. An elastic exhibiting device of a sole model, which is characterized by comprising:
the operation determination module is configured to detect an input touch instruction, and determine that the touch operation performed on the sole model is sliding operation or long-time pressing operation according to a touch track of the touch instruction;
the part determining module is configured to determine a pressing part of the sole model according to an initial touch position of the touch track and positions of all parts of the sole model in a display interface;
a deformation amount determination module configured to determine an elastic deformation amount of the pressing portion according to a sliding translation amount in the sliding operation and an elastic parameter of the pressing portion; or, determining the pressing acting force applied to the pressing part according to the pressing duration in the long-time pressing operation, and determining the elastic deformation quantity of the pressing part according to the pressing acting force and the elastic parameters of the pressing part;
and the model display module is configured to determine a target shape parameter of the sole model after deformation according to the elastic deformation quantity and the original shape parameter of the sole model, and display the sole model after deformation according to the target shape parameter.
9. An elastic display device for a sole model, comprising: one or more processors; a storage device storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the method of elastically presenting a model of a sole of a shoe as set forth in any one of claims 1-7.
10. A storage medium containing computer-executable instructions for performing the method of elastically presenting a model of a shoe sole according to any one of claims 1 to 7 when executed by a computer processor.
CN202210598663.2A 2022-05-30 2022-05-30 Sole model elastic display method, device, equipment and storage medium Pending CN115034052A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210598663.2A CN115034052A (en) 2022-05-30 2022-05-30 Sole model elastic display method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210598663.2A CN115034052A (en) 2022-05-30 2022-05-30 Sole model elastic display method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115034052A true CN115034052A (en) 2022-09-09

Family

ID=83120127

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210598663.2A Pending CN115034052A (en) 2022-05-30 2022-05-30 Sole model elastic display method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115034052A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1776696A (en) * 2004-11-15 2006-05-24 住友橡胶工业株式会社 Method of simulating deformation of rubber material
CN104834380A (en) * 2015-05-12 2015-08-12 东南大学 Flexible object tactile modeling and expressing method applied to mobile terminal
CN106933397A (en) * 2015-12-30 2017-07-07 网易(杭州)网络有限公司 Virtual object control method and device
CN108548721A (en) * 2018-03-29 2018-09-18 中铁四局集团有限公司 Measure the device and method for newly mixing 3D printing bearing capacity of concrete-filled and deformation quantity
CN114386278A (en) * 2022-01-13 2022-04-22 天津科技大学 Virtual simulation platform based on buffer package design
WO2022088928A1 (en) * 2020-10-28 2022-05-05 北京字跳网络技术有限公司 Elastic object rendering method and apparatus, device, and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1776696A (en) * 2004-11-15 2006-05-24 住友橡胶工业株式会社 Method of simulating deformation of rubber material
CN104834380A (en) * 2015-05-12 2015-08-12 东南大学 Flexible object tactile modeling and expressing method applied to mobile terminal
CN106933397A (en) * 2015-12-30 2017-07-07 网易(杭州)网络有限公司 Virtual object control method and device
CN108548721A (en) * 2018-03-29 2018-09-18 中铁四局集团有限公司 Measure the device and method for newly mixing 3D printing bearing capacity of concrete-filled and deformation quantity
WO2022088928A1 (en) * 2020-10-28 2022-05-05 北京字跳网络技术有限公司 Elastic object rendering method and apparatus, device, and storage medium
CN114386278A (en) * 2022-01-13 2022-04-22 天津科技大学 Virtual simulation platform based on buffer package design

Similar Documents

Publication Publication Date Title
US20220343689A1 (en) Detection of hand gestures using gesture language discrete values
US10592049B2 (en) Systems and methods for using hover information to predict touch locations and reduce or eliminate touchdown latency
JP6141300B2 (en) Indirect user interface interaction
Ryden et al. A proxy method for real-time 3-DOF haptic rendering of streaming point cloud data
CN104007932A (en) Touch point recognition method and device
Ramani A gesture-free geometric approach for mid-air expression of design intent in 3D virtual pottery
CN111950521A (en) Augmented reality interaction method and device, electronic equipment and storage medium
CN103092518B (en) A kind of mobile accurate touch control method of cloud desktop based on RDP agreement
CN103902086A (en) Curve fitting based touch trajectory smoothing method and system
Raees et al. VEN-3DVE: vision based egocentric navigation for 3D virtual environments
CN112596661A (en) Writing track processing method and device and interactive panel
EP3008556B1 (en) Disambiguation of indirect input
US10073612B1 (en) Fixed cursor input interface for a computer aided design application executing on a touch screen device
CN115034052A (en) Sole model elastic display method, device, equipment and storage medium
CN104516559A (en) Multi-point touch method of touch input device
TW201520877A (en) Method for operating gestures and method for calling cursor
CN103186253B (en) A kind of double rocking lever simulation method of multi-point touch, device and equipment
CN113296616B (en) Pen point selection method and device and intelligent terminal
CN114722447B (en) Method, device, equipment and storage medium for displaying shoe model through multi-finger touch
US10838570B2 (en) Multi-touch GUI featuring directional compression and expansion of graphical content
CN115035277A (en) Dynamic shoe model display method, device, equipment and storage medium
CN113168254A (en) Pen continuous method and display terminal
US10282025B2 (en) Clickable touchpad systems and methods
Lee et al. iSphere: a free-hand 3D modeling interface
Lee et al. iSphere: A proximity-based 3D input interface

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20220909

RJ01 Rejection of invention patent application after publication