[Gmsh] BRL-CAD for Geometry?
G. D. McBain
gdmcbain at protonmail.com
Thu Feb 2 23:28:42 CET 2017
Sent from [ProtonMail](https://protonmail.com), Swiss-based encrypted email.
-------- Original Message --------
Subject: [Gmsh] BRL-CAD for Geometry?
Local Time: 2 février 2017 4:07 PM
UTC Time: 2 février 2017 05:07
From: toddcpierce at gmail.com
To: gmsh at onelab.info
Hi All,
It's me again, wondering how I should go about integrating a command-line geometry package into OneLab (or some other chain of multi-physics tools).
As I've mentioned before, although there is no shortage of tools to do meshing, finite element analysis or CFD and so forth, there is no simple way to build geometries from the command line.
Has anybody ever used this BRL-CAD/Mged command line CAD package? It doesn't look bad, but I do have concerns about it exporting to formats that these meshing and physics programs use.
In the past I have used BRL-CAD's mged command-line tool to create geometries for subsequent CFD simulations. I used BRL-CAD's g-stl command-line tool to export a triangulation of the bounding surface in STL format. Gmsh can read this in.
More recently though I'm using FreeCAD which can be scripted in Python and so run from the command-line. Besides STL, this also outputs IGES, STEP, and BRep, which can contain more information that STL. Gmsh reads all four formats.
OpenSCAD is an excellent accompaniment to FreeCAD too, especially via Solid Python.
Often my workflow looks like FreeCAD -> Gmsh -> FreeFem++ -> (Gmsh or pandas), with the whole thing run from a single SCons build file. No GUIs, except for preliminary exploratory work.
I haven't looked into OneLab yet.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20170202/2e3eaa5c/attachment.html>
More information about the gmsh
mailing list