Measure Distance & Size

EnSight has no really handy capability to measure the size of a selected part or the distance between two points although all necessary information is existig. I was asked several times for a simple click solution. Well, here it comes. Attached are two Python codes zipped to a complete directory. Both scripts include a dynamical GUI which enables a very handy usage.

The size measurement tool:

Start the routine and just select one ore more parts from the part list or directly from the graphical area – that’s all. The GUI of the code will update immediately so you will get the desired information without more steps.

 

 

 

 

 

 

 

 

The distance measurement tool:

Start the routine and choose the measurement mode. Now just click on the first surface point. The GUI will update at once and asks you to select the second surface point. Once again the GUI will update and tell you the distance betwee the two points. Both points are connected with the line tool now. You can continue picking surface points as long as the GUI is active. If you are finished, just quit the GUI and the line tool will disappear.

 

 

 

 

 

 

 

 

Both routines are included in a complete user defined tool directory. Download the file, unzip it and copy the¬†whole directory to this path (If the path does not exist you’ll have to create it):

$HOMEDRIVE/$HOMEPATH/.ensight100/extensions/user_defined

 

Please contact me at david@ceisoftware.com if you have any problems.

david

CEI_GMBH_TOOLS

4 thoughts on “Measure Distance & Size

  1. Aric, I was not aware of this problem under 9.2. However the workaround is simple. Click on the first point of the part. Now click on the background of your viewport and then click on the second point of the part. This should work.

Leave a Reply