User Manual

Table of Contents

This document describes the EDGE CAD editor, the context and the concepts behind its conception, as well as its use.

Introduction

EDGE — for ExtendeD Gdml Editor — is an easy-to-use GDML-based CAD editor. It provides a powerful and flexible CSG model fully compliant with the GDML format, used by numerous particle-matter interactions analysis tools based on the Geant4 library. EDGE provides also various import/export capabilities from/to B-Rep based CAD formats.

EDGE has been developed by Artenum in the frame of its internal R&D activities and is available through several of its commercial services offers, like SpaceSuite.

About GDML

Based on XML syntax, the Geometry Definition Markup Language (GDML) is the reference language used to describe geometrical models (i.e. CAD models) for radiation modelling tools like Geant4, ESA/GRAS or SPIS-IC. GDML is based on a rich CSG approach and can be used to create complex and realistic geometrical systems to be used for various purposes.

As an XML-based language, it can be fairly well read by humans and it is quite simple to parse it. However, one of its limits is that it is difficult to visualise what a GDML file is going to produce just by looking at it in a tailored sense, i.e. as a 3D geometrical system. Although some viewers or editors exist, only a few of them are publicly available, and they are not user-friendly or incomplete. Moreover, most GDML editors so far cannot handle the depth hierarchy used in GDML.

Therefore, Artenum decided to develop a GDML editor based on the Keridwen IME. Its aim is to propose a simple-to-use, cross-platform editor with good capacities of visualization.

Main functionalities

EDGE can either create or load a complete GDML model. In both cases, the user can modify the properties of all the shapes or add new shapes. Moreover, shapes also have position and orientation properties that allow placing them correctly. To facilitate the work for the user, position and orientation can be applied to several objects at the same time. EDGE handles complex hierarchies with several levels of depth.

EDGE also allows editing and attributing material properties to each shape individually. At any time, the user can see the results of his work thanks to the real-time 3D.

After editing his file, the user can save the result back to GDML but he can also export it to the B-Rep .geo format (the file format of Gmsh).

Supported formats

Import

EDGE support natively the GDML format in reading and writing, but is also able to import numerous B-Rep CAD formats like Gmsh’s geo or STEP-AP 203/214 and tessellated solids in STL or UNV files. These import/export capabilities open interoperability bridges with other CAD tools and multi-physics simulation software.

import STEP-AP
Figure 1. Example of imported STEP-AP model inside EDGE

Export and CSG-to-B-Rep decomposition

EDGE is able to convert GDML models into an equivalent Gmsh’s geo file, fully compliant with tailored applications like SPIS. This conversion is not done by tessellation but by a proper CSG to B-Rep decomposition with the view in Gmsh (on the left) of a model initially defined in EDGE (on the right).

Robbie in GDML
Figure 2. GDML model defined in EDGE
Robbie in GEO
Figure 3. B-Rep decomposition visualized in Gmsh

Caution and limit of warranties

The present document is intended to be a simple User Manual (UM) to help the user to use EDGE in basic mode to create CAD modelling. This document does not attempt to provide to the future EDGE user the whole expertise and knowledge needed to create a correct CAD modelling. The final confidence in the relevance and accuracy of the CAD model depends on the user expertise and remains his responsibility.

FOR THIS REASON, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING, THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

For an improved handling of the key concept addressed by EDGE or for any further information, please contact the SpaceSuite team.