MCG Edge Length Display
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..
Attachment | Size |
---|---|
vu_edgelengthdisplay_1.00.zip | 52.74 KB |
vu_edgelengthdisplay_1.01.zip | 59.19 KB |
vu_edgelengthdisplay_1.02.zip | 60.34 KB |
vu_edgelengthdisplay_1.03.zip | 61.33 KB |
vu_edgelengthdisplay_1.04.zip | 63.32 KB |
Comments
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)
thanks
Hi. thanks for quick response. Didn't realise that!
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
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
Extension
for 2016, you MUST have Extension 1 or 2.
Can use it
I use max 2016+SP4
but I can't install the tool.
Hoe can I do?
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...
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.
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 ?
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: