CN112700301B - Method for generating previewable clothing scheme - Google Patents
Method for generating previewable clothing scheme Download PDFInfo
- Publication number
- CN112700301B CN112700301B CN202011588033.4A CN202011588033A CN112700301B CN 112700301 B CN112700301 B CN 112700301B CN 202011588033 A CN202011588033 A CN 202011588033A CN 112700301 B CN112700301 B CN 112700301B
- Authority
- CN
- China
- Prior art keywords
- display area
- terminal information
- sub
- model
- main
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 21
- 238000009877 rendering Methods 0.000 claims abstract description 4
- 238000006243 chemical reaction Methods 0.000 claims description 10
- 101100478627 Arabidopsis thaliana S-ACP-DES2 gene Proteins 0.000 claims description 6
- 101000836261 Homo sapiens U4/U6.U5 tri-snRNP-associated protein 2 Proteins 0.000 claims description 6
- 101150038966 SAD2 gene Proteins 0.000 claims description 6
- 102100027243 U4/U6.U5 tri-snRNP-associated protein 2 Human genes 0.000 claims description 6
- 238000001514 detection method Methods 0.000 claims description 6
- 230000002265 prevention Effects 0.000 claims description 5
- 230000004044 response Effects 0.000 claims description 4
- 230000000007 visual effect Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 5
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002688 persistence Effects 0.000 description 1
- 238000005406 washing Methods 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a method for generating previewable clothing schemes, which comprises the following steps: a display area is opened, and a Cartesian coordinate system is established by taking the corners of the display area as original points; setting main terminal information which can be selected by a user and sub-terminal information subdivided by the main terminal information in a display area; a model generation area is opened, and an initial model is arranged in the model generation area; reading main terminal information and sub terminal information input by a user; and rendering the initial model according to the main terminal information and the sub terminal information read in the step S4, so as to generate a preview model which can be intuitively previewed by a user. The invention has the following advantages and effects: the previewing method can generate a previewing product scheme, greatly reduces the probability of selection errors, and effectively ensures rights and interests of both parties.
Description
Technical Field
The present invention relates to a method for generating a previewable clothing scheme.
Background
Based on the existing software, the ordering process of the salesman is as follows: and selecting a plurality of types of contents according to the requirements of buyers, and then selecting a process, materials and the like for ordering according to the selection of refinement of each type of contents. However, in the existing mode, the salesperson cannot check the generated product scheme after all the types of contents are selected, and the situation of error selection exists; if the method can be used for generating a previewable product scheme for the salesman and the buyer to check together after selecting various types of contents, the probability of error selection can be greatly reduced, and the rights and interests of the two parties are effectively ensured.
Disclosure of Invention
It is an object of the present invention to provide a method for generating a previewable clothing solution to solve the problems set forth in the background art.
The technical aim of the invention is realized by the following technical scheme: a method for generating a previewable garment regimen, comprising the steps of:
s1, a display area is opened, and a Cartesian coordinate system is established by taking the corners of the display area as origin points;
step S2, setting main terminal information which can be selected by a user and sub-terminal information subdivided by the main terminal information in a display area;
s3, a model generation area is opened, and an initial model is arranged in the model generation area;
s4, reading main terminal information and sub-terminal information input by a user;
and step S5, rendering the initial model according to the main terminal information and the sub terminal information read in the step S4, so as to generate a preview model which can be intuitively previewed by a user.
Further, the step S2 specifically includes the following steps:
step S21, the main terminal information comprises a plurality of main selection frames, wherein each main selection frame is square and is transversely distributed at the upper part of the display area; each main selection frame comprises coordinate values of all nodes in the main selection frame in the display area;
step S22, the child end information comprises a preset frame group and an input frame group, wherein the preset frame group and the input frame group are longitudinally distributed below main selection frames in a display area from top to bottom, only one of the preset frame group and the input frame group is correspondingly arranged below each main selection frame, the preset frame group comprises a plurality of preset frames, and each preset frame respectively comprises coordinate values of all nodes in the preset frame group in the display area; the input box group comprises a plurality of input boxes, and each input box comprises coordinate values of all nodes in the input box group in the display area.
Further, the step S3 specifically includes the following steps: the initial model of the model generation area comprises a plurality of adjustable sub-models which respectively correspond to the sub-end information, and the sub-end information is stored in a memory of the initial model.
Further, the step S4 specifically includes the following steps:
s41, reading coordinate values of all nodes in the selected main selection frame in the display area, and storing the coordinate values in an array M1;
step S42, reading the corresponding sub-terminal information in the main selection frame, and continuously storing in an array M1;
step S43, repeating the steps S1 to S2 until the selection is finished;
step S44, output array M1 to the initial model.
Further, in the step S41, the detection of error selection prevention is needed during the reading, and the method specifically includes the following steps:
step S411, detecting whether a main selection frame is selected, if not, waiting for selection; if yes, generating a response interrupt signal and performing interrupt time;
step S412, the coordinate values of all nodes in the main selection frame in the display area are read and stored in an array SA1;
step S413, when the preset interrupt time is reached, responding to the interrupt signal and returning, reading the coordinate values of all nodes in the main selection frame in the display area again, and storing the coordinate values in an array SA2;
step S414, comparing the array SA1 with the array SA2, and outputting if the comparison result is consistent; otherwise, judging that the data is selected by mistake and not outputting the data.
Further, the step S5 specifically includes the following steps:
each adjustable sub-model in the initial model comprises a data layer, an operation layer and a conversion layer, wherein the data layer is respectively stored on each node of a memory, the operation layer is used for independently or jointly operating data of a plurality of nodes and storing results, and the conversion layer is used for feeding back the results to each adjustable sub-model so as to generate a preview model which can be intuitively previewed by a user through the combination of each adjustable sub-model;
the data of each node in the data layer are stored independently and are not communicated with each other, and the result obtained by the operation layer can only be output to the conversion layer.
Further, the main selection bar in step S21 includes a double-layer display area, which is a text display area SAD1 and an image display area SAD2, and the text display area SAD1 and the image display area SAD2 may be displayed by superposition.
The invention has the beneficial effects that:
1. according to the invention, after the salesmen select various types of contents, a previewable product scheme is generated for the salesmen and buyers to check together, so that the probability of error selection can be greatly reduced, and the rights and interests of the two parties are effectively ensured.
2. In the invention, marking and distinguishing are carried out by planning the display areas and establishing a Cartesian coordinate system, and each display area has independent coordinates and no repetition exists; simultaneously, generating a main selection frame, a preset frame group and an input frame group in the display area, wherein the three groups comprise coordinate values of all nodes in the display area; therefore, when the user selects each node in the main selection frame, the preset frame group and the input frame group independently, triggering can be ensured, and stability is improved.
3. According to the invention, the initial model is built, the adjustable sub-model in the initial model is based to correspond to the sub-end information, so that the replacement and display can be realized quickly and effectively, and the response speed is improved effectively due to the saved operation.
4. In the invention, the generation of misoperation is prevented by the detection of error selection prevention, the main terminal information and the sub terminal information are used as interfaces of instructions, and the specific operation of the main terminal information and the sub terminal information represents various determined operation commands, so that the accurate identification of the action and the state of the action is very important. Therefore, the error selection prevention detection is used for realizing short-time secondary detection, and the correctness of the instruction is ensured.
5. The adjustable submodel comprises a data layer, an operation layer and a conversion layer, so that the process persistence of the processing is improved, the low accuracy caused by the jump level is avoided, and the accuracy, the stability and the sustainability of the process are ensured.
Drawings
FIG. 1 is a flow chart of an embodiment;
FIG. 2 is a schematic diagram showing a practical application of a region in an embodiment;
FIG. 3 is a schematic diagram showing a practical application of the display area in the second embodiment;
FIG. 4 is a schematic diagram of a practical application of a model generation area in the first embodiment;
fig. 5 is a schematic diagram of a practical application of the model generation area in the second embodiment.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings.
As shown in fig. 1, a method for generating a previewable clothing scheme includes the steps of:
s1, a display area is opened, and a Cartesian coordinate system is established by taking the corners of the display area as origin points;
step S2, setting main terminal information which can be selected by a user and sub-terminal information subdivided by the main terminal information in a display area;
s3, a model generation area is opened, and an initial model is arranged in the model generation area;
s4, reading main terminal information and sub-terminal information input by a user;
and step S5, rendering the initial model according to the main terminal information and the sub terminal information read in the step S4, so as to generate a preview model which can be intuitively previewed by a user.
The step S2 specifically includes the following steps:
s21, the main terminal information comprises a plurality of main selection frames, wherein each main selection frame is square and is transversely distributed at the upper part of the display area; each main selection frame comprises coordinate values of all nodes in the main selection frame in the display area;
step S22, the child end information comprises a preset frame group and an input frame group, wherein the preset frame group and the input frame group are longitudinally distributed below main selection frames in a display area from top to bottom, only one of the preset frame group and the input frame group is correspondingly arranged below each main selection frame, the preset frame group comprises a plurality of preset frames, and each preset frame comprises coordinate values of all nodes in the preset frame group in the display area; the input box group comprises a plurality of input boxes, and each input box comprises coordinate values of all nodes in the input box in the display area.
The step S3 specifically includes the following steps: the initial model of the model generation area comprises a plurality of adjustable sub-models which respectively correspond to the sub-end information, and the sub-end information is stored in a memory of the initial model.
The step S4 specifically includes the following steps:
s41, reading coordinate values of all nodes in the selected main selection frame in the display area, and storing the coordinate values in an array M1;
step S42, reading the corresponding sub-terminal information in the main selection frame, and continuously storing in an array M1;
step S43, repeating the steps S1 to S2 until the selection is finished;
step S44, output array M1 to the initial model.
In step S41, the detection of error-selection prevention is needed during the reading, which specifically includes the following steps:
step S411, detecting whether a main selection frame is selected, if not, waiting for selection; if yes, generating a response interrupt signal and performing interrupt time;
step S412, the coordinate values of all nodes in the main selection frame in the display area are read and stored in an array SA1;
step S413, when the preset interrupt time is reached, responding to the interrupt signal and returning, reading the coordinate values of all nodes in the main selection frame in the display area again, and storing the coordinate values in an array SA2;
step S414, comparing the array SA1 with the array SA2, and outputting if the comparison result is consistent; otherwise, judging that the data is selected by mistake and not outputting the data.
The step S5 specifically includes the following steps: each adjustable sub-model in the initial model comprises a data layer, an operation layer and a conversion layer, wherein the data layer is respectively stored on each node of a memory, the operation layer is used for independently or jointly operating data of a plurality of nodes and storing results, and the conversion layer is used for feeding back the results to each adjustable sub-model so as to generate a preview model which can be intuitively previewed by a user through the combination of each adjustable sub-model;
the data of each node in the data layer are stored independently and are not communicated with each other, and the result obtained by the operation layer can only be output to the conversion layer.
The main selection bar in step S21 includes a double-layer display area, which is a text display area SAD1 and an image display area SAD2, and the text display area SAD1 and the image display area SAD2 can be displayed by superposition.
Fig. 2 to 5 are schematic diagrams showing practical applications of the present embodiment. In this embodiment, taking clothing sales as an example, the main selection frame includes a style, a process, a production process requirement, a charging item, a size number, a washing mark size, a material, a money picture, a process picture, a three-section process picture, a four-section process picture and a sleeve section process picture; the preset frame group and the input frame group can refer to fig. 2 and 3; the initial model and each adjustable sub-model can be seen with reference to fig. 4 and 5.
The present embodiment is only for explanation of the present invention and is not to be construed as limiting the present invention, and modifications to the present embodiment, which may not creatively contribute to the present invention as required by those skilled in the art after reading the present specification, are all protected by patent laws within the scope of claims of the present invention.
Claims (2)
1. A method for generating a previewable garment regimen, comprising the steps of:
s1, a display area is opened, and a Cartesian coordinate system is established by taking the corners of the display area as origin points;
step S2, setting main terminal information which can be selected by a user and sub-terminal information subdivided by the main terminal information in a display area;
s3, a model generation area is opened, and an initial model is arranged in the model generation area;
s4, reading main terminal information and sub-terminal information input by a user;
step S5, rendering the initial model according to the main terminal information and the sub terminal information read in the step S4, so as to generate a preview model for visual preview of a user;
the step S2 specifically comprises the following steps:
step S21, the main terminal information comprises a plurality of main selection frames, wherein each main selection frame is square and is transversely distributed at the upper part of the display area; each main selection frame comprises coordinate values of all nodes in the main selection frame in the display area;
step S22, the child end information comprises a preset frame group and an input frame group, wherein the preset frame group and the input frame group are longitudinally distributed below main selection frames in a display area from top to bottom, only one of the preset frame group and the input frame group is correspondingly arranged below each main selection frame, the preset frame group comprises a plurality of preset frames, and each preset frame respectively comprises coordinate values of all nodes in the preset frame group in the display area; the input frame group comprises a plurality of input frames, and each input frame comprises coordinate values of all nodes in the input frame group in the display area;
the step S3 specifically comprises the following steps: the initial model of the model generation area comprises a plurality of adjustable sub-models which respectively correspond to the sub-end information, and the sub-end information is stored in a memory of the initial model;
the step S4 specifically comprises the following steps:
s41, reading coordinate values of all nodes in the selected main selection frame in the display area, and storing the coordinate values in an array M1;
step S42, reading the corresponding sub-terminal information in the main selection frame, and continuously storing in an array M1;
step S43, repeating the steps S1 to S2 until the selection is finished;
step S44, outputting the array M1 to the initial model;
in the step S41, the detection of error selection prevention is needed during the reading, which specifically includes the following steps:
step S411, detecting whether a main selection frame is selected, if not, waiting for selection; if yes, generating a response interrupt signal and performing interrupt time;
step S412, the coordinate values of all nodes in the main selection frame in the display area are read and stored in an array SA1;
step S413, when the preset interrupt time is reached, responding to the interrupt signal and returning, reading the coordinate values of all nodes in the main selection frame in the display area again, and storing the coordinate values in an array SA2;
step S414, comparing the array SA1 with the array SA2, and outputting if the comparison result is consistent; otherwise, judging that the input signal is selected by mistake and not output;
the step S5 specifically comprises the following steps:
each adjustable sub-model in the initial model comprises a data layer, an operation layer and a conversion layer, wherein the data layer is respectively stored on each node of a memory, the operation layer is used for independently or jointly operating data of a plurality of nodes and storing results, and the conversion layer is used for feeding back the results to each adjustable sub-model so as to generate a preview model which can be intuitively previewed by a user through the combination of each adjustable sub-model;
the data of each node in the data layer are stored independently and are not communicated with each other, and the result obtained by the operation layer can only be output to the conversion layer.
2. The method according to claim 1, wherein the main selection bar in step S21 includes a double-layer display area, i.e., a text display area SAD1 and an image display area SAD2, and the text display area SAD1 and the image display area SAD2 are displayed by superposition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011588033.4A CN112700301B (en) | 2020-12-29 | 2020-12-29 | Method for generating previewable clothing scheme |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011588033.4A CN112700301B (en) | 2020-12-29 | 2020-12-29 | Method for generating previewable clothing scheme |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112700301A CN112700301A (en) | 2021-04-23 |
CN112700301B true CN112700301B (en) | 2024-02-02 |
Family
ID=75511381
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011588033.4A Active CN112700301B (en) | 2020-12-29 | 2020-12-29 | Method for generating previewable clothing scheme |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112700301B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117274511B (en) * | 2023-11-22 | 2024-03-12 | 大家智合(北京)网络科技股份有限公司 | Box-type 3D preview system and method in packaging field |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108876930A (en) * | 2018-06-07 | 2018-11-23 | 廖林华 | A kind of personal image management application method and system |
CN110298720A (en) * | 2018-03-23 | 2019-10-01 | 真玫智能科技(深圳)有限公司 | A kind of custom made clothing design method and platform |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI697861B (en) * | 2018-05-16 | 2020-07-01 | 緯創資通股份有限公司 | Clothes and accessories fitting method, display system and computer-readable recording medium thereof |
US11475071B2 (en) * | 2019-03-29 | 2022-10-18 | Salesforce, Inc. | Configuring dynamic content previews |
-
2020
- 2020-12-29 CN CN202011588033.4A patent/CN112700301B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110298720A (en) * | 2018-03-23 | 2019-10-01 | 真玫智能科技(深圳)有限公司 | A kind of custom made clothing design method and platform |
CN108876930A (en) * | 2018-06-07 | 2018-11-23 | 廖林华 | A kind of personal image management application method and system |
Also Published As
Publication number | Publication date |
---|---|
CN112700301A (en) | 2021-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106468960A (en) | A kind of method and system of candidates of input method sequence | |
CN109784323A (en) | Method, apparatus, electronic equipment and the computer storage medium of image recognition | |
CN108536658B (en) | Method and device for generating custom tag data | |
CN112700301B (en) | Method for generating previewable clothing scheme | |
WO2022142551A1 (en) | Form processing method and apparatus, and medium and computer device | |
JP2023073432A (en) | Information processor, method for processing information, and program | |
CN101847083A (en) | device and control method | |
JP2017167775A (en) | Information processing device and information processing program | |
CN107016428A (en) | The initial method and device of a kind of Quick Response Code | |
US3531775A (en) | Memory apparatus for rapid write-in and read-out of information | |
CN110825989A (en) | Picture display method and device, electronic equipment and readable medium | |
CN110941948B (en) | Document interface display method, device, equipment and storage medium | |
JP2008141496A (en) | Document editing device and program | |
JP2001249746A (en) | Information reading device and medium with information reading program stored thereon | |
CN108228675B (en) | Webpage construction method and device | |
JP2013246782A (en) | Drawing data management device and drawing data management program | |
CN109254985A (en) | Method for exhibiting data and device, the electronic equipment of database | |
TW491742B (en) | Drilling program generator for CNC | |
US20210097485A1 (en) | Processing apparatus, processing method, and non-transitory storage medium | |
JPH04157560A (en) | Table generating method | |
CN115933928A (en) | Element placing method and device, terminal and storage medium | |
JP2022138216A (en) | Terminal device, sever device, information processing method, and program | |
TW201919036A (en) | Display driving circuit and operating method thereof | |
JP2802646B2 (en) | A scaling method for character patterns using vector fonts | |
JPWO2021095152A5 (en) |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |