MatanH
@matanh
New Member
Joined: Feb 14, 2024
Topics: 28 / Replies: 281
Reply
RE: Additive Morphing

Hi, I don’t know if you found a solution but here is an idea. Let’s mark the edges arround vertex i as ei1, … , ein. For every j between 1 and n lets …

13 years ago
Forum
Reply
RE: What is this error ?

If you are trying to run this script in a 64 bit version of max, you will get this error since it doesn’t support ActiveX controls anymore. The only w…

13 years ago
Forum
Reply
RE: Mini-challenge #7: Divide bezier spline

Denis, I didn’t have time to dive into your code yet, but from a small experiment that I did with it, it looks like it doesn’t work very well with big…

13 years ago
Forum
Reply
RE: Find one of each instance – Efficiently

I assumed the inode.handle is what slowed me down but I didn’t know about the GetHandleByAnim, so I gave up. Thanks! This is very useful. Cheers. P.S…

13 years ago
Forum
Reply
Reply
RE: Find one of each instance – Efficiently

I think this might be more efficient: ( fn collectUniqueObjs = ( local objs = #() local handles = #{} for o in objects where not handles[o…

13 years ago
Forum
Reply
RE: pivot alignment

You said the objects are modeled as nurbs. If you are importing them into max as mesh then you can use this script that does exactly what you are look…

13 years ago
Forum
Reply
RE: Bitmap drawing on modifier

The script uses the event handlers of a dialog that doesn’t exist in an attribute holder. You could go around this in a couple of ways, for instance: …

13 years ago
Forum
Reply
RE: Limit fractional digits?

I didn’t give any thought to negative numbers, I admit but it looks like it’s working ok to them. Can you give an example? I get these results for …

13 years ago
Forum
Reply
RE: Limit fractional digits?

the main part is the function definition of ‘limit’ the rest is just an example of use. limit expects 2 input parameters: x – the number we want to li…

13 years ago
Forum
Reply
RE: Limit fractional digits?

( fn limit x n = ( (floor (x * 10 ^ n + 0.5)) / 10 ^ n ) local x = random 1. 100. format “% => % ” x (limit x 2) ) EDIT: edited the funct…

13 years ago
Forum
Reply
RE: Collect all Lights in Dropdownlist

You can also use getNodeByName But I prefer something like this: ( … local lightsArray dropdownlist ddlLightList “LightList:” on roll o…

13 years ago
Forum
Reply
RE: Detecting cylinder orientation

here is a general way of doing that: ( local obj = $ local objMesh = obj.mesh local thresh = 0.001 local vectorsArray = #() local vectorCount = …

13 years ago
Forum
Reply
RE: spline curve on floater?

hi, It was a long time ago and I don’t remember what exactly was I talking about back then, but I guess I didn’t do it in the end. Any how I’m sure it…

13 years ago
Forum
Reply
RE: spline curve on floater?

check out this thread , it might give you an idea:

13 years ago
Forum
Page 5 / 21