A method, device, storage medium and 3D printer for dynamically adjusting internal filling extrusion amount of 3D printing
By dynamically adjusting the extrusion amount of the 3D printing internal fill line, and according to the distance relationship between the fill line and the contour line, the problem of the filling anchor line width in the prior art is solved, and the filling anchor point and model outline is realized effective connection and improvement of print quality.
Patent Information
- Application Number
- CN202410468028.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-18
- Publication Date
- 2024-12-17
- Estimated Expiration
- 2044-04-18
AI Technical Summary
The existing 3D printing technology cannot dynamically adjust the extrusion amount of the internal filling line, resulting in the filling anchor line width being too small and the filling does not come into contact with the model outline, which cannot enhance the printing model strength; when the line width is too large, the consumable overflow will affect the surface quality and Accuracy.
By constructing a three-dimensional solid model and slicing it layer by layer, the extrusion ratio of the filling line inside each layer is calculated, and the extrusion amount is dynamically adjusted according to the distance relationship between the filling line and the contour line, and divided into the filling line near the contour line and the filling line away from the contour line inside the contour line. , adjust its extrusion ratio to ensure that the fill anchor points are connected to the model profile and avoid consumables spillage.
Adaptive adjustment of the internal fill line width is achieved, which enhances the strength and accuracy of the printing model, avoids consumable overflow, and improves the printing quality of the three-dimensional model.
Smart Images

Figure CN118181770B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of additive manufacturing, and in particular to a method, a device, a storage medium and a 3D printer for dynamically adjusting the internal filling extrusion amount of 3D printing. Background Art
[0002] Each layer of a 3D printed model is composed of a perimeter, an internal fill line, and other parts. The internal fill line is a structure of the space inside the model's perimeter, which aims to improve the strength and stability of the printed part and save materials. The internal fill line is connected to the perimeter, which can increase the overall strength of the printed model. In applications, the part of the internal fill line adjacent to the perimeter is generally referred to as a fill anchor point. Currently, 3D printing slicing technology only supports setting a single internal fill line width, and the fill anchor point will also be printed according to the same specified line width. When setting the internal fill line width, if the fill anchor point line width is too small, the fill will not contact the model contour, and the overall strength of the printed model cannot be enhanced; if the fill anchor point line width is too large, it will cause excess consumables to overflow to the model contour, causing the 3D printing surface quality and accuracy to deteriorate. In order to solve this problem, the patent with publication number "CN111216231B_3D printing filling value control method and system based on r control law" discloses that by designing chamfers at the ends of the reinforcing ribs, the overlapping thickness between the shell and the reinforcing ribs is reduced, and the bulges on the outer surface of the model shell are minimized. However, this method only designs chamfers and cannot dynamically adjust the wire extrusion amount. There will still be a small amount of wire cross-stacked at the filling anchor point, and the bulge phenomenon of the model shell cannot be completely solved. Summary of the invention
[0003] In order to overcome the problems in the prior art, the purpose of the present invention is to provide a method, device, storage medium and 3D printer for dynamically adjusting the extrusion amount of internal filling in 3D printing, which can dynamically adjust the extrusion amount of the internal filling line according to the distance relationship between the internal filling line and the contour line.
[0004] To achieve the above object, the present invention provides a method for dynamically adjusting the internal filling extrusion amount of 3D printing, the steps comprising: S1: constructing a three-dimensional solid model of a product to be printed, performing layered slicing processing on the model, and obtaining a contour line set and an internal filling line set of each layer of the slice;
[0005] S2: Calculate the material extrusion ratio for each layer of the internal filling line segment;
[0006] S3: storing the calculated internal filling line extrusion ratio data, adjusting the extrusion amount of the consumables according to the extrusion ratio, obtaining an adjusted three-dimensional solid model, and the printer printing the product according to the adjusted three-dimensional solid model;
[0007] In step S2, the step of calculating the consumable extrusion ratio of the internal filling line of each layer of slices by segment is as follows:
[0008] S21: discretize the internal filling line into a point set, and divide the internal filling line into multiple segments of internal filling lines close to the contour and internal filling lines far from the contour according to the distance between the point and the contour;
[0009] S22: according to the distance between the inner filling line of the adjacent contour and the contour line, the extrusion ratio of each inner filling line of the adjacent contour is calculated according to the principle that the closer the contour line is, the less the extrusion amount is; then, according to the reduced extrusion ratio of all the inner filling lines of the adjacent contour, the extrusion ratio of the inner filling lines far away from the contour is adjusted.
[0010] Furthermore, in step S21, the internal filling line is discretized into a point set, and the internal filling line is divided into multiple segments of internal filling lines close to the contour and internal filling lines far from the contour according to the distance from the point to the contour.
[0011] S211: discretizing the internal filling lines into point sets according to the printing path, setting a minimum distance threshold from the discrete points to the contour lines, and dividing the internal filling lines into internal filling lines close to the contour and internal filling lines far from the contour according to the minimum distance threshold;
[0012] S212: Obtain all discrete points of the internal fill lines adjacent to the contour, and define a set of indexes of the discrete points of the internal fill lines adjacent to the contour; S213: Set class spacing for the index set, and group the index set using a density clustering method to obtain multiple groups of index subsets of discrete points of the internal fill lines adjacent to the contour, and the index subsets are sorted in sequence according to the printing path;
[0013] S214: obtaining one-to-one corresponding multiple discrete point subsets of adjacent contour internal filling lines through multiple index subsets, and connecting all discrete points in the group to obtain the corresponding adjacent contour internal filling line.
[0014] Further, in step S211, the line types of the internal fill lines include straight line type, arc type and spline type. The discrete points of the straight line type and arc type internal fill lines are uniformly sampled according to the distance, and the discrete points of the spline type internal fill lines dynamically adjust the sampling interval according to the shape characteristics of the curve.
[0015] Furthermore, in the step S211, the index sequence of each discrete point in the discrete point set is arranged in sequence according to the printing path order.
[0016] Further, in step S22, the extrusion ratio of each adjacent contour internal filling line is calculated according to the distance between the adjacent contour internal filling line and the contour line, and then the extrusion ratio of the filling line far from the contour internal filling line is adjusted according to the reduced extrusion ratio of all adjacent contour internal filling lines.
[0017] S221: Calculate the average value of the minimum distances between the discrete points of each segment of the inner filling line adjacent to the contour and the contour line, and calculate the adjusted line width of each segment of the inner filling line adjacent to the contour according to the average value;
[0018] S222: obtaining an adjusted extrusion ratio of each segment of the inner filling line of the adjacent contour according to a ratio of the adjusted line width of each segment of the inner filling line of the adjacent contour to the original line width;
[0019] S223: Obtain the total length of the internal filling lines, the length of each segment of the internal filling lines adjacent to the contour and the corresponding extrusion ratio, and calculate the extrusion ratio of the internal filling lines away from the contour.
[0020] Furthermore, in the step S221, the width of the fill line inside the adjusted adjacent contour is calculated by subtracting the width of the contour from twice the average value of the distances from all discrete points of the adjacent contour fill line to the contour line.
[0021] Furthermore, in step S221, a minimum value is set for the line width of the adjusted adjacent contour internal fill line. When the calculated line width of the adjacent contour internal fill line is less than the minimum value, the minimum value is used as the line width of the adjacent contour internal fill line segment.
[0022] Further, in step S223, the calculation method of the adjusted extrusion ratio away from the internal filling line of the contour is: the total length of the internal filling line minus the sum of the products of the lengths of each segment of the internal filling line adjacent to the contour and the corresponding extrusion ratios, divided by the length away from the internal filling line of the contour.
[0023] The present invention also provides a device for dynamically adjusting the internal filling extrusion amount of 3D printing, which is characterized by comprising:
[0024] A printing control module, used to control the printing nozzle to print the product according to the three-dimensional solid model;
[0025] An acquisition module is used to acquire the contour line and internal filling line of each slice of the three-dimensional solid model;
[0026] A calculation module, used for calculating the amount of consumables extruded by the printing nozzle to print the internal filling line according to the distance relationship between the internal filling line and the contour line;
[0027] The storage module is used to store the three-dimensional solid model.
[0028] The present invention also provides a computer-readable storage medium, which includes a stored computer program. When the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any of the above-mentioned methods for dynamically adjusting the internal filling extrusion amount of 3D printing.
[0029] The present invention also provides a 3D printer, comprising the above-mentioned device for dynamically adjusting the internal filling extrusion amount of 3D printing.
[0030] The present invention obtains the internal filling lines and contour lines of each layer of the three-dimensional solid model, divides the internal filling lines into the internal filling lines close to the contour and the internal filling lines far from the contour, and dynamically adjusts the consumable extrusion amount of the internal filling lines according to the distance relationship between the internal filling lines close to the contour and the contour line, so as to achieve the purpose of adaptively adjusting the width of the internal filling lines. The present invention enables all filling anchor points to be connected to the model contour to enhance the printing strength, and does not overflow at the contour to affect the printing quality, thereby improving the printing accuracy and quality of the three-dimensional model. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 A flow chart of a method for dynamically adjusting the internal filling extrusion amount of 3D printing provided in Example 1 of the present invention;
[0032] Figure 2 This is a schematic diagram of a slice of a three-dimensional solid model of Example 1 of the present invention;
[0033] Figure 3 This is a schematic diagram of discretizing the internal filling line into a discrete point set in Example 1 of the present invention;
[0034] Figure 4 This is a diagram showing the effect of dynamically adjusting the extrusion amount of the internal filling line in Example 1 of the present invention;
[0035] Figure 5 A schematic diagram of a device for dynamically adjusting the internal filling extrusion amount of 3D printing provided in Example 2 of the present invention;
[0036] Illustration: 1. Contour line; 2. Fill line far away from the contour; 3. Fill line close to the contour. DETAILED DESCRIPTION
[0037] Embodiment 1
[0038] like Figure 1 As shown, the present invention provides a method for dynamically adjusting the internal filling extrusion amount of 3D printing, comprising the following steps:
[0039] S1: construct a three-dimensional solid model of the product to be printed, perform layered slicing on the model, and obtain a set of contour lines and a set of internal filling lines of each layer of slices;
[0040] S2: Calculate the material extrusion ratio for each layer of the internal filling line segment;
[0041] S3: storing the calculated internal filling line extrusion ratio data, adjusting the material extrusion amount according to the extrusion ratio, obtaining an adjusted three-dimensional solid model, and the printer printing the product according to the adjusted three-dimensional solid model.
[0042] like Figure 2 As shown, in step S1, a three-dimensional solid model of the model to be printed is constructed, and the three-dimensional solid model is subjected to layered slicing processing and filling path planning to obtain a contour line set S of each layer of slices. perimeter And the internal fill line set S infill .
[0043] In step S2, the step of calculating and adjusting the extrusion ratio of the consumables by segmenting the internal filling line of each slice is as follows:
[0044] S21: discretize the internal filling line into a point set, and divide the internal filling line into multiple segments of internal filling lines close to the contour and internal filling lines far from the contour according to the distance between the point and the contour;
[0045] S22: according to the distance between the inner filling line of the adjacent contour and the contour line, the extrusion ratio of each inner filling line of the adjacent contour is calculated according to the principle that the closer the inner filling line is to the contour line, the smaller the extrusion ratio is; then, according to the reduced extrusion ratio of all the inner filling lines of the adjacent contour, the extrusion ratio of the inner filling lines far away from the contour is adjusted.
[0046] Specifically, in step S21, the internal filling line is discretized into a point set, and according to the distance from the point to the contour line, the internal filling line is divided into multiple segments of the internal filling line close to the contour and the internal filling line far from the contour.
[0047] S211: discretize the internal filling lines into point sets according to the printing path, set a minimum distance threshold from the discrete points to the contour lines, and divide the internal filling lines into internal filling lines close to the contour and internal filling lines far from the contour according to the minimum distance threshold.
[0048] like Figure 3 As shown, according to the line type characteristics of the internal fill line, S infill Discretize the coordinates along the printing path into a point set The line types of the internal filling lines include straight lines, arcs and splines. For the straight line and arc-type internal filling lines, the points are sampled evenly according to the distance, and the density of the scattered points can be controlled by setting the sampling interval. The sampling interval of the spline-type internal filling line is dynamically adjusted. The specific method is: based on the influence of curvature, arc length, torsion and other characteristics on the spatial curve, the sampling interval is adjusted in sections to ensure that more discrete points are collected at the high curvature of the curve and fewer discrete points are collected at the low curvature. For example, the method for sampling spline curves disclosed in ("High-quality sampling and B-spline fitting of spatial curves based on intrinsic geometric quantities", Ling Haiya, Zhao Shiqing, Lu Lizheng, Wang Guozhao, "Journal of Computer-Aided Design and Graphics", Volume 32, Issue 2) is a prior art in this field and will not be described in detail here.
[0049] Each discrete point index sequence in the discrete point set is arranged in sequence according to the filling path order to define the contour line set Calculate the discrete point set of the inner fill line adjacent to the contour Any point p j The minimum distance to the contour line is d(p j , S perimeter )=min 0≤i≤N d(p j , S i ), specifically, the minimum distance d is the discrete point p j Minimum distance of the printed path from the contour.
[0050] A minimum distance threshold δ between the discrete points of the inner filling line and the contour line is set, and the inner filling line composed of discrete points greater than the threshold δ is defined as the inner filling line far away from the contour, and the inner filling line composed of discrete points less than the threshold δ is defined as the inner filling line close to the contour.
[0051] S212: Obtain all discrete points of the fill lines inside the adjacent contours, and define a set of indexes of the discrete points of the fill lines inside the adjacent contours;
[0052] The index definition set J of all discrete points less than the threshold δ is the index set of discrete points near the inner filling line of the contour, set J = {j|d(p j , S perimeter )<δ}.
[0053] S213: setting a class spacing for the index set, and grouping the index set using a density clustering method to obtain multiple groups of discrete index subsets of fill lines adjacent to the contour, wherein the order of the index subsets is sequentially sorted according to the printing path;
[0054] In this embodiment, the class spacing of the index set J is set to 1.5, and the DBSCAN density clustering method is used to classify the index set J to obtain the subsets J0, J1, ..., J of the discrete point indexes of the filling line near the contour. T , where J t (0≤t≤T) is the index subset of the t+1th discrete point set after classification, J t The indexed adjacent elements in the printer fill path are arranged in order, J t Specifically expressed as:
[0055] J0={j0,j0+1,j0+2,...j0+(k0-1)}
[0056] J1={j1,j1+1,j1+2,...j1+(k1-1)}
[0057] …
[0058] J T ={j t , j t +1,j t +2, ...j t +(k t -1)}
[0059] S214: obtaining one-to-one corresponding multiple discrete point subsets of adjacent contour internal filling lines through multiple index subsets, and connecting all discrete points in the group to obtain the corresponding adjacent contour internal filling line.
[0060] The discrete point set is automatically divided into new groups by index grouping, which can be expressed as:
[0061]
[0062] The discrete points of the inner filling lines of the adjacent contours in the group are connected to obtain multiple segments of the inner filling lines of the adjacent contours, thereby obtaining multiple segments of the inner filling lines of the adjacent contours and a group of inner filling lines far away from the contours.
[0063] When adjusting the extrusion amount of each adjacent contour internal fill line, it should be considered that if the extrusion amount of the adjacent contour internal fill line is too small, the fill line will not contact the model contour line, and the overall strength of the printed model cannot be enhanced; but if the extrusion amount of the adjacent contour internal fill line is too large, it will cause excess filament to overflow to the model contour, causing the 3D printing surface quality and precision to deteriorate. Therefore, the extrusion amount of each adjacent contour internal fill line should be adjusted separately according to the principle that the smaller the distance between each group of adjacent contour internal fill lines and the contour line, the smaller the adjusted filament extrusion ratio, and the larger the distance between the adjacent contour internal fill lines and the contour line, the larger the adjusted filament extrusion ratio.
[0064] In step S22, according to the distance between the adjacent contour internal filling line and the contour line, the extrusion ratio of each adjacent contour internal filling line is calculated according to the principle that the closer the extrusion ratio is, the smaller the extrusion ratio is. Then, according to the reduced extrusion ratio of all adjacent contour internal filling lines, the steps of adjusting the filling lines far away from the contour are as follows:
[0065] S221: Calculate the average value of the minimum distances between the discrete points of each segment of the inner filling line adjacent to the contour and the contour line, and calculate the adjusted line width of each segment of the inner filling line adjacent to the contour according to the average value;
[0066] Let the width of the contour be w perimeter , the original width of the internal fill line is w infill , defined with J0, J1...J T The corresponding internal fill line widths of each segment are adjusted to w0, w1, ... w T , the extrusion ratio is r0, r1...r T For any 0≤i≤T, the adjusted line width w of the fill line near the contour interior i The formula is expressed as:
[0067]
[0068] In order to meet the printing strength of the internal filling line, the line width w i Set the minimum value when the calculated line width w i If the minimum value is less than the set minimum value, the minimum value is used as the line width of the fill line inside the adjacent contour. In this embodiment, the adjusted line width w i The minimum value is set to 0.1.
[0069] S222: Adjusted line width w based on each adjacent contour internal fill line i With the original line width w infill The ratio of each adjacent contour internal filling line is obtained to obtain the extrusion ratio r after adjustment. i , the formula is:
[0070]
[0071] The extrusion ratio r of each segment of the inner filling line adjacent to the contour obtained so far i In order to ensure the consistency of the filling amount, it is also necessary to calculate and adjust the extrusion ratio r away from the internal filling line of the contour away .
[0072] S223: Obtain the length of each segment of the inner filling line adjacent to the contour, the extrusion ratio and the total length of the inner filling line, and calculate the extrusion ratio of the inner filling line away from the contour.
[0073] Define the total length of the internal fill line as L, and the lengths of the internal fill lines of each adjacent contour are L0, L1...L T , then the length L away from the inner filling line of the contour away The calculation method is: the total length of the internal fill line L minus the sum of the lengths of each adjacent contour internal fill line. The formula is:
[0074]
[0075] According to the total length L of the internal filling line, the length L0, L1...L of each adjacent contour internal filling line T And its corresponding extrusion ratio r i , where 0≤i≤T, calculates the extrusion ratio r away from the internal fill line of the contour away , the formula is:
[0076]
[0077] like Figure 4 As shown, according to the calculated extrusion ratio of each internal filling line, the extrusion amount of each internal filling line is adjusted, the three-dimensional solid model data after the calculation and adjustment is stored, and a new Gcode code file is obtained. The 3D printer nozzle prints the product according to the adjusted extrusion amount on the printing path of the internal filling line.
[0078] Embodiment 2:
[0079] like Figure 5 As shown, the embodiment of the present application also provides a device 1000 for dynamically adjusting the amount of internal filling extrusion of 3D printing, including: a printing control module 1001, used to control the printing nozzle to print the product according to the three-dimensional solid model. An acquisition module 1002, used to obtain the contour line and internal filling line of each layer of the three-dimensional solid model. A calculation module 1003, used to calculate the amount of consumable extrusion of the internal filling line printed by the printing nozzle according to the distance relationship between the internal filling line and the contour line. A storage module 1004, used to store the three-dimensional solid model.
[0080] Embodiment 3:
[0081] The present application also discloses a computer-readable storage medium, the computer-readable storage medium includes a stored computer program, and when the computer program is running, the device where the computer-readable storage medium is located is controlled to perform the method of dynamically adjusting the internal filling extrusion amount of 3D printing in the above embodiment. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a ROM, an erasable programmable read-only memory, a hard disk, a CD-ROM, a magnetic storage device, or any suitable combination of the above, or any other form of computer-readable storage medium known in the art.
[0082] Embodiment 4:
[0083] The present application also discloses a 3D printer, including a device for dynamically adjusting the internal filling extrusion amount of 3D printing, including: a printing control module, used to control the printing nozzle to print products according to the three-dimensional solid model; an acquisition module, used to obtain the contour lines and internal filling lines of each layer of the three-dimensional solid model; a calculation module, used to calculate the consumable extrusion amount of the printing nozzle to print the internal filling line according to the distance relationship between the internal filling line and the contour line; a storage module, used to store the three-dimensional solid model.
Claims
1. A method for dynamically adjusting the internal filling extrusion amount of 3D printing, characterized in that: The following steps are involved: S1: construct a three-dimensional solid model of the product to be printed, perform layered slicing on the model, and obtain a set of contour lines and a set of internal filling lines of each layer of slices; S2: Calculate the material extrusion ratio for each layer of the internal filling line segment; S3: storing the calculated internal filling line consumable extrusion ratio data, adjusting the consumable extrusion amount according to the extrusion ratio, obtaining an adjusted three-dimensional solid model, and the printer printing the product according to the adjusted three-dimensional solid model; In step S2, the step of calculating the consumable extrusion ratio of the internal filling line of each layer of slices by segment is as follows: S21: discretize the internal filling line into a point set, and divide the internal filling line into multiple segments of internal filling lines close to the contour and internal filling lines far from the contour according to the distance between the point and the contour; S22: according to the distance between the inner filling line of the adjacent contour and the contour line, the extrusion ratio of each inner filling line of the adjacent contour is calculated according to the principle that the closer the contour line is, the less the extrusion amount is; then, according to the reduced extrusion ratio of all the inner filling lines of the adjacent contour, the extrusion ratio of the inner filling lines far away from the contour is adjusted.
2. A method for dynamically adjusting the internal filling extrusion amount of 3D printing according to claim 1, characterized in that: In step S21, the internal filling line is discretized into a point set, and the steps of dividing the internal filling line into multiple segments of internal filling lines close to the contour and internal filling lines far from the contour are as follows: S211: discretizing the internal filling lines into point sets according to the printing path, setting a minimum distance threshold from the discrete points to the contour lines, and dividing the internal filling lines into internal filling lines close to the contour and internal filling lines far from the contour according to the minimum distance threshold; S212: Obtain all discrete points of the fill lines inside the adjacent contours, and define a set of indexes of the discrete points of the fill lines inside the adjacent contours; S213: setting a class spacing for the index set, and grouping the index set using a density clustering method to obtain multiple groups of discrete index subsets of fill lines adjacent to the contour, wherein the index subsets are sequentially sorted according to the printing path; S214: obtaining one-to-one corresponding multiple discrete point subsets of adjacent contour internal filling lines through multiple index subsets, and connecting all discrete points in the group to obtain the corresponding adjacent contour internal filling line.
3. A method for dynamically adjusting the internal filling extrusion amount of 3D printing according to claim 2, characterized in that: In step S211, the line types of the internal fill lines include straight line type, arc type and spline type. The discrete points of the straight line type and arc type internal fill lines are uniformly sampled according to the distance, and the discrete points of the spline type internal fill lines dynamically adjust the sampling interval according to the shape characteristics of the curve.
4. The method for dynamically adjusting the internal filling extrusion amount of 3D printing according to claim 2, characterized in that: In step S211, the index sequence of each discrete point in the discrete point set is arranged in sequence according to the printing path order.
5. The method for dynamically adjusting the internal filling extrusion amount of 3D printing according to claim 1, characterized in that: In step S22, the extrusion ratio of each adjacent contour filling line is calculated according to the distance between the adjacent contour internal filling line and the contour line, and then the extrusion ratio of the consumable far from the contour internal filling line is adjusted according to the reduced extrusion ratio of all adjacent contour internal filling lines: S221: Calculate the average value of the minimum distances between the discrete points of each segment of the adjacent inner fill line and the contour line, and calculate the adjusted line width of each segment of the adjacent inner fill line according to the average value; S222: obtaining an adjusted extrusion ratio of each segment of the inner filling line of the adjacent contour according to a ratio of the adjusted line width of each segment of the inner filling line of the adjacent contour to the original line width; S223: Obtain the total length of the internal filling lines, the length of each segment of the internal filling lines adjacent to the contour and the corresponding extrusion ratio, and calculate the extrusion ratio of the internal filling lines away from the contour.
6. A method for dynamically adjusting the internal filling extrusion amount of 3D printing according to claim 5, characterized in that: In step S221, the width of the adjusted inner fill line adjacent to the contour is calculated by subtracting the width of the contour from twice the average distance of all discrete points of the inner fill line adjacent to the contour.
7. A method for dynamically adjusting the internal filling extrusion amount of 3D printing according to claim 6, characterized in that: In step S221, a minimum value is set for the adjusted line width of the adjacent contour internal fill line. When the calculated line width of the adjacent contour internal fill line is less than the minimum value, the minimum value is used as the line width of the adjacent contour internal fill line segment.
8. The method for dynamically adjusting the internal filling extrusion amount of 3D printing according to claim 5, characterized in that: In step S223, the adjusted extrusion ratio away from the inner filling line of the contour is calculated by subtracting the sum of the products of the lengths of each segment of the inner filling line adjacent to the contour and the corresponding extrusion ratios, divided by the length of the inner filling line away from the contour.
9. A device for implementing the method for dynamically adjusting the internal filling extrusion amount of 3D printing as described in any one of claims 1 to 8, characterized in that: include: A printing control module, used to control the printing nozzle to print the product according to the three-dimensional solid model; An acquisition module is used to acquire the contour line and internal filling line of each slice of the three-dimensional solid model; A calculation module, used for calculating the amount of consumables extruded by the printing nozzle to print the internal filling line according to the distance relationship between the internal filling line and the contour line; The storage module is used for storing the three-dimensional solid model.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, and when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the method for dynamically adjusting the internal filling extrusion amount of 3D printing according to any one of claims 1 to 8.
11. A 3D printer, characterized in that: It includes a device for dynamically adjusting the internal filling extrusion amount of 3D printing as described in claim 9.
