CN113085188B - Method and device for acquiring printing track line - Google Patents

Method and device for acquiring printing track line Download PDF

Info

Publication number
CN113085188B
CN113085188B CN202110357755.7A CN202110357755A CN113085188B CN 113085188 B CN113085188 B CN 113085188B CN 202110357755 A CN202110357755 A CN 202110357755A CN 113085188 B CN113085188 B CN 113085188B
Authority
CN
China
Prior art keywords
line
contour
contour line
layer
printing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110357755.7A
Other languages
Chinese (zh)
Other versions
CN113085188A (en
Inventor
张昱
周鸣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Coin Robotics Technology Co ltd
Original Assignee
Shanghai Coin Robotics Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Coin Robotics Technology Co ltd filed Critical Shanghai Coin Robotics Technology Co ltd
Priority to CN202110357755.7A priority Critical patent/CN113085188B/en
Publication of CN113085188A publication Critical patent/CN113085188A/en
Application granted granted Critical
Publication of CN113085188B publication Critical patent/CN113085188B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B29WORKING OF PLASTICS; WORKING OF SUBSTANCES IN A PLASTIC STATE IN GENERAL
    • B29CSHAPING OR JOINING OF PLASTICS; SHAPING OF MATERIAL IN A PLASTIC STATE, NOT OTHERWISE PROVIDED FOR; AFTER-TREATMENT OF THE SHAPED PRODUCTS, e.g. REPAIRING
    • B29C64/00Additive manufacturing, i.e. manufacturing of three-dimensional [3D] objects by additive deposition, additive agglomeration or additive layering, e.g. by 3D printing, stereolithography or selective laser sintering
    • B29C64/30Auxiliary operations or equipment
    • B29C64/386Data acquisition or data processing for additive manufacturing
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B29WORKING OF PLASTICS; WORKING OF SUBSTANCES IN A PLASTIC STATE IN GENERAL
    • B29CSHAPING OR JOINING OF PLASTICS; SHAPING OF MATERIAL IN A PLASTIC STATE, NOT OTHERWISE PROVIDED FOR; AFTER-TREATMENT OF THE SHAPED PRODUCTS, e.g. REPAIRING
    • B29C64/00Additive manufacturing, i.e. manufacturing of three-dimensional [3D] objects by additive deposition, additive agglomeration or additive layering, e.g. by 3D printing, stereolithography or selective laser sintering
    • B29C64/10Processes of additive manufacturing
    • B29C64/106Processes of additive manufacturing using only liquids or viscous materials, e.g. depositing a continuous bead of viscous material
    • B29C64/118Processes of additive manufacturing using only liquids or viscous materials, e.g. depositing a continuous bead of viscous material using filamentary material being melted, e.g. fused deposition modelling [FDM]
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B33ADDITIVE MANUFACTURING TECHNOLOGY
    • B33YADDITIVE MANUFACTURING, i.e. MANUFACTURING OF THREE-DIMENSIONAL [3-D] OBJECTS BY ADDITIVE DEPOSITION, ADDITIVE AGGLOMERATION OR ADDITIVE LAYERING, e.g. BY 3-D PRINTING, STEREOLITHOGRAPHY OR SELECTIVE LASER SINTERING
    • B33Y50/00Data acquisition or data processing for additive manufacturing

Landscapes

  • Chemical & Material Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Materials Engineering (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • Mechanical Engineering (AREA)
  • Optics & Photonics (AREA)

Abstract

The invention discloses a method and a device for acquiring a printing track line, wherein the method comprises the following steps: slicing and layering based on the printing model, and acquiring a first contour line of each layer; based on the first contour lines, acquiring first joint points which are used for being connected with the adjacent first contour lines on each first contour line; acquiring a second contour line of each layered printing layer height based on the first contour line and the first joint point, wherein the second contour line is an open fold line; connecting the second contour lines between two adjacent layers, thereby obtaining a continuous printing track line. The invention effectively solves the technical problems that in the prior art, because the diameter of the neck mold of the printing nozzle of the granule printer is larger, the bulge formed by accumulated material of the layer changing point is larger, so that the quality of the printed product and the printing work of the printing head are influenced, and the beneficial effects that the layer changing point of the printed product has no accumulated material, the surface is not rough, the quality is good, and the head collision in the printing process can not be caused are realized.

Description

Method and device for acquiring printing track line
Technical Field
The invention relates to the field of 3D printing, in particular to a method and a device for acquiring a printing track line.
Background
In Fused Deposition Modeling (FDM) technology, there are layer change points in the 3D printing process, and usually, the nozzle jumps to the starting point of the N +1 th layer after the nth layer trace is completed, and the ending point of the nth layer and the starting point of the N +1 th layer are the layer change points. Due to the continuity of the extrusion of the plastic by the print head, the printing of the layer change dots leaves a portion of the plastic due to the internal pressure rise of the print head, these small protrusions being called seam dots.
In desktop wire printing technology, there are several methods to process the seam point on the model: 1) moving the joint point to the sharp position of the model, so that the smooth position of the printed model is kept smooth, and small protrusions at the sharp position cannot be seen; 2) randomly distributing the seam points of each layer, so that the seam lines connected by the seam points cannot be obviously seen on the model; 3) a point is set so that the seam of each layer is as close as possible to this point, in principle the same as method 1).
Large-scale components (such as components used in the building field) need to be printed in 3D by using large-scale granular 3D printing equipment (granular printer), and the printing size of desktop 3D printing equipment (desktop machine) used for desktop wire printing cannot meet the requirement. The most obvious difference of the granular printer and the desktop machine in terms of hardware is that the diameter of a die of a printing nozzle, the printing line width and the printing layer thickness of the granular printer are obviously higher than the printing parameters of the desktop machine, and similarly, the printing defects (including seam points) are also far higher than the size of the desktop machine. In a table top machine, the projection of the joint point may be within 0.2mm, which does not affect printing, but in a pellet printer, the projection may reach 1-2mm, which may collide with a printing head, and therefore, the joint point problem cannot be solved by the above method 1)2) 3).
Therefore, in the process of implementing the technical solution in the embodiment of the present application, the inventor of the present application finds that the above technology has at least the following technical problems:
in the prior art, because the diameter of a neck mold of a printing nozzle of the granule printer is larger, a bulge formed by layer changing point accumulation materials is larger, and the quality of a printed product and the printing work of a printing head are influenced.
Disclosure of Invention
The embodiment of the application provides a method and a device for acquiring a printing track line, and solves the technical problems that in the prior art, due to the fact that the diameter of a neck mold of a printing nozzle of a granular material printer is large, a bulge formed by layer changing and dot accumulation is large, and therefore the quality of a printed product and the printing work of a printing head are affected.
In order to solve the above problem, in a first aspect, an embodiment of the present application provides a method for acquiring a print trajectory line, where the method includes:
slicing and layering based on the printing model, and acquiring a first contour line of each layer;
based on the first contour lines, acquiring first joint points which are used for being connected with the adjacent first contour lines on each first contour line;
acquiring a second contour line of the printing layer height of each layer based on the first contour line and the first joint point, wherein the second contour line is an open fold line;
connecting the second contour lines between two adjacent sub-layers, thereby obtaining a continuous printing track line.
Further, the slicing and layering based on the printing model, and the obtaining of the first contour line of each layer specifically includes:
slicing and layering the printing model along the Z-axis direction of the printing model to obtain a plurality of layers;
and extracting the first contour line of which the distance along the Z-axis direction is the printing layer height of each layer, wherein the first contour line is a closed fold line.
Further, based on the first contour lines, obtaining first joint points on each first contour line, which are used for connecting the adjacent first contour lines, specifically includes:
acquiring the projection of each second joint point on the first contour line on an XY plane;
and based on the projection, extracting a second joint point with the shortest distance between the projection and the adjacent first contour line as the first joint point.
Further, based on the first contour line and the joint point, a second contour line of each layered printing layer height is obtained, and the second contour line is an open curve specifically including:
moving the first joint point along the first contour line where the first joint point is located by a distance L1 in a first direction to obtain a starting point P1;
moving the first joint point along the first contour line where the first joint point is located by a distance L1 in a second direction to obtain an end point P2;
and removing the line segment from the starting point P1 to the end point P2 on the first contour line to obtain the open second contour line.
Further, the connecting the second contour line between two adjacent layers to obtain the continuous printing track line specifically includes:
and smoothly connecting the second contour lines of two adjacent layers by using first connecting lines, wherein the first connecting lines form layer changing lines of the two adjacent layers, and the second contour lines and the layer changing lines of each layer form continuous printing track lines.
Furthermore, the printing model includes a lattice, and the second contour line connecting two adjacent layers is obtained by connecting the two adjacent layers, and the continuous printing track line is specifically:
connecting the second contour lines of two adjacent layers by using a first connecting line in an optical smooth manner, wherein the first connecting line forms layer changing lines of the two adjacent layers;
acquiring a first lattice trajectory of each layer and a third joint point and a fourth joint point which are connected with two ends of a second contour line of the same layer, wherein the first lattice trajectory is positioned in the same layer;
obtaining a second lattice trajectory based on the first lattice trajectory, the third joint point, and the fourth joint point;
two ends of the second lattice trajectory line are respectively and sequentially connected with two ends of the second contour line positioned on the same layer through second connecting lines;
the second lattice trace line, the second connecting line, the second contour line, and the layer change line form the continuous print trace line.
Further, the first connecting line and the second connecting line are both a nurbs curve.
In a second aspect, an embodiment of the present application further provides an apparatus for acquiring a print trajectory line, where the apparatus includes:
the first acquisition unit is used for slicing and layering based on a printing model and acquiring a first contour line of each layer;
a second obtaining unit, configured to obtain, based on the first contour lines, first seam points on each of the first contour lines, where the first seam points are used to be connected to adjacent first contour lines;
a third obtaining unit configured to obtain, based on the first contour line and the first seam point, a second contour line of each of the layered printing layer heights, the second contour line being an open folding line;
a first connecting unit for connecting the second contour lines between two adjacent layers, thereby obtaining the continuous printing track line.
In a third aspect, an embodiment of the present application further provides an apparatus for acquiring a print trajectory line, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the program to implement the following steps:
slicing and layering based on the printing model, and acquiring a first contour line of each layer;
based on the first contour lines, acquiring first joint points which are used for being connected with the adjacent first contour lines on each first contour line;
acquiring a second contour line of the printing layer height of each layer based on the first contour line and the first joint point, wherein the second contour line is an open fold line;
connecting the second contour lines between two adjacent sub-layers, thereby obtaining a continuous printing track line.
In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the following steps:
slicing and layering based on the printing model, and acquiring a first contour line of each layer;
based on the first contour lines, acquiring first joint points which are used for being connected with the adjacent first contour lines on each first contour line;
acquiring a second contour line of the printing layer height of each layer based on the first contour line and the first joint point, wherein the second contour line is an open fold line;
connecting the second contour lines between two adjacent sub-layers, thereby obtaining a continuous printing track line.
One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
according to the embodiment of the application, the printing model is based on slice layering, and a first contour line of each layer is obtained; based on the first contour lines, acquiring first joint points which are used for being connected with the adjacent first contour lines on each first contour line; acquiring a second contour line of each layered printing layer height based on the first contour line and the first seam point, wherein the second contour line is an open fold line; the second contour line is connected between every two adjacent layers, a layer changing line is formed between every two adjacent layers, the layer changing line and the second contour line form a continuous printing track line, and the layer changing line guides the particle printer to change layers in a printing state, so that the particle printer continuously prints along the printing track line, the printing extrusion continuity can be guaranteed, small protrusions cannot be formed on the surface of a model, the technical problems that in the prior art, due to the fact that the diameter of a port mold of a printing nozzle of the particle printer is large, protrusions formed by accumulated material of layer changing points are large, the quality of a printed product and the printing work of a printing head are affected are effectively solved, and the advantages that no accumulated material of the layer changing points of the printed product is produced, the surface is not rough, the quality is good, and head collision in the printing process cannot be caused are achieved.
Drawings
FIG. 1 is a flowchart illustrating a method for acquiring a printed trace line according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a structure of an apparatus for acquiring a printed trace line according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of another exemplary apparatus for obtaining a printed trace line according to the present invention.
Description of reference numerals: a first obtaining unit 11, a second obtaining unit 12, a third obtaining unit 13, a first connecting unit 14, a bus 300, a receiver 301, a processor 302, a transmitter 303, a memory 304, and a bus interface 306.
Detailed Description
The embodiment of the application provides a method and a device for acquiring a printing track line, and solves the technical problems that in the prior art, due to the fact that the diameter of a neck mold of a printing nozzle of a granular material printer is large, a bulge formed by layer changing and dot accumulation is large, and therefore the quality of a printed product and the printing work of a printing head are affected.
In order to solve the technical problem of the crosstalk, the technical solution in the embodiment of the present application generally considers the following:
obtaining a first contour line of each layer through slicing and layering based on a printing model; acquiring a first joint point which is used for connecting each first contour line with the adjacent first contour line on the basis of the first contour lines; acquiring a second contour line of each layered printing layer height based on the first contour line and the first joint point, wherein the second contour line is an open fold line; the second contour line is connected between the two adjacent layers, the layer changing line is formed between the two adjacent layers, the layer changing line and the second contour line form a continuous printing track line, and the layer changing line guides the particle printer to change layers in a printing state, so that the particle printer continuously prints along the printing track line, the printing extrusion continuity can be ensured, small protrusions cannot be formed on the surface of a model, the technical problem that in the prior art, due to the fact that the diameter of a neck mold of a printing nozzle of the particle printer is large, the protrusions formed by accumulated material of layer changing points are large, the quality of printed products and the printing work of a printing head are affected is effectively solved, and the beneficial effects that no accumulated material of the layer changing points of the printed products, the surface is not rough, the quality is good, and head collision in the printing process cannot be caused are achieved.
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
Example one
Fig. 1 is a schematic flow chart of a method for acquiring a print trace line according to an embodiment of the present invention, as shown in fig. 1, the method includes:
step 110: slicing and layering based on the printing model, and acquiring a first contour line of each layer;
further, the step 110 specifically includes:
step 111: slicing and layering the printing model along the Z-axis direction of the printing model to obtain a plurality of layers;
step 112: and extracting the first contour line of which the distance along the Z-axis direction is the printing layer height of each layer, wherein the first contour line is a closed fold line.
Specifically, in the graph algorithm, a closed curve also has a joint point, and if a broken line segment is used to describe a closed curve, the first point and the last point of the broken line segment are overlapped, and the point is the joint point of the curve.
Step 120: based on the first contour lines, acquiring first joint points which are used for being connected with the adjacent first contour lines on each first contour line;
further, the step 120 specifically includes:
step 121: acquiring the projection of each second joint point on the first contour line on an XY plane;
step 122: and based on the projection, extracting a second joint point with the shortest distance between the projection and the adjacent first contour line as the first joint point.
Specifically, the first contour line is a closed polygonal line, a plurality of second joint points are arranged on the first contour line, each second joint point is projected onto an XY plane, and the second joint point projected to the adjacent first contour line with the shortest distance is selected as the first joint point.
Further, the first joint point is a smooth point.
In particular, whether the first joint point is
The judgment method of the smooth point comprises the following steps: sequentially calculating the curvature of each second joint point with the distance from short to long projected to the adjacent first contour lines, namely calculating the angle difference between the vector of the second joint point on the first contour line and the vector of the second joint point on the first contour line, wherein if the angle difference is greater than 45 degrees, the second joint point is considered not to be a smooth point; if the angle difference is less than or equal to 45 degrees, the second joint point is considered to be a smooth point, and the distance between the projection of the smooth second joint point and the adjacent first contour line is shortest, the second joint point is taken as the first joint point.
In addition, the first joint point is not required to be placed at a remarkable position of the surface of the printing model (such as a sharp corner of the model), and the printing spray head is prevented from decelerating to bring about material accumulation at the remarkable position of the surface.
Step 130: acquiring a second contour line of each layered printing layer height based on the first contour line and the first joint point, wherein the second contour line is an open fold line;
further, the step 130 specifically includes:
step 131: moving forward (in a direction consistent with the printing direction) from the first joint point along the first contour line where the first joint point is located by a distance L1 to obtain a starting point P1, wherein the length of the first contour line is L2, and
Figure BDA0003004172020000091
step 132: moving a distance L1 from the first joint point along the first contour line where the first joint point is located in a second direction (a direction opposite to the printing direction), obtaining an end point P2;
step 133: and removing a line segment with the length of 2L1 from a starting point P1 to an end point P2 on the first contour line to obtain the open second contour line.
Specifically, the second contour line has a starting point P1 and an ending point P2.
Step 140: connecting the second contour lines between two adjacent layers, thereby obtaining a continuous printing track line.
Further, the step 140 specifically includes: connecting the second contour lines of two adjacent layers by using a first connecting line, wherein the first connecting line forms layer changing lines of the two adjacent layers, and the second contour lines and the layer changing lines of each layer form continuous printing track lines, namely:
connecting a start point P1 of the second contour line at an nth layer and an end point P2 of the second contour line at an N +1 th layer with a nurbs (non-uniform rational spline) curve fairing, the nurbs curve between the start point P1 of the nth layer and the end point P2 of the N +1 th layer constituting a layer change line between the nth layer and the N +1 th layer, the second contour line and the layer change line of each layer forming a continuous print track line, wherein: n is more than or equal to 1 and is a positive integer.
According to the embodiment of the application, the first contour lines of all layers are obtained through slicing and layering based on the printing model; based on the first contour lines, acquiring first joint points which are used for being connected with the adjacent first contour lines on each first contour line; acquiring a second contour line of the printing layer height of each layer based on the first contour line and the first seam point, wherein the second contour line is an open fold line; the second contour line is connected between two adjacent layers, a layer changing line is formed between the two adjacent layers, the layer changing line and the second contour line form a continuous printing track line, the layer changing line guides the particle printer to change layers in a printing state, so that the particle printer continuously prints along the printing track line, the printing extrusion continuity can be ensured, small protrusions cannot be formed on the surface of a model, the technical problem that in the prior art, the quality of a printed product and the printing work of a printing head are influenced due to the fact that the diameter of a neck mold of a printing nozzle of the particle printer is large, the protrusions formed by the accumulated materials of layer changing points are large is effectively solved, and the beneficial effects that no accumulated materials exist in the layer changing points of the printed product, the surface is not rough, the quality is good, and the head (the printer nozzle) is collided in the printing process are achieved.
Example two
Based on the same inventive concept as the method for acquiring the printed trace line in the first embodiment, the invention further provides a method for acquiring the printed trace line.
The difference between this embodiment and the first embodiment is: since the printing model includes a lattice, the step 140 specifically includes:
step 141: connecting the second contour lines of two adjacent layers smoothly by using a first connecting line, wherein the first connecting line is a nurbs (non-uniform rational spline) curve, and the first connecting line forms layer changing lines of two adjacent layers;
step 142: acquiring a first lattice trajectory line of each layer and a third joint point and a fourth joint point which are connected with two ends of a second contour line of the same layer, wherein the first lattice trajectory line of each layer and the third joint point and the fourth joint point are used for being positioned at two ends of the second contour line of the same layer;
specifically, the third joint point and the fourth joint point are smooth points closest to the starting point P1 and the ending point P2 of the second contour line, respectively, and the method for determining the closest and smooth points is the same as the step 120 in the first embodiment, that is:
the first lattice trajectory line is an open broken line, a plurality of fifth joint points are arranged on the first lattice trajectory line, each fifth joint point is projected onto an XY plane, and two smooth fifth joint points with the shortest distance between a starting point P1 and an end point P2 of a second contour line in the same layer are selected as the third joint point and the fourth joint point.
The method for judging whether the fifth joint point is a smooth point comprises the following steps: sequentially calculating the curvatures of the fifth joint points with the short-to-long distances between the starting point P1 and the end point P2 of the second contour line in the same layer, namely calculating the angle difference between the vector of the fifth joint point on the first lattice trajectory line and the vector of the adjacent fifth joint point, and if the angle difference is more than 45 degrees, determining that the fifth joint point is not a smooth point; if the angle difference is less than or equal to 45 degrees, the fifth joint point is considered to be a smooth point.
Step 143: obtaining a second lattice trajectory based on the first lattice trajectory, the third joint point, and the fourth joint point;
specifically, the first lattice trajectory line is an open folding line, a folding line located outside the third joint point and the fourth joint point on the first lattice trajectory line is cut off, and a folding line located between the third joint point and the fourth joint point on the first lattice trajectory line is the second lattice trajectory line.
Step 144: two ends of the second lattice trajectory line are respectively and sequentially connected with two ends of the second contour line positioned in the same layer through second connecting lines; specifically, the second connecting line is a nurbs (non-uniform rational spline) curve.
The second lattice trace line, the second connecting line, the second contour line, and the layer change line form the continuous print trace line.
EXAMPLE III
Based on the same inventive concept as the method for acquiring the printed trace line in the first embodiment, the present invention further provides an apparatus for acquiring the printed trace line, as shown in fig. 2, the apparatus comprising:
a first obtaining unit 11, where the first obtaining unit 11 is configured to obtain a first contour line of each layer based on printing model slice layering;
a second obtaining unit 12, where the second obtaining unit 12 is configured to obtain, based on the first contour lines, first seam points on each first contour line, where the first seam points are used to be connected to adjacent first contour lines;
a third obtaining unit 13, where the third obtaining unit 13 is configured to obtain a second contour line of each of the layered printing layer heights based on the first contour line and the first seam point, and the second contour line is an open folding line;
a first connecting unit 14, wherein the first connecting unit 14 is used for connecting the second contour line between two adjacent layers, so as to obtain the continuous printing track line.
Preferably, the first obtaining unit 11 includes:
a fourth obtaining unit, configured to layer the printing model slices along a Z-axis direction of the printing model to obtain a plurality of layers;
the first extracting unit is used for extracting a first contour line of which the distance of each layer in the Z-axis direction is the printing layer height of each layer, and the first contour line is a closed folding line.
Preferably, the second obtaining unit 12 includes:
a fifth acquiring unit, configured to acquire projections of the second joint points on the first contour line on an XY plane;
and the second extraction unit is used for extracting a second joint point with the shortest distance between the projection and the adjacent first contour line as the first joint point based on the projection.
Preferably, the third obtaining unit 13 includes:
a sixth obtaining unit, configured to move a distance L1 in a first direction from the first seam point along the first contour line where the first seam point is located, to obtain a starting point P1;
a seventh obtaining unit, configured to move a distance L1 in a second direction from the first joint point along the first contour line where the first joint point is located, to obtain an end point P2;
an eighth obtaining unit, configured to remove a line segment from a starting point P1 to an ending point P2 on the first contour line, and obtain the second contour line that is open.
The length of the first contour line is L2, and L2 is not less than 4L 1.
Preferably, the first connection unit 14 includes:
and the ninth acquisition unit is used for connecting the two adjacent layered second contour lines in an optical-smooth manner by using a first connecting line, and the first connecting line forms two adjacent layered layer-changing lines.
Example four
Based on the same inventive concept as the method for acquiring the printed trace line in the third embodiment, the invention also provides an acquiring device of the printed trace line.
The present embodiment is different from the third embodiment in that the first connecting unit 14 further includes:
a tenth acquiring unit, configured to acquire the first lattice trajectory line of each hierarchical layer, and a third joint point and a fourth joint point that are connected to two ends of a second contour line located in the same hierarchical layer as the first lattice trajectory line;
an eleventh obtaining unit configured to obtain a second lattice trajectory line based on the first lattice trajectory line, the third joint point, and the fourth joint point;
and the second connecting unit is used for respectively and sequentially connecting the two ends of the second crystal grid track line and the two ends of the second contour line positioned on the same layer through a second connecting line, and the second crystal grid track line, the second connecting line, the second contour line and the layer changing line form a continuous printing track line.
Various changes and specific examples of the method for acquiring a printed trace line in the first and second embodiments are also applicable to the apparatus for acquiring a printed trace line in the present embodiment, and a person skilled in the art can clearly know the method for implementing the apparatus for acquiring a printed trace line in the present embodiment through the foregoing detailed description of the method for acquiring a printed trace line, so that the detailed description is omitted here for brevity.
EXAMPLE five
Based on the same inventive concept as the method for acquiring a printed trace line in the foregoing embodiment, the present invention also provides an apparatus for acquiring a printed trace line, on which a computer program is stored, which when executed by a processor implements the steps of any one of the methods for acquiring a printed trace line described above.
Where in fig. 3 a bus architecture (represented by bus 300) is shown, bus 300 may include any number of interconnected buses and bridges, with bus 300 linking various circuits including one or more processors, represented by processor 302, and memory, represented by memory 304. The bus 300 may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface 306 provides an interface between the bus 300 and the receiver 301 and transmitter 303. The receiver 301 and the transmitter 303 may be the same element, i.e., a transceiver, providing a means for communicating with various other apparatus over a transmission medium.
The processor 302 is responsible for managing the bus 300 and general processing, and the memory 304 may be used for storing data used by the processor 302 in performing operations.
EXAMPLE six
Based on the same inventive concept as the method for acquiring a print trajectory line in the foregoing embodiment, the present invention also provides a computer-readable storage medium having a computer program stored thereon, the program, when executed by a processor, implementing the steps of:
slicing and layering based on the printing model, and acquiring a first contour line of each layer; based on the first contour lines, acquiring first joint points which are used for being connected with the adjacent first contour lines on each first contour line; acquiring a second contour line of each layered printing layer height based on the first contour line and the first joint point, wherein the second contour line is an open fold line; connecting the second contour lines between two adjacent layers, thereby obtaining a continuous printing track line.
In a specific implementation, when the program is executed by a processor, any method step in the first embodiment may be further implemented.
The technical scheme in the embodiment of the application at least has the following technical effects or advantages:
according to the embodiment of the application, the first contour lines of all layers are obtained through slicing and layering based on the printing model; based on the first contour lines, acquiring first joint points which are used for being connected with the adjacent first contour lines on each first contour line; acquiring a second contour line of each layered printing layer height based on the first contour line and the first seam point, wherein the second contour line is an open fold line; the second contour line is connected between every two adjacent layers, a layer changing line is formed between every two adjacent layers, the layer changing line and the second contour line form a continuous printing track line, and the layer changing line guides the particle printer to change layers in a printing state, so that the particle printer continuously prints along the printing track line, the printing extrusion continuity can be guaranteed, small protrusions cannot be formed on the surface of a model, the technical problems that in the prior art, due to the fact that the diameter of a port mold of a printing nozzle of the particle printer is large, protrusions formed by accumulated material of layer changing points are large, the quality of a printed product and the printing work of a printing head are affected are effectively solved, and the advantages that no accumulated material of the layer changing points of the printed product is produced, the surface is not rough, the quality is good, and head collision in the printing process cannot be caused are achieved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

Claims (7)

1. A method for acquiring a print trajectory line, the method comprising:
slicing and layering based on the printing model, and acquiring a first contour line of each layer;
based on the first contour lines, acquiring first joint points which are used for being connected with the adjacent first contour lines on each first contour line;
acquiring a second contour line of each layered printing layer height based on the first contour line and the first joint point, wherein the second contour line is an open fold line;
connecting the second contour lines between two adjacent sub-layers, thereby obtaining a continuous printing track line;
the slice layering based on the printing model, and the obtaining of the first contour line of each layer specifically comprises:
slicing and layering the printing model along the Z-axis direction of the printing model to obtain a plurality of layers;
extracting the distance of each layer along the Z-axis direction as the printing layer height of each layer, namely the first contour line which is a closed fold line;
based on the first contour lines, the step of obtaining first joint points on the first contour lines, which are used for being connected with the adjacent first contour lines, specifically comprises the following steps:
acquiring the projection of each second joint point on the first contour line on an XY plane;
based on the projection, extracting a second joint point with the shortest distance between the projection and the adjacent first contour line as the first joint point;
wherein, based on first outline with first seam point, acquire each the second outline of layering's printing layer height, just the second outline is the open broken line specifically does:
moving the first joint point along the first contour line where the first joint point is located by a distance L1 in a first direction to obtain a starting point P1;
moving the first joint point along the first contour line where the first joint point is located by a distance L1 in a second direction to obtain an end point P2;
and removing the line segment from the starting point P1 to the end point P2 on the first contour line to obtain the open second contour line.
2. The method for obtaining a printed trace according to claim 1, wherein the step of connecting the second contour lines between two adjacent layers to obtain a continuous printed trace is specifically as follows:
and connecting the second contour lines of two adjacent layers by using a first connecting line, wherein the first connecting line forms layer changing lines of the two adjacent layers, and the second contour lines and the layer changing lines of each layer form continuous printing track lines.
3. The method according to claim 1, wherein the printing model comprises a lattice, and the second contour lines connecting two adjacent layers are connected to obtain the continuous printing traces, specifically:
connecting the second contour lines of two adjacent layers by using a first connecting line;
acquiring a first lattice trajectory line of each layer and a third joint point and a fourth joint point which are used for connecting two ends of a second contour line of the same layer with the first lattice trajectory line;
obtaining a second lattice trajectory based on the first lattice trajectory, the third joint point, and the fourth joint point;
two ends of the second crystal lattice trajectory line are respectively and sequentially connected with two ends of the second contour line positioned on the same layer through second connecting lines;
the second lattice trace line, the second connecting line, the second contour line, and the layer change line form the continuous printing trace line.
4. The method for acquiring a print trajectory line according to claim 3, wherein the first connection line and the second connection line are both nurbs curves.
5. An acquisition device of a printed trajectory line, characterized in that it comprises:
a first acquisition unit, configured to acquire a first contour line of each layer based on a print model slice layer;
a second obtaining unit, configured to obtain, based on the first contour lines, first seam points on each of the first contour lines, where the first seam points are used to be connected to adjacent first contour lines;
a third obtaining unit, configured to obtain, based on the first contour line and the first seam point, a second contour line of each of the layered printing heights, where the second contour line is an open folding line;
a first connecting unit for connecting the second contour lines between two adjacent divided layers to obtain a continuous printing track line;
the slice layering based on the printing model, and the obtaining of the first contour line of each layer specifically comprises:
slicing and layering the printing model along the Z-axis direction of the printing model to obtain a plurality of layers;
extracting the distance of each layer along the Z-axis direction as the printing layer height of each layer, namely the first contour line which is a closed fold line;
based on the first contour lines, the step of obtaining first joint points on the first contour lines, which are used for being connected with the adjacent first contour lines, specifically comprises the following steps:
acquiring the projection of each second joint point on the first contour line on an XY plane;
based on the projection, extracting a second joint point with the shortest distance between the projection and the adjacent first contour line as the first joint point;
based on the first contour line and the first joint point, acquiring a second contour line of each layered printing layer height, wherein the second contour line is an open fold line and specifically comprises:
moving the first joint point along the first contour line where the first joint point is located by a distance L1 in a first direction to obtain a starting point P1;
moving the first joint point along the first contour line where the first joint point is located by a distance L1 in a second direction to obtain a terminal point P2;
and removing the line segment from the starting point P1 to the end point P2 on the first contour line to obtain the open second contour line.
6. An apparatus for obtaining a printed trace line, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to perform the steps of:
slicing and layering based on the printing model, and acquiring a first contour line of each layer;
based on the first contour lines, acquiring first joint points which are used for being connected with the adjacent first contour lines on each first contour line;
acquiring a second contour line of each layered printing layer height based on the first contour line and the first joint point, wherein the second contour line is an open fold line;
connecting the second contour lines between two adjacent sub-layers, thereby obtaining a continuous printing track line;
the slice layering based on the printing model, and the obtaining of the first contour line of each layer specifically comprises:
slicing and layering the printing model along the Z-axis direction of the printing model to obtain a plurality of layers;
extracting the distance of each layer along the Z-axis direction as the printing layer height of each layer, namely the first contour line which is a closed fold line;
based on the first contour lines, acquiring first joint points on the first contour lines, which are used for being connected with the adjacent first contour lines, specifically comprises the following steps:
acquiring the projection of each second joint point on the first contour line on an XY plane;
based on the projection, extracting a second joint point with the shortest distance between the projection and the adjacent first contour line as the first joint point;
based on the first contour line and the first joint point, acquiring a second contour line of each layered printing layer height, wherein the second contour line is an open fold line and specifically comprises:
moving the first joint point along the first contour line where the first joint point is located by a distance L1 in a first direction to obtain a starting point P1;
moving the first joint point along the first contour line where the first joint point is located by a distance L1 in a second direction to obtain an end point P2;
removing the line segment from the starting point P1 to the ending point P2 on the first contour line to obtain the open second contour line.
7. A computer-readable storage medium, on which a computer program is stored, which program, when executed by a processor, carries out the steps of:
slicing and layering based on the printing model, and acquiring a first contour line of each layer;
based on the first contour lines, acquiring first joint points which are used for being connected with the adjacent first contour lines on each first contour line;
acquiring a second contour line of the printing layer height of each layer based on the first contour line and the first joint point, wherein the second contour line is an open folding line;
connecting the second contour lines between two adjacent sub-layers, thereby obtaining a continuous printing track line;
the slice layering based on the printing model, and the obtaining of the first contour line of each layer specifically comprises:
slicing and layering the printing model along the Z-axis direction of the printing model to obtain a plurality of layers;
extracting the distance of each layer along the Z-axis direction as the printing layer height of each layer, namely the first contour line which is a closed broken line;
based on the first contour lines, the step of obtaining first joint points on the first contour lines, which are used for being connected with the adjacent first contour lines, specifically comprises the following steps:
acquiring the projection of each second joint point on the first contour line on an XY plane;
based on the projection, extracting a second joint point with the shortest distance between the projection and the adjacent first contour line as the first joint point;
based on the first contour line and the first joint point, acquiring a second contour line of each layered printing layer height, wherein the second contour line is an open fold line and specifically comprises:
moving the first joint point along the first contour line where the first joint point is located by a distance L1 in a first direction to obtain a starting point P1;
moving the first joint point along the first contour line where the first joint point is located by a distance L1 in a second direction to obtain an end point P2;
removing the line segment from the starting point P1 to the ending point P2 on the first contour line to obtain the open second contour line.
CN202110357755.7A 2021-04-01 2021-04-01 Method and device for acquiring printing track line Active CN113085188B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110357755.7A CN113085188B (en) 2021-04-01 2021-04-01 Method and device for acquiring printing track line

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110357755.7A CN113085188B (en) 2021-04-01 2021-04-01 Method and device for acquiring printing track line

Publications (2)

Publication Number Publication Date
CN113085188A CN113085188A (en) 2021-07-09
CN113085188B true CN113085188B (en) 2022-09-13

Family

ID=76672714

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110357755.7A Active CN113085188B (en) 2021-04-01 2021-04-01 Method and device for acquiring printing track line

Country Status (1)

Country Link
CN (1) CN113085188B (en)

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017080951A1 (en) * 2015-11-09 2017-05-18 Philips Lighting Holding B.V. 3d printing of objects with optical functional surfaces
CN107498851B (en) * 2017-07-26 2019-01-08 江苏威宝仕科技有限公司 A kind of seam hidden method of FDM3D printer model
CN110962337B (en) * 2019-12-17 2021-11-26 上海酷鹰机器人科技有限公司 Method for improving strength between walls in ultra-large fused deposition 3D printing
CN111113887A (en) * 2020-01-18 2020-05-08 上海酷鹰机器人科技有限公司 Trajectory planning method for improving strength between walls of fused deposition 3D printing component
CN111231307A (en) * 2020-01-18 2020-06-05 上海酷鹰机器人科技有限公司 Method for smoothening track light through different positioning modes
CN111347668A (en) * 2020-03-06 2020-06-30 上海酷鹰机器人科技有限公司 Method and device for acquiring printing time of 3D printer and 3D printer
CN111319254A (en) * 2020-03-06 2020-06-23 上海酷鹰机器人科技有限公司 Method for improving compactness of 3D printing corner
CN111319255A (en) * 2020-03-06 2020-06-23 上海酷鹰机器人科技有限公司 Processing method for 3D printing sharp track
CN112356438A (en) * 2020-10-16 2021-02-12 西安工程大学 Preparation method of 1+1 rib knitted fabric based on 3D printing

Also Published As

Publication number Publication date
CN113085188A (en) 2021-07-09

Similar Documents

Publication Publication Date Title
US10061301B2 (en) Toolpath planning process for conductive materials
CN108058387B (en) Planning method of FDM printing path
EP1785261A1 (en) Multihead composite material application machine programming method and apparatus
CN111037917B (en) FDM printing method, system and medium based on model splitting and splicing printing
JP6783878B2 (en) Inkjet position adjustment method and 3D printing equipment
TWI556946B (en) Three dimensional printing apparatus and method for controlling printing head thereof
CN112036041B (en) Comprehensive compensation method for STL model permeation error in 3DP process
CN113021873B (en) Three-dimensional printing method and device, computer equipment and storage medium
CN111002580B (en) 3D printing path filling method improved based on Hilbert curve
CN113715338B (en) Slicing method, printing method and related equipment of three-dimensional model
CN111319255A (en) Processing method for 3D printing sharp track
CN113085188B (en) Method and device for acquiring printing track line
Li et al. Geodesic distance field-based curved layer volume decomposition for multi-axis support-free printing
CN107403469B (en) Self-adaptive scanning speed method for improving bevel forming quality
KR102187223B1 (en) Inkjet width adjustment method and three-dimensional printing equipment
US20210023794A1 (en) Slicing method for horizontal facets of color 3d object
CN112743040B (en) 3D printing method, printer and storage medium
US20170151716A1 (en) Three dimensional printing method and apparatus using the same
Doherty et al. Selective directional reinforcement of structures for multi-axis additive manufacturing
US10384392B2 (en) Three-dimensional printing method
US11883881B2 (en) System and method for operating a material drop ejecting three-dimensional (3D) object printer to prevent quantization error in perimeters of a three-dimensional printed object
CN109719952B (en) Rapid slicing processing method for ink-jet printing of array nozzle
CN111231307A (en) Method for smoothening track light through different positioning modes
TWI716704B (en) Inkjet width adjustment method and three-dimensional printing equiment
TWI716703B (en) Inkjet position adjustment method and three-dimensional printing equiment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant