<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><br class=""></div>Hi Marco,<div class=""><br class=""></div><div class="">Yes, you can edit STEP files: see e.g. <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/master/demos/boolean/import2.geo" class="">https://gitlab.onelab.info/gmsh/gmsh/blob/master/demos/boolean/import2.geo</a>. Notice the "SetFactory("OpenCASCADE") line at the beginning of the .geo file, which means that the STEP file will be imported as an OpenCASCADE model - we then provide all the classical functionalities to modify the resulting shapes (deleting parts, applying transformations and boolean operations, etc.), directly in the .geo file.</div><div class=""><br class=""></div><div class="">What we never do is translate between CAD kernels: so you will never be able to "export" to the native GEO geometry kernel (this kernel does not know about many of the geometrical primitives in the STEP format). You directly work with the native CAD representation of the geometry (here with OpenCASCADE). Future releases of Gmsh will provide the same kind of functionality with other CAD kernels, like Parasolid.</div><div class=""><br class=""></div><div class="">To export a "dead" (non parametric) version of your geometry, you should use the native "dead" format of the underlying CAD kernel. With OpenCASCADE, you just export as a BREP file, i.e. by adding</div><div class=""><br class=""></div><div class="">Save "output.brep";</div><div class=""><br class=""></div><div class="">in your .geo file.</div><div class=""><br class=""></div><div class="">Christophe</div><div class=""><br class=""><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 14 May 2018, at 16:15, Marco Tiberga <<a href="mailto:M.Tiberga@tudelft.nl" class="">M.Tiberga@tudelft.nl</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Dear GMSH developers,<o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">I was looking into the GMSH reference manual to see whether it is possible to read .STEP files, to edit them, and/or to export them to .geo format.<o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">I guess that the FAQ 4 in Appendix E.4 answers my questions.<o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">However, it is not clear to me whether we can or not delete entities, after merging a .STEP file into a .geo one (this feature is both indicated as something already available and something coming in a later release).<o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Also, I was wondering whether the possibility export .STEP files to .geo format is actually something coming in the near-future releases or later.<o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Thanks a lot for the clarification.<o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Best regards,<o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><p class="MsoNormal" style="margin: 0cm 0cm 4pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span class="">Marco Tiberga<o:p class=""></o:p></span></p><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class="">PhD candidate<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="color: rgb(0, 176, 240);" class="">Delft University of Technology<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class="">Faculty of Applied Sciences<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class="">Radiation Science & Technology Department</span><span class=""><o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class="">Mekelweg 15, 2629 JB Delft, The Netherlands</span><span class=""><o:p class=""></o:p></span></div><p class="MsoNormal" style="margin: 0cm 0cm 2pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span class="">E-Mail:<span style="color: gray;" class=""> </span><u class=""><span style="color: blue;" class=""><a href="mailto:m.tiberga@tudelft.nl" style="color: purple; text-decoration: underline;" class=""><span style="color: blue;" class="">m.tiberga@tudelft.nl</span></a></span></u></span><span style="font-family: "Segoe UI", sans-serif;" class=""><o:p class=""></o:p></span></p><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="NL" class="">Website:<span class="Apple-converted-space"> </span></span><span class=""><a href="http://www.nera.rst.tudelft.nl/" style="color: purple; text-decoration: underline;" class=""><span lang="NL" style="color: blue;" class="">http://www.nera.rst.tudelft.nl/</span></a></span><span lang="NL" class=""><o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="NL" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="NL" class=""><o:p class=""> </o:p></span></div></div><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">gmsh mailing list</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="mailto:gmsh@onelab.info" style="color: purple; text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">gmsh@onelab.info</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="http://onelab.info/mailman/listinfo/gmsh" style="color: purple; text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">http://onelab.info/mailman/listinfo/gmsh</a></div></blockquote></div><br class=""></div></div></body></html>