PolyTools3D
@polytools3d
New Member
Joined: Feb 14, 2024
Topics: 17 / Replies: 1674
Reply
RE: ProOptimizer.VertexCount not updating

Try: addModifier obj mod_optimizer mod_optimizer.Calculate = on [b]completeredraw() /* or redrawviews()[/b] */ mod_optimizer.VertexCount = (ami…

7 years ago
Forum
Reply
RE: Find a file in different location

Yes, you could do that or have a little function like: ( fn RemoveFolderLeaf folder amount = ( for j = 1 to amount do folder = pathc…

7 years ago
Forum
Reply
RE: Find a file in different location

( folder1 = @”C:\User01\Jobs\Revolution\MaxProgramming” folder2 = pathconfig.removepathleaf folder1 print folder1 print folder2 )

7 years ago
Forum
Reply
RE: Close a dialog/rollout without destroydialog?

It’s been there at least since Max 2014.

7 years ago
Forum
Reply
RE: How to find if the object is cylinder?

miauu: Object $Solid_003(red color) is not detected as cylinder, while other objects with the same topology are detected as cylinders. Objects $Soli…

7 years ago
Forum
Reply
RE: How to find if the object is cylinder?

miauu: The object on the left is one single mesh object(one cap is missing, tha half of the side faces are missing). On the right there are bunch of…

7 years ago
Forum
Reply
RE: How to find if the object is cylinder?

Please note that the function has 2 threshold values, one for angles and the other for distances. I set the angle threshold to0.0001 (89.9943 degrees…

7 years ago
Forum
Reply
RE: How to find if the object is cylinder?

miauu: Thank you to all. All methods works fine and I use all of them. Aandres, your first method finds 62 cylinders(300 ms). The Polytools method…

7 years ago
Forum
Reply
RE: How to find if the object is cylinder?

As every algorithm based on threshold values, it is very susceptible to them, but this seems to trap small changes in geometry. ( fn GetVer…

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

It’s a hard to answer question as it depends on what you will use it for, but in general cases, if you are normalizing a vector, you would most probab…

7 years ago
Forum
Reply
RE: C++ style map in maxscript

I know I was not comparing searching methods but showing that even an empty loop is 20 times slower than findIten(), so anything you do beyond that …

7 years ago
Forum
Reply
RE: C++ style map in maxscript

gtafan: I just wondering how that findItem is faster than my solution if it makes “==” comparison, like I do. You can call me dumb, but I am not und…

7 years ago
Forum
Reply
RE: C++ style map in maxscript

Perhaps you should put your search algorithm here so we can compare with other methods. Don’t forget to also put a good test example. PD: Even if wha…

7 years ago
Forum
Reply
RE: Attach mesh to an empty mesh

You don’t have to copy an object to have two objects usingthe same material, it was just an example.

7 years ago
Forum
Reply
RE: Attach mesh to an empty mesh

( /* Delete all objects */ delete objects /* Create a multimaterial with 4 submaterials */ mat = multimaterial numsubs:4 mat[…

7 years ago
Forum
Page 26 / 113