Design method for computer-aided pattern generation
Through the computer-aided pattern generation design method, multiple modules are used to realize the automated design of patterns, which solves the problems of manual operations, prone to errors and low design efficiency in the traditional design process, and realizes an efficient and low-cost design process.
Patent Information
- Application Number
- CN202411715192.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-27
- Publication Date
- 2025-04-25
AI Technical Summary
During the traditional design process, designers need to perform a lot of manual operations, which is time-consuming and labor-intensive, error-prone, and lacks systematicity and standardization, resulting in low design efficiency, high cost and long revision time.
A computer-aided pattern generation design method is provided. The automatic design of the pattern is realized by the graph analysis module including input analysis module, point cloud mapping module, random distribution module, batch screening grouping module, line mapping module, line generation module, graph generation module, grating module, sand effect module and three-dimensional effect module.
Through computer-aided design methods, real-time simulation of design effects can be improved, design efficiency can be improved, revision time and design costs can be reduced, operational thresholds can be reduced, and design needs can be met in various graphics requirements.
Smart Images

Figure CN119885304A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of intelligent auxiliary design, in particular to a drawing auxiliary design method and system based on Grasshopper. Background Art
[0002] In the traditional design process, designers often need to perform a lot of manual operations, which are time-consuming and labor-intensive. Especially when drawing high-precision, dense line drawings, it is easy to make mistakes and it is not convenient to have a full view of the design plan. In addition, traditional design methods often lack systematicity and standardization, resulting in low design efficiency, high design costs, and long revision time.
[0003] After searching, it is found that Chinese patent literature discloses a digital logo color intelligent design auxiliary method [Application number: 202210118509.0, Publication number: CN114444188A], which is characterized by intelligent color matching presentation, combination presentation of multiple modes, color contrast information presentation, etc. Although computers can be used for auxiliary design, the design effect is relatively simple and the operation threshold is high, which is not conducive to universal use. Summary of the invention
[0004] In view of the problems existing in the prior art, the object of the present invention is to provide a design method for computer-aided generation of patterns.
[0005] The present invention can be achieved through the following technical solutions: A computer-aided design method for generating patterns, comprising a graphics analysis module, characterized in that: The graphic analysis module includes an input analysis module, a point cloud mapping module, a random distribution module, a batch screening and grouping module, a line mapping module, a line generation module, a graphic generation module, a grating module, a sand effect module and a stereo effect module.
[0006] When the graphic analysis module is used, the following steps are included: Step 1: Input the design requirements and determine whether macro graphic design or micro structure design is required. If it is macro graphic design, proceed to step 201; if it is micro structure design, proceed to step 202; Step 201: Perform macro graphic design, identify the required characteristics, and identify the directions of point, line and surface. If it is a point, go to step 301, if it is a line, go to step 302, and if it is a surface, go to step 303; Step 202: Perform microstructure design. You can select a grating module, a sand effect module, and a three-dimensional effect module for design. After the selection is completed, input the data into the selected module for design; Step 301: determine whether the distribution of points is regular, if so, input the point cloud mapping module for design, if not, input the random distribution module for design; Step 302: determine whether the line constitutes a 2D graphic or a 3D graphic. If it is a 2D graphic, input the line mapping module to design it. If it is a 3D graphic, input the line generation module to design it. Step 303: input the face-to-surface module, determine whether the output of the face-to-surface module is a point or a surface, if it is a point, input the point cloud mapping module, if it is a surface, input the surface-line mapping module.
[0007] Preferably, the point cloud mapping module includes the following steps when used: Step 1: Determine the canvas plane size and point cloud position; Step 2: Input a grayscale image, map the image's 0-255 grayscale information to the diameter of the point cloud, and adjust the diameter range; Step 3: Draw points of corresponding diameter at the point positions confirmed in step 1, apply judgment conditions to the point cloud, and preview the overall effect; Step 4: Output the rendering.
[0008] Through the above technical solution, a point cloud mapping module can be used to generate a pattern.
[0009] Preferably, when the random distribution module is used in combination with the batch screening grouping module, the following steps are included: Step 1: Enter the canvas size and generate x random points in the canvas; Step 2: Input n primitives and shift them to x random point positions so that each random point position has 1 primitive and the number of n primitives is roughly the same and distributed to x random point positions; Step 3: Set the size range, and randomly scale the primitive to a certain size within the size range; Step 4: Set the rotation angle range, and the primitive rotates a random angle within the rotation angle range; Step 5: Preview the effect and output the vector line drawing of the effect diagram; Step 6: Disrupt the data structure order of the line drawing data generated in step 5, and divide it into n groups for every x data; Step 7: Fill each group with different colors, preview the effect, and output each group of elements to the layer separately.
[0010] Through the above technical solution, a random distribution module and a batch screening grouping module can be used to generate patterns.
[0011] Preferably, the line mapping module comprises the following steps when used: Step 1: Read the input surface information and identify the height of the surface points; Step 2: Analyze the surface topography, provide traction at the surface points, form streamlines on the surface, and preview the effect; Step 3: Output the rendering.
[0012] Through the above technical solution, a line mapping module can be used to generate a pattern.
[0013] Preferably, the line generation module comprises the following steps when used: Step 1: Find the line distribution pattern and first determine the track baseline, that is, adjust the density of the concentric circles; Step 2: Find a point on the track baseline and make a range fluctuation in the vertical direction. The larger the fluctuation, the more curved the curve; the smaller the fluctuation, the straighter the curve. Connect every x points into a curve and preview the effect; Step 3: Adjust the length of the line, that is, cut off a part of the middle of the curve, and preview the effect; Step 4: Output the rendering.
[0014] Through the above technical solution, a line generation module can be used to generate a pattern.
[0015] Preferably, the image generation module includes the following steps when used: Step 1: Identify reference images. Based on the large model library of StableDiffusion, find images related to the input prompt word; Step 2: Cover the reference image with noise. The coverage ratio depends on the redrawing amplitude. Generally, a redrawing amplitude between 0.2-0.4 will not change the original image trend and can be used to repair the image clarity. A redrawing amplitude between 0.4-0.75 will greatly change the original image and basically regenerate without referring to the original image. The number of iterations is generally 20-30 steps to complete image generation; Fixed random number seeds and other parameters, changing large models can change the design style with one click; Step 3: You can use controlnet and other plug-ins to constrain the reference image to extract line drawings, color, and make fine adjustments; Step 4: Select the appropriate rendering output.
[0016] Through the above technical solution, the pattern can be generated using the image generation module.
[0017] Preferably, the grating structure module comprises the following steps when used: Step 1: Read the input image information. Set the pixel accuracy of the read; Step 2: Set the grating angle range and frequency range. Use the image grayscale information to map the grating angle and frequency of each pixel position to express the light and shadow flow effect. The smaller the angle range, the smaller the visible range, the faster the light and shadow flow, and the larger the visible range of a single perspective; conversely, the larger the angle range, the larger the visible range, the slower the light and shadow flow, and the smaller the visible range of a single perspective; Set the structural depth range, and use the grayscale information of the image to map the grating structure depth of each pixel position to express the intensity of light and shadow. Generally, when expressing the intensity of light and shadow, other light and shadow flow effects are not compounded, which makes it easier to produce a sense of depth of field; Step 3: Set the grating cross-section structure. Calculate the cross-section angle to adjust the brightest viewing angle; set the cross-section rounded corners to disperse the light, so that the light effect forms a softer surface light; adjust the cross-section smoothness to make the overall light effect slightly matte; Step 4: Light and shadow simulation, set the viewing angle range, and simulate the light and shadow flow effect of the real object.
[0018] Through the above technical solution, a pattern can be generated using a grating structure module.
[0019] Preferably, the sand effect structure module comprises the following steps when used: Step 1: Select a unit body with sand effect. The more facets it has, the closer it is to a spherical structure. The overall texture effect has a higher haze and a lower transmittance. Step 2: Set the size range, spacing, angle range, depth range and other parameters of the unit. Affect the brightness and glossiness of the sand effect, forming a series of flashing sand effects with different fineness; Generally, when the unit size is less than 30um, the sand effect is finer and the texture is foggy; when the unit size is around 80um, the sand effect is more shiny and the texture has a higher glossiness. The size range should not be too large, which will lead to local emptiness and may produce local shadows and black spots in the texture. The appropriate scale contrast, combined with graphic design and post-processing technology, can produce rich texture expression; Step 3: Read 1-2 mapping images, corresponding to the parameters set in step 2. You can set the random ratio to increase the random flash effect. When the random ratio is 1, the mapping image has no effect, and the whole surface is filled with random flash sand; Step 4: Preview the microstructure, check the file and the corresponding sample effect; Step 5: Adjust parameters and output processing files.
[0020] Through the above technical solution, the sand effect structure module can be used to generate patterns.
[0021] Preferably, the three-dimensional structure module comprises the following steps when used: Step 1: Input the grayscale image that needs 3D effect. Set the blur parameters to smooth the grayscale gradient of the image; Step 2: Set the step lengths corresponding to black and white. The spatial frequency of the flat area is very low, and the spatial frequency of the three-dimensional part is high. Adjust the three-dimensional effect by adjusting the step length; Step 3: Preview the processed file and check the frequency range of the file. If it is too wide, the lines will be visible and grayscale streaks will appear in the flat area; if it is too narrow, it will cause problems such as discretization; Step 4: Adjust parameters and output processing files.
[0022] Compared with the prior art, the present invention has the following advantages: 1. This computer-aided pattern generation design method provides a visual computer-aided pattern generation design method that can simulate the effect in real time, improve design efficiency, and avoid problems such as long revision time and high design cost.
[0023] 2. This computer-aided pattern generation design method can generate patterns according to point, line or surface conditions through the cooperation of various modules, which can meet the design requirements of various graphics and greatly reduce the design cost.
[0024] 3. The computer-aided pattern generation design method has a streamlined operation process. After analyzing the user's needs through the input analysis module, the appropriate module is screened out, which can not only meet different design needs, but also greatly reduce the usage threshold. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is a schematic diagram of the workflow of the present invention; Figure 2 It is a workflow diagram of the point cloud mapping module in the present invention; Figure 3 It is a block diagram of the point cloud mapping module program of the present invention; Figure 4 It is the output effect diagram of the point cloud mapping module in the present invention; Figure 5 This is a workflow diagram of the random distribution + screening grouping module in the present invention; Figure 6 It is a block diagram of the random distribution module program in the present invention; Figure 7 It is a block diagram of the screening and grouping module program in the present invention; Figure 8 This is the output effect diagram of the random distribution + screening grouping module in the present invention; Fig. 9 It is a workflow diagram of the centerline mapping module of the present invention; Fig.10 It is the output effect diagram of the centerline mapping module of the present invention; Fig.11 It is a workflow diagram of the centerline generation module of the present invention; Fig.12 It is the output effect diagram of the centerline generation module of the present invention; Fig.13 It is a workflow diagram of the image generation module in the present invention; Fig.14 It is the output effect diagram of the image generation module in the present invention; Fig.15 This is a working diagram of the grating structure module in the present invention; Fig.16 This is an output effect diagram of the grating structure module in the present invention; Fig.17 This is a working diagram of the sand effect structure module in the present invention; Fig.18 This is the output effect diagram of the sand effect structure module in the present invention; Fig.19 This is a workflow diagram of the stereoscopic effect module in the present invention; Fig. 20 It is the output effect diagram of the stereoscopic effect module in the present invention. DETAILED DESCRIPTION
[0026] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0027] See also Figures 1 to 20 The present invention provides a computer-aided design method for generating patterns, and the specific embodiments are as follows: Step 1: Input the design requirements and determine whether macro graphic design or micro structure design is required. If it is macro graphic design, proceed to step 201; if it is micro structure design, proceed to step 202; Step 201: Perform macro graphic design, identify the required characteristics, and identify the directions of point, line and surface. If it is a point, go to step 301, if it is a line, go to step 302, and if it is a surface, go to step 303; Step 202: Perform microstructure design. You can select a grating module, a sand effect module, and a three-dimensional effect module for design. After the selection is completed, input the data into the selected module for design; Step 301: determine whether the distribution of points is regular, if so, input the point cloud mapping module for design, if not, input the random distribution module for design; Step 302: determine whether the line constitutes a 2D graphic or a 3D graphic. If it is a 2D graphic, input the line mapping module to design it. If it is a 3D graphic, input the line generation module to design it. Step 303: input the face-to-surface module, determine whether the output of the face-to-surface module is a point or a surface, if it is a point, input the point cloud mapping module, if it is a surface, input the surface-line mapping module.
[0028] Example 1: Generate a pattern using the point cloud mapping module Step 1: Determine the canvas plane size and point cloud position; Step 2: Input a grayscale image, map the image's 0-255 grayscale information to the diameter of the point cloud, and adjust the diameter range; Step 3: Draw points of corresponding diameter at the point positions confirmed in step 1, apply judgment conditions to the point cloud, and preview the overall effect; Step 4: Output the rendering.
[0029] Point cloud mapping module workflow diagram Figure 2 ; Point cloud mapping module program block diagram see Figure 3 ; See the generated effect preview Figure 4 .
[0030] Example 2: Generate a pattern using a random distribution module combined with a batch screening grouping module Step 1: Enter the canvas size and generate x random points in the canvas; Step 2: Input n primitives and shift them to x random point positions so that each random point position has 1 primitive and the number of n primitives is roughly the same and distributed to x random point positions; Step 3: Set the size range, and randomly scale the primitive to a certain size within the size range; Step 4: Set the rotation angle range, and the primitive rotates a random angle within the rotation angle range; Step 5: Preview the effect and output the vector line drawing of the effect diagram; Step 6: Disrupt the data structure order of the line drawing data generated in step 5, and divide it into n groups for every x data; Step 7: Fill each group with different colors, preview the effect, and output each group of elements to the layer separately.
[0031] See the workflow diagram of random distribution + screening grouping module for Figure 5 ; The random distribution module program block diagram is shown in Figure 6 ; See the block diagram of the filtering and grouping module Figure 7 ; See the generated effect preview Figure 8 .
[0032] Example 3: Generating Patterns Using Line Mapping Module Step 1: Read the input surface information and identify the height of the surface points; Step 2: Analyze the surface topography, provide traction at the surface points, form streamlines on the surface, and preview the effect; Step 3: Output the rendering.
[0033] The workflow diagram of the line mapping module is shown in Fig. 9 ; See the generated effect preview Fig.10 .
[0034] Example 4: Generating a pattern using a line generation module Step 1: Find the line distribution pattern and first determine the track baseline, that is, adjust the density of the concentric circles; Step 2: Find a point on the track baseline and make a range fluctuation in the vertical direction. The larger the fluctuation, the more curved the curve; the smaller the fluctuation, the straighter the curve. Connect every x points into a curve and preview the effect; Step 3: Adjust the length of the line, that is, cut off a part of the middle of the curve, and preview the effect; Step 4: Output the rendering.
[0035] The workflow diagram of the line generation module is shown in Fig.11 ; See the generated effect preview Fig.12 .
[0036] Example 5: Generate a pattern using the image generation module Step 1: Identify reference images. Based on the large model library of StableDiffusion, find images related to the input prompt word; Step 2: Cover the reference image with noise. The coverage ratio depends on the redrawing amplitude. Generally, a redrawing amplitude between 0.2-0.4 will not change the original image trend and can be used to repair the image clarity. A redrawing amplitude between 0.4-0.75 will greatly change the original image and basically regenerate without referring to the original image. The number of iterations is generally 20-30 steps to complete image generation; Fixed random number seeds and other parameters, changing large models can change the design style with one click; Step 3: You can use controlnet and other plug-ins to constrain the reference image to extract line drawings, color, and make fine adjustments; Step 4: Select the appropriate rendering output.
[0037] See the workflow diagram of the graph generation module for Fig.13 ; See the generated effect preview Fig.14 .
[0038] Example 6: Generating a pattern using a grating structure module Step 1: Read the input image information. Set the pixel accuracy of the read; Step 2: Set the grating angle range and frequency range. Use the image grayscale information to map the grating angle and frequency of each pixel position to express the light and shadow flow effect. The smaller the angle range, the smaller the visible range, the faster the light and shadow flow, and the larger the visible range of a single perspective; conversely, the larger the angle range, the larger the visible range, the slower the light and shadow flow, and the smaller the visible range of a single perspective; Set the structural depth range, and use the grayscale information of the image to map the grating structure depth of each pixel position to express the intensity of light and shadow. Generally, when expressing the intensity of light and shadow, other light and shadow flow effects are not compounded, which makes it easier to produce a sense of depth of field; Step 3: Set the grating cross-section structure. Calculate the cross-section angle to adjust the brightest viewing angle; set the cross-section rounded corners to disperse the light, so that the light effect forms a softer surface light; adjust the cross-section smoothness to make the overall light effect slightly matte; Step 4: Light and shadow simulation, set the viewing angle range, and simulate the light and shadow flow effect of the real object.
[0039] See the workflow diagram of the grating structure module for details. Fig.15 ; See the generated effect preview Fig.16 .
[0040] Example 7: Generating Patterns Using Sand Effect Structure Module Step 1: Select a unit body with sand effect. The more facets it has, the closer it is to a spherical structure. The overall texture effect has a higher haze and a lower transmittance. Step 2: Set the size range, spacing, angle range, depth range and other parameters of the unit. Affect the brightness and glossiness of the sand effect, forming a series of flashing sand effects with different fineness; Generally, when the unit size is less than 30um, the sand effect is finer and the texture is foggy; when the unit size is around 80um, the sand effect is more shiny and the texture has a higher glossiness. The size range should not be too large, which will lead to local emptiness and may produce local shadows and black spots in the texture. The appropriate scale contrast, combined with graphic design and post-processing technology, can produce rich texture expression; Step 3: Read 1-2 mapping images, corresponding to the parameters set in step 2. You can set the random ratio to increase the random flash effect. When the random ratio is 1, the mapping image has no effect, and the whole surface is filled with random flash sand; Step 4: Preview the microstructure, check the file and the corresponding sample effect; Step 5: Adjust parameters and output processing files.
[0041] The workflow diagram of sand effect structure module is shown in Fig.17 ; See the generated effect preview Fig.18 .
[0042] Example 8: Generating Patterns Using a Three-Dimensional Structure Module Step 1: Input the grayscale image that needs 3D effect. Set the blur parameters to smooth the grayscale gradient of the image; Step 2: Set the step lengths corresponding to black and white. The spatial frequency of the flat area is very low, and the spatial frequency of the three-dimensional part is high. Adjust the three-dimensional effect by adjusting the step length; Step 3: Preview the processed file and check the frequency range of the file. If it is too wide, the lines will be visible and grayscale streaks will appear in the flat area; if it is too narrow, it will cause problems such as discretization; Step 4: Adjust parameters and output processing files.
[0043] See the workflow diagram of the 3D effect module for details. Fig.19 ; See the generated effect preview Fig. 20 .
[0044] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0045] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A computer-aided design method for generating patterns, comprising a graphics analysis module, characterized in that: The graphic analysis module includes an input analysis module, a point cloud mapping module, a random distribution module, a batch screening and grouping module, a line mapping module, a line generation module, a graphic generation module, a grating module, a sand effect module and a stereo effect module; When the graphic analysis module is used, the following steps are included: Step 1: Input the design requirements and determine whether macro graphic design or micro structure design is required. If it is macro graphic design, proceed to step 201; if it is micro structure design, proceed to step 202; Step 201: Perform macro graphic design, identify the required characteristics, and identify the directions of point, line and surface. If it is a point, go to step 301, if it is a line, go to step 302, and if it is a surface, go to step 303; Step 202: Perform microstructure design. You can select a grating module, a sand effect module, and a three-dimensional effect module for design. After the selection is completed, input the data into the selected module for design; Step 301: determine whether the distribution of points is regular, if so, input the point cloud mapping module for design, if not, input the random distribution module for design; Step 302: determine whether the line constitutes a 2D graphic or a 3D graphic. If it is a 2D graphic, input the line mapping module to design it. If it is a 3D graphic, input the line generation module to design it. Step 303: input the face-to-surface module, determine whether the output of the face-to-surface module is a point or a surface, if it is a point, input the point cloud mapping module, if it is a surface, input the surface-line mapping module.
2. A computer-aided design method for generating patterns according to claim 1, characterized in that: The point cloud mapping module comprises the following steps when used: Step 1: Determine the canvas plane size and point cloud position; Step 2: Input a grayscale image, map the image's 0-255 grayscale information to the diameter of the point cloud, and adjust the diameter range; Step 3: Draw points of corresponding diameter at the point positions confirmed in step 1, apply judgment conditions to the point cloud, and preview the overall effect; Step 4: Output the rendering.
3. A computer-aided design method for generating patterns according to claim 1, characterized in that: When the random distribution module is used in combination with the batch screening grouping module, the following steps are included: Step 1: Enter the canvas size and generate x random points in the canvas; Step 2: Input n primitives and shift them to x random point positions so that each random point position has 1 primitive and the number of n primitives is roughly the same and distributed to x random point positions; Step 3: Set the size range, and randomly scale the primitive to a certain size within the size range; Step 4: Set the rotation angle range, and the primitive rotates a random angle within the rotation angle range; Step 5: Preview the effect and output the vector line drawing of the effect diagram; Step 6: Disrupt the data structure order of the line drawing data generated in step 5, and divide it into n groups for every x data; Step 7: Fill each group with different colors, preview the effect, and output each group of elements to the layer separately.
4. A computer-aided design method for generating patterns according to claim 1, characterized in that: The line mapping module comprises the following steps when used: Step 1: Read the input surface information and identify the height of the surface points; Step 2: Analyze the surface topography, provide traction at the surface points, form streamlines on the surface, and preview the effect; Step 3: Output the rendering.
5. A computer-aided design method for generating patterns according to claim 1, characterized in that: The line generation module comprises the following steps when used: Step 1: Find the line distribution pattern and first determine the track baseline, that is, adjust the density of the concentric circles; Step 2: Find a point on the track baseline and make a range fluctuation in the vertical direction. The larger the fluctuation, the more curved the curve; the smaller the fluctuation, the flatter the curve. Connect every x points into a curve, and preview the effect; Step 3: Adjust the length of the line, that is, cut off a part of the middle of the curve, and preview the effect; Step 4: Output the rendering.
6. A computer-aided design method for generating patterns according to claim 1, characterized in that: The graph generation module comprises the following steps when used: Step 1: Identify reference images. Based on the large model library of StableDiffusion, find images related to the input prompt word; Step 2: Cover the reference image with noise. The coverage ratio depends on the redrawing amplitude. Generally, a redrawing amplitude between 0.2-0.4 will not change the original image trend and can be used to repair the image clarity. A redrawing amplitude between 0.4-0.75 will greatly change the original image and basically regenerate without referring to the original image. The number of iterations is generally 20-30 steps to complete image generation; Fixed random number seeds and other parameters, changing large models can change the design style with one click; Step 3: You can use controlnet and other plug-ins to constrain the reference image to extract line drawings, color, and make fine adjustments; Step 4: Select the appropriate rendering output.
7. A computer-aided design method for generating patterns according to claim 1, characterized in that: The grating structure module comprises the following steps when used: Step 1: Read the input image information. Set the pixel accuracy of the read; Step 2: Set the grating angle range and frequency range. Use the image grayscale information to map the grating angle and frequency of each pixel position to express the light and shadow flow effect. The smaller the angle range, the smaller the visible range, the faster the light and shadow flow, and the larger the visible range of a single perspective; conversely, the larger the angle range, the larger the visible range, the slower the light and shadow flow, and the smaller the visible range of a single perspective; Set the structural depth range, and use the grayscale information of the image to map the grating structure depth of each pixel position to express the intensity of light and shadow. Generally, when expressing the intensity of light and shadow, other light and shadow flow effects are not compounded, which makes it easier to produce a sense of depth of field; Step 3: Set the grating cross-section structure. Calculate the cross-section angle to adjust the brightest viewing angle; set the cross-section rounded corners to disperse the light, so that the light effect forms a softer surface light; adjust the cross-section smoothness to make the overall light effect slightly matte; Step 4: Light and shadow simulation, set the viewing angle range, and simulate the light and shadow flow effect of the real object.
8. A computer-aided design method for generating patterns according to claim 1, characterized in that: The sand effect structure module comprises the following steps when used: Step 1: Select a unit body with sand effect. The more facets it has, the closer it is to a spherical structure. The overall texture effect has a higher haze and a lower transmittance. Step 2: Set the size range, spacing, angle range, depth range and other parameters of the unit. Affect the brightness and glossiness of the sand effect, forming a series of flashing sand effects with different fineness; Generally, when the unit size is less than 30um, the sand effect is finer and the texture is foggy; when the unit size is around 80um, the sand effect is more shiny and the texture has a higher glossiness. The size range should not be too large, which will lead to local emptiness and may produce local shadows and black spots in the texture. The appropriate scale contrast, combined with graphic design and post-processing technology, can produce rich texture expression; Step 3: Read 1-2 mapping images, corresponding to the parameters set in step 2. You can set the random ratio to increase the random flash point effect. When the random ratio is 1, the mapping has no effect and appears as random flash sand all over the surface. Step 4: Preview the microstructure, check the file and the corresponding sample effect; Step 5: Adjust parameters and output processing files.
9. A computer-aided design method for generating patterns according to claim 1, characterized in that: The three-dimensional structure module comprises the following steps when used: Step 1: Input the grayscale image that needs 3D effect. Set the blur parameters to smooth the grayscale gradient of the image; Step 2: Set the step lengths corresponding to black and white. The spatial frequency of the flat area is very low, and the spatial frequency of the three-dimensional part is high. Adjust the three-dimensional effect by adjusting the step length; Step 3: Preview the processed file and check the frequency range of the file. If it is too wide, the lines will be visible and grayscale streaks will appear in the flat area; if it is too narrow, it will cause problems such as discretization; Step 4: Adjust parameters and output processing files.
Citation Information
Patent Citations
Digitized identification color intelligent design auxiliary method
CN114444188A