A jewelry 3D model design method and device and a storage medium
By adjusting the pattern style, connection type, and setting method, parametric 3D models of jewelry are generated, solving the problems of high cost and insufficient design quality in existing technologies, and realizing efficient and flexible jewelry design.
Patent Information
- Application Number
- CN202310847735.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-11
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2043-07-11
AI Technical Summary
Existing 3D modeling methods for jewelry are costly and lack sufficient design quality, failing to balance cost and design quality. The design process is also complex and lacks flexibility in adjusting details.
This paper provides a method for designing 3D models of jewelry. By obtaining model parameters, adjusting the pattern style, pattern connection type, rim surface shape type and setting method, a parametric 3D model is generated, including pattern surround, engraved text and gemstone setting treatment.
While saving costs, it improves the quality and efficiency of jewelry design, adds flexibility and precision to the design, and reduces design time.
Smart Images

Figure CN116796570B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of jewelry design technology, and in particular to a method, apparatus and storage medium for designing 3D models of jewelry. Background Technology
[0002] Currently, the mainstream approach to 3D model design for jewelry is to build 3D models based on the design drawings provided by various merchants and designers. Then, the manufacturing factory refines, molds, and finishes the 3D models provided by different merchants. This design process is complex and tedious, and the cost of detailed 3D model design is high.
[0003] To save costs, most existing 3D jewelry modeling methods build 3D models based on existing element templates. Limited by these fixed templates, and unable to modify or adjust details or finely refine the overall shape, these methods often produce rough, lifeless, and uninspired 3D jewelry models. Adding new elements or making detailed adjustments to the existing models inevitably increases design costs. Therefore, current 3D jewelry modeling methods cannot balance cost and design quality. Summary of the Invention
[0004] This invention provides a method, device, and storage medium for designing 3D models of jewelry. While saving design costs, it enables the adjustment of patterns, components, and parameters of jewelry, realizing parametric design of jewelry and improving the design quality of jewelry.
[0005] To achieve parametric design of jewelry, this invention provides a 3D model design method for jewelry, including: obtaining model parameters of the target jewelry; the jewelry model parameters include: frame type, pattern type, pattern connection type, and pattern processing method; according to the model parameters of the target jewelry, connecting the patterns corresponding to the pattern type according to the pattern connection type to generate a master pattern, and generating the frame and the number of master patterns of the target jewelry according to the master pattern and the frame type;
[0006] If the pattern processing method of the target jewelry is pattern wrapping, obtain the circle opening curved surface shape type of the target jewelry; according to the circle opening curved surface shape type, copy several parent patterns sequentially on the circle opening curve to generate a pattern group, and perform corresponding pattern carving processing on the pattern group and the frame of the target jewelry to generate a 3D model.
[0007] If the pattern processing method of the target jewelry is engraved text, then obtain the text model of the target jewelry, and perform text engraving processing on the text model and the frame of the target jewelry to generate a 3D model.
[0008] If the target jewelry is decorated with gemstones, then the gemstone model, setting direction, setting method, and setting base pattern of the target jewelry are obtained. According to the setting method, the gemstone model is moved to the preset setting point of the setting base pattern, and the gemstone model and setting base pattern are decorated with gemstones to generate a gemstone setting pattern. The gemstone setting pattern is then carved accordingly to generate a 3D model.
[0009] As a preferred solution, this invention improves upon traditional 3D jewelry model design methods by combining three commonly used pattern processing methods: pattern wrapping, engraved text, and gemstone inlay. Based on model parameters, this invention rapidly generates corresponding 3D models by adjusting pattern styles, pattern connection types, the curved shape of the pattern at the jewelry rim, and the inlay method, thus achieving parametric design of jewelry. Furthermore, while considering the cost of jewelry design, this invention adds adjustable methods for many details of jewelry design, injects richer elements into jewelry, reduces the design time of 3D jewelry models, and improves the design accuracy and efficiency of 3D jewelry models.
[0010] As a preferred embodiment, based on the master pattern and the frame type, the number of frames and master patterns for the target jewelry are generated, specifically as follows:
[0011] If the frame type is borderless, generate a first ring with an inner diameter of the preset opening value;
[0012] If the frame type is bordered, generate a second ring with a border whose inner diameter is a preset opening value, or generate a first border with rounded corners whose inner diameter is a preset opening value, according to the border type and border size data; the border size data includes the height and width values of the border, or the radius value of the rounded corners;
[0013] Based on the preset circle value and the length of the parent pattern, the number of parent patterns generated is as follows:
[0014] N = π × preset circle value / length of the original pattern; where N is the number of original patterns, N is an integer and the minimum value of N is 2.
[0015] As a preferred embodiment, the jewelry 3D model design method provided by this invention adjusts the frame of the target jewelry, generates the frame of the target jewelry based on frame types (with or without borders), and generates the required number of master patterns based on the preset rim value data of the frame. This facilitates the subsequent sequential copying of all master patterns onto the rim curve to cover the entire rim curve. By calculating the frame type of the target jewelry and the required number of master patterns, this invention adds a method for adjusting jewelry design and improves the design accuracy of the jewelry 3D model.
[0016] As a preferred embodiment, based on the shape type of the curved surface of the ring, several master patterns are sequentially copied onto the ring curve to generate a pattern group, specifically as follows:
[0017] If the curved surface of the ring is a fully hollowed-out shape, then connect the N parent patterns in sequence to generate an initial pattern group, and obtain the pattern group length value and pattern width value of the initial pattern group.
[0018] A first ratio is generated based on the preset circle value, the pattern group length value, and the pattern width value:
[0019]
[0020] Based on the first ratio, the initial pattern group is scaled proportionally and copied onto the circle curve to generate a pattern group;
[0021] If the shape of the curved surface of the ring is intaglio, relief, or gold and silver inlay, then obtain the carving depth value of the target jewelry; establish a reference curve according to the preset moving distance, move the parent pattern to the position of the reference curve, and bend the parent pattern until it completely coincides with the reference curve; copy the remaining (N-1) parent patterns along the direction of the reference curve and bend them until they completely coincide with the reference curve, generating a pattern ring composed of N parent patterns as a pattern group;
[0022] The preset moving distance is calculated based on the preset circle value, the width of the border, and the engraving depth value. The preset moving distance = preset circle value × 0.5 + width of the border - engraving depth value; the engraving depth value is greater than 0 and less than the width of the border.
[0023] As a preferred embodiment, the present invention addresses the following types of curved surface shapes for the target jewelry: fully openwork, intaglio, relief, and gold and silver inlay. If the curved surface shape of the target jewelry is fully openwork, N parent patterns are sequentially connected to generate an initial pattern group. If the contact points of each parent pattern are not parallel to the same horizontal straight line, the overall length of the resulting pattern after the intersection of adjacent parent patterns is less than N times the length of a single pattern. This results in the length after all N parent patterns intersect being less than the length of the generated curved surface. In other words, when each parent pattern moves, if the second distance of movement is greater than the initial spacing, the overall length after the intersection of two patterns may be less than twice the length of a single pattern. Therefore, a first ratio needs to be calculated using a preset curved surface value, the pattern group length value, and the pattern width value. Based on this first ratio, the initial pattern group is scaled proportionally to ensure that the connected parent pattern group completely covers the curved surface.
[0024] The target jewelry piece features a curved surface shape that is either intaglio, relief, or inlaid with gold and silver. A frame conforming to the jewelry's shape is used as a carrier, and the pattern is directly bent and replicated on this carrier. This allows for the connection and complete coverage of the parent pattern group onto the curved surface of the jewelry's opening without considering length loss. This invention, by adjusting the pattern connection type and the curved surface shape of the pattern on the jewelry's opening, adds a method for adjusting the pattern carving in jewelry design, thereby improving the design accuracy of the 3D model of the jewelry.
[0025] As a preferred approach, N parent patterns are sequentially connected to generate an initial pattern group, specifically as follows:
[0026] Create a second master pattern at the initial distance of the first master pattern, and determine whether the first master pattern and the second master pattern intersect;
[0027] If so, create the remaining (N-1) parent patterns sequentially according to the initial distance to generate the initial pattern group;
[0028] If not, the second master pattern is continuously moved towards the first master pattern by a preset first distance until the first master pattern intersects with the second master pattern, and the second distance is recorded; the remaining (N-1) master patterns are created sequentially according to the initial distance, and the pattern group is generated by moving the second distance in the direction of the previous master pattern.
[0029] As a preferred solution, if the target jewelry's rim surface shape is fully hollow, N parent patterns are connected sequentially, and patterns that intersect are deleted to generate an initial pattern group. Based on a first ratio, the initial pattern group is scaled proportionally, and the connected parent pattern group is copied onto the rim curve. This allows for adjustments to the pattern connection type and the rim surface shape of the pattern, adding a method for adjusting the pattern carving in jewelry design and improving the design accuracy of the 3D model of the jewelry.
[0030] As a preferred embodiment, the pattern group and the frame of the target jewelry are engraved with corresponding patterns to generate a 3D model, specifically:
[0031] If the curved surface of the ring is a fully hollowed-out shape, then set the pattern group at the ring position of the frame to obtain a 3D model;
[0032] If the curved surface shape of the ring is an intaglio carving, then the pattern group is set at the ring position of the frame, the intersection of the pattern group and the frame is divided, and the intersection is used as a 3D model;
[0033] If the curved surface of the rim is of the relief carving type, then the pattern group will be used as the 3D model;
[0034] If the curved surface shape of the ring is of the gold and silver inlay type, then the pattern group is set at the ring position of the frame, and the intersection of the pattern group and the frame is divided and deleted to obtain the 3D model.
[0035] As a preferred embodiment, this invention performs corresponding pattern carving processing on the pattern group and frame according to different ring-shaped curved surface types, including full openwork, intaglio, relief carving, and gold and silver inlay. Utilizing the carving principles of each ring-shaped curved surface type, the patterns are carved onto the frame of the jewelry, or the patterns are directly used as 3D models to realize the 3D model generated by carving the corresponding curved surface type. This invention adds an adjustment method for the carving of the ring-shaped curved surface type of the patterns in jewelry design, improving the design accuracy of the jewelry 3D model.
[0036] As a preferred embodiment, the text model and the frame of the target jewelry are engraved with text to generate a 3D model, specifically as follows:
[0037] The text model is placed on the engraving position of the frame, and the intersection of the text model and the frame is divided and deleted to obtain the 3D model.
[0038] As a preferred embodiment, the jewelry 3D model design method provided by the present invention, if the pattern processing method of the target jewelry is engraved text, then the text model is used as the master pattern, and the text model is directly engraved accordingly, which adds the ability to change and adjust the pattern style of jewelry design and improves the design efficiency of jewelry 3D model.
[0039] As a preferred embodiment, depending on the setting method, the gemstone model is moved to a preset setting point on the setting base pattern, and the gemstone model and the setting base pattern are then subjected to gemstone setting processing to generate a gemstone setting pattern, specifically as follows:
[0040] Several first planes perpendicular to the setting direction are continuously established at a preset distance along the setting direction of the gemstone model; the intersection operation between each first plane and the gemstone model is recorded to obtain several intersection curves, and the first planes and their corresponding intersection curves are numbered sequentially from smallest to largest; the first plane corresponding to the longest intersection curve is taken as the setting starting face; the intersection point of the first first plane intersecting with the gemstone model and the setting direction is taken as the starting point of the setting direction, according to the starting point of the setting direction;
[0041] If the setting method is adhesive, then the setting starting surface is used as the reference moving starting point, the gemstone model is moved to the preset setting point of the setting base pattern, the first intersection of the gemstone model and the setting base pattern is divided, and the first intersection is used as the gemstone setting pattern.
[0042] If the setting method is prong setting, the prongs of the gemstone model are designed according to the preset number of prongs to obtain a prong-set gemstone model. The starting point of the setting direction is used as the reference starting point for movement. The prong-set gemstone model is moved to the preset setting point of the setting base pattern. The second intersection of the prong-set gemstone model and the setting base pattern is divided, and the second intersection is used as the gemstone setting pattern.
[0043] As a preferred embodiment, this invention improves upon traditional 3D model design methods for jewelry by processing the patterns of gemstone inlay. Based on different inlay methods, it determines the movement position of the gemstone model within the inlay base pattern and segments the intersection of the gemstone model and the inlay base pattern. Based on the patterns of the intersection, it generates a corresponding 3D model of the gemstone-inlaid jewelry, thereby adding adjustments to the patterns of the inlay method in jewelry design and improving the design accuracy of the 3D model of the jewelry.
[0044] As a preferred embodiment, the prongs of the gemstone model are designed according to a preset number of prongs to obtain a prong-set gemstone model, specifically as follows:
[0045] The longest intersecting curve is divided into several division points at equal intervals based on the preset number of claws.
[0046] Select any unloaded segment from all segmentation points as the construction point; load the construction point to generate a single prong gemstone model; repeat this step until the number of repetitions reaches (preset prong value - 1) times, generating a gemstone model with all prongs designed as a prong-set gemstone model.
[0047] As a preferred option, if the setting method is prong setting, the prongs of the gemstone model are designed according to the preset number of prongs to obtain a prong-set gemstone model. The intersection of the prong-set gemstone model and the pattern of the setting base is divided, and a 3D model of the corresponding gemstone-set jewelry is generated according to the pattern of the intersection. This generates a piece of jewelry with gemstones, adds adjustment to the pattern of the setting method in the jewelry design, and improves the design accuracy of the 3D model of the jewelry.
[0048] As a preferred embodiment, the construction points are loaded to generate a single-claw gemstone model, specifically:
[0049] Load the construction point, and construct the claw plane based on the line passing through the starting point of the tessellation direction and parallel to the tessellation direction and the line passing through the construction point and parallel to the tessellation direction as the boundary; take all intersecting curves with numbers greater than the longest intersecting curve as the first intersecting curve, and take all intersecting curves with numbers less than the longest intersecting curve as the second intersecting curve;
[0050] Obtain all first intersection points of the first intersecting curve and the claw plane, and establish a first connecting curve between adjacent first intersection points in the claw plane; obtain any first connecting curve whose angle with the shortest distance curve from the tiling direction to the building point is less than a preset angle as a second connecting curve; obtain the first intersection point with the largest number of the corresponding intersecting curves in the second connecting curve as the end point of the claw.
[0051] Obtain all second intersection points of the second intersecting curve and the claw plane, and connect all the second intersection points as the primary construction line of the claw; sequentially connect the starting point, construction point and the ending point of the claw in the setting direction as the secondary construction line of the claw, and generate a gemstone model of a single claw based on the primary construction line and the secondary construction line of the claw.
[0052] As a preferred option, if the setting method is prong setting, the prongs of the gemstone model are designed according to the preset number of prongs. Different prong models are generated at different construction points, and finally the preset number of prongs is completed to obtain the prong-set gemstone model. The intersection of the prong-set gemstone model and the pattern of the setting base is divided, and the corresponding 3D model of the gemstone-set jewelry is generated according to the pattern of the intersection. In this way, a piece of jewelry with gemstones is generated, which adds the adjustment of the setting method pattern of the jewelry design and improves the design accuracy of the 3D model of the jewelry.
[0053] Accordingly, the present invention also provides a 3D model design device for jewelry, comprising: a parameter acquisition module, a parameter processing module, and an engraving processing module;
[0054] The parameter acquisition module is used to acquire the model parameters of the target jewelry; the jewelry model parameters include: frame type, pattern type, pattern connection type, and pattern processing method.
[0055] The parameter processing module is used to connect the patterns corresponding to the pattern type according to the pattern connection type based on the model parameters of the target jewelry, generate the master pattern, and generate the frame and the number of master patterns of the target jewelry based on the master pattern and the frame type.
[0056] The carving processing module is used to obtain the shape type of the curved surface of the target jewelry if the pattern processing method of the target jewelry is wrapping processing; according to the shape type of the curved surface, several parent patterns are copied sequentially on the curved surface to generate a pattern group, and the pattern group and the frame of the target jewelry are subjected to corresponding pattern carving processing to generate a 3D model.
[0057] If the pattern processing method of the target jewelry is engraved text, then obtain the text model of the target jewelry, and perform text engraving processing on the text model and the frame of the target jewelry to generate a 3D model.
[0058] If the target jewelry is decorated with gemstones, then the gemstone model, setting direction, setting method, and setting base pattern of the target jewelry are obtained. According to the setting method, the gemstone model is moved to the preset setting point of the setting base pattern, and the gemstone model and setting base pattern are decorated with gemstones to generate a gemstone setting pattern. The gemstone setting pattern is then carved accordingly to generate a 3D model.
[0059] As a preferred embodiment, the parameter processing module of the present invention processes the acquired parameters based on adjustments to the pattern style, pattern connection type, the curved surface shape of the pattern at the jewelry rim, and the inlay method. The engraving module then rapidly generates the corresponding 3D model based on the model parameters, achieving parametric design of jewelry. Furthermore, while considering the cost of jewelry design, the present invention adds adjustable methods to many details of jewelry design, injects richer elements into jewelry, reduces the design time of 3D jewelry models, and improves the design accuracy and efficiency of 3D jewelry models.
[0060] Accordingly, the present invention also provides a computer-readable storage medium comprising a stored computer program; wherein, when the computer program is executed, it controls the device on which the computer-readable storage medium is located to perform a jewelry 3D model design method as described in the present invention. Attached Figure Description
[0061] Figure 1 This is a flowchart illustrating an embodiment of a 3D model design method for jewelry provided by the present invention;
[0062] Figure 2 This is a schematic diagram of an embodiment of a jewelry 3D model design device provided by the present invention. Detailed Implementation
[0063] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0064] Example 1
[0065] Please refer to Figure 1 The present invention provides a method for designing 3D models of jewelry, comprising steps S101-S103:
[0066] Step S101: Obtain the model parameters of the target jewelry; the jewelry model parameters include: frame type, pattern type, pattern connection type, and pattern processing method;
[0067] In this embodiment, the model parameters of the target jewelry input by the user on the front end are obtained. The jewelry model parameters include: frame type, pattern type, pattern connection type and pattern processing method.
[0068] Among them, the pattern types include selecting several different types of patterns from the pattern library; the frame types include no frame, with frame, no frame and no frame generated; the pattern connection types include but are not limited to AAA type wrapping, ABA type wrapping and ABC type wrapping; the pattern processing methods include pattern wrapping, engraved text and gemstone inlay.
[0069] In this embodiment, three pattern connection types composed of three different patterns are provided: AAA-type encirclement: using a single pattern as the parent pattern; ABA-type encirclement: using a new pattern formed by connecting two patterns as the parent pattern; and ABC-type encirclement: using a new pattern formed by connecting three patterns as the parent pattern. This invention can also construct different pattern connection types based on the arrangement and combination of different numbers of patterns of different types.
[0070] Step S102: Based on the model parameters of the target jewelry, connect the patterns corresponding to the pattern type according to the pattern connection type to generate the master pattern, and generate the frame and the number of master patterns of the target jewelry according to the master pattern and the frame type.
[0071] In this embodiment, the number of frames and the number of parent patterns for the target jewelry are generated based on the parent pattern and the frame type, specifically as follows:
[0072] If the frame type is borderless, generate a first ring with an inner diameter of the preset opening value;
[0073] If the frame type is bordered, generate a second ring with a border whose inner diameter is a preset opening value, or generate a first border with rounded corners whose inner diameter is a preset opening value, according to the border type and border size data; the border size data includes the height and width values of the border, or the radius value of the rounded corners;
[0074] Based on the preset circle value and the length of the parent pattern, the number of parent patterns generated is as follows:
[0075] N = π × preset circle value / length of the original pattern; where N is the number of original patterns, N is an integer and the minimum value of N is 2.
[0076] In this embodiment, the frame of the target jewelry is generated as follows:
[0077] If the user selects a frame type without borders, then the first width value of the frame provided by the user is obtained, and a first ring with an inner diameter of a preset opening value is generated. The width of the first ring is the first width value, and no edge processing is performed on the first ring.
[0078] If the user selects a frame type with a border, then based on the frameless design, the system further obtains the first height value and the second width value of the border provided by the user, or the first radius value of the rounded corners of the border; generates a second ring with a border, or generates a first border with rounded corners; the height of the second ring and the first border are both the first height value, and the width is both the second width value; the radius value of the rounded corners of the first border is the first radius value.
[0079] Furthermore, if the user selects a frame type of no frame, no frame is generated, and the width value of the pattern provided by the user is obtained; if the user selects a frame type of no frame is generated, no frame is generated.
[0080] Furthermore, the jewelry model parameters also include the preset ring size of the target jewelry, and the required number N of the original pattern is calculated based on the preset ring size and the length of the original pattern.
[0081] Step S103: If the pattern processing method of the target jewelry is pattern wrapping, obtain the circle opening curved surface shape type of the target jewelry; according to the circle opening curved surface shape type, copy several parent patterns sequentially on the circle opening curve to generate a pattern group, and perform corresponding pattern carving processing on the pattern group and the frame of the target jewelry to generate a 3D model.
[0082] If the pattern processing method of the target jewelry is engraved text, then obtain the text model of the target jewelry, and perform text engraving processing on the text model and the frame of the target jewelry to generate a 3D model.
[0083] If the target jewelry is decorated with gemstones, then the gemstone model, setting direction, setting method, and setting base pattern of the target jewelry are obtained. According to the setting method, the gemstone model is moved to the preset setting point of the setting base pattern, and the gemstone model and setting base pattern are decorated with gemstones to generate a gemstone setting pattern. The gemstone setting pattern is then carved accordingly to generate a 3D model.
[0084] In this embodiment, based on the shape type of the curved surface of the ring, several master patterns are sequentially copied onto the ring curve to generate a pattern group, specifically as follows:
[0085] If the curved surface of the ring is a fully hollowed-out shape, then connect the N parent patterns in sequence to generate an initial pattern group, and obtain the pattern group length value and pattern width value of the initial pattern group.
[0086] A first ratio is generated based on the preset circle value, the pattern group length value, and the pattern width value:
[0087]
[0088] Based on the first ratio, the initial pattern group is scaled proportionally and copied onto the circle curve to generate a pattern group;
[0089] If the shape of the curved surface of the ring is intaglio, relief, or gold and silver inlay, then obtain the carving depth value of the target jewelry; establish a reference curve according to the preset moving distance, move the parent pattern to the position of the reference curve, and bend the parent pattern until it completely coincides with the reference curve; copy the remaining (N-1) parent patterns along the direction of the reference curve and bend them until they completely coincide with the reference curve, generating a pattern ring composed of N parent patterns as a pattern group;
[0090] The preset moving distance is calculated based on the preset circle value, the width of the border, and the engraving depth value. The preset moving distance = preset circle value × 0.5 + width of the border - engraving depth value; the engraving depth value is greater than 0 and less than the width of the border.
[0091] In this embodiment, if the shape of the curved surface of the ring is intaglio, relief, or gold and silver inlay, the origin of the ring curve is taken as the origin of the spatial coordinate system of the carving, and the plane where the ring curve is located is taken as the XY plane of the spatial coordinate system of the carving. According to the carving depth provided by the user, the preset moving distance is calculated as: preset ring value × 0.5 + width of the border - carving depth value. With the origin of the spatial coordinate system of the carving as the center and the preset moving distance as the radius, a reference curve is established on the XY plane. The original pattern is moved to the position of the reference curve at an angle parallel to the Z-axis, and the original pattern is bent until it completely coincides with the reference curve. Then, it is rotated and copied N-1 times with the Z-axis as the rotation axis to obtain a ring composed of N original patterns as a pattern group.
[0092] In this embodiment, N parent patterns are sequentially connected to generate an initial pattern group, specifically as follows:
[0093] Create a second master pattern at the initial distance of the first master pattern, and determine whether the first master pattern and the second master pattern intersect;
[0094] If so, create the remaining (N-1) parent patterns sequentially according to the initial distance to generate the initial pattern group;
[0095] If not, the second master pattern is continuously moved towards the first master pattern by a preset first distance until the first master pattern intersects with the second master pattern, and the second distance is recorded; the remaining (N-1) master patterns are created sequentially according to the initial distance, and the pattern group is generated by moving the second distance in the direction of the previous master pattern.
[0096] This method ensures that adjacent patterns in the resulting jewelry are always connected to each other.
[0097] In this embodiment, the pattern group and the frame of the target jewelry are engraved with corresponding patterns to generate a 3D model, specifically:
[0098] If the curved surface of the ring is a fully hollowed-out shape, then set the pattern group at the ring position of the frame to obtain a 3D model;
[0099] If the curved surface shape of the ring is an intaglio carving, then the pattern group is set at the ring position of the frame, the intersection of the pattern group and the frame is divided, and the intersection is used as a 3D model;
[0100] If the curved surface of the rim is of the relief carving type, then the pattern group will be used as the 3D model;
[0101] If the curved surface shape of the ring is of the gold and silver inlay type, then the pattern group is set at the ring position of the frame, and the intersection of the pattern group and the frame is divided and deleted to obtain the 3D model.
[0102] In this embodiment, Boolean operations are used to determine whether adjacent patterns intersect and to obtain the intersecting patterns of adjacent patterns.
[0103] In this embodiment, the text model and the frame of the target jewelry are engraved with text to generate a 3D model, specifically as follows:
[0104] The text model is placed on the engraving position of the frame, and the intersection of the text model and the frame is divided and deleted to obtain the 3D model.
[0105] In this embodiment, a text model is created based on the text content uploaded by the user. The created text model is then moved to the preset engraving position on the frame. Boolean operations are performed on the text model and the frame, and the text model is deleted to achieve the engraving effect.
[0106] In this embodiment, according to the inlay method, the gemstone model is moved to the preset inlay point of the inlay base pattern, and the gemstone model and the inlay base pattern are subjected to gemstone inlay processing to generate a gemstone inlay pattern, specifically:
[0107] Several first planes perpendicular to the setting direction are continuously established at a preset distance along the setting direction of the gemstone model; the intersection operation between each first plane and the gemstone model is recorded to obtain several intersection curves, and the first planes and their corresponding intersection curves are numbered sequentially from smallest to largest; the first plane corresponding to the longest intersection curve is taken as the setting starting face; the intersection point of the first first plane intersecting with the gemstone model and the setting direction is taken as the starting point of the setting direction, according to the starting point of the setting direction;
[0108] If the setting method is adhesive, then the setting starting surface is used as the reference moving starting point, the gemstone model is moved to the preset setting point of the setting base pattern, the first intersection of the gemstone model and the setting base pattern is divided, and the first intersection is used as the gemstone setting pattern.
[0109] If the setting method is prong setting, the prongs of the gemstone model are designed according to the preset number of prongs to obtain a prong-set gemstone model. The starting point of the setting direction is used as the reference starting point for movement. The prong-set gemstone model is moved to the preset setting point of the setting base pattern. The second intersection of the prong-set gemstone model and the setting base pattern is divided, and the second intersection is used as the gemstone setting pattern.
[0110] In this embodiment, if the setting method is a prong setting method, the preset number of prongs must be greater than or equal to 3.
[0111] In this embodiment, the prongs of the gemstone model are designed according to a preset number of prongs to obtain a prong-set gemstone model, specifically:
[0112] The longest intersecting curve is divided into several division points at equal intervals based on the preset number of claws.
[0113] Select any unloaded segment from all segmentation points as the construction point; load the construction point to generate a single prong gemstone model; repeat this step until the number of repetitions reaches (preset prong value - 1) times, generating a gemstone model with all prongs designed as a prong-set gemstone model.
[0114] In this embodiment, loading the construction point to generate a single claw gemstone model is specifically as follows:
[0115] Load the construction point, and construct the claw plane based on the line passing through the starting point of the tessellation direction and parallel to the tessellation direction and the line passing through the construction point and parallel to the tessellation direction as the boundary; take all intersecting curves with numbers greater than the longest intersecting curve as the first intersecting curve, and take all intersecting curves with numbers less than the longest intersecting curve as the second intersecting curve;
[0116] Obtain all first intersection points of the first intersecting curve and the claw plane, and establish a first connecting curve between adjacent first intersection points in the claw plane; obtain any first connecting curve whose angle with the shortest distance curve from the tiling direction to the building point is less than a preset angle as a second connecting curve; obtain the first intersection point with the largest number of the corresponding intersecting curves in the second connecting curve as the end point of the claw.
[0117] Obtain all second intersection points of the second intersecting curve and the claw plane, and connect all the second intersection points as the primary construction line of the claw; sequentially connect the starting point, construction point and the ending point of the claw in the setting direction as the secondary construction line of the claw, and generate a gemstone model of a single claw based on the primary construction line and the secondary construction line of the claw.
[0118] In this embodiment, a first connecting curve whose angle with the shortest distance curve from the tessellation direction to the building point is less than 30 degrees is obtained as the second connecting curve.
[0119] Furthermore, if there is no first connecting curve whose angle with the shortest distance curve from the tessellation direction to the construction point is less than a preset angle, then the intersection of the last maximum-numbered intersecting curve and the claw plane is taken as the endpoint of the claw.
[0120] Furthermore, if the setting method is adhesive, a Boolean operation will be performed on the gemstone model and the setting base pattern. Only the pattern where the gemstone model and the setting base pattern intersect generated by the Boolean operation will be retained to obtain the gemstone setting pattern.
[0121] If the setting method is prong setting, then perform Boolean operations on the prong-set gemstone model and the setting base pattern, and retain only the pattern where the prong-set gemstone model and the setting base pattern intersect, thus obtaining the gemstone setting pattern.
[0122] Furthermore, the gemstone inlay pattern can be used as a master pattern, or the master pattern can be used as a single pattern, or the master pattern can be constructed into a pattern group using a pattern encircling pattern treatment. Individual patterns are then carved individually. Alternatively, based on the type of the curved surface shape of the rim, the pattern group can be carved using techniques such as intaglio, relief, or gold and silver inlay. Finally, a 3D model is generated, resulting in jewelry with either a single gemstone inlay or an encircling gemstone inlay.
[0123] Implementing the embodiments of the present invention has at least one of the following effects:
[0124] This invention improves upon traditional 3D jewelry modeling by combining three commonly used pattern processing methods: pattern wrapping, engraved text, and gemstone setting. Based on model parameters, this invention rapidly generates corresponding 3D models by adjusting pattern styles, pattern connection types, the curved shape of the pattern at the jewelry rim, and the setting method, thus achieving parametric design of jewelry. Furthermore, while considering the cost of jewelry design, this invention adds adjustable methods for many details of jewelry design, injecting richer elements into jewelry, reducing the design time for 3D jewelry models, and improving the design accuracy and efficiency of 3D jewelry models.
[0125] Example 2
[0126] Please refer to Figure 2 The present invention provides a jewelry 3D model design device, comprising: a parameter acquisition module 201, a parameter processing module 202, and an engraving processing module 203;
[0127] The parameter acquisition module 201 is used to acquire the model parameters of the target jewelry; the jewelry model parameters include: frame type, pattern type, pattern connection type and pattern processing method;
[0128] The parameter processing module 202 is used to connect the patterns corresponding to the pattern type according to the pattern connection type based on the model parameters of the target jewelry, generate the master pattern, and generate the frame and the number of master patterns of the target jewelry based on the master pattern and the frame type.
[0129] The engraving processing module 203 is used to obtain the shape type of the circular curved surface of the target jewelry if the pattern processing method of the target jewelry is a wrap-around processing; according to the shape type of the circular curved surface, several parent patterns are sequentially copied onto the circular curve to generate a pattern group, and the pattern group and the frame of the target jewelry are subjected to corresponding pattern engraving processing to generate a 3D model.
[0130] If the pattern processing method of the target jewelry is engraved text, then obtain the text model of the target jewelry, and perform text engraving processing on the text model and the frame of the target jewelry to generate a 3D model.
[0131] If the target jewelry is decorated with gemstones, then the gemstone model, setting direction, setting method, and setting base pattern of the target jewelry are obtained. According to the setting method, the gemstone model is moved to the preset setting point of the setting base pattern, and the gemstone model and setting base pattern are decorated with gemstones to generate a gemstone setting pattern. The gemstone setting pattern is then carved accordingly to generate a 3D model.
[0132] The parameter processing module 202 includes: a master pattern processing unit and a frame processing unit;
[0133] The frame processing unit is used to: if the frame type is frameless, generate a first ring with an inner diameter of a preset opening value;
[0134] If the frame type is bordered, generate a second ring with a border whose inner diameter is a preset opening value, or generate a first border with rounded corners whose inner diameter is a preset opening value, according to the border type and border size data; the border size data includes the height and width values of the border, or the radius value of the rounded corners.
[0135] The master pattern processing unit is used to: connect the patterns corresponding to the pattern type according to the pattern connection type based on the model parameters of the target jewelry to generate a master pattern; and generate the number of master patterns according to the preset circle value and the length of the master pattern: N = π × preset circle value / length of master pattern; where N is the number of master patterns, N is an integer and the minimum value of N is 2.
[0136] The carving processing module 203 includes: a pattern surrounding processing submodule, a carved text processing submodule, and a gemstone inlay processing submodule;
[0137] The pattern wrapping processing submodule includes a full-cutout processing unit and other processing units;
[0138] The fully hollowed-out processing unit is used to connect N parent patterns in sequence to generate an initial pattern group if the curved surface shape of the ring is fully hollowed out, and to obtain the pattern group length value and pattern width value of the initial pattern group.
[0139] A first ratio is generated based on the preset circle value, the pattern group length value, and the pattern width value:
[0140]
[0141] Based on the first ratio, the initial pattern group is scaled proportionally and copied onto the circle curve to generate a pattern group;
[0142] If the curved surface of the ring is a fully hollowed-out shape, then set the pattern group at the ring position of the frame to obtain a 3D model.
[0143] The other processing units are used to obtain the carving depth value of the target jewelry if the shape type of the curved surface of the ring is intaglio, relief, or gold and silver inlay; establish a reference curve according to a preset moving distance; move the master pattern to the position of the reference curve; bend the master pattern until it completely coincides with the reference curve; copy the remaining (N-1) master patterns along the direction of the reference curve and bend them until they completely coincide with the reference curve; and generate a pattern ring composed of N master patterns as a pattern group.
[0144] The preset moving distance is calculated based on the preset circle value, the width of the border, and the engraving depth value. The preset moving distance = preset circle value × 0.5 + width of the border - engraving depth value; the engraving depth value is greater than 0 and less than the width of the border.
[0145] If the curved surface shape of the ring is an intaglio carving, then the pattern group is set at the ring position of the frame, the intersection of the pattern group and the frame is divided, and the intersection is used as a 3D model;
[0146] If the curved surface of the rim is of the relief carving type, then the pattern group will be used as the 3D model;
[0147] If the curved surface shape of the ring is of the gold and silver inlay type, then the pattern group is set at the ring position of the frame, and the intersection of the pattern group and the frame is divided and deleted to obtain the 3D model.
[0148] The step of sequentially connecting N parent patterns to generate an initial pattern group is as follows:
[0149] Create a second master pattern at the initial distance of the first master pattern, and determine whether the first master pattern and the second master pattern intersect;
[0150] If so, create the remaining (N-1) parent patterns sequentially according to the initial distance to generate the initial pattern group;
[0151] If not, the second master pattern is continuously moved towards the first master pattern by a preset first distance until the first master pattern intersects with the second master pattern, and the second distance is recorded; the remaining (N-1) master patterns are created sequentially according to the initial distance, and the pattern group is generated by moving the second distance in the direction of the previous master pattern.
[0152] The text processing submodule is used to set the text model on the engraving position of the frame, divide and delete the intersection of the text model and the frame to obtain a 3D model.
[0153] The gemstone inlay processing submodule is used to continuously establish several first planes perpendicular to the inlay direction at a preset distance on the inlay direction of the gemstone model; record the intersection operation between each first plane and the gemstone model to obtain several intersection curves, and number the first planes and their corresponding intersection curves in ascending order; take the first plane corresponding to the longest intersection curve as the inlay starting face; take the intersection point of the first first plane intersecting with the gemstone model and the inlay direction as the starting point of the inlay direction, according to the starting point of the inlay direction;
[0154] If the setting method is adhesive, then the setting starting surface is used as the reference moving starting point, the gemstone model is moved to the preset setting point of the setting base pattern, the first intersection of the gemstone model and the setting base pattern is divided, and the first intersection is used as the gemstone setting pattern.
[0155] If the setting method is prong setting, the prongs of the gemstone model are designed according to the preset number of prongs to obtain a prong-set gemstone model. The starting point of the setting direction is used as the reference starting point for movement. The prong-set gemstone model is moved to the preset setting point of the setting base pattern. The second intersection of the prong-set gemstone model and the setting base pattern is divided, and the second intersection is used as the gemstone setting pattern.
[0156] The gemstone setting submodule includes: a prong-set gemstone model generation unit;
[0157] The claw-inlaid gemstone model generation unit is used to divide the longest intersecting curve at equal intervals according to the preset number of claws to obtain several division points.
[0158] Select any unloaded segment from all segmentation points as the construction point; load the construction point to generate a single prong gemstone model; repeat this step until the number of repetitions reaches (preset prong value - 1) times, generating a gemstone model with all prongs designed as a prong-set gemstone model.
[0159] The process of loading the construction point to generate a single claw gemstone model is as follows:
[0160] Load the construction point, and construct the claw plane based on the line passing through the starting point of the tessellation direction and parallel to the tessellation direction and the line passing through the construction point and parallel to the tessellation direction as the boundary; take all intersecting curves with numbers greater than the longest intersecting curve as the first intersecting curve, and take all intersecting curves with numbers less than the longest intersecting curve as the second intersecting curve;
[0161] Obtain all first intersection points of the first intersecting curve and the claw plane, and establish a first connecting curve between adjacent first intersection points in the claw plane; obtain any first connecting curve whose angle with the shortest distance curve from the tiling direction to the building point is less than a preset angle as a second connecting curve; obtain the first intersection point with the largest number of the corresponding intersecting curves in the second connecting curve as the end point of the claw.
[0162] Obtain all second intersection points of the second intersecting curve and the claw plane, and connect all the second intersection points as the primary construction line of the claw; sequentially connect the starting point, construction point and the ending point of the claw in the setting direction as the secondary construction line of the claw, and generate a gemstone model of a single claw based on the primary construction line and the secondary construction line of the claw.
[0163] The aforementioned jewelry 3D model design device can implement the jewelry 3D model design method of the above-described method embodiments. The options in the above method embodiments are also applicable to this embodiment, and will not be detailed here. The remaining content of this application embodiment can be referred to the content of the above method embodiments, and will not be repeated in this embodiment.
[0164] Implementing the embodiments of the present invention has the following effects:
[0165] The parameter processing module of this invention processes the acquired parameters based on adjustments to the pattern style, pattern connection type, the curved shape of the pattern at the jewelry rim, and the setting method. The engraving module then rapidly generates the corresponding 3D model based on these parameters, enabling parametric design of jewelry. Furthermore, while considering the cost of jewelry design, this invention adds adjustable methods to many details of the jewelry design, injecting richer elements into the jewelry, reducing the design time for 3D jewelry models, and improving the design accuracy and efficiency of 3D jewelry models.
[0166] Example 3
[0167] Accordingly, the present invention also provides a computer-readable storage medium comprising a stored computer program, wherein, when the computer program is executed, it controls the device on which the computer-readable storage medium is located to execute the jewelry 3D model design method as described in any of the above embodiments.
[0168] For example, the computer program may be divided into one or more modules / units, which are stored in the memory and executed by the processor to complete the present invention. The one or more modules / units may be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program in the terminal device.
[0169] The terminal device may be a desktop computer, laptop, handheld computer, or cloud server, etc. The terminal device may include, but is not limited to, a processor and a memory.
[0170] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor. The processor is the control center of the terminal device, connecting all parts of the terminal device via various interfaces and lines.
[0171] The memory can be used to store the computer programs and / or modules. The processor implements various functions of the terminal device by running or executing the computer programs and / or modules stored in the memory and by calling data stored in the memory. The memory may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function, etc.; the data storage area may store data created based on the use of the mobile terminal, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as hard disk, RAM, plug-in hard disk, smart media card (SMC), secure digital card (SD), flash card, at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0172] Wherein, if the modules / units integrated in the terminal device are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of the present invention can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc.
[0173] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. In particular, it should be noted that any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention for those skilled in the art.
Claims
1. A method for designing 3D models of jewelry, characterized in that, include: Obtain the model parameters of the target jewelry; The jewelry model parameters include: frame type, pattern type, pattern connection type, and pattern processing method; based on the model parameters of the target jewelry, the patterns corresponding to the pattern type are connected according to the pattern connection type to generate the master pattern, and based on the master pattern and the frame type, the number of frames and master patterns of the target jewelry are generated; If the pattern processing method of the target jewelry is pattern wrapping, obtain the circle opening curved surface shape type of the target jewelry; according to the circle opening curved surface shape type, copy several parent patterns sequentially on the circle opening curve to generate a pattern group, and perform corresponding pattern carving processing on the pattern group and the frame of the target jewelry to generate a 3D model. If the pattern processing method of the target jewelry is engraved text, then obtain the text model of the target jewelry, and perform text engraving processing on the text model and the frame of the target jewelry to generate a 3D model. If the pattern processing method of the target jewelry is gemstone setting, then obtain the gemstone model, setting direction, setting method and setting base pattern of the target jewelry; according to the setting method, move the gemstone model to the preset setting point of the setting base pattern, and perform gemstone setting processing on the gemstone model and setting base pattern to generate gemstone setting pattern; perform corresponding pattern carving processing on the gemstone setting pattern to generate 3D model. Specifically, according to the inlay method, the gemstone model is moved to the preset inlay point of the inlay base pattern, and the gemstone model and the inlay base pattern are inlaid with gemstones to generate a gemstone inlay pattern. Several first planes perpendicular to the setting direction are continuously established at a preset distance along the setting direction of the gemstone model; the intersection operation between each first plane and the gemstone model is recorded to obtain several intersection curves, and the first planes and their corresponding intersection curves are numbered sequentially from smallest to largest; the first plane corresponding to the longest intersection curve is taken as the setting starting face; the intersection point of the first first plane intersecting with the gemstone model and the setting direction is taken as the starting point of the setting direction. If the setting method is adhesive, then the setting starting surface is used as the reference moving starting point, the gemstone model is moved to the preset setting point of the setting base pattern, the first intersection of the gemstone model and the setting base pattern is divided, and the first intersection is used as the gemstone setting pattern. If the setting method is prong setting, the prongs of the gemstone model are designed according to the preset number of prongs to obtain a prong-set gemstone model. The starting point of the setting direction is used as the reference starting point for movement. The prong-set gemstone model is moved to the preset setting point of the setting base pattern. The second intersection of the prong-set gemstone model and the setting base pattern is divided, and the second intersection is used as the gemstone setting pattern. The step of designing the prongs on the gemstone model according to the preset number of prongs to obtain a prong-set gemstone model is as follows: The longest intersecting curve is divided into several division points at equal intervals based on the preset number of claws. Select any unloaded segment from all segmentation points as the construction point; load the construction point to generate a single prong gemstone model; repeat this step until the number of repetitions reaches (preset prong value - 1) times, and generate a gemstone model with all prongs designed as a prong-set gemstone model. The process of loading the construction point to generate a single claw gemstone model is as follows: Load the construction point, and construct the claw plane based on the line passing through the starting point of the tessellation direction and parallel to the tessellation direction and the line passing through the construction point and parallel to the tessellation direction as the boundary; take all the intersecting curves with numbers greater than the longest intersecting curve as the first intersecting curve, and take all the intersecting curves with numbers less than the longest intersecting curve as the second intersecting curve. Obtain all first intersection points of the first intersecting curve and the claw plane, and establish a first connecting curve between adjacent first intersection points in the claw plane; obtain any first connecting curve whose angle with the shortest distance curve from the tiling direction to the building point is less than a preset angle as a second connecting curve; obtain the first intersection point with the largest number of the corresponding intersecting curves in the second connecting curve as the end point of the claw. Obtain all second intersection points of the second intersecting curve and the claw plane, and connect all the second intersection points as the primary construction line of the claw; sequentially connect the starting point, construction point and the ending point of the claw in the setting direction as the secondary construction line of the claw, and generate a gemstone model of a single claw based on the primary construction line and the secondary construction line of the claw.
2. The jewelry 3D model design method as described in claim 1, characterized in that, The step of generating the number of frames and the number of frame patterns for the target jewelry based on the master pattern and the frame type specifically involves: If the frame type is borderless, generate a first ring with an inner diameter of the preset opening value; If the frame type is bordered, generate a second ring with a border whose inner diameter is a preset opening value, or generate a first border with rounded corners whose inner diameter is a preset opening value, according to the border type and border size data; the border size data includes the height and width values of the border, or the radius value of the rounded corners; Based on the preset circle value and the length of the parent pattern, the number of parent patterns generated is as follows: N = π × preset circle value / length of the original pattern; where N is the number of original patterns, N is an integer and the minimum value of N is 2.
3. The jewelry 3D model design method as described in claim 2, characterized in that, The step of sequentially copying several master patterns onto the curve of the opening according to the shape type of the opening surface to generate a pattern group is as follows: If the curved surface of the ring is a fully hollowed-out shape, then connect the N parent patterns in sequence to generate an initial pattern group, and obtain the pattern group length value and pattern width value of the initial pattern group. A first ratio is generated based on the preset circle value, the pattern group length value, and the pattern width value: ; Based on the first ratio, the initial pattern group is scaled proportionally and copied onto the circle curve to generate a pattern group; If the shape of the curved surface of the ring is intaglio, relief, or gold and silver inlay, then obtain the carving depth value of the target jewelry; establish a reference curve according to the preset moving distance, move the parent pattern to the position of the reference curve, and bend the parent pattern until it completely coincides with the reference curve; copy the remaining (N-1) parent patterns along the direction of the reference curve and bend them until they completely coincide with the reference curve, generating a pattern ring composed of N parent patterns as a pattern group; The preset moving distance is calculated based on the preset circle value, the width of the border, and the engraving depth value. The preset moving distance = preset circle value × 0.5 + width of the border - engraving depth value; the engraving depth value is greater than 0 and less than the width of the border.
4. The jewelry 3D model design method as described in claim 3, characterized in that, The step of sequentially connecting N parent patterns to generate an initial pattern group specifically involves: Create a second master pattern at the initial distance of the first master pattern, and determine whether the first master pattern and the second master pattern intersect; If so, create the remaining (N-1) parent patterns sequentially according to the initial distance to generate the initial pattern group; If not, the second master pattern is continuously moved towards the first master pattern by a preset first distance until the first master pattern intersects with the second master pattern, and the second distance is recorded; the remaining (N-1) master patterns are created sequentially according to the initial distance, and the pattern group is generated by moving the second distance in the direction of the previous master pattern.
5. The method for designing a 3D model of jewelry as described in claim 3, characterized in that, The step of carving corresponding patterns into the pattern group and the frame of the target jewelry to generate a 3D model specifically involves: If the curved surface of the ring is a fully hollow shape, then set the pattern group at the ring position of the frame to obtain a 3D model; If the curved surface shape of the ring is an intaglio carving, then the pattern group is set at the ring position of the frame, the intersection of the pattern group and the frame is divided, and the intersection is used as a 3D model; If the curved surface of the rim is of the relief carving type, then the pattern group will be used as the 3D model; If the curved surface shape of the ring is of the gold and silver inlay type, then the pattern group is set at the ring position of the frame, and the intersection of the pattern group and the frame is divided and deleted to obtain the 3D model.
6. The method for designing a 3D model of jewelry as described in claim 1, characterized in that, The step of carving text onto the text model and the frame of the target jewelry to generate a 3D model specifically involves: The text model is placed on the engraving position of the frame, and the intersection of the text model and the frame is divided and deleted to obtain the 3D model.
7. A 3D model design device for jewelry, characterized in that, include: Parameter acquisition module, parameter processing module, and engraving processing module; The parameter acquisition module is used to acquire the model parameters of the target jewelry; the jewelry model parameters include: frame type, pattern type, pattern connection type, and pattern processing method. The parameter processing module is used to connect the patterns corresponding to the pattern type according to the pattern connection type based on the model parameters of the target jewelry, generate the master pattern, and generate the frame and the number of master patterns of the target jewelry based on the master pattern and the frame type. The engraving processing module is used to obtain the shape type of the circular curved surface of the target jewelry if the pattern processing method of the target jewelry is pattern wrapping; according to the shape type of the circular curved surface, several parent patterns are sequentially copied onto the circular curve to generate a pattern group, and the pattern group and the frame of the target jewelry are subjected to corresponding pattern engraving processing to generate a 3D model. If the pattern processing method of the target jewelry is engraved text, then obtain the text model of the target jewelry, and perform text engraving processing on the text model and the frame of the target jewelry to generate a 3D model. If the pattern processing method of the target jewelry is gemstone setting, then obtain the gemstone model, setting direction, setting method and setting base pattern of the target jewelry; according to the setting method, move the gemstone model to the preset setting point of the setting base pattern, and perform gemstone setting processing on the gemstone model and setting base pattern to generate gemstone setting pattern; perform corresponding pattern carving processing on the gemstone setting pattern to generate 3D model. The specific gemstone inlay process performed by the carving module is as follows: Several first planes perpendicular to the setting direction are continuously established at a preset distance along the setting direction of the gemstone model; the intersection operation between each first plane and the gemstone model is recorded to obtain several intersection curves, and the first planes and their corresponding intersection curves are numbered sequentially from smallest to largest; the first plane corresponding to the longest intersection curve is taken as the setting starting face; the intersection point of the first first plane intersecting with the gemstone model and the setting direction is taken as the starting point of the setting direction. If the setting method is adhesive, then the setting starting surface is used as the reference moving starting point, the gemstone model is moved to the preset setting point of the setting base pattern, the first intersection of the gemstone model and the setting base pattern is divided, and the first intersection is used as the gemstone setting pattern. If the setting method is prong setting, the prongs of the gemstone model are designed according to the preset number of prongs to obtain a prong-set gemstone model. The starting point of the setting direction is used as the reference starting point for movement. The prong-set gemstone model is moved to the preset setting point of the setting base pattern. The second intersection of the prong-set gemstone model and the setting base pattern is divided, and the second intersection is used as the gemstone setting pattern. The step of designing the prongs on the gemstone model according to the preset number of prongs to obtain a prong-set gemstone model is as follows: The longest intersecting curve is divided into several division points at equal intervals based on the preset number of claws. Select any unloaded segment from all segmentation points as the construction point; load the construction point to generate a single prong gemstone model; repeat this step until the number of repetitions reaches (preset prong value - 1) times, and generate a gemstone model with all prongs designed as a prong-set gemstone model. The process of loading the construction point to generate a single claw gemstone model is as follows: Load the construction point, and construct the claw plane based on the line passing through the starting point of the tessellation direction and parallel to the tessellation direction and the line passing through the construction point and parallel to the tessellation direction as the boundary; take all the intersecting curves with numbers greater than the longest intersecting curve as the first intersecting curve, and take all the intersecting curves with numbers less than the longest intersecting curve as the second intersecting curve. Obtain all first intersection points of the first intersecting curve and the claw plane, and establish a first connecting curve between adjacent first intersection points in the claw plane; obtain any first connecting curve whose angle with the shortest distance curve from the tiling direction to the building point is less than a preset angle as a second connecting curve; obtain the first intersection point with the largest number of the corresponding intersecting curves in the second connecting curve as the end point of the claw. Obtain all second intersection points of the second intersecting curve and the claw plane, and connect all the second intersection points as the primary construction line of the claw; sequentially connect the starting point, construction point and the ending point of the claw in the setting direction as the secondary construction line of the claw, and generate a gemstone model of a single claw based on the primary construction line and the secondary construction line of the claw.
Citation Information
Patent Citations
Jewelry customization system
CN112489184A
