Vikram Garg vikramvgarg.github.io/
On Fri, May 15, 2020 at 11:02 PM Roy Stogner <royst...@oden.utexas.edu> wrote: > > On Fri, 15 May 2020, Vikram Garg wrote: > > > Once you have the boundaries defined, TRIANGLE, which uses Delaunay > > triangulation should be able to do this. > > This is true, but defining the boundaries in code is certainly a pain. > IIRC you wrote your own vectorizer as an undergrad, and it took us a > week to figure out that even though the meshes looked okay to the > naked eye, sharp jumps from pixel row to pixel row were behind the > crazy pressure spikes we were seeing in airfoil simulations. > > Yes, I was wary of that, but then we had sharp fractal like features due to the ice crystals we were trying to represent. We can have similar features on a coastal boundary representation, but I depending on the eventual purpose, these can be smoothed considerably. > Is there any "standard" 2D format for vector shape data? My wife > uses (or when necessary converts everything to) SVG for laser cutter > and plotter use, but SVG has a zillion features beyond defining loops. > I'm not sure if there's a specific subset of SVG that's well-defined > enough to write a reader for. I guess it's just XML under the hood. > Maybe the thing to do would be to load a vector Texas outline into > Inkscape, save it, and write a quick-and-dirty parser for whatever's > there? > I am not aware of a standard format. The inkscape idea could work, I myself used Matlab's imread, not sure if it supports svg currently. > --- > Roy > _______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users