CN107403469B - Self-adaptive scanning speed method for improving bevel forming quality - Google Patents
Self-adaptive scanning speed method for improving bevel forming quality Download PDFInfo
- Publication number
- CN107403469B CN107403469B CN201710679038.XA CN201710679038A CN107403469B CN 107403469 B CN107403469 B CN 107403469B CN 201710679038 A CN201710679038 A CN 201710679038A CN 107403469 B CN107403469 B CN 107403469B
- Authority
- CN
- China
- Prior art keywords
- scanning speed
- calculating
- model
- dimensional
- angle
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating 3D models or images for computer graphics
- G06T19/20—Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B33—ADDITIVE MANUFACTURING TECHNOLOGY
- B33Y—ADDITIVE 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/00—Data acquisition or data processing for additive manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Manufacturing & Machinery (AREA)
- Materials Engineering (AREA)
- Architecture (AREA)
- Computer Graphics (AREA)
- Chemical & Material Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Numerical Control (AREA)
Abstract
The invention discloses a self-adaptive scanning speed method for improving the forming quality of a bevel, which comprises the following steps: (1) importing an STL three-dimensional model and establishing a topological structure of the STL three-dimensional model; (2) carrying out layered slicing processing on the STL model to obtain a closed two-dimensional polygonal outline layer; (3) calculating the angle value of each included angle of the two-dimensional polygon according to the information of each line segment in the outline of each layer of the two-dimensional polygon, and then calculating the weight value of the scanning speed; (4) calculating the distance value of the change of the scanning speed according to the calculated angle value and two edges of the angle; (5) calculating the corresponding scanning speed on the line segment according to the scanning speed weight value and the distance value of the scanning speed change; (6) and calculating the scanning speed of the two-dimensional polygon line segments of all the layers, exporting a Gcode printing file, and printing. When the invention is used for printing the folding angle, the speed is reduced, the printing effect is effectively improved, the error between the physical model and the data model is reduced, and the forming quality of the scanning printing folding angle is ensured.
Description
Technical Field
The invention relates to a self-adaptive scanning speed method for improving the forming quality of a bevel, and belongs to the technical field of computer integrated manufacturing and 3D printing.
Background
Three-dimensional Printing (3D Printing for short) is one of the rapid prototyping technologies, and a Three-dimensional model is manufactured layer by layer in a layer-by-layer stacking manner. The 3D printing technology can be classified into various technologies such as FDM, SLS, SLA, 3DP, LOM, etc. according to the principle, wherein FDM is widely used due to its relatively low price and convenient operation. FDM is an English abbreviation of "Fused Deposition Modeling" and its working principle is: from bottom to top, the layers are manufactured and superposed layer by layer. The filamentous solid material is extruded by the high-temperature spray head and then is in a liquid state, the spray head scans according to a set printing path under the control of a computer, the position traversed by each layer of spray head is covered by the material in a molten state, after the layer is finished, the longitudinal platform system descends by one layer thickness, the scanning and the covering are continued, and the material accumulation process is finished by continuously repeating the scanning.
In the scanning and printing process, the material is converted into the liquid state to start printing, and is recooled after being extruded, so that the material is actually milky in nature and has strong self-adhesion when printing, and the folded angle is changed into an arc shape when the folded angle is scanned and printed by the spray head, so that the printing error is large, and the printing forming quality is influenced.
Disclosure of Invention
The technical problem to be solved by the invention is to overcome the defects of the prior art and provide a self-adaptive scanning speed method for improving the forming quality of the bevel, wherein the speed is reduced when the bevel is printed, the printing effect is effectively improved, the error between an object model and a data model is reduced, and the forming quality of the scanned and printed bevel is ensured.
In order to solve the technical problem, the invention provides a self-adaptive scanning speed method for improving the bevel forming quality, which is characterized by comprising the following steps of:
(1) importing an STL three-dimensional model and establishing a topological structure of the STL three-dimensional model;
(2) carrying out layered slicing processing on the STL model to obtain a closed two-dimensional polygonal outline layer;
(3) calculating the angle value of each included angle of the two-dimensional polygon according to the information of each line segment in the outline of each layer of the two-dimensional polygon, and then calculating the weight value of the scanning speed;
(4) calculating the distance value of the change of the scanning speed according to the calculated angle value and two edges of the angle;
(5) calculating the corresponding scanning speed on the line segment according to the scanning speed weight value and the distance value of the scanning speed change;
(6) and calculating the scanning speed of the two-dimensional polygon line segments of all the layers, exporting a Gcode printing file, and printing.
Further, in the step (1), an STL three-dimensional model is imported, three-dimensional topology information of the STL model, including vertex information of a triangular patch and normal vector information of the patch in the STL model, is read, and a topology structure of the STL model is established according to the topology information.
Further, in the step (2), the obtaining method of the two-dimensional polygon profile layer includes: according to the slice required layer thickness information, carrying out layering processing on the STL model, and setting the layer thickness as h and the model height as ZmaxIf the number of layered layers n ═ ZmaxH, height of i-th layer is ZiBy plane Z ═ ZiBy cutting-off STL models, i.e. letting the plane Z be ZiAnd intersecting with a triangular patch of the STL model, and forming a closed two-dimensional polygon by all intersecting line segments.
Further, in the step (3), the method for calculating the weight value of the scanning speed includes: calculating the angle value theta of the ith included angle of the current layer according to the point information of the two-dimensional polygoniSet an angle thetaiThree vertex values of Pi-1(xi-1,yi-1,zi-1)、Pi(xi,yi,zi)、Pi+1(xi+1,yi+1,zi+1) Then, there are:
θi=arccosθi
according to thetaiCalculating a scan velocity weight value wi=θi/π。
Further, in the step (4), the method for calculating the distance value of the change in the scanning speed includes: let a general scanning speed be V0For an angle of thetaiThe scanning speed of the scanning beam is set to Vi=wiV0Setting the distance from the deceleration starting position to the vertex of the included angleIs d, r is θiThe radius of the included angle inscribed circle then has:
further, in the step (5), the method for calculating the scanning speed corresponding to the line segment includes: according to the current included angle thetaiScanning speed weight value wiAnd the distance value d of the change of the scanning speed, the scanning speeds of two sides with the current included angle are as follows:
further, in the step (6), it is determined whether the height of the current layer is equal to ZmaxIf yes, outputting a Gcode file; otherwise, executing i to i +1, and turning to the step (2).
The invention achieves the following beneficial effects: when the folding angle is printed, the speed is reduced, the printing effect is effectively improved, the error between the physical model and the data model is reduced, and the forming quality of the scanning printing folding angle is ensured. Through the adaptive scanning algorithm of the bevel printing, the problem that the bevel is changed into an arc line in the printing process is effectively solved, and the printing quality is improved.
Drawings
FIG. 1 is a general flow diagram of a method in accordance with the present invention;
FIG. 2 is a schematic diagram of an embodiment model of the present invention;
FIG. 3 is a graph comparing the theoretical effect of the bevel angle with the actual effect;
FIG. 4 is a slice level diagram of a three-dimensional model;
FIG. 5 is a schematic illustration of an angle calculation;
FIG. 6 is a schematic view of an included angle inscribed circle.
Detailed Description
The invention is further described below with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and the protection scope of the present invention is not limited thereby.
Fig. 1 shows a flow chart of the method. Taking the model shown in fig. 2 as an example, when a break angle is printed, a circular arc may occur in the model, as shown in fig. 3, a solid line is a theoretical printing effect, and a dotted line is an actual printing effect; importing an STL model to obtain topological information of the model; slicing the model according to the layer thickness value of 0.3mm to obtain a two-dimensional polygonal outline of each layer of the model (as shown in FIG. 4); calculating each angle value of the polygonal contour to obtain the ith included angle thetaiThree vertex values of Pi-1(xi-1,yi-1,zi-1)、Pi(xi,yi,zi)、Pi+1(xi+1,yi+1,zi+1) As shown in fig. 5, there are:
θi=arccosθi
according to thetaiCalculate the velocity weight value wi=θiA,/π; let d be the distance from the initial deceleration position to the included angle vertex, and r be thetaiThe radii of the included angle inscribed circles, as shown in fig. 6, have:
according to the current included angle thetaiWeight value wiAnd the vertex distance d, the scanning speed of two sides with the current included angle is as follows:
when judging thatWhether the height of the front layer is equal to ZmaxIf yes, outputting a Gcode file; otherwise, i +1 is executed until Zi ZmaxAnd exporting the gcode file.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.
Claims (5)
1. A self-adaptive scanning speed method for improving the bevel forming quality is characterized by comprising the following steps:
(1) importing an STL three-dimensional model and establishing a topological structure of the STL three-dimensional model;
(2) carrying out layered slicing processing on the STL model to obtain a closed two-dimensional polygonal outline layer;
(3) calculating the angle value of each included angle of the two-dimensional polygon according to the information of each line segment in the outline of each layer of the two-dimensional polygon, and then calculating the weight value of the scanning speed; the method for calculating the weight value of the scanning speed comprises the following steps: calculating the angle value theta of the ith included angle of the current layer according to the point information of the two-dimensional polygoniSet an angle thetaiThree vertex values of Pi-1(xi-1,yi-1,zi-1)、Pi(xi,yi,zi)、Pi+1(xi+1,yi+1,zi+1) Then, there are:
θi=arccosθi
according to thetaiCalculating a scan velocity weight value wi=θi/π;
(4) Calculating the distance value of the change of the scanning speed according to the calculated angle value and two edges of the angle;
(5) calculating the corresponding scanning speed on the line segment according to the scanning speed weight value and the distance value of the scanning speed change;
(6) and calculating the scanning speed of the two-dimensional polygon line segments of all the layers, exporting a Gcode printing file, and printing.
2. The adaptive scan speed method for improving the quality of corner forming according to claim 1, wherein in the step (1), the STL three-dimensional model is imported, the three-dimensional topology information of the STL model, including vertex information of a triangular patch and normal vector information of the patch in the STL model, is read, and the topology structure is established according to the topology information.
3. The adaptive scan speed method for improving the quality of corner forming according to claim 1, wherein in the step (2), the two-dimensional polygon profile layer is obtained by: according to the slice required layer thickness information, carrying out layering processing on the STL model, and setting the layer thickness as h and the model height as ZmaxIf the number of layered layers n ═ ZmaxH, the height of the j-th layer is ZjBy plane Z ═ ZjBy cutting-off STL models, i.e. letting the plane Z be ZjAnd intersecting with a triangular patch of the STL model, and forming a closed two-dimensional polygon by all intersecting line segments.
4. The adaptive scanning speed method for improving the quality of bevel formation according to claim 1, wherein in the step (4), the distance value of the scanning speed variation is calculated by: let a general scanning speed be V0For an angle of thetaiThe scanning speed of the scanning beam is set to Vi=wiV0Let d be the distance from the start deceleration position to the vertex of the included angle, and r be thetaiThe radius of the included angle inscribed circle then has:
5. the adaptive scan speed method for improving bevel formation quality as claimed in claim 3, wherein in the step (6), it is determined whether the current layer height is equal to ZmaxIf yes, outputting a Gcode file; otherwise, executing j to j +1, and turning to the step (2).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710679038.XA CN107403469B (en) | 2017-08-10 | 2017-08-10 | Self-adaptive scanning speed method for improving bevel forming quality |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710679038.XA CN107403469B (en) | 2017-08-10 | 2017-08-10 | Self-adaptive scanning speed method for improving bevel forming quality |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107403469A CN107403469A (en) | 2017-11-28 |
CN107403469B true CN107403469B (en) | 2020-09-22 |
Family
ID=60396351
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710679038.XA Active CN107403469B (en) | 2017-08-10 | 2017-08-10 | Self-adaptive scanning speed method for improving bevel forming quality |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107403469B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7163595B2 (en) * | 2018-03-13 | 2022-11-01 | セイコーエプソン株式会社 | 3D object manufacturing method and 3D object modeling apparatus |
CN109159425B (en) * | 2018-08-21 | 2020-12-04 | 东莞中国科学院云计算产业技术创新与育成中心 | Three-dimensional model slicing method and three-dimensional printing device |
CN109808172A (en) * | 2019-03-26 | 2019-05-28 | 华南理工大学 | FDM formula 3D printer pixel accuracy control method, system equipment and medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101884524A (en) * | 2010-07-20 | 2010-11-17 | 李超宏 | Wide field of view optical coherence tomographic instrument based on adaptive optical technology |
CN104331555A (en) * | 2014-10-31 | 2015-02-04 | 河海大学常州校区 | Slicing processing method aiming at non-closed STL model with boundaries |
CN105289884A (en) * | 2015-09-13 | 2016-02-03 | 常州大学 | Intelligent portrait sketch inkjet robot |
CN106202687A (en) * | 2016-07-05 | 2016-12-07 | 河海大学常州校区 | A kind of adaptive layered processing method based on model area rate of change |
CN106846465A (en) * | 2017-01-19 | 2017-06-13 | 深圳先进技术研究院 | A kind of CT three-dimensional rebuilding methods and system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050023710A1 (en) * | 1998-07-10 | 2005-02-03 | Dmitri Brodkin | Solid free-form fabrication methods for the production of dental restorations |
JP4957242B2 (en) * | 2006-12-28 | 2012-06-20 | ソニー株式会社 | Stereolithography equipment |
US9400910B2 (en) * | 2014-02-18 | 2016-07-26 | Adobe Systems Incorporated | Method and apparatus for storing and retrieving data embedded into the surface of a 3D printed object |
US9533449B2 (en) * | 2014-06-19 | 2017-01-03 | Autodesk, Inc. | Material deposition systems with four or more axes |
-
2017
- 2017-08-10 CN CN201710679038.XA patent/CN107403469B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101884524A (en) * | 2010-07-20 | 2010-11-17 | 李超宏 | Wide field of view optical coherence tomographic instrument based on adaptive optical technology |
CN104331555A (en) * | 2014-10-31 | 2015-02-04 | 河海大学常州校区 | Slicing processing method aiming at non-closed STL model with boundaries |
CN105289884A (en) * | 2015-09-13 | 2016-02-03 | 常州大学 | Intelligent portrait sketch inkjet robot |
CN106202687A (en) * | 2016-07-05 | 2016-12-07 | 河海大学常州校区 | A kind of adaptive layered processing method based on model area rate of change |
CN106846465A (en) * | 2017-01-19 | 2017-06-13 | 深圳先进技术研究院 | A kind of CT three-dimensional rebuilding methods and system |
Non-Patent Citations (3)
Title |
---|
3D打印零件的转折角度对成形温度和应力的影响;王福雨等;《稀有金属材料与工程》;20160228;第45卷(第2期);第515-521页 * |
一种处理带有边界的非封闭STL模型的切片算法;巢海远等;《计算机集成制造系统》;20151031;第21卷(第10期);第38-42页的第1-5节 * |
车身3D打印轨迹优化研究;夏明栋;《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》;20170315;第2017年卷(第03期);第C035-37页的摘要、第二章、第三章、第5.2节 * |
Also Published As
Publication number | Publication date |
---|---|
CN107403469A (en) | 2017-11-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108312548B (en) | Five-axis linkage 3D printing method based on model surface feature hybrid adaptive slicing | |
CN107403469B (en) | Self-adaptive scanning speed method for improving bevel forming quality | |
CN106898050B (en) | A kind of grid model adaptive layered method based on annular neighborhood reference contour line | |
CN111037917B (en) | FDM printing method, system and medium based on model splitting and splicing printing | |
JP2017205975A (en) | Three-dimensional data generation apparatus, three-dimensional forming apparatus, method of forming object, and program | |
CN106202687A (en) | A kind of adaptive layered processing method based on model area rate of change | |
US20180297115A1 (en) | Real Time Detection of Defects during Formation of an Additively Manufactured Component | |
CN105739432B (en) | Grid free form surface annular cutter method for planning track based on improved B utterfly subdivisions | |
CN105916666A (en) | Processing three-dimensional object data of an object to be generated by an additive manufacturing process | |
US20170266883A1 (en) | Information processing apparatus, additive manufacturing system, and information processing method | |
CN107053678B (en) | A kind of surface filling path locus generation method towards 3D printing | |
CN109532006B (en) | Adaptive layer thickness slicing method and printing system | |
CN110744354B (en) | Method for determining alternate time in material increasing and decreasing composite manufacturing | |
CN107067471A (en) | A kind of adaptive scanning speed method for improving pendant body model forming quality | |
CN111923185B (en) | 3D printing method and system for ceramic die-free direct writing | |
Habib et al. | Attribute driven process architecture for additive manufacturing | |
CN103366069A (en) | Hierarchical algorithm of selective laser sintering | |
CN103934569A (en) | Layered slicing method based on selective laser sintering | |
Rianmora et al. | Recommended slicing positions for adaptive direct slicing by image processing technique | |
KR101917061B1 (en) | Method for setting shaping angle for three-dimensional shaped product | |
CN112265265B (en) | Three-dimensional printing data z-axis compensation method based on slicing | |
KR20190000452A (en) | Apparatus and method of slicing 3D model | |
CN116442527A (en) | Flexible 3D printing forming method and printing equipment based on 3D vision | |
JP2020006679A (en) | Inkjet width adjustment method and 3D printing equipment | |
Krishnanand et al. | Generation of tool path in fused filament fabrication |
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 |