Hello,

I try to save the specific part of a 2D geometry limited by a box with 
coordinates [0 40 0 40]
I use these commands to load and save the geometry

//
Merge "teeth.geo";
Geometry.Points=0;
General.Axes=0;
General.AxesAutoPosition=0;
General.SmallAxes=0;

General.AxesValueMaxX = 40;
General.AxesValueMaxY = 40;

General.AxesValueMinX = 0;
General.AxesValueMinY = 0;

General.AxesMaxX = 40;
General.AxesMaxY = 40;

General.AxesMinX = 0;
General.AxesMinY = 0;

Draw;
Print.Height = 700;
Print.Width = 900;
Print Sprintf("test2.png");
//Exit;

However, the resultant file contains whole geometry.
Is there a way to limit maximum and minimum coordinates shown in the 
printed image?

BR, Pavel 
_______________________________________________
gmsh mailing list
[email protected]
http://www.geuz.org/mailman/listinfo/gmsh

Reply via email to