3D model printing method and device

By constructing a fitting relationship between actual and design dimensions and applying regression coefficients and intercepts to adjust 3D data files, the method enhances the precision and accuracy of 3D printed models.

CN120307646APending Publication Date: 2025-07-15SHANGHAI PRISM 3D TECHNOLOGY CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510553315.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-28
Publication Date
2025-07-15

AI Technical Summary

Technical Problem

Existing 3D printing technologies face challenges in achieving high precision due to material characteristics and equipment limitations, resulting in low accuracy of the final model.

Method used

A method and apparatus that constructs a fitting relationship between actual and design dimensions to adjust 3D data files using regression coefficients and intercepts, enabling precise scaling and shifting of model surfaces and edges, followed by slicing and pixel manipulation to enhance model accuracy.

Benefits of technology

Improves the precision of 3D printed models by correcting dimensional discrepancies, resulting in higher accuracy and cost-effectiveness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120307646A_ABST
    Figure CN120307646A_ABST
Patent Text Reader

Abstract

The invention provides a 3D model printing method and device.The 3D model printing method comprises the steps that a fitting relation is constructed according to a size measurement data set of a plurality of model entities, and the size measurement data set comprises size deviation values between actual sizes measured by the plurality of model entities and design sizes; the fitting relation is a linear relation between the size deviation value and the design size; and processing the three-dimensional data file of the target model according to the regression coefficient and the intercept calculated according to the fitting relation so as to obtain a target data file used for printing the target model. Based on the method, the precision of the finally obtained model entity can be improved, the cost is low, and the operation is convenient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention mainly relates to the field of 3D printing technology, and in particular, to a 3D model printing method and device. Background Art

[0002] 3D printing technology is an additive manufacturing technology that realizes printing by establishing a three-dimensional model, slicing it, and then manufacturing it layer by layer. During the layer-by-layer manufacturing process, due to insufficient material properties and equipment accuracy, etc., the accuracy of the finally obtained model entity is relatively low. Summary of the Invention

[0003] The purpose of the present invention is to provide a 3D model printing method and device for solving the above technical problems.

[0004] In a first aspect, a 3D model printing method is provided, including:

[0005] Constructing a fitting relationship according to the size measurement data sets of a plurality of model entities, where the size measurement data sets include: the size deviation amount between the actually measured size and the designed size of the plurality of model entities, and the fitting relationship is a linear relationship between the size deviation amount and the designed size;

[0006] Processing the three-dimensional data file of the target model according to the regression coefficient and intercept calculated from the fitting relationship to obtain a target data file for printing the target model.

[0007] In some embodiments, the fitting relationship is:

[0008] Deviation(i) = Size(i)A + β

[0009] Wherein, Deviation(i) represents the size deviation amount between the actually measured size and the designed size of the i-th model entity, Size(i) represents the designed size of the i-th model entity, A represents the regression coefficient, β represents the intercept, and i represents the number of the model entities.

[0010] In some embodiments, for each model entity, the size deviation amount includes:

[0011] The difference between the actually measured size and the designed size of the entity contour in all directions; and,

[0012] The difference between the actually measured size and the designed size of the contours of all model components from the same model entity in all directions, where the all directions refer to all directions in the three-dimensional space where the model entity is located.

[0013] In some embodiments, processing the three-dimensional data file of the target model according to the regression coefficients and intercepts calculated according to the fitting relationship includes:

[0014] Identifying three-dimensional model surface information of the target model in the three-dimensional data file;

[0015] Performing a scaling operation on the three-dimensional model surface information according to the regression coefficients, where the scaling operation includes scaling by a common ratio; and,

[0016] Performing a displacement operation on the three-dimensional model surface information according to the intercept.

[0017] In some embodiments, processing the three-dimensional data file of the target model according to the regression coefficients and intercepts calculated according to the fitting relationship includes:

[0018] Performing a slicing operation on the three-dimensional data file to generate a slice file;

[0019] Extracting the edges of the vector graphics in the slice file;

[0020] Performing a scaling operation on the edges of the vector graphics according to the regression coefficients, where the scaling operation includes scaling by a common ratio; and,

[0021] Performing a displacement operation on the edges of the vector graphics according to the intercept.

[0022] In some embodiments, processing the three-dimensional data file of the target model according to the regression coefficients and intercepts calculated according to the fitting relationship includes:

[0023] Performing a slicing operation on the three-dimensional data file to generate a slice file;

[0024] Converting the slice file into a pixel image;

[0025] Performing a scaling operation on the pixel image by interpolation according to the regression coefficients, where the scaling operation includes scaling by a common ratio; and,

[0026] Modifying target pixel points in the pixel image according to the intercept to achieve movement of the pattern contour, where the target pixel points refer to some pixel points inside or outside the contour of the target pattern in the pixel image.

[0027] In some embodiments, it further includes:

[0028] Printing the target data file using the same printing material as the several model entities to obtain the target model.

[0029] In a second aspect, a 3D model printing device is provided, including:

[0030] A fitting module, configured to construct a fitting relationship according to the dimensional measurement data sets of a plurality of model entities, where the dimensional measurement data sets include: the dimensional deviation amounts between the actual dimensions and the designed dimensions measured for the plurality of model entities, and the fitting relationship is a linear relationship between the dimensional deviation amounts and the designed dimensions;

[0031] A processing module, configured to process the three-dimensional data file of the target model according to the regression coefficients and intercepts calculated according to the fitting relationship, so as to obtain a target data file for printing the target model.

[0032] In a third aspect, an electronic device is provided. The electronic device includes: one or more processors; and one or more memories coupled to the one or more processors and storing instructions thereon. When the instructions are executed by the one or more processors alone or jointly, the electronic device is caused to execute the above 3D printing method.

[0033] In a fourth aspect, a non-transitory computer-readable storage medium storing machine-executable instructions is provided. When the machine-executable instructions are executed by one or more processors of the machine, the machine is caused to execute any one of the above methods.

[0034] Compared with the prior art, the present invention has the following advantages:

[0035] The embodiments of the present application provide a 3D model printing method and apparatus. By correcting the data file of the target model through a fitting relationship constructed based on the actual dimensions of existing model entities, and then realizing model printing according to the obtained target data file after processing, the accuracy of the finally obtained model entity can be improved, and the cost is relatively low and the operation is convenient.

[0036] It should be understood that the content of the invention is not used to identify the key or basic features of the embodiments of the present disclosure, nor is it used to limit the scope of the present disclosure. Through the following description, other features of the present disclosure will become easily understood. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The accompanying drawings are provided to provide a further understanding of the present application, and they are incorporated herein and constitute a part of the present application. The accompanying drawings illustrate the embodiments of the present application and, together with the description herein, serve to explain the principles of the present application. In the accompanying drawings:

[0038] Figure 1 FIG. 100 is a flowchart of an exemplary 3D model printing method provided;

[0039] Figure 2 FIG. 200 is a schematic diagram of an exemplary 3D model printing apparatus provided;

[0040] Figure 3 FIG. 300 is a schematic diagram of an electronic device provided by way of example. DETAILED DESCRIPTION

[0041] The principles of the present disclosure will now be described with reference to some embodiments. It should be understood that the description of these embodiments is for illustrative purposes only and helps those skilled in the art to understand and implement the present disclosure, without imposing any limitation on the scope of the present disclosure. The disclosure described herein may be implemented in a different manner than described below.

[0042] In the following description and claims, unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure pertains.

[0043] References in this disclosure to "one embodiment", "an embodiment", "exemplary embodiment", etc., indicate that the embodiment described may include a particular feature, structure, or characteristic, but not necessarily every embodiment includes the particular feature, structure, or characteristic. Moreover, such phrases do not necessarily refer to the same embodiment. Further, when a particular feature, structure, or characteristic is described in connection with an exemplary embodiment, whether or not explicitly described, those skilled in the art will appreciate such feature, structure, or characteristic in connection with other embodiments.

[0044] Figure 1 FIG. 100 is a flowchart of a 3D model printing method provided by way of example, including:

[0045] S101, constructing a fitting relationship according to the dimensional measurement data sets of a plurality of model entities.

[0046] Wherein, the dimensional measurement data sets include: the dimensional deviation amounts between the actual dimensions and the designed dimensions measured for a plurality of model entities.

[0047] In some embodiments, for each model entity, the dimensional deviation amount includes:

[0048] the difference between the actual dimension and the designed dimension of the entity contour in all directions; and,

[0049] the differences between the actual dimensions and the designed dimensions of the contours of all model components from the same model entity in all directions, where all directions refer to all directions in the three-dimensional space where the model entity is located.

[0050] Exemplarily, the contour may refer to the outer contour or the inner contour of the model entity or the model component. Taking the outer contour as an example, the differences between the corresponding actual dimensions and the designed dimensions are measured for the model entity and each model component therein, and these differences are used as the dimensional deviation amount of the model entity.

[0051] The fitting relationship is a linear relationship between the dimensional deviation and the designed dimension.

[0052] In some embodiments, the fitting relationship is:

[0053] Deviation(i) = Size(i)A + β

[0054] Wherein, Deviation(i) represents the dimensional deviation between the actual dimension measured for the i-th model entity and the designed dimension, Size(i) represents the designed dimension of the i-th model entity, A represents the regression coefficient, β represents the intercept, and i represents the number of model entities.

[0055] Exemplarily, taking the dimensional deviations corresponding to n model entities as the output and the designed dimensions corresponding to the n model entities as the input, the above fitting relationship is constructed by means of linear regression, wherein n is an integer greater than 2.

[0056] S102, processing the three-dimensional data file of the target model according to the regression coefficient and intercept calculated from the fitting relationship to obtain a target data file for printing the target model.

[0057] In some embodiments, processing the three-dimensional data file of the target model according to the regression coefficient and intercept calculated from the fitting relationship includes:

[0058] Identifying the three-dimensional model surface information of the target model in the three-dimensional data file;

[0059] Performing a scaling operation on the three-dimensional model surface information according to the regression coefficient, wherein the scaling operation includes scaling in equal proportion; and,

[0060] Performing a displacement operation on the three-dimensional model surface information according to the intercept.

[0061] Exemplarily, in the first method, the three-dimensional model surface information of the target plugging hole position can be scaled and displaced successively, the scaling amount can be equal to the value of the regression coefficient calculated from the fitting relationship, and the displacement amount can be equal to the value of the intercept calculated from the fitting relationship.

[0062] In some embodiments, the scaling amount can also be in equal proportion to the value of the regression coefficient, and the displacement amount can also be in equal proportion to the value of the intercept.

[0063] In some embodiments, processing the three-dimensional data file of the target model according to the regression coefficient and intercept calculated from the fitting relationship includes:

[0064] Performing a slicing operation on the three-dimensional data file to generate a slice file;

[0065] Extracting the edge of the vector graphics in the slice file;

[0066] Performing a scaling operation on the edge of the vector graph according to the regression coefficient, where the scaling operation includes scaling proportionally; and,

[0067] Performing a displacement operation on the edge of the vector graph according to the intercept.

[0068] Exemplarily, in the second method, the edge of the vector graph can be scaled and displaced successively, where the scaling amount is equal to the value of the regression coefficient calculated in the fitting relationship, and the displacement amount is equal to the value of the intercept calculated in the fitting relationship.

[0069] In some embodiments, processing the three-dimensional data file of the target model according to the regression coefficient and intercept calculated according to the fitting relationship includes:

[0070] Performing a slicing operation on the three-dimensional data file to generate a slice file;

[0071] Converting the slice file into a pixel image;

[0072] Performing a scaling operation on the pixel image by interpolation according to the regression coefficient, where the scaling operation includes scaling proportionally; and,

[0073] Modifying the target pixel points in the pixel image according to the intercept to achieve the movement of the pattern contour, where the target pixel points refer to some pixel points inside or outside the contour of the target pattern in the pixel image.

[0074] Exemplarily, in the third method, some pixel points inside or outside the contour of the target pattern can also be selected as the target pixel points, and the target pixel points are modified to achieve the movement of the pattern contour.

[0075] In some embodiments, it further includes:

[0076] Printing the target data file with the same printing material as several model entities to obtain the target model.

[0077] Figure 2 It is a schematic diagram 200 of a 3D model printing device provided exemplarily. Refer to Figure 2 This device includes: a fitting module 201 and a processing module 202.

[0078] The fitting module 201 is used to construct a fitting relationship according to the size measurement data set of several model entities, where the size measurement data set includes: the size deviation amount between the actually measured size and the designed size of several model entities, and the fitting relationship is a linear relationship between the size deviation amount and the designed size.

[0079] The processing module 202 is configured to process the three-dimensional data file of the target model according to the regression coefficients and intercepts calculated based on the fitting relationship, so as to obtain a target data file for printing the target model.

[0080] In some embodiments, the processing module 202 is specifically configured to:

[0081] Identify the three-dimensional model surface information of the target model in the three-dimensional data file;

[0082] Perform a scaling operation on the three-dimensional model surface information according to the regression coefficients, where the scaling operation includes isometric scaling; and,

[0083] Perform a displacement operation on the three-dimensional model surface information according to the intercept.

[0084] In some embodiments, the processing module 202 is specifically configured to:

[0085] Perform a slicing operation on the three-dimensional data file to generate a slice file;

[0086] Extract the edges of the vector graphics in the slice file;

[0087] Perform a scaling operation on the edges of the vector graphics according to the regression coefficients, where the scaling operation includes isometric scaling; and,

[0088] Perform a displacement operation on the edges of the vector graphics according to the intercept.

[0089] In some embodiments, the processing module 202 is specifically configured to: perform a slicing operation on the three-dimensional data file to generate a slice file;

[0090] Convert the slice file into a pixel image;

[0091] Perform a scaling operation on the pixel image by interpolation according to the regression coefficients, where the scaling operation includes isometric scaling; and,

[0092] Modify the target pixel points in the pixel image according to the intercept to achieve the movement of the pattern contour, and the target pixel points refer to some pixel points inside or outside the contour of the target pattern in the pixel image.

[0093] In some embodiments, it further includes a printing module 203, configured to:

[0094] Print the target data file using the same printing material as several model entities to obtain the target model.

[0095] Further, as Figure 3, exemplary embodiments of the present application also provide an electronic device, including one or more memories 301 and one or more processors 302, wherein one or more memories 301 are coupled to and store instructions on one or more processors 302, and the instructions can be executed by one or more processors 302 individually or jointly, such that the electronic device executes the method according to any item of the first aspect.

[0096] It should be understood that the processor mentioned in the embodiments of the present application may be a CPU, or may also be other general-purpose processors, DSPs, ASICs, FPGAs or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0097] It should also be understood that the memory mentioned in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory, an erasable programmable read-only memory, an electrically erasable programmable read-only memory or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory, dynamic random access memory, synchronous dynamic random access memory, double data rate synchronous dynamic random access memory, enhanced synchronous dynamic random access memory, synchronous link dynamic random access memory and direct memory bus random access memory.

[0098] The present application also provides a non-transitory computer-readable storage medium storing machine-executable instructions, and the computer-executable instructions can be executed by one or more processors of a machine. The machine may include the above-mentioned electronic device, etc. When the computer-executable instructions are executed by one or more processors, the machine executes any of the methods mentioned above.

[0099] The computer-readable storage medium may include a propagated data signal containing computer program code therein, for example, on a baseband or as part of a carrier wave. The propagated signal may have various forms of representation, including electromagnetic form, optical form, etc., or a suitable combination of forms. The computer-readable storage medium can be connected to an instruction execution system, apparatus or device to implement communication, propagation or transmission for use of the program. The program code located on the computer-readable storage medium can be propagated through any suitable medium, including radio, cable, fiber optic cable, radio frequency signal, or similar media, or any combination of the above media.

[0100] The basic concepts have been described above. Obviously, for those skilled in the art, the above invention disclosure is only an example and does not constitute a limitation to this application. Although not explicitly stated here, those skilled in the art may make various modifications, improvements, and corrections to this application. Such modifications, improvements, and corrections are proposed in this application, so such modifications, improvements, and corrections still fall within the spirit and scope of the exemplary embodiments of this application.

[0101] Meanwhile, this application uses specific terms to describe the embodiments of this application. Such as "one embodiment", "an embodiment", and / or "some embodiments" mean a certain feature, structure, or characteristic related to at least one embodiment of this application. Therefore, it should be emphasized and noted that the "one embodiment" or "an embodiment" or "an alternative embodiment" mentioned twice or more at different positions in this specification does not necessarily refer to the same embodiment. In addition, certain features, structures, or characteristics in one or more embodiments of this application can be appropriately combined.

[0102] Some aspects of this application can be executed entirely by hardware, entirely by software (including firmware, resident software, microcode, etc.), or by a combination of hardware and software. The above hardware or software can all be referred to as "data blocks", "modules", "engines", "units", "components", or "systems". The processor can be one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DAPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), processors, controllers, microcontrollers, microprocessors, or combinations thereof. In addition, aspects of this application may be embodied as a computer product located in one or more computer-readable media, which includes computer-readable program code. For example, computer-readable media can include, but are not limited to, magnetic storage devices (such as hard disks, floppy disks, magnetic tapes...), optical disks (such as compact disks CD, digital versatile disks DVD...), smart cards, and flash memory devices (such as cards, sticks, key drives...).

[0103] The computer-readable media may contain a propagated data signal that contains computer program code, such as on a baseband or as part of a carrier wave. This propagated signal may have various forms of manifestation, including electromagnetic form, optical form, etc., or a suitable combination of forms. The computer-readable media can be any computer-readable media other than computer-readable storage media, which can be connected to an instruction execution system, apparatus, or device to achieve communication, propagation, or transmission for use of the program. The program code located on the computer-readable media can be propagated through any suitable media, including radio, cable, fiber optic cable, radio frequency signal, or similar media, or any combination of the above media.

[0104] Similarly, it should be noted that, in order to simplify the presentation of the disclosure of this application and thus assist in the understanding of one or more embodiments of the invention, in the foregoing description of the embodiments of this application, multiple features are sometimes grouped into one embodiment, drawing, or description thereof. However, this method of disclosure does not mean that the features required by the subject matter of this application are more than those mentioned in the claims. In fact, the features of the embodiments are fewer than all the features of the individual embodiments disclosed above.

[0105] In some embodiments, numbers are used to describe components and the quantity of attributes. It should be understood that such numbers used for the description of embodiments are modified by the modifiers "about", "approximate", or "substantially" in some examples. Unless otherwise specified, "about", "approximate", or "substantially" indicate that the said numbers allow a variation of ±20%. Accordingly, in some embodiments, the numerical parameters used in the specification and claims are approximate values, and such approximate values may vary according to the characteristics required by individual embodiments. In some embodiments, the numerical parameters should consider the specified significant digits and adopt the method of retaining the general number of digits. Although the numerical ranges and parameters used in some embodiments of this application to confirm the breadth of their scope are approximate values, in specific embodiments, such numerical settings are as precise as possible within the feasible range.

[0106] Although this application has been described with reference to the current specific embodiments, those of ordinary skill in the art in this technical field should recognize that the above embodiments are only used to illustrate this application, and various equivalent changes or substitutions can be made without departing from the spirit of this application. Therefore, as long as the changes and modifications to the above embodiments are within the scope of the spirit of this application, they will fall within the scope of the claims of this application.

Claims

1. A 3D model printing method, characterized in that, Including: Construct a fitting relationship based on the dimensional measurement data sets of a number of model entities, where the dimensional measurement data sets include: the dimensional deviation amount between the actual dimensions and the designed dimensions measured for the number of model entities, and the fitting relationship is a linear relationship between the dimensional deviation amount and the designed dimensions; Process the three-dimensional data file of the target model according to the regression coefficients and intercepts calculated based on the fitting relationship to obtain a target data file for printing the target model.

2. The method according to claim 1, wherein The fitting relationship is: Deviation(i) = Size(i)A + β Where, Deviation(i) represents the dimensional deviation amount between the actual dimension and the designed dimension measured for the i-th model entity, Size(i) represents the designed dimension of the i-th model entity, A represents the regression coefficient, β represents the intercept, and i represents the number of the model entities.

3. The method according to claim 1, characterized in that For each model entity, the dimensional deviation amount includes: The difference between the actual dimension and the designed dimension of the entity contour in all directions; and, The differences between the actual dimensions and the designed dimensions of the contours of all model components from the same model entity in all directions, where the all directions refer to all directions in the three-dimensional space where the model entity is located.

4. The method according to any one of claims 1 to 3, characterized in that, The processing of the three-dimensional data file of the target model according to the regression coefficients and intercepts calculated based on the fitting relationship includes: Identifying the three-dimensional model surface information of the target model in the three-dimensional data file; Performing a scaling operation on the three-dimensional model surface information according to the regression coefficient, where the scaling operation includes scaling in equal proportion; and, Performing a displacement operation on the three-dimensional model surface information according to the intercept.

5. The method according to any one of claims 1 to 3, characterized in that, The processing of the three-dimensional data file of the target model according to the regression coefficients and intercepts calculated based on the fitting relationship includes: Performing a slicing operation on the three-dimensional data file to generate a slice file; Extracting the edges of the vector graphics in the slice file; Performing a scaling operation on the edges of the vector graphics according to the regression coefficient, where the scaling operation includes scaling in equal proportion; and, Performing a displacement operation on the edges of the vector graphics according to the intercept.

6. The method according to any one of claims 1 to 3, characterized in that, The processing of the three-dimensional data file of the target model according to the regression coefficients and intercepts calculated based on the fitting relationship includes: Performing a slicing operation on the three-dimensional data file to generate a slice file; Converting the slice file into a pixel image; Performing a scaling operation on the pixel image by interpolation according to the regression coefficient, where the scaling operation includes scaling in equal proportion; and, Modifying the target pixel points in the pixel image according to the intercept to achieve the movement of the pattern contour, where the target pixel points refer to some pixel points inside or outside the contour of the target pattern in the pixel image.

7. The method according to claim 1, characterized in that Also including: Printing the target data file using the same printing material as the number of model entities to obtain the target model.

8. A 3D model printing device, characterized in that, Including: A fitting module, configured to construct a fitting relationship according to the dimensional measurement data sets of a plurality of model entities, where the dimensional measurement data sets include: the dimensional deviation amounts between the actually measured dimensions and the designed dimensions of the plurality of model entities, and the fitting relationship is a linear relationship between the dimensional deviation amounts and the designed dimensions; A processing module, configured to process the three-dimensional data file of the target model according to the regression coefficients and intercepts calculated according to the fitting relationship, so as to obtain a target data file for printing the target model.

9. An electronic device, characterized in that, Comprising: One or more processors; And One or more memories coupled to the one or more processors and storing instructions thereon, when the instructions are executed by the one or more processors alone or jointly, causing the electronic device to execute the method according to any one of claims 1-7.

10. A non-transitory computer-readable storage medium storing machine-executable instructions, which when executed by one or more processors of a machine, cause the machine to execute the method according to any one of claims 1-7.