skip to main content
US FlagAn official website of the United States government
dot gov icon
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
https lock icon
Secure .gov websites use HTTPS
A lock ( lock ) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.


Title: MAKER: Design of a Virtual CNC Mill by Unity Software
It requires a lot of hands-on experience to learn how to operate a computer numerical control (CNC) mill. Virtual Reality (VR) can serve as a way to teach how to properly operate it. The goal of this research is to create a virtual CNC mill that can provide interactive training for students. The Unity software was used for this goal. Unity is a game development engine used to produce video games, utility software, and more. The functionality of the CNC simulation was created with C# scripting. The visual representation of the CNC mill was built through 3D modeling, and then transferred into FBX 3D models which are compatible with Unity. The virtual machine is able to take G-code inputs via either an input field or a text file. For the current version, it can simulate G00, G01, and G02/G03 commands and is able to cut sample workpieces per input. It also can save the coordinates of the cutting path via json file and use a python script to view its movement on a line graph. The virtual machine emulates the input commands very similar to the actual machine. This can serve as a good learning tool for CNC machine operators. The virtual machine created through Unity is proof that a digital simulation is achievable for the CNC machine. Future research will include implementing and incorporating mixed reality. Incorporating these kinds of technology will help a more immersive learning experience for students.  more » « less
Award ID(s):
1818655
PAR ID:
10327208
Author(s) / Creator(s):
Date Published:
Journal Name:
2021 ASEE Virtual Annual Conference
Format(s):
Medium: X
Sponsoring Org:
National Science Foundation
More Like this
  1. null (Ed.)
    This paper discusses the implementation of Industry 4.0 in an educational setting. Simulation, virtual reality, analytics, robotics and automation, and 3D printing are integrated to develop a small-scale production line for producing and inspecting 3D printed parts. The system consists of a robot and controller, programmable logic controller, 3D printer, machine vision system, conveyor belt, 3-phase motor and motor controller, webcam, PC and monitor, Raspberry Pi computer, pneumatic system, beam sensor, simulation software, and VR equipment. The system components are connected via ethernet cables running to a basic ethernet switch. An ethernet router is also connected to the switch to resolve IP connection attempts by the connected components. A mini CNC machine is used to drill holes on small metal parts that are assembled with 3D printed parts and plastic bricks to make a car toy. A robot is pre-programmed to perform the assembly of the car toy and a Cognex® camera is used to inspect the parts. Deep learning models are used to predict the remaining useful life of the drilling bits. 
    more » « less
  2. In this paper we describe a virtual reality training simulation designed to help police officers learn use of force policies. Our goal is to test a training simulation prototype by measuring improvements to presence and performance. If successful, this can lead to creating a full-scale virtual reality narrative training simulation. The simulation uses a planner-based experience manager to determine the actions of agents other than the participant. Participants’ actions were logged, physiological data was recorded, and the participants filled out questionnaires. Player knowledge attributes were authored to measure participants’ understanding of teaching materials. We demonstrate that when participants interact with the simulation using virtual reality they experience greater presence than when using traditional screen and keyboard controls. We also demonstrate that participants’ performance improves over repeated sessions. 
    more » « less
  3. Photorealistic avatars have become essential for immersive applications in virtual reality (VR) and augmented reality (AR), enabling lifelike interactions in areas such as training simulations, telemedicine, and virtual collaboration. These avatars bridge the gap between the physical and digital worlds, improving the user experience through realistic human representation. However, existing avatar creation techniques face significant challenges, including high costs, long creation times, and limited utility in virtual applications. Manual methods, such as MetaHuman, require extensive time and expertise, while automatic approaches, such as NeRF-based pipelines often lack efficiency, detailed facial expression fidelity, and are unable to be rendered at a speed sufficent for real-time applications. By involving several cutting-edge modern techniques, we introduce an end-to-end 3D Gaussian Splatting (3DGS) avatar creation pipeline that leverages monocular video input to create a scalable and efficient photorealistic avatar directly compatible with the Unity game engine. Our pipeline incorporates a novel Gaussian splatting technique with customized preprocessing that enables the user of ”in the wild” monocular video capture, detailed facial expression reconstruction and embedding within a fully rigged avatar model. Additionally, we present a Unity-integrated Gaussian Splatting Avatar Editor, offering a user-friendly environment for VR/AR application development. Experimental results validate the effectiveness of our preprocessing pipeline in standardizing custom data for 3DGS training and demonstrate the versatility of Gaussian avatars in Unity, highlighting the scalability and practicality of our approach. 
    more » « less
  4. Collaborative virtual assembly environment is a vital computer-aided design tool in product design and can be used as a learning and training tool. It helps in supporting complex product design by enabling designers to collaborate and communicate with other designers involved in the product design. This paper proposes a collaborative virtual assembly environment built in two phases for the immersive and non-immersive environments. Phase one was developed in Unity 3D using Virtual Reality Toolkit (VRTK) and Steam VR. Whereas, phase two was built using Vizard and Vizible. This work aims to allow scientists and engineers to discuss the concept design in a real-time VR environment so that they can interact with the objects and review their work before it is deployed. This paper proposes the system architecture and describes the design and implementation of a collaborative virtual assembly environment. The outcome of this work is to be able to resolve communication and interaction problems that arise during the concept-design phase. 
    more » « less
  5. Abstract This work presents a deep reinforcement learning (DRL) approach for procedural content generation (PCG) to automatically generate three-dimensional (3D) virtual environments that users can interact with. The primary objective of PCG methods is to algorithmically generate new content in order to improve user experience. Researchers have started exploring the use of machine learning (ML) methods to generate content. However, these approaches frequently implement supervised ML algorithms that require initial datasets to train their generative models. In contrast, RL algorithms do not require training data to be collected a priori since they take advantage of simulation to train their models. Considering the advantages of RL algorithms, this work presents a method that generates new 3D virtual environments by training an RL agent using a 3D simulation platform. This work extends the authors’ previous work and presents the results of a case study that supports the capability of the proposed method to generate new 3D virtual environments. The ability to automatically generate new content has the potential to maintain users’ engagement in a wide variety of applications such as virtual reality applications for education and training, and engineering conceptual design. 
    more » « less