lo1
@lo1
New Member
Joined: Feb 14, 2024
Topics: 44 / Replies: 1920
Reply
RE: Challenge: 'n' loops inside loops

This is called permutation and is trivially achieved using recursion. ( local maxNum = 7 local numItems = 5 fn concat results& arr n…

7 years ago
Forum
Reply
RE: 3D Transform API. Existential doubt

As a user both options in the OP seem fine to me, I’ve seen APIs use both. The only thing that would be a big no-no is normalizing in place AND return…

7 years ago
Forum
Reply
RE: Get all 3ds max installed versions

Use the registry keys under LocalMachine/SOFTWARE/Autodesk/3dsmax Of course verify the actual paths exist as well.

7 years ago
Forum
Reply
RE: Wrote a function lister for MAXscript

Are you not familiar with Ctrl+Right click in the MXS editor? Literally what this does.

7 years ago
Forum
Reply
RE: Trying to create my first "hello world" plugin. Got stuck.

Yes, unfortunately about half of the time developing a plugin for 3dsmax is spent waiting for 3dsmax to load.

7 years ago
Forum
Reply
RE: C#: compiled classes disappearing?

I would suspect that what is failing is not the assembly in memory, but the name resolution of the dotNetClass mechanism. If it were that only one ass…

7 years ago
Forum
Reply
RE: How To Get Time From The Internet With Maxscript

You can compile c# code outside of a method and class. There are plenty examples on this forum.

7 years ago
Forum
Reply
RE: How To Get Time From The Internet With Maxscript

If you can use port 13 then this should work: ( local client = dotnetObject “System.Net.Sockets.TcpClient” “time.nist.gov” 13 local streamRead…

7 years ago
Forum
Reply
RE: How to create a linear wave function

Bonus, without any trig: 2 * abs ((mod (abs x) 180.) / 180. – .5)

8 years ago
Forum
Reply
8 years ago
Forum
Reply
RE: Get all V-ray raw image file output types automatically

Figure out which versions allow which extensions and hardcode it in your script.

8 years ago
Forum
Reply
RE: offset vector

Multiply [0,8,0] by your matrix.

8 years ago
Forum
Reply
RE: offset vector

To find an arbitrarily perpendicular unit vector to a 3d vector you can use the following method: fn ArbitraryPerpendicularUnitVector vec = ( if …

8 years ago
Forum
Reply
RE: offset vector

There are infinite points that fulfill this requirement, they form a circle around A. You need to add another requirement.

8 years ago
Forum
Page 1 / 131