Rotary 3D printing method based on model affine transformation generation path
By adopting model affine transformation and mesh density processing in rotational FDM printing, surface path generation is simplified, the problems of data processing complexity and printing failure in the existing technology are solved, and efficient and accurate rotational 3D printing is achieved.
Patent Information
- Application Number
- CN202410635234.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-22
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-05-22
AI Technical Summary
The data processing in the existing rotational FDM printing technology is complex and the conventional three-dimensional model data processing method cannot be directly applied, resulting in printing failure and the physical geometric size does not match the design size.
A method based on model affine transformation is used to establish a mathematical model of the rotating 3D printing device. Through mesh density processing and mapping transformation operations, surface path generation is simplified, and plane slicing and path filling algorithms are applied to generate printing instructions.
It simplifies the data processing process of rotational 3D printing, improves printing efficiency and accuracy, avoids printing defects, and ensures the accuracy of geometric shapes and precision of details.
Smart Images

Figure CN118596579A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of 3D printing, and in particular to a rotational 3D printing method based on a model affine transformation path generation method. Background Art
[0002] The prior art proposes a rotary FDM printing technology. For example, a Chinese patent with publication number CN116277958A discloses a 3D printing forming method and device based on a linear light source, which includes: establishing a three-dimensional coordinate system according to the geometric information of the 3D printing device; obtaining a triangular mesh model of the three-dimensional model according to the model file of the three-dimensional model to be printed; projecting all vertices in the triangular mesh model onto the YOZ plane in the three-dimensional coordinate system to obtain a projection polygon; performing surface slicing on the projection polygon; calculating the sampling interval of the i-th layer of surface slices that need to be filled with sampling straight lines, calculating the sampling angle step length of the sampling straight lines that need to be filled in the sampling interval according to the projection width of the linear light source, and obtaining the filling scanning line segment of the sampling straight line that needs to be filled in the i-th layer of surface section and the intersection of the triangular mesh model according to the sampling angle step length; printing the three-dimensional model layer by layer according to the filling scanning line segment, thereby improving the printing efficiency of the three-dimensional model. The defect is that the data processing method is relatively complicated: first, the calculation process of obtaining the surface slice contour of each layer is relatively complicated, and it is necessary to perform intersection calculation based on the mesh patch of the cylindrical surface and the three-dimensional model, and it is also required that the intersecting line segments after the surface slicing form an ordered contour ring; second, after the slice contour is obtained, a single filling path along the defense line of the rotating base axis is used. The typical path filling methods in planar FDM printing, such as Zigzag filling, Contour-Parallel filling, Spirals filling, etc., these path filling algorithms are complex to apply directly to the surface slice contour.
[0003] In this field, conventional plane-based 3D printing data processing methods cannot be directly used in the above-mentioned rotational FDM printing technology. This is because in the rotational FDM printing technology, as the number of printing layers increases, the forming radius corresponding to the forming surface deposited by the molten extruded material gradually increases. If the processing control instructions generated by conventional three-dimensional model data processing are directly used for rotational FDM printing, the rotation instructions used to control the rotation axis will inevitably cause the actual rotation angle of the rotation axis to be too large, which will eventually lead to problems such as the inconsistency between the solid geometric dimensions and the three-dimensional model dimensions after rotational FDM printing, resulting in printing failure.
[0004] In order to solve the above problems, a method for generating 3D printing surface path based on model affine transformation rotation is proposed. Summary of the invention
[0005] In order to solve the above problems, the present invention proposes a rotational 3D printing method based on a model affine transformation path generation method, which is characterized by comprising the following steps:
[0006] S100, establishing a coordinate system: the rotating 3D printing device includes a rotating base and a printing nozzle, and a mathematical model is established based on the obtained geometric information of the rotating 3D printing device; a three-dimensional coordinate system is established with the highest point of the rotating base and the cylindrical surface line passing through the highest point as the origin O and the Y axis respectively;
[0007] S200, obtaining and processing a model file: obtaining a model file of a three-dimensional model to be printed, performing a mesh densification process to obtain a three-dimensional mesh model, and performing a mapping transformation operation on vertices of the three-dimensional mesh model, thereby realizing an affine transformation of the three-dimensional model;
[0008] S300, plane slicing and path generation: plane slicing and path generation processing are performed on the affine three-dimensional model;
[0009] S400, completing printing according to the instruction: the generated printing instruction drives the rotating 3D printing device to complete printing.
[0010] As a preferred technical solution of the present invention, the grid densification processing in step S200 adopts a classical grid subdivision algorithm, which includes but is not limited to multiple Hermite space interpolation subdivisions, Loop subdivisions and Catmull-Clark subdivisions.
[0011] As a preferred technical solution of the present invention, the mapping transformation operation in step S200 refers to traversing the model vertex coordinates in the model file, and performing a mapping transformation operation on each vertex coordinate as follows:
[0012] i. The preset model vertex is P (x, y, z), the center of the rotating base is Q, and the rotation radius of the rotating base is R0. The length between point P and the center of the rotating base Q is L. i ;
[0013] ii. On the XOZ plane, calculate the angle between the QP ray and the QZ ray as α, where α is in radians;
[0014] iii. According to the following mapping formula, calculate the spatial coordinates P'(x', y', z') of point P after mapping.
[0015] P'(x', y', z') = (L i *α, y, L i -R0)
[0016] And P' is used as the vertex coordinates of the three-dimensional model after affine transformation.
[0017] As a preferred technical solution of the present invention, the three-dimensional model is placed directly above the rotating base.
[0018] As a preferred technical solution of the present invention, the plane slicing adopts the STL plane slicing algorithm.
[0019] As a preferred technical solution of the present invention, the planar path generation adopts the FDM path filling algorithm.
[0020] The beneficial effects of the present invention are as follows:
[0021] The rotational 3D printing method based on model affine transformation path generation of the present invention applies the plane-based 3D printing data processing method to the rotational 3D printing technology by adopting the data processing strategy of model affine transformation. The surface path generation method is simple and convenient, avoiding the complex data processing process based on the conventional surface slicing strategy. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 It is a work flow chart of the present invention.
[0023] Figure 2 It is a schematic diagram of the position of the rotating base and the three-dimensional model to be printed.
[0024] Figure 3 It is a side view schematic diagram of the rotating base and the mesh model before affine transformation.
[0025] Figure 4 It is a side view schematic diagram of the rotating base and the mesh model after affine transformation.
[0026] Figure 5 It is the rendering result processed by conventional plane slicing and path generation algorithm.
[0027] Figure 6 It is the physical result of rotating 3D printing based on the model affine transformation.
[0028] Reference numerals: 1. Rotation base, 2. Three-dimensional model. DETAILED DESCRIPTION
[0029] Embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings. The embodiments described below with reference to the accompanying drawings are exemplary and intended to be used to explain the present invention, but should not be understood as limiting the present invention.
[0030] See also Figure 1-4 The present invention proposes a rotational 3D printing method based on a model affine transformation path generation method, comprising the following steps:
[0031] S100: Establishing a coordinate system: The rotating 3D printing device includes a rotating base 1 and a printing nozzle 2. Based on the obtained geometric information of the rotating 3D printing device, a mathematical model is established: Figure 2 The XOZ plane is obtained by horizontally projecting the rotating base 1 along its central axis, where the Z axis is vertically upward and the X axis is horizontally to the right. The highest point of the projection circle of the rotating base 1 is taken as the origin O, and the direction of the rotating central axis of the rotating base 1 is taken as the Y axis. Figure 3 The Y axis is perpendicular to the XOZ plane and points inward, thus conforming to the characteristics of the right-hand coordinate system, thereby completing the establishment of the three-dimensional coordinate system;
[0032] S200, obtaining and processing a model file: obtaining a model file of a three-dimensional model 2 to be printed, performing a mesh densification process to obtain a three-dimensional mesh model, and performing a mapping transformation operation on vertices of the three-dimensional mesh model, thereby realizing an affine transformation of the three-dimensional model;
[0033] S300, plane slicing and path generation: plane slicing and path generation processing are performed on the affine three-dimensional model 2;
[0034] S400, completing printing according to the instruction: the generated printing instruction drives the rotating 3D printing device to complete printing.
[0035] In order to improve the accuracy of model surface details, ensure the accuracy of geometric shapes, avoid printing defects, accurately simulate physical properties and effectively generate support structures, it is necessary to perform grid densification processing on the printed three-dimensional model 2 (such as an STL model). The grid densification processing adopts classic grid subdivision algorithms, such as multiple Hermite space interpolation subdivisions, Loop subdivisions, Catmull-Clark subdivisions, etc.
[0036] The mapping transformation operation in step S200 refers to traversing the model vertex coordinates in the model file and performing a mapping transformation operation on each vertex coordinate as follows:
[0037] i. The preset model vertex is P (x, y, z), the center of the rotating base 1 is Q, and the rotation radius of the rotating base 1 is R0. Then the length between point P and the center of the rotating base 1 Q is L i ;
[0038] ii. On the XOZ plane, calculate the angle between the QP ray and the QZ ray as α, where α is in radians;
[0039] iii. According to the following mapping formula, calculate the spatial coordinates P'(x', y', z') of point P after mapping.
[0040] P'(x', y', z') = (L i *α, y, L i -R0)
[0041] And P' is used as the vertex coordinates of the three-dimensional model 2 after affine transformation.
[0042] The 3D printing slicing algorithm is used to perform plane slicing on the mesh model after affine transformation. Specifically, the existing classic STL plane slicing algorithms are used, such as the surface intersection slicing algorithm, the line-surface intersection slicing algorithm, and the vertical line intersection slicing algorithm.
[0043] A planar path filling algorithm is used to fill the path of the sliced contour. Specifically, the existing classic FDM path filling algorithms are used, such as Zigzag filling, Contour-Parallel filling, Spirals filling, etc. This test uses Contour-Parallel and Zigzag path filling algorithms.
[0044] Use planar 3D printing software, such as Cura, IceSL, etc. This type of software basically integrates the current mainstream plane slicing algorithms and typical path filling algorithms, and can directly perform data processing.
Claims
1. A rotational 3D printing method based on model affine transformation path generation, characterized in that: The following steps are involved: S100, establishing a coordinate system: the rotational 3D printing device includes a cylindrical rotational base and a printing nozzle, and a mathematical model is established based on the acquired geometric information of the rotational 3D printing device; A three-dimensional coordinate system is established with the highest point of the rotating base and the cylindrical surface line passing through the highest point as the origin O and the Y axis respectively; S200, obtaining and processing a model file: obtaining a model file of a three-dimensional model to be printed, performing a mesh densification process to obtain a three-dimensional mesh model, and performing a mapping transformation operation on vertices of the three-dimensional mesh model, thereby realizing an affine transformation of the three-dimensional model; S300, plane slicing and path generation: plane slicing and path generation processing are performed on the affine three-dimensional model; S400, completing printing according to the instruction: the generated printing instruction drives the rotating 3D printing device to complete printing.
2. The rotational 3D printing method based on model affine transformation path generation according to claim 1, characterized in that: The grid densification process in step S200 adopts a classical grid subdivision algorithm, which includes but is not limited to multiple Hermite space interpolation subdivisions, Loop subdivisions and Catmull-Clark subdivisions.
3. The rotational 3D printing method based on model affine transformation path generation according to claim 1, characterized in that: The mapping transformation operation in step S200 refers to traversing the model vertex coordinates in the model file and performing a mapping transformation operation on each vertex coordinate as follows: i. The preset model vertex is P (x, y, z), the center of the rotating base is Q, and the rotation radius of the rotating base is R0. The length between point P and the center of the rotating base Q is L. i ; ii. On the XOZ plane, calculate the angle between the QP ray and the QZ ray as α, where α is in radians; iii. According to the following mapping formula, calculate the spatial coordinates P'(x', y', z') of point P after mapping. P'(x',y',z')=(L i *α,y,L i -R0), And P' is used as the vertex coordinates of the three-dimensional model after affine transformation.
4. The rotational 3D printing method based on model affine transformation path generation according to claim 1, characterized in that: The three-dimensional model is placed directly above the rotating base.
5. The rotational 3D printing method based on model affine transformation path generation according to claim 1, characterized in that: The plane slicing adopts the STL plane slicing algorithm.
6. The rotational 3D printing method based on model affine transformation path generation according to claim 1, characterized in that: The planar path generation adopts the FDM path filling algorithm.
Citation Information
Patent Citations
Slicing treatment method for surface model surface ink jet printing
CN106738864A
Slicing method for realizing 3D printing on arc surface of revolving body based on RPM technology
CN110435156A
Method for typesetting of 3D printing model
CN114953468A
Methods, apparatus, and system to provide real-time adjustment for the three-dimensional printing of architectural structures.
MX2022002305A
3D printing file generation method, apparatus, computer device, and storage medium
WO2023103709A1
Cited By
3D printing rotating curved surface slicing method, system and equipment and storage medium
CN119152159A
Multi-material 3D printing device and method based on rotating structure
CN119704654A
Multi-material 3D printing apparatus and method based on a rotating structure
CN119704654B
