miauu
@miauu
New Member
Joined: Feb 14, 2024
Topics: 122 / Replies: 1116
Reply
RE: Find visual center of contour/polygon

denisT: this is correct! we have to loop them all. Do you mean that this(fromt he original js code) // do not drill down further if there’s no …

3 years ago
Forum
Reply
RE: Find visual center of contour/polygon

Thank you. Also, we can exit the while loop when the currCell.data.z – bestCell.data.x < precision, otherwise the loop will continue with the rest …

3 years ago
Forum
Reply
RE: Find visual center of contour/polygon

I have to use this in your code bbox = ( struct bbox ( private FLT_MAX = 3.40282e+038, public bmin = FLT_MAX…

3 years ago
Forum
Reply
RE: Find visual center of contour/polygon

Thank you, Denis. Reading your code and using part of it I was able to fix mine. This is the difference, but it is essential: qsort cellQueue cellSort…

3 years ago
Forum
Reply
RE: Find visual center of contour/polygon

@Serejah, does the image you posted above is from the same code(polylabel) used inside 3ds max? I am not sure, but I think that the proper point has t…

3 years ago
Forum
Reply
RE: Find visual center of contour/polygon

Thank you. Tomorrow this will be the first think that I will do.

3 years ago
Forum
Reply
RE: Find visual center of contour/polygon

Yep. I have “converted” the original js code to maxscript. The image in my first post shows the result – not what I expect. But, I am pretty sure that…

3 years ago
Forum
Reply
RE: Find visual center of contour/polygon

There are few python implementation but in all of them the code is almost the same.

3 years ago
Forum
Topic
Forum
Replies: 57
Views: 155
Reply
RE: EditPoly set vertex absolute position with MaxScript

EditPolyMod.SetVert $.Edit_Poly #{1} [0,0,0] node:$ $.modifiers[#Edit_Poly].Commit()

3 years ago
Forum
Reply
3 years ago
Forum
Reply
RE: How can i convert array of empty nodes to a string

namesStrArr = for n i namesArr collect n as string

3 years ago
Forum
Reply
RE: Spline reverse vs splineOp.revese

So, somewhere on version 2014 the big was introduced. Just checked on max 2022 – the problem exist.

3 years ago
Forum
Reply
RE: Spline reverse vs splineOp.revese

I am using max2020 and the problem exist in it. If you have the same issue on max2014 then the reverse works the same on all max versions, but it not …

3 years ago
Forum
Reply
RE: Spline reverse vs splineOp.revese

Yes, this is a solution. But the reverse <shape> <spline_index_integer> does not works as it should. In which version of 3ds Max you tes…

3 years ago
Forum
Page 9 / 83