Search NASA⌕ Search

SEARCH · Search NASA

Results for “G CODES”

Search indexed NASA NTRS and DOE OSTI research on propulsion, heat transfer, battery materials and energy systems. Follow report and document links to the original sources.

Quote a phrase for an exact phrase match. Source license links do not imply unrestricted reuse.

At least 19 records

Control System Framework for Using G-Code-Based 3D Printing Paths on a Multi-Degree of Freedom Robotic Arm

This paper describes a control system framework using G-Code-based 3D printing paths on a serial link robot manipulator with multiple degrees of freedom. Usually, G-Code is created by a software application, commonly referred to as a slicer, meant for gantry systems. However, G-Code does not address the kinematic complexity nor take advantage of the flexibility available in serial link robot manipulators. This paper provides an overview of the additive manufacturing process and G-Code, types of additive manufacturing deposition movements, common terminology used, the roles of parsers and translators, step-by-step instructions on how to implement this control system, and results and findings from this research. The presented framework can be used for a number of additive manufacturing methods, hybrid solutions, or applications not directly related to additive manufacturing. The implementation was successfully tested on a manipulator with seven degrees of freedom that successfully performed hundreds of hours of large-scale wire arc metal deposition.

Nycz, Andrzej↗

The g-code file

The slicing process for additive manufacturing (AM) involves many steps, including slicing the object to be printed and fitting toolpaths to each resulting layer. The toolpaths define the trajectories that the machine must follow during printing to construct the object. Once the slicing is complete and all toolpaths have been found and properly planned, this data must be transferred to the 3D printer in a way the printer can use to construct the object. This is achieved by exporting a file, usually a g-code file, from the slicing software. The g-code file is a text-based file that contains instructions for the machine, controlling the system and defining the motions for each toolpath. The file, which often contains thousands of lines of code, is mostly composed of numbers that command positions for axis motions. This chapter will outline the contents of a g-code file, discuss various commands and their implementation, then provide example codes and files for object construction.

Roschli, Alex↗

FY2022 Square Duct G-Code

The code included in this document was used to create a square duct additive manufacturing build. Questions regarding the code and documentation can be sent to the authors listed.

36 MATERIALS SCIENCE↗

Validation of the G-PASS code : status report.

Validation is the process of determining whether the models in a computer code can describe the important phenomena in applications of interest. This report describes past work and proposed future work for validating the Gas Plant Analyzer and System Simulator (G-PASS) code. The G-PASS code was developed for simulating gas reactor and chemical plant system behavior during operational transients and upset events. Results are presented comparing code properties, individual component models, and integrated system behavior against results from four other computer codes. Also identified are two experiment facilities nearing completion that will provide additional data for individual component and integrated system model validation. The main goal of the validation exercise is to ready a version of G-PASS for use as a tool in evaluating vendor designs and providing guidance to vendors on design directions in nuclear-hydrogen applications.

08 HYDROGEN↗

An End-to-End Framework for Verifying and Validating Manufacturing Design Integrity

Cyber attacks on networked automated manufacturing systems can severely impact part quality. In fact, malicious modifications may be introduced at any point during the manufacturing lifecycle. Therefore, it is vital to verify and validate that manufactured parts conform to their designs. This chapter describes a formal, end-to-end framework that verifies and validates the design integrity of manufactured parts by considering all potential points of alteration during precision manufacturing processes. The framework prevents unauthorized changes to computer-aided designs, verifies the correctness of translations from CAD models to G-code, maintains the integrity of G-code transferred to manufacturing machines, verifies the runtime execution of G-code and part geometry, and considers the contexts of manufacturing machine operations and how manufactured parts could be altered.

Jablonski, Matthew [Cybersecurity Manufacturing In↗

ORNL Slicer 2 - Open Source Copyright

ORNL Slicer 2 is a slicing program for additive manufacturing. It takes a solid body mesh object, typically as .STL file, and converts that into machine readable instructions, called g-code, that a 3D printer can use to build the object. The functionality includes loading and positioning an object, slicing it into layers, fitting toolpaths to the layers, and outputting g-code to construct the object. All of this is contained within a graphical user interface (GUI) that allows the user to define all of the settings specific to their machine and process, then preview the resultant g-code before starting the printing process.

Roschli, Alex (0000000213084632)↗

Josephson Effect in the Micron and Submicron YBCO Constrictions Fabricated Using the Femtosecond Laser Technique

A femtosecond laser was used successfully to fabricate planar micron and submicron-sized constrictiontype Josephson junctions on YBa{sub 2}Cu{sub 3}O{sub 7−x} thin films. A simple program using G-code (control systems) programming language was written to control the movement of the sample stage during the etching process. The constriction’s geometry was investigated using both atomic force microscopy (AFM) and scanning electron microscopy (SEM). Electrical transport measurements were performed at different temperatures. Shapiro steps were observed and analyzed. The micron-sized constriction shows a linear relationship for the measured critical current against the temperature which is consistent with the behavior of an S–s’–Stype Josephson junction where “S” stands for a bulk superconductive material that is untouched by the laser and “s”’ is superconducting material whose critical temperature is lower than the value of “S” In the case of the narrower submicronsized constriction, the measured critical current dependence with temperature shows an exponential decay, which is consistent with the behavior of the long S–N–Stype Josephson junction where “N” stands for a normal material. A model is proposed to describe the observed behavior by considering the effect of sample heating during the constriction’s fabrication.

75 CONDENSED MATTER PHYSICS, SUPERCONDUCTIVITY AND↗

Extrusion parameter control optimization for DIW 3D printing using image analysis techniques

Material extrusion is a well-recognized facet of additive manufacturing that involves the fabrication of parts through the deposition of structural material from an extrusion head from a bulk supply. In the subdivision of Direct Ink Writing (DIW) additive manufacturing, challenges arise when the structural material is flowable, synchronous extrusion control and tool movement becomes critical for achieving high-quality parts with low defect populations. DIW techniques are most used in laboratory settings using expensive custom instruments and may require specialized 3D slicing software. Here, in this study, the fabrication of an inexpensive, consumer-friendly progressive cavity pump dispensing system is detailed, in which can create high-quality parts by executing G-code commands produced from a commercial slicing software. The precision and repeatability of the movement-synchronized material extrusion is demonstrated through a series of optimization schemes, entailing the alteration of various control parameters, which directly affect the extrusion properties demonstrated during a print. In situ diagnostics were implemented to evaluate the results of the established optimization experiment. Using a machine vision technique, images of the optimization prints are processed. Following this, a supervised machine learning model was trained to autonomously judge whether or not the extrusion parameters produced a passing or failing result. The machine learning scheme serves as a preliminary benchmark for future layer-by-layer evaluation of more complex DIW parts. The construction of the printer and development of in situ characterization capabilities demonstrates the ability for this printer to create high-fidelity DIW parts for a fraction of the price of other systems.

42 ENGINEERING↗

Planar slicing for nonextrusion AM processes

Extrusion-based AM processes, including material extrusion and directed energy deposition, construct objects by continuously depositing a relatively small amount of molten feedstock to a specific location. Nonextrusion AM processes, on the other hand, tend to form each layer by linearly or areally projecting either energy onto a vat of photocurable liquid or a binding agent into a bed of loose powder. Such systems vary significantly from extrusion-based AM processes but do share similarities. The general approach to path planning is the same, but nonextrusion processes typically favor the use of bitmap representations, instead of polygons, for pathing computation and do not use a g-code file to command the printer. In this chapter, a high-level discussion of these differences will be covered.

Macdonald, Eric↗

A comprehensive comparison for simulations of cosmic-ray muons underground

The two leading simulation frameworks used for the simulation of cosmic-ray muons underground are FLUKA and Geant4. There have been in the past various questions raised as to the equivalence of these codes regarding cosmogenically produced neutrons and radioactivity in an underground environment. Many experiments choose one of these frameworks, and because they typically have different geometries or locations, the issues relating to code comparison are compounded. We report on an effort to compare the results of each of these codes in simulations which have simple geometry that is consistent between the two codes. It is seen that in terms of integrated neutron flux and neturon capture statistics the codes agree well in a broad sense. There are, however, differences that will be subject of further study. Comparisons of the simulations to available data are considered and the difficulties of such comparisons are pointed out.

72 PHYSICS OF ELEMENTARY PARTICLES AND FIELDS↗

Cyber-Physical System Implementation for Manufacturing With Analytics in the Cloud Layer

Effective and efficient modern manufacturing operations require the acceptance and incorporation of the fourth industrial revolution, also known as Industry 4.0. Traditional shop floors are evolving their production into smart factories. To continue this trend, a specific architecture for the cyber-physical system is required, as well as a systematic approach to automate the application of algorithms and transform the acquired data into useful information. This work makes use of an approach that distinguishes three layers that are part of the existing Industry 4.0 paradigm: edge, fog, and cloud. Each of the layers performs computational operations, transforming the data produced in the smart factory into useful information. Trained or untrained methods for data analytics can be incorporated into the architecture. A case study is presented in which a real-time statistical control process algorithm based on control charts was implemented. The algorithm automatically detects changes in the material being processed in a computerized numerical control (CNC) machine. The algorithm implemented in the proposed architecture yielded short response times. The performance was effective since it automatically adapted to the machining of aluminum and then detected when the material was switched to steel. The data were backed up in a database that would allow traceability to the line of g-code that performed the machining.

97 MATHEMATICS AND COMPUTING↗

SU-E-T-501: Initial Orthovoltage Beam Profile Analysis of a Small Brass MLC

Purpose To create brass leaves for an orthovoltage MLC and take initial beam profile measurements. Methods The low-energy MLC was designed in previous work. Brass was chosen for its self-lubrication and low cost. Stock brass rectangles (30cm × 1.0cm × 0.5cm) were ordered with pre-cut gear rack along the topmost long edges. Leaf designs were translated into G-code, then cut with a Tormach CNC-1100 mill. Intense bowing was observed in the beam direction, which required straightening via an in-house jig. Straightened leaves were placed into MLC assembly and mounted to a 320 kVp orthovoltage tube. EDR2 film was irradiated in four situations: MLC open so one edge was isocentric, and MLC open more than isocentric, completely closed MLC, and an open field shot with the MLC removed. The first two scans tested penumbra for our rectangular edges due to unfocused design. The final two scans tested transmission and interleaf leakage. All four experiments were set to 120 kVp and 10 mA for two minutes. Results Transmission and interleaf leakage were found to be zero. Interleaf leakage is faintly visible on film, but undetected by our film scanner despite high spatial resolution. Penumbra at isocenter was found to be 0.72mm, which matched the penumbras of true field edges. Penumbra off-isocenter was 1.1mm. Mechanically, leaves are moving smoothly once straightened. Conclusion Beam profiles through our brass MLC are acceptable. Leaves attenuate and move as designed. Looking forward, we intend to animate our MLC to deliver more complicated treatment plans.

60 APPLIED LIFE SCIENCES↗

On the optimized 3D printing and post-processing of PETG materials

Glycol-modified polyethylene terephthalate (PETG) is a reliable middle ground between polylactic acid and acrylonitrile butadiene styrene due to its light weight, impact resistance, toughness, flexibility, and cost-effectiveness. However, during 3D printing, the filament form is prone to oozing and stringing. In this study, we optimized the PETG printability via g-code setting and printing parameter modification, and consideration of filament quality, build plate temperature and leveling, and printing design complexity. Printed PETGs were thermally and chemically annealed, and post-processing conditions including annealing time, temperature, and solvent use were investigated. Mechanical properties were evaluated in terms of print parameter changes and post-processing techniques.

36 MATERIALS SCIENCE↗

Slicing Solutions for Wire Arc Additive Manufacturing

Both commercial and research applications of wire arc additive manufacturing (WAAM) have seen considerable growth in the additive manufacturing of metallic components. However, there remains a clear lack of a unified paradigm for toolpath generation when slicing parts for WAAM deposition. Existing toolpath generation options typically lack the appropriate features to account for all complexities of the WAAM process. This manuscript explores the key slicing challenges specific to toolpaths for WAAM geometry and pairs each consideration with multiple solutions to mitigate most negative effects on completed components. These challenges must be addressed to minimize voids, prevent bead collapse, and ensure deposited components accurately approximate the desired geometry. Slicing considerations are grouped into four general categories: geometric, process, thermal, and productivity. Geometric considerations are addressed with overhang compensation, corner-sharpening, and toolpath-smoothing features. Process considerations are addressed with start point configuration and controls for the bead lengths and end points. Thermal and productivity considerations are addressed with island optimization, multi-material printing, and connected insets. Finally, tools for the post-processing of generated G-code are explored. Overall, these solutions represent a critical set of slicing features used to improve generated toolpaths and the quality of the components deposited with those toolpaths.

36 MATERIALS SCIENCE↗

Zero Launch Mass Three Dimensional Print Head

NASA's strategic goal is to put humans on Mars in the 2030's. The NASA Human Spaceflight Architecture Team (HAT) and NASA Mars Design Reference Architecture (DRA) 5.0 has determined that in-situ resource utilization (ISRU) is an essential technology to accomplish this mission. Additive construction technology using in-situ materials from planetary surfaces will reduce launch mass, allow structures to be three dimensionally (3D) printed on demand, and will allow building designs to be transmitted digitally from Earth and printed in space. This will ultimately lead to elimination of reliance on structural materials launched from Earth (zero launch mass of construction consumables). The zero launch mass (ZLM) 3D print head project addressed this need by developing a system that 3D prints using a mixture of in-situ regolith and polymer as feedstock, determining the optimum mixture ratio and regolith particle size distribution, developing software to convert g-code into motion instructions for a FANUC robotic arm, printing test samples, performing materials testing, and printing a reduced scale habitable structure concept. This paper will focus on the ZLM 3D Print Head design, materials selection, software development, and lessons learned from operating the system in the NASA KSC Swamp Works Granular Mechanics & Regolith Operations (GMRO) Laboratory.

3D print↗

Zero Launch Mass Three Dimensional Print Head

NASA's strategic goal is to put humans on Mars in the 2030s. The NASA Human Spaceflight Architecture Team (HAT) and NASA Mars Design Reference Architecture (DRA) 5.0 has determined that in-situ resource utilization (ISRU) is an essential technology to accomplish this mission. Additive construction technology using in-situ materials from planetary surfaces will reduce launch mass, allow structures to be three dimensionally (3D) printed on demand, and will allow building designs to be transmitted digitally from Earth and printed in space. This will ultimately lead to elimination of reliance on structural materials launched from Earth (zero launch mass of construction consumables). The zero launch mass (ZLM) 3D print head project addressed this need by developing a system that 3D prints using a mixture of in-situ regolith and polymer as feedstock, determining the optimum mixture ratio and regolith particle size distribution, developing software to convert g-code into motion instructions for a FANUC robotic arm, printing test samples, performing materials testing, and printing a reduced scale habitable structure concept. This paper will focus on the ZLM 3D Print Head design, materials selection, software development, and lessons learned from operating the system in the NASA KSC Swamp Works Granular Mechanics & Regolith Operations (GMRO) Laboratory.

Regolith↗