Generated by DeepSeek V3.2| MGED | |
|---|---|
| Name | MGED |
| Developer | United States Army Research Laboratory |
| Released | 0 1982 |
| Operating system | Unix, Linux, Microsoft Windows |
| Genre | Computer-aided design, Solid modeling |
| License | LGPL |
MGED. The Multi-Device Geometry Editor, commonly known as MGED, is the primary interactive solid modeling component of the BRL-CAD constructive solid geometry (CSG) modeling package. Developed for military and scientific applications, it provides a powerful command-line and graphical interface for creating, editing, and analyzing precise three-dimensional models. As a core part of one of the oldest open-source software projects, it has been used extensively for tasks ranging from weapon systems analysis to academic research in computer graphics and physics simulation.
MGED serves as the central graphical editor within the BRL-CAD package, a system originally created by the United States Army at the Ballistic Research Laboratory. Its fundamental paradigm is based on constructive solid geometry, where complex models are built from boolean operations on primitive geometric shapes. This approach, combined with its precise mathematical representation, makes it particularly suited for engineering analysis and computational physics. The software runs on various platforms including Unix, Linux, and Microsoft Windows, and its source code has been released under the LGPL.
The development of MGED began in the late 1970s and early 1980s at the Ballistic Research Laboratory (later part of the United States Army Research Laboratory) under the direction of researchers like Mike Muuss. The project, initially part of the broader BRL-CAD system, was driven by the need to simulate and analyze the effectiveness of military vehicle armor and combat systems. Following a tradition of government-sponsored open-source software, the entire BRL-CAD package, including MGED, was released to the public in 2004. This move fostered a global community of developers and users, extending its application beyond its original Department of Defense context into areas like ray tracing research and educational software.
MGED provides a comprehensive suite of tools for solid modeling. Users interact with geometry through both a command-line interface and a graphical user interface built with Tk or other toolkits. Its core capability is performing boolean operations—such as union, subtraction, and intersection—on geometric primitives like arb, torus, and rcc. The software includes advanced features for model interrogation, including calculation of volume, surface area, and center of mass. It also supports hierarchical assembly structures, allowing for the management of complex models like entire naval vessels or architectural designs.
The native database format for MGED models is the BRL-CAD ".g" file, a binary format that stores geometry, attributes, and hierarchy. For data exchange, MGED supports import and export via several important standards. It can read and write Stereolithography (STL) files, commonly used in 3D printing and computer-aided manufacturing. Furthermore, it supports the Initial Graphics Exchange Specification (IGES) and has capabilities for handling OBJ files, facilitating collaboration with other major CAD systems like AutoCAD and SolidWorks. Scripting and batch processing are often accomplished using its own command language or via Python bindings.
Originally designed for ballistic analysis and vulnerability assessment of military vehicles, MGED's applications have diversified significantly. It is used in weapons effects simulation, helping to model interactions between projectiles and armor. In the scientific community, it aids in neutron transport simulation and radiation shielding design for facilities like CERN. Other use cases include creating models for educational visualization, prototyping components for robotics, and generating complex scenes for high-fidelity ray tracing and global illumination studies in computer graphics research.
MGED is intrinsically linked to the broader BRL-CAD ecosystem, which includes tools like RT, a sophisticated ray tracing program for analysis and rendering, and Archer, a next-generation graphical interface. It shares conceptual roots with other CSG-based modeling systems such as POV-Ray and OpenSCAD. Within the open-source CAD landscape, it coexists and can interoperate with projects like FreeCAD and Open CASCADE. Its development and user community is supported by organizations like the Open Source Initiative and events such as the Google Summer of Code.
Category:Computer-aided design software Category:Free computer-aided design software Category:Constructive solid geometry Category:United States Army Research Laboratory