Geometry extraction from GCODE files destined for 3D printers

Wojciech Sobieski

University of Warmia and Mazury

 Research fields:

• applications and development of numerical methods of mechanics
• investigations on the spatial structure of granular porous media
• investigations on fluid flows through porous media
• investigations on dynamics of fluidized beds
• investigations on the cavitation phenomenon in hydraulic systems
• investigations on water hammer in water rams
• investigations on bifurcation phenomena in flow systems
• investigations on heat diffusion in heterogeneous materials
• sensitivity analysis of mathematical models


https://orcid.org/0000-0003-1434-5520

Wojsciech Kiński




Abstract

The paper presents a method of conversion of GCODE files designed for additive manufacturing in 3D printers to a format which may be conveniently visualized. In the investigations three different 3D models were created: a) shell model (a casing); b) solid model (a gear); c) model with curvilinear elements (a screw). All these models were converted to GCODE files. Next the reverse engineering was applied and GCODE files were converted to points sets. These points represent particular locations of the print head. In the developed algorithm the linear interpolation was added to obtain intermediate points between locations of the print head for longer sections. The final part shows an attempt of applying Poisson Surface Reconstruction in order to obtain the original geometry. The main motivation to develop a new software resulted from the observation that sometimes the original solid model is no longer available, while there is a need to change some geometry details or settings before production stage.


Keywords:

GCODE, STL, additive manufacturing, 3D printers, reverse engineering


Baronio G., Harran S., Signoroni A. 2016. A Critical Analysis of a Hand Orthosis Reverse Engineering and 3D Printing Process. Applied Bionics and Biomechanics, Vol. 2016, Article ID 8347478, 7 p.   Google Scholar

Baumann F., Bugdayci H., Grunert J., Keller F., Roller D. 2016. Influence of slicing tools on quality of 3D printed parts. Computer-Aided Design & Applications, Vol. 13(1), 14-31.   Google Scholar

Baumann F.W., Schuermann M., Odefey U., Pfeil M. 2017. From GCODE to STL: Reconstruct Models from 3D Printing as a Service. IOP Conf. Series: Materials Science and Engineering, Vol. 280, 012033.   Google Scholar

Dúbravčík M., Kender Š. 2012. Application of reverse engineering techniques in mechanics system services. Procedia Engineering, Vol. 48, 96-104.   Google Scholar

Eslami A.M. 2017. Integrating Reverse Engineering and 3D Printing for the Manufacturing Process. American Society for Engineering Education, Paper ID #18869.   Google Scholar

GNU Fortran Home Page [on-line]. 2018. URL:https://gcc.gnu.org/fortran/ (available at October 18, 2018).   Google Scholar

Godoi F.C., Prakash S., Bhandari B.R. 2016. 3D printing technologies applied for food design: Status and prospects. Journal of Food Engineering, Vol. 179, 44-54.   Google Scholar

Guerrero-de-Miera A., Espinosa M.M., Domínguez M. 2015. Bricking: A new slicing method to reduce warping. Procedia Engineering, Vol. 132, 126-131.   Google Scholar

Habrat W. 2007. Obsługa i programowanie obrabiarek CNC. Poradnik operatora. Wydawnictwo KaBe, Krosno 2007.   Google Scholar

Hangge P., Pershad Y., Witting A.A., Albadawi H., Oklu R. 2018. Three-dimensional (3D) printing and its applications for aortic diseases. Cardiovascular Diagnosis and Therapy, Vol. 8, 19-25.   Google Scholar

Hu J. 2017. Study on STL-Based Slicing Process for 3d Printing. Proceedings of the 28th Annual International, Solid Freeform Fabrication Symposium – An Additive Manufacturing Conference. Austin TX, August 7-9, 11 p.   Google Scholar

ISO 6983-1:2009 Automation systems and integration - Numerical control of machines -- Program format and definitions of address words - Part 1: Data format for positioning, line motion and contouring control systems. URL: https://www.iso.org/standard/34608.html (available at October 18, 2018).   Google Scholar

jView [on-line], 2020. URL: http://www.jtronics.de/software/jview-simple-g-code-viewer/ (available at April 1, 2020).   Google Scholar

Kazhdan M., Bolitho M., Hoppe H. 2006. Poisson surface reconstruction. Proceedings of the 4th Eurographics Symposium on Geometry Processing, Sardinia, Italy, 1-10.   Google Scholar

Kramer T.R., Proctor F.M., Messina E. 2000. The NIST RS274NGC Interpreter - Version 3. NISTIR 6556, August 17, 121 p.   Google Scholar

Lorensen W. E., Cline H. E. 1987. Marching cubes: a high resolution 3D surface construction algorithm. ACM SIGGRAPH Computer Graphics, Vol. 21 (4), 163-169.   Google Scholar

Mathur R. 2016. 3D Printing in Architecture. International Journal of Innovative Science, Engineering & Technology, Vol. 3(7), 583-591.   Google Scholar

MatterControl Home Page [on-line]. 2019. URL: https://www.matterhackers.com/ (available at April 10, 2019).   Google Scholar

MeshLab Home Page [on-line]. 2019. URL: http://www.meshlab.net/ (available at April 10, 2019).   Google Scholar

NC Viewer [on-line], 2020. URL: https://ncviewer.com/ (available at April 11, 2020).   Google Scholar

Norlander R. 2017. Make it Complete: Surface Reconstruction Aided by Geometric Primitives. October 23, 75 p.   Google Scholar

ParaView Home Page [on-line]. 2019. URL: https://www.paraview.org/ (available at April 10, 2019).   Google Scholar

Parra-Cabrera C., Achille C., Kuhn S., Ameloot R. 2018. 3D printing in chemical engineering and catalytic technology: structured catalysts, mixers and reactors. Chemical Society Reviews. Vol. 1.   Google Scholar

Pitayachaval P., Sanklong N., Thongrak A. 2018. A Review of 3D Food Printing Technology. MATEC Web of Conferences 213, 01012.   Google Scholar

Shahi B.S. 2016. Advanced Manufacturing Techniques (3D Printing). International Journal of Mechanical And Production Engineering, Vol. 4(4), 16-23.   Google Scholar

Shatornaya A.M., Chislova M.M., Drozdetskaya M.A., Ptuhina I.S. 2017. Efficiency of 3D printers in Civil Engineering. Construction of Unique Buildings and Structures, Vol. 9(60), 22-30.   Google Scholar

Szebényi G., Czigány T., Magyar B., Karger-Kocsis J. 2017. 3D printing-assisted interphase engineering of polymer composites: Concept and feasibility. eXPRESS Polymer Letters, Vol.11(7), 525-530.   Google Scholar

Tappa K, Jammalamadaka U., Ballard D.H., Bruno T, Israel M.R., Vemula H., Meacham J.M., Mills D.K., Woodard P.K., Weisman J.A. 2017. Medication eluting devices for the field of OBGYN (MEDOBGYN): 3D printed biodegradable hormone eluting constructs, a proof of concept study. PLoSONE 12(8): e0182929, August 2017.   Google Scholar

Tay Y.W.D., Panda B., Paul S.C., Mohamed N.A.N., Tan M.J., Leong K.F. 2017. 3D printing trends in building and construction industry: a review. Virtual and Physical Prototyping.   Google Scholar

Topçu O., Taşcıoğlu Y., Ünver H.Ö. 2011. A Method for Slicing CAD Models in Binary STL Format. 6th International Advanced Technologies Symposium (IATS’11), 16-18 May 2011, Elazığ, Turkey.   Google Scholar

VTK – The Visualization Toolkit [on-line]. URL: https://www.vtk.org/ (available at April 10, 2019).   Google Scholar

Wang W., Chao H., Tong J., Yang Z., Tong X., Li H., Liu X., Liuy L. 2014. Saliency-Preserving Slicing Optimization for Effective 3D Printing. COMPUTER GRAPHICS forum, Vol. 33(5), 1-12 .   Google Scholar

Xu Y., Wu X., Guo X., Kong B., Zhang M., Qian X., Mi S., Sun W. 2016.The Boom in 3D-Printed Sensor Technology. Sensors, Vol. 17, 37 p.   Google Scholar

Download


Published
2020-07-22

Cited by

Sobieski, W., & Kiński, W. (2020). Geometry extraction from GCODE files destined for 3D printers. Technical Sciences, 23(2), 115–130. https://doi.org/10.31648/ts.5644

Wojciech Sobieski 
University of Warmia and Mazury
<p>&nbsp;<span style="font-size: small;"><u>Research fields</u>:</span></p> <p>• applications and development of numerical methods of mechanics<br> • investigations on the spatial structure of granular porous media<br> • investigations on fluid flows through porous media<br> • investigations on dynamics of fluidized beds<br> • investigations on the cavitation phenomenon in hydraulic systems<br> • investigations on water hammer in water rams<br> • investigations on bifurcation phenomena in flow systems<br> • investigations on heat diffusion in heterogeneous materials<br> • sensitivity analysis of mathematical models</p>  Poland
https://orcid.org/0000-0003-1434-5520

 Research fields:

• applications and development of numerical methods of mechanics
• investigations on the spatial structure of granular porous media
• investigations on fluid flows through porous media
• investigations on dynamics of fluidized beds
• investigations on the cavitation phenomenon in hydraulic systems
• investigations on water hammer in water rams
• investigations on bifurcation phenomena in flow systems
• investigations on heat diffusion in heterogeneous materials
• sensitivity analysis of mathematical models


Wojsciech Kiński 




License

Copyright (c) 2020 Wojciech Sobieski

Creative Commons License

This work is licensed under a Creative Commons Attribution 4.0 International License.





-->