prettyPixel
@prettypixel
New Member
Joined: Feb 14, 2024
Topics: 29 / Replies: 249
Reply
RE: How to convert a file into an array with sublevels ?

Oh man… your code is now clear like a diamond I learn all days by reading this thread! I like really the structure definition to execute functions. …

20 years ago
Forum
Reply
RE: How to convert a file into an array with sublevels ?

stuh505: pos does not need to be a global variable, because it is all within the scope of the function sublevelarray Oh I agree that ‘pos’ does n…

20 years ago
Forum
Reply
RE: How to convert a file into an array with sublevels ?

I just tested It with an unfinished array but max crash. But if I modify the line with: if (pos > list.count) then return “)” It works with a bad a…

20 years ago
Forum
Reply
RE: How to convert a file into an array with sublevels ?

oh now I understand. It’s so simple … but That isn’t so easy to understand recursive logics. The only thing that I still don’t understand is the out …

20 years ago
Forum
Reply
RE: How to convert a file into an array with sublevels ?

What value return this line ? if (pos > list.count) then return the next line ? I acknowledge that I am lost in the code.

20 years ago
Forum
Reply
RE: How to convert a file into an array with sublevels ?

stuh505: How do you paste code with indentation? Oh easy. I copy/paste from maxscript editor. I select my script and press # in toolmenu of the p…

20 years ago
Forum
Reply
RE: How to convert a file into an array with sublevels ?

I have just found the code recursive fn arrayFromFile array pos = ( newArray=#() while pos<=array.count do ( if ( array[pos]!=”(” and arra…

20 years ago
Forum
Reply
RE: How to convert a file into an array with sublevels ?

Ok I restart from the begining. If you help me a bit, I could write an optimized script. First I convert your pseudo code in maxscript. I make some m…

20 years ago
Forum
Reply
RE: How to convert a file into an array with sublevels ?

I have just found a solution. fn arrayTransformer array = ( pos=1 startBloc=0 while ( array[pos]!=”)” and pos<=array.count) do ( if array[…

20 years ago
Forum
Reply
RE: How to convert a file into an array with sublevels ?

This code is pretty similar to the functions that I have tried. But there are no recursive logic and because of that the array is not yet correct. Te…

20 years ago
Forum
Topic
Forum
Replies: 22
Views: 186
Reply
RE: Flipping Faces in Editable Poly Objects

I already had this problem With polys, nothing occurs when 3dsmax is not in subselection. And the update occurs only when 3dsmax return in object leve…

20 years ago
Forum
Reply
RE: Trigonometry basics!!

Hi loocas It’s just a precision problem. try this: abs(cos 90 – 0)<0.000001 Look at the ’ number literals ’ section for more details

20 years ago
Forum
Reply
RE: Object's coordinates exporter / Help

Here is a beginning for your exporter, just the part for assign properties… It’s a macroscript (located in ‘Tools’ category) You see it is very simple…

21 years ago
Forum
Reply
RE: Is it possible to know which modifier is used ?

sorry for my bad english鈥? but You guessed the meaning of my question. I have an object with various modifiers鈥?and with these modifiers, there are s…

21 years ago
Forum
Page 13 / 19