LiveMeasure

9 votes
Version: 
1
Date Updated: 
03/19/2019

Measure and show edges length, segments length and faces area in real time. Work with Splines, Editable_Poly and  Editable_mesh objects and Edit_Poly modifier.
--        In Polygon/Element sub-object level will show the selected faces area in generic units only.
--        In Edge/Border sub-object level will show the length of selected edges in user defined units.
--        In vertex sub-object level, when vertex is move will show the length of edges that is common for the selected vertex.
--        If top sub-object level is active will show the dimension of the selected object.

The edge/segment length and face area will update when the edges/segments/faces are scaled or when the vertex is moved.

In top left corner of the viewport will be shown the total face area or total edge length.

Thanks to kilad now the script work with max2012 and up(download LiveMeasureMAX2012.ms)

Install: drag-n-drop the LiveMeasure_v1.ms in 3ds max. Go to Customize-Customize User Interface-"miauu" caegory. Assignt to a hotkey. The script work as a toggle - press the hotkey to start, press again to stop the script.

Script idea by @harumscarum.

Video on youtube

Version Requirement: 
3ds max 2009 and UP
Video URL: 
AttachmentSize
livemeasure_v1.ms21.62 KB
livemeasuremax2012_v1.ms23.23 KB
livemeasuremax2012_v1_nocolorboxes.ms22.36 KB
livemeasuremax2012_v1_witharrows.ms25.28 KB
livemeasure_v1_0_noblackrectangles.ms21.64 KB
livemeasure_max2012_and_up.ms22.32 KB
livemeasure_v13.ms22.72 KB
livemeasure_v13_blue_color.ms22.77 KB
livemeasure_v13_blue_color_roundnumbers.ms23.11 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
miauu's picture

harumscarum, i don't have any

harumscarum, i don't have any problems with position of the cage when the Edit_Poly modifier is applyed. See the attached images.
I attached the new version for max2012. There is a 4 colored butons that will change the color of the text, displayed on the screen.
Test it and tell me if there are problems. If no problems occure I will upload the script and name it for max2012.
:)

AttachmentSize
livemeasure_v1_for_max2012.ms 23.29 KB
livemeasuremax2012.png 76.6 KB
harumscarum's picture

yeah, just object dimensions

yeah, just object dimensions not working with some modifiers. but it is not very important i suppose

here is image of wrong dimensions position attached.

and i agree with you that text is much more readable with black (or maybe semitransparent?) rectangular

AttachmentSize
untitled-1.png 71.81 KB
miauu's picture

Thanks! I will remove the

Thanks!
I will remove the black rectangles. I put them just to make text more readable.
Can you post an image of wron position of the obj dimension lines?
About you previous post - the problem with applyed modifiers - in the image that you post what you trying to show with the script - obj dimension or something else?

harumscarum's picture

not working again... black

not working again... black rectangles

and one more bug - object dimensions shown in wrong position if EditPoly is applied

miauu's picture

kilad, thank you very much!

kilad, thank you very much! About this problem: The black rectangle drawed in front of the text etc

can someone test the attached script. I swap theposition of writing the text and the rectangle. In the original script first the rectangle is drawed, then the text on top of it. In the attached script first the text is drawed then the rectangle.

Note that in max2009 this script will display only the black rectangle.

 

harumscarum, the script work with editable_poly, editable_mesh, spline objects and with object that have edit_poly modifier on top of the stack. I will try to add support for other modifiers. :)

 

AttachmentSize
miauu_livemeasure_max2012_01.ms 21.17 KB
harumscarum's picture

thanks! version from kilad is

thanks! version from kilad is working, but still crashing if some modifier (cap holes, uvw map, etc) is applied.

AttachmentSize
untitled-2.png 106.25 KB
kilad's picture

hey miauu

check this out:
http://docs.autodesk.com/3DSMAX/14/ENU/MAXScript%20Help%202012//index.ht...

Viewport Drawing Methods

posInScreen is undefined for some strange reason, putting it in
a try/catch works..

tried to see what i could do with it, but didn't get too far.
The black rectangle drawed in front of the text etc

btw cool script!

AttachmentSize
miauu_livemeasure.ms 21.38 KB
miauu's picture
ruhl's picture

:( X again.

:( X again.

miauu's picture

This script have a new name -

This script have a new name - "Live Measure for max2012". You have to assign a hotkey(or a toolbar button) to start it.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.