![aorta.geo gmsh aorta.geo gmsh](https://jonathanvelascocom.files.wordpress.com/2016/11/circle_planes_geo_gui.png)
Am I missing something here? I have tried, for example, to call () before attempting to call copy(), but this had no effect.įinally, when I use the dilate transformation in the Gmsh GUI using Modules - Geometry - Elementary entities - Transform - Scale, checking the Apply scaling on copy option in the dialog, on the example spline from above, I indeed get a scaled version of the curve as expected, including the three points. The error code, 1, seems to indicate that the tag of the original spline ( s1) cannot be found when copy() is called. I get ValueError: ('gmshModelGeoCopy returned non-zero error code: ', 1). Secondly, when I try to make a copy of a spline like in this example: p1 = (-1, 0.5, 0, 0.1)
#Aorta.geo gmsh full
But is there any way to get the full Gmsh script out of the API? I assume this has something to do with the _unrolled part. This extension does the trick mostly, but it seems that any meshing operations (such as marking curves as transfinite) or transformations (such as dilate) are not written to the output file when using gmsh.write('test.geo_unrolled').
![aorta.geo gmsh aorta.geo gmsh](https://jonathanvelascocom.files.wordpress.com/2016/11/gmsh-parametrized-circle-script.png)
geo_unrolled extension is supported for the gmsh.write() function, but not just. I looked through the source code of the Gmsh API and found that the. There are a few issues I am running into:įirst of all, I would like to be able to write Gmsh script files (. I am trying to write a script that will automatically mesh geometries for CFD analysis using the Gmsh Python API.