Hi David,

Thank you for your reply. Unfortunatly, the BoundingBox does not seem to work. At least not as I expected... As far as I understood, the BoundingBox command returns a list with [Xmin,Ymin,Zmin,Xmax,Ymax,Zmax]. I can then build a Box (volume) with the command Box{Xmin,Ymin,Zmin,Xmax-Xmin,Ymax-Ymin,Zmax-Zmin}.

I attach a screenshot with the original volume and its computed bounding box [see VolumeOfInterest_withBB.png]. I also noticed that the yellow point representing the volume in the GUI is not even close to the center of the volume (which is supposed to be the case)[see VolumeOfInterest.png].

Does anybody have a hint ?

Regards,

Lionel


On 26.11.2017 19:46, David Colignon wrote:

Hi Lionel,

You could try:

http://gmsh.info//doc/texinfo/gmsh.html#Floating-point-expressions

BoundingBox Point|Line|Surface|Volume { expression }

Regards,

Dave


_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh

Reply via email to