> On 25 Jul 2018, at 14:24, Ricardo Ruiz Baier <[email protected]> wrote: > > Dear all, > > > I would like to rotate an stl (actually, the resulting volumetric mesh) > around the z-axis. > > If I simply do > > Merge "test_surface.stl"; > Surface Loop(2) = {1}; > Volume(3) = {2}; > Rotate {{0, 0, 1}, {0, 0, 0}, Pi/4} { Volume{3};} > > Then I can generate the volumetric mesh (and eventually rescale it with > Mesh.ScalingFactor = 2;) but the rotation has not been applied. > > If instead I apply the rotation on the surface > > Rotate {{0, 0, 1}, {0, 0, 0}, Pi/4} { Surface{1};} > > then gmsh throws an error: > > Impossible to transform entity 1 (of type 305) > > > Any assistance with this issue is much appreciated.
All the geometrical transformation are applied on the CAD (geometry) level - there's nothing implemented on the mesh level. Christophe > > Kind regards, > > Ricardo > > > > <test_surface.stl>_______________________________________________ > gmsh mailing list > [email protected] > http://onelab.info/mailman/listinfo/gmsh — Prof. Christophe Geuzaine University of Liege, Electrical Engineering and Computer Science http://www.montefiore.ulg.ac.be/~geuzaine Free software: http://gmsh.info | http://getdp.info | http://onelab.info
_______________________________________________ gmsh mailing list [email protected] http://onelab.info/mailman/listinfo/gmsh
