MCG Edge Length Display

2 votes
Version: 
1.03
Date Updated: 
07/03/2016

This MCG displays edge length of visible edges in your mesh. Will also work for spline, as in straight segments, ie. not the curve of a circle

ver 1.01: added unit display...with chicken foot symbol for feet...well it's my MCG and I can do whatever I want..

ver 1.02: added miles and kms

ver 1.03: updated the Vu_GetVisibleEdges compound so that all edges are now unique. Previously, non-open edges were doubled up...you don't notice it as the displays are doubled up in exactly the same place...but now they are all single edges.

If you want to just get at my compound (eg. there's a Plexus MCG posted that you might want to use my compound for proper open edges display and also no tris...then you can extract the comound manually by renaming mcg file to zip...)

ver 1.04: very silly of me...the whole point of this was No Duplicates...but somehow I left out the RemoveDuplicates logic....DOH!!!....anyway...it's back in properly now..

3ds Max Version Requirement: 
2016
Other Requrements: 
Max2016 + SP3 + EXT2, Max2017
Video URL: 
AttachmentSize
vu_edgelengthdisplay_1.00.zip52.74 KB
vu_edgelengthdisplay_1.01.zip59.19 KB
vu_edgelengthdisplay_1.02.zip60.34 KB
vu_edgelengthdisplay_1.03.zip61.33 KB
vu_edgelengthdisplay_1.04.zip63.32 KB

Comments

Comment viewing options

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

Max 2021; MCG implementation changed?

I get the following error in listener

Error occurred in Vu_EdgeLengthDisplay defined in C:\Users\j\Autodesk\3ds Max 2021\User Tools\Max Creation Graph\Packages\Vu_EdgeLengthDisplay.mcg
- System.AggregateException, One or more errors occurred. at Void ThrowIfExceptional(Boolean)
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Parallel.PartitionerForEachWorker[TSource,TLocal](Partitioner`1 source, ParallelOptions parallelOptions, Action`1 simpleBody, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
   at System.Threading.Tasks.Parallel.ForEach[TSource](Partitioner`1 source, Action`1 body)
   at Autodesk.Sequences.ImmutableArray.ParallelSelect[T,U](IArray`1 self, Func`2 map)
   at _anonymous_type_0.main(InstanceState state, INode PickNode, Int32 Unit, Int32 FloatPrecision, Boolean Upright, Single Scale, Single Kerning, Single UserRotY, Single UserRotX, Single UserRotZ, Matrix shapeTransform, Single UserOffsetX, Single UserOffsetY, Single UserOffsetZ)

(EdgeLengthDisplay spline object added to scene, set to cm, a spline picked/selected in options)

thewool's picture

thanks

Hi. thanks for quick response. Didn't realise that!

vusta's picture

but...but.....but...

my mcg (90% of them) are all there for ppl to open them up and dissect...

after you've installed, by default, the tools are in:

C:\Users\xxx\Autodesk\3ds Max 201N\Max Creation Graph\Tools

thewool's picture

nice one

Hi there, just learning mcg. Was wondering if you could let me know how you display calculated values on the screen in mcg?

Is it possible to do in a modifier? For example display the face area next to the face in question?

Also, would it possible to share your mcg file to learn how?

Cheers

vusta's picture

Extension

for 2016, you MUST have Extension 1 or 2.

Puffdad's picture

Can use it

I use max 2016+SP4
but I can't install the tool.
Hoe can I do?

AttachmentSize
errow.jpg 11.16 KB
vusta's picture

quick test...

rename your C:\Users\eu\Autodesk\3ds Max 2017\Max Creation Graph to bkup_Max Creation Graph...this is so you have a clean slate...reinstall my mcg (it will recreate a fresh Max Creation Graph directory)...see how that goes...

3dbox's picture

I apologize that I didn't say

I apologize that I didn't say at once that of course I pick the object. Nothing happens, only errors in listener.

AttachmentSize
1.gif 201.73 KB
vusta's picture

well if you want to display the edgelengh of some object....

you gotta PICK some object...if you don't pick some object...then it's 'null'...if it's null....how is it gonna get an edge length ?

3dbox's picture

Don't work for me

I'm trying it on both Max 2016+Ext2 and Max 2017.
In both of them nothing appears in viewport after I create EdgeLengthDisplay object. This errors logged in listener:

AttachmentSize
error.txt 8.14 KB

Comment viewing options

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