CN114228133B - Outer wall speed adjusting method, system, device and medium for 3D printing - Google Patents

Outer wall speed adjusting method, system, device and medium for 3D printing Download PDF

Info

Publication number
CN114228133B
CN114228133B CN202111299887.5A CN202111299887A CN114228133B CN 114228133 B CN114228133 B CN 114228133B CN 202111299887 A CN202111299887 A CN 202111299887A CN 114228133 B CN114228133 B CN 114228133B
Authority
CN
China
Prior art keywords
wall
speed
printing
source file
code source
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
CN202111299887.5A
Other languages
Chinese (zh)
Other versions
CN114228133A (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.)
South China University of Technology SCUT
Original Assignee
South China University of Technology SCUT
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 South China University of Technology SCUT filed Critical South China University of Technology SCUT
Priority to CN202111299887.5A priority Critical patent/CN114228133B/en
Publication of CN114228133A publication Critical patent/CN114228133A/en
Application granted granted Critical
Publication of CN114228133B publication Critical patent/CN114228133B/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/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
    • 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/30Auxiliary operations or equipment
    • B29C64/386Data acquisition or data processing for additive manufacturing
    • B29C64/393Data acquisition or data processing for additive manufacturing for controlling or regulating additive manufacturing processes
    • 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
    • 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
    • B33Y50/02Data acquisition or data processing for additive manufacturing for controlling or regulating additive manufacturing processes

Abstract

The invention discloses a method, a system, a device and a medium for adjusting the speed of an outer wall of 3D printing, wherein the method comprises the following steps: obtaining model data of an object, and slicing and path planning the model data by adopting slicing software to obtain a G code source file; reading the G code source file, identifying different printing layers according to an identification head, acquiring the outer wall speed of each printing layer, and modifying and storing the numerical value of the outer wall speed; and traversing all printing layers in the G code source file to obtain a new G code source file. The invention provides a method for realizing the regulation and control of printing speed by modifying a speed parameter mode related to a 3D printing G code file after a replacement slice is exported according to a self-adaptive printing speed value of each layer so as to ensure the requirements of workpiece printing precision and efficiency. The invention can be widely applied to the technical field of 3D printing.

Description

Outer wall speed adjusting method, system, device and medium for 3D printing
Technical Field
The invention relates to the technical field of 3D printing, in particular to a method, a system, a device and a medium for adjusting the speed of an outer wall of 3D printing.
Background
The 3D printing technology, also called additive manufacturing technology, is a technology that integrates three technologies, namely CAD technology, computer graphics knowledge, and mechanical numerical control technology. The digital model is used as a manufacturing basis, different materials such as metal, plastic and the like are used, and a final finished piece is formed by printing layer by layer in an additive manufacturing mode. In the open source marlin firmware, once the printing speed is set in the slicing software, the printing speed of all printing layers is kept constant in the generated G code file, and dynamic adjustment cannot be performed according to the optimization requirement of each layer of printing speed during actual workpiece printing. The failure to adjust the printing speed of each layer brings the following defects: firstly, the difference of curve changes of the outer contour of each layer of the part is neglected by the fixed printing speed, and different tiny characteristics are generated during printing; secondly, each curve corner has a repeated deposition area and a missing deposition area, and the printing precision and the printing efficiency cannot be considered at the same time at a fixed printing speed.
The surface finish of a fused deposition article is generally determined by the outer profile. Because the optimal printing speed corresponding to different models and different outer wall curves is changed, the printing speed parameters of most slicing software are preset, and all layers are the same and fixed, the application scenes with higher requirements on surface quality and precision cannot be met.
Disclosure of Invention
To solve at least some technical problems in the prior art, an object of the present invention is to provide a method, a system, a device, and a medium for adjusting an outer wall speed in 3D printing.
The technical scheme adopted by the invention is as follows:
an outer wall speed adjusting method for 3D printing comprises the following steps:
obtaining model data of an object, and slicing and path planning the model data by adopting slicing software to obtain a G code source file;
reading the G code source file, identifying different printing layers according to an identification head, acquiring the outer wall speed of each printing layer, and modifying and storing the numerical value of the outer wall speed;
and traversing all printing layers in the G code source file to obtain a new G code source file.
Further, the reading the G code source file, identifying different printing layers according to an identification head, obtaining an outer wall speed in each printing layer, and modifying and storing a numerical value of the outer wall speed includes:
reading the G code source file according to lines, and creating a first empty list and a second empty list, wherein the first empty list is used for recording the number of lines of the outer wall identification heads, and the second empty list is used for recording the number of lines of all the identification heads;
acquiring the outer wall matching range of each printing layer according to the outer wall identification head and the identification head;
and acquiring the outer wall speed in the outer wall matching range by adopting a regular expression, and modifying and storing the numerical value of the outer wall speed.
Further, the outer wall matching range is the range from the outer wall identification head to the next arbitrary identification head.
Further, the obtaining the outer wall speed in the outer wall matching range by using the regular expression includes:
and in the outer wall matching range, matching all code contents beginning with a preset character and ending with a space by adopting a regular expression to obtain the outer wall speed.
Further, the step of traversing all printing layers in the G-code source file further comprises:
if the outer wall identification head is read, recording the outer wall identification head in a first empty list;
and if any one identification head is read, recording the identification head in a second empty list.
Further, said modifying and saving the value of the outer wall velocity comprises:
the values of the outer wall velocity are replaced by means of a build-up list.
Further, the slicing software adopts Cura software.
The other technical scheme adopted by the invention is as follows:
an outer wall speed adjustment system for 3D printing, comprising:
the code acquisition module is used for acquiring model data of an object needing 3D printing, slicing the model data and planning a path by adopting slicing software, and acquiring a G code source file;
the speed identification module is used for reading the G code source file, identifying different printing layers according to the identification head, acquiring the outer wall speed in each printing layer, and modifying and storing the numerical value of the outer wall speed;
and the traversal modification module is used for traversing all printing layers in the G code source file to obtain a new G code source file.
The other technical scheme adopted by the invention is as follows:
an outer wall speed adjustment device that 3D printed includes:
at least one processor;
at least one memory for storing at least one program;
when executed by the at least one processor, cause the at least one processor to implement the method described above.
The invention adopts another technical scheme that:
a computer readable storage medium, in which a program executable by a processor is stored, the program executable by the processor being for performing the method as described above when executed by the processor.
The invention has the beneficial effects that: the invention provides a method for realizing the regulation and control of printing speed by modifying a speed parameter mode related to a 3D printing G code file after a replacement slice is exported according to a self-adaptive printing speed value of each layer so as to ensure the requirements of workpiece printing precision and efficiency.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description is made on the drawings of the embodiments of the present invention or the related technical solutions in the prior art, it should be understood that the drawings in the following description are only for convenience and clarity of describing some embodiments in the technical solutions of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flowchart illustrating the steps of a method for adjusting the speed of an outer wall in 3D printing according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a fused deposition 3D printing speed layer-by-layer control method based on G codes according to an embodiment of the present invention;
fig. 3 is a block diagram of an outer wall speed adjusting system for 3D printing according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention. For the step numbers in the following embodiments, they are set for convenience of illustration only, the order between the steps is not limited at all, and the execution order of each step in the embodiments can be adapted according to the understanding of those skilled in the art.
In the description of the present invention, it should be understood that the orientation or positional relationship referred to in the description of the orientation, such as the upper, lower, front, rear, left, right, etc., is based on the orientation or positional relationship shown in the drawings, and is only for convenience of description and simplification of description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention.
In the description of the present invention, the meaning of a plurality of means is one or more, the meaning of a plurality of means is two or more, and larger, smaller, larger, etc. are understood as excluding the number, and larger, smaller, inner, etc. are understood as including the number. If the first and second are described for the purpose of distinguishing technical features, they are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
In the description of the present invention, unless otherwise explicitly limited, terms such as arrangement, installation, connection and the like should be understood in a broad sense, and those skilled in the art can reasonably determine the specific meanings of the above terms in the present invention in combination with the specific contents of the technical solutions.
The method includes the steps of firstly, printing a G code source file according to conventionally generated 3D through open source slicing software, reading and writing the G code source file line by line, distinguishing G code contents of different layers through identification, storing and marking 3D printing speed set values printed and fixed on the middle and outer walls of different layers, modifying and replacing outer wall printing speed set values of the middle and outer walls of different layers according to actual printing speed requirements, storing the G code files printed finally and importing the G code files into a printer, and achieving a layer-by-layer adjusting control function of the 3D printing speed.
As shown in fig. 1, the method for adjusting the speed of the outer wall in 3D printing according to the embodiment includes the following steps:
s1, obtaining model data of an object, and slicing and path planning the model data by adopting slicing software to obtain a G code source file.
Open source slicing and path planning: storing the model data of the object needing 3D printing into a computer, carrying out slicing and path planning by using open source slicing software, obtaining the data of 3D printed slicing and path planning, and outputting a code in a gcode format. Wherein, the English name of the G code is G-code, and the gcode is abbreviated and refers to all G code files. The G code source file refers to a G code file which is derived after parameters are set by conventional slicing software and is not modified.
In some optional embodiments, the model data is STL model data, and slicing and path planning are performed using open-source Cura slicing software. It should be noted here that the open source Cura slicing software is only one of the versions, but the basic operations of 3D printing output G code files are almost similar.
S2, reading the G code source file, identifying different printing layers according to the identification heads, obtaining the outer wall speed in each printing layer, and modifying and storing the numerical value of the outer wall speed.
And S3, traversing all printing layers in the G code source file to obtain a new G code source file.
Path identification, speed modification and new code generation. In this embodiment, an independently developed applet is used to read the slice and path planning data gcode files output by the open source slice software, identify the number of layers, use a regular expression to match all contents beginning with "G1F" and ending with a space, replace the contents with a required speed, write the modified contents into a new file, and finally implement speed modification and new code generation.
The specific processes of path identification, speed modification and new code generation are as follows:
reading the geocode file according to lines, building two empty lists, wherein one list is used for storing the number of lines of the outer wall identification head, the other list is used for storing the number of lines of all the identification heads, the definition range of each layer of outer wall is from the outer wall identification head to the next arbitrary identification head, traversing according to lines in the range, matching all the heads with 'G1F', the content at the end of blank, non-greedy matching, replacing the content with required speed, writing the modified content into a new file, and keeping the original file unchanged.
And importing the new code with the modified speed into a 3D printer to finish printing.
In conventional FDM fused deposition 3D printing, the print speed is set by the slicing software (empirically by the user) before printing, and the print speed parameter values are the same and fixed for each layer. In practical application, the outer contour of the three-dimensional model is formed by complex and irregular curved surfaces, and the contour of the outer wall after slicing is also different. If the different layers of the model are also printed with the same printing parameters (including speed, layer thickness, etc.), the forming accuracy and efficiency will not match: the regular profile (such as a straight line profile) can be printed at a higher speed and with higher efficiency, and the precision requirement can be basically ensured; the printing speed of complex profiles (e.g., curves, corners, etc.) needs to be reduced to ensure forming accuracy. In addition, the adaptive layering technology has also been developed in recent years and proved to be effective by experiments, and the requirement of printing precision and efficiency of the workpiece is ensured by automatically adjusting the layer thickness of each layer according to the parameter requirements such as the change of the outline characteristic of the model, so that the printing speed of each layer matched with the adaptive layering technology also can meet the requirement of adaptive change adjustment. Therefore, the present embodiment emphasizes that the printing speed value obtained by adaptive calculation according to each layer (which needs to be obtained by an experiment and a numerical analysis method in addition) is adjusted and controlled by modifying the speed parameter related to the 3D printing G code file after the replacement slice is exported.
The above method is explained in detail with reference to specific examples below.
Referring to fig. 2, the embodiment provides a fused deposition 3D printing speed layer-by-layer regulation method based on G codes, including the following steps:
step one, STL model data of an object needing 3D printing is obtained.
And step two, slicing and path planning are carried out on the STL model data by adopting open source slicing software Cura, and codes in an original geocode format are derived.
And step three, reading the slice and path planning data gcode file output by the open source slice software by adopting an independently developed small program.
In the reading process, the geocode file is read according to lines, the range of the outer wall speed is determined, and the regular expression is used for matching the outer wall speed in the range. After the outer wall speed is obtained, the speed value is modified according to the requirement, the modified content is written into the new geocode file, and the original geocode file is unchanged. In the process of replacing the outer wall speed, the list is built for replacement at one time, and the outer wall speed does not need to be replaced one by one.
The content of the independently developed applet is as follows:
Figure BDA0003337994390000051
Figure BDA0003337994390000061
as shown in fig. 3, this embodiment further provides an outer wall speed adjusting system for 3D printing, including:
the code acquisition module is used for acquiring model data of an object needing 3D printing, slicing the model data and planning a path by adopting slicing software, and acquiring a G code source file;
the speed identification module is used for reading the G code source file, identifying different printing layers according to the identification head, acquiring the outer wall speed in each printing layer, and modifying and storing the numerical value of the outer wall speed;
and the traversal modification module is used for traversing all printing layers in the G code source file to obtain a new G code source file.
The 3D printing outer wall speed adjusting system of the embodiment can execute the 3D printing outer wall speed adjusting method provided by the method embodiment of the invention, can execute any combination of the method embodiments, and has corresponding functions and beneficial effects of the method.
This embodiment still provides an outer wall speed adjusting device that 3D printed, includes:
at least one processor;
at least one memory for storing at least one program;
when executed by the at least one processor, cause the at least one processor to implement the method of fig. 1.
The 3D printing outer wall speed adjusting device of the embodiment can execute the 3D printing outer wall speed adjusting method provided by the method embodiment of the invention, can execute any combination of the method embodiments, and has corresponding functions and beneficial effects of the method.
Embodiments of the present application also disclose a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The computer instructions may be read by a processor of a computer device from a computer-readable storage medium, and executed by the processor to cause the computer device to perform the method illustrated in fig. 1.
The embodiment also provides a storage medium, which stores instructions or a program capable of executing the method for adjusting the speed of the outer wall in 3D printing provided by the embodiment of the method of the invention, and when the instructions or the program are executed, the method can be executed by any combination of the embodiments of the method, and the method has corresponding functions and advantages.
In alternative embodiments, the functions/acts noted in the block diagrams may occur out of the order noted in the operational illustrations. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality/acts involved. Furthermore, the embodiments presented and described in the flow charts of the present invention are provided by way of example in order to provide a more thorough understanding of the technology. The disclosed methods are not limited to the operations and logic flows presented herein. Alternative embodiments are contemplated in which the order of various operations is changed and in which sub-operations described as part of larger operations are performed independently.
Furthermore, although the present invention is described in the context of functional modules, it should be understood that, unless otherwise stated to the contrary, one or more of the described functions and/or features may be integrated in a single physical device and/or software module, or one or more functions and/or features may be implemented in a separate physical device or software module. It will also be appreciated that a detailed discussion of the actual implementation of each module is not necessary for an understanding of the present invention. Rather, the actual implementation of the various functional modules in the apparatus disclosed herein will be understood within the ordinary skill of an engineer, given the nature, function, and internal relationship of the modules. Accordingly, those of ordinary skill in the art will be able to practice the invention as set forth in the claims without undue experimentation. It is also to be understood that the specific concepts disclosed are merely illustrative of and not intended to limit the scope of the invention, which is defined by the appended claims and their full scope of equivalents.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The logic and/or steps represented in the flowcharts or otherwise described herein, such as an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the foregoing description of the specification, reference to the description of "one embodiment/example," "another embodiment/example," or "certain embodiments/examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the present invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.
While the preferred embodiments of the present invention have been illustrated and described, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (9)

1. The method for adjusting the speed of the outer wall of 3D printing is characterized by comprising the following steps of:
obtaining model data of an object, and slicing and path planning the model data by adopting slicing software to obtain a G code source file;
reading the G code source file, identifying different printing layers according to an identification head, acquiring the outer wall speed of each printing layer, and modifying and storing the numerical value of the outer wall speed;
traversing all printing layers in the G code source file to obtain a new G code source file;
the reading of the G code source file, the identification of different printing layers according to the identification head, the acquisition of the outer wall speed in each printing layer, and the modification and storage of the numerical value of the outer wall speed comprise:
reading the G code source file according to lines, and creating a first empty list and a second empty list, wherein the first empty list is used for recording the line number of the outer wall identification head, and the second empty list is used for recording the line number of all the identification heads;
acquiring the outer wall matching range of each printing layer according to the outer wall identification head and the identification head;
and acquiring the outer wall speed in the outer wall matching range by adopting a regular expression, and modifying and storing the numerical value of the outer wall speed.
2. The method for adjusting the speed of the outer wall of the 3D printer according to claim 1, wherein the outer wall matching range is from an outer wall identification head to a next arbitrary identification head.
3. The method for adjusting the speed of the outer wall of 3D printing according to claim 2, wherein the obtaining the speed of the outer wall within the outer wall matching range by using a regular expression comprises:
and in the outer wall matching range, matching all code contents beginning with a preset character and ending with a space by adopting a regular expression to obtain the outer wall speed.
4. The method of claim 1, wherein the step of traversing all printing layers in the G-code source file further comprises:
if the outer wall identification head is read, recording the outer wall identification head in a first empty list;
and if any one identification head is read, recording the identification head in a second empty list.
5. The method for adjusting the speed of the outer wall in 3D printing according to claim 1, wherein the modifying and storing the value of the speed of the outer wall comprises:
the values of the outer wall velocity are replaced by means of a build-up list.
6. The 3D printed outer wall speed adjusting method according to claim 1, wherein the slicing software adopts Cura software.
7. An outer wall speed adjustment system that 3D printed, characterized by, includes:
the code acquisition module is used for acquiring model data of an object needing 3D printing, and slicing and path planning are carried out on the model data by adopting slicing software to obtain a G code source file;
the speed identification module is used for reading the G code source file, identifying different printing layers according to the identification head, acquiring the outer wall speed in each printing layer, and modifying and storing the numerical value of the outer wall speed;
the traversal modification module is used for traversing all printing layers in the G code source file to obtain a new G code source file;
the reading of the G code source file, the identification of different printing layers according to the identification head, the acquisition of the outer wall speed in each printing layer, and the modification and storage of the numerical value of the outer wall speed comprise:
reading the G code source file according to lines, and creating a first empty list and a second empty list, wherein the first empty list is used for recording the line number of the outer wall identification head, and the second empty list is used for recording the line number of all the identification heads;
acquiring the outer wall matching range of each printing layer according to the outer wall identification head and the identification head;
and acquiring the outer wall speed in the outer wall matching range by adopting a regular expression, and modifying and storing the numerical value of the outer wall speed.
8. The utility model provides an outer wall speed adjustment device that 3D printed, includes:
at least one processor;
at least one memory for storing at least one program;
when executed by the at least one processor, cause the at least one processor to implement the method of any one of claims 1-6.
9. A computer-readable storage medium, in which a program executable by a processor is stored, wherein the program executable by the processor is adapted to perform the method according to any one of claims 1 to 6 when executed by the processor.
CN202111299887.5A 2021-11-04 2021-11-04 Outer wall speed adjusting method, system, device and medium for 3D printing Active CN114228133B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111299887.5A CN114228133B (en) 2021-11-04 2021-11-04 Outer wall speed adjusting method, system, device and medium for 3D printing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111299887.5A CN114228133B (en) 2021-11-04 2021-11-04 Outer wall speed adjusting method, system, device and medium for 3D printing

Publications (2)

Publication Number Publication Date
CN114228133A CN114228133A (en) 2022-03-25
CN114228133B true CN114228133B (en) 2022-10-21

Family

ID=80743762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111299887.5A Active CN114228133B (en) 2021-11-04 2021-11-04 Outer wall speed adjusting method, system, device and medium for 3D printing

Country Status (1)

Country Link
CN (1) CN114228133B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114670450A (en) * 2022-04-07 2022-06-28 深圳拓竹科技有限公司 Method, apparatus, device, storage medium and program product for 3D printing

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150197062A1 (en) * 2014-01-12 2015-07-16 Zohar SHINAR Method, device, and system of three-dimensional printing
CN104097327B (en) * 2014-07-11 2017-01-25 东莞中国科学院云计算产业技术创新与育成中心 Jet sectional area adjusting structure of 3D printer as well as speed and precision control method thereof
CN104139527B (en) * 2014-08-13 2017-09-12 珠海天威飞马打印耗材有限公司 Three-dimensional printer
CN105150532B (en) * 2015-08-26 2018-05-25 深圳长朗科技有限公司 Ink-jet 3D printing method
US10207454B2 (en) * 2015-12-10 2019-02-19 Velo3D, Inc. Systems for three-dimensional printing
CN106426908B (en) * 2016-10-14 2018-07-17 山东大学 A kind of the 3D printer extruder head and its Method of printing of calibre-changeable
CN109465945B (en) * 2019-01-04 2023-09-15 河北工业大学 Slurry extrusion device based on micro-flow extrusion process and control method thereof

Also Published As

Publication number Publication date
CN114228133A (en) 2022-03-25

Similar Documents

Publication Publication Date Title
US10328686B2 (en) Determining print-time for generation of 3D objects based on 3D printing parameters
US6084980A (en) Method of and apparatus for deriving data intermediate to cross-sectional data descriptive of a three-dimensional object
US20190339671A1 (en) Systems and methods for automatic three-dimensional object printing
US20190054700A1 (en) Machine learning for additive manufacturing
CN114228133B (en) Outer wall speed adjusting method, system, device and medium for 3D printing
CN111002580B (en) 3D printing path filling method improved based on Hilbert curve
CN111037917B (en) FDM printing method, system and medium based on model splitting and splicing printing
US20230127361A1 (en) Methods and apparatus for 2-d and 3-d scanning path visualization
Taufik et al. Part surface quality improvement studies in fused deposition modelling process: a review
KR102003256B1 (en) Variable extruding method of 3D printer, 3D model printing method and 3D model printing system
US20190011902A1 (en) Three-dimensional printing apparatus and three-dimensional printing method
CN103309283A (en) Self-adaptive generating method for machining programs for part three-dimensional model changes
CN110032343A (en) For best orientation object with the method and apparatus for processing automatically
US20220055307A1 (en) 3d printing slicing method for solving quantization error problem
US20220072800A1 (en) Dimensional compensations in additive manufacturing
CN104690976B (en) The column printing method of three-dimensional printing machine and system
JP2010525474A (en) Method and apparatus for modeling a pre-cut or pattern of a three-dimensional object having a non-developable surface and assisting in transferring a two-dimensional motif onto the object
US20180099496A1 (en) Three-dimensional object representation
CN114043727A (en) Method and apparatus for 3D printing, storage medium, and program product
US20220113700A1 (en) Geometrical transformations in additive manufacturing
Đekić et al. Assessment of the Optimal Manufacturing Technology of the Brake Triangle Sleeve Casting Model Prototype using Multi-criteria Analysis
US20200070425A1 (en) Three-dimensional printing method and three-dimensional printing device
CN112036041B (en) Comprehensive compensation method for STL model permeation error in 3DP process
JP5311965B2 (en) Processing system
CN117669273B (en) Die model generation method and device, storage medium and electronic equipment

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