Notifications
Clear all

[Closed] Post Your POLY Idea – Get Your POLY Script

yeah post your dream script (not this time externe) about poly modeling, and scripters will try to write them for you for 50 bucks, I mean for free. So go ahead and give us some ideas.

16 Replies

Can you create tool similar to R.Hyde LSD(loop select/deselect) script – something like Ring Select/Deselect with the same interactivity as R.Hyde’s scripts has? Or something like additional modeling tools for cinema4D (sorry forgot the name of plugin, but video looks really nice, a lot of interactivity)…
thx

hey Erka, ok man I will check that out. and if you can post a link about C4D for the function u need, that would be cool, believe me challenge is a challenge.

See ya

Hey DentonVanZan,

me, I have a dream script and some questions. Perharps can you reply me

Questions :

-How print string + var inline like in javascript : print “result = ” + res

-Is it possible to create dynamicly variables like in javascript :

for i = 1 to 10 do
(
this[ “var” + i ] = i
)
then you have var1 = 1, var2 = 2, …

-Is it possible to create object
arr = #()
arr[ 1 ] = 12
arr[ “test” ] = “yo”

For each questions I think it ’ s impossible. I can find solution. But if you can return your idea, it will be cool.

//

Dream script :

Select a polygon on a polyobject

active a panel with 2 spinner, 1) for inset , 2) for bevel

when you change the value of the inset, you see the inset refresh on the viewport.
When you change the value of the bevel, you see the bevel, create from the inset result.

And if you re-change the value of the inset, that modify the aspect of the stack. Understand ?

Don’t know if it’s possible. Perharps you can give me an idea to realize that.

Thanks

Hum… that already exist in max by default , in edit poly you have a settings button at right of bevel , extrude , inset etc… , try this .

No, that’s not what I try to explain

externe, I dont know if I will pass your quiz but here it goes:

  if I got you correct, I would use format "% edges selected" ((polyOp.getEdgeSelection selection[1]).numberSet)

  and for dynamic variables, did you mean this?

for i = 1 to 100 do
(
for n = 1 to 10 do
(
local vertPos = polyOp.getVert selection[1] (i + n)
)
)

but if you mean, this:

local val = 10
local val02 = 20
and after this you want more variables based on a code: then I dont think you can do this.

I dont understand the third one.

And for that dream script I got what you mean because I had tried it, with previewBegin, only 1 can be active, so I guess you cant do this, but I will try to find out another solution.

now my turn man,

hey you also talked about java, which means you know java I think. And recently, I wanted to add a download counter to my site, can you help me in this? I dont want to write one just for me, but for example if I send you some code which I found from web, can you help me in integrating it to a blank page with 1 link, I really need this, and I couldnt do this on 3 days, if you do this for me, know your dream script in your pocket.

See ya

I talk javascript ( little langage ) and you talk about java ( big langage )
I don’t know what langage you want to talk about.

Your site has dynamic page ? PHP , ASP , JSP ? or just html pages
if it’s PHP, I can help you because I know PHP. But it’s other no 🙁

It’s a free hosting ?
Often you can find info to create simple counter on the FAQ of your hosting site

1 Reply
(@dentonvanzan)
Joined: 11 months ago

Posts: 0

hey externe, man I have dynamic page, and yeah thats PHP.
But it isnt free. But the problem is, I searched the net for days and I found some codes of download counters, which are simple: and they also tell you how to modify it for your site, but man I really couldnt get one to work. But if you help me to modify one, I will be really glad man. This is very important for me and I assure you it will not take your 10 minutes. Because all these codes just do this: increment a specific number by 1 and link you to a file.

I have read them and they were like this:

/cgi-bin/countThisToo.php&edgeLoop.zip

and when you put something like that (example), in your link, your file links you to the file.

and to show how much it is downloaded, you write something like this:

/cgi-bin/countThisToo.php&Show&edgeLoop.zip

man if you really help me, I wont forget this.

See ya

Erka2 –
Ask and ye shall receive. I have finally taken the time and initiative to (hastily) add edgering capability to LSD. Simply hold down the shift key while running the tool to switch to edgering mode. Grab the updated MZP package here. Next on my list is to optimize the routines to make the tool a bit snappier.

Externe –
You can create “procedural” variables using the execute statement. Example:

for i = 1 to 10 do
(
	_i = i as string
	execute ("var" + _i + "=" + _i)
	execute ("format \"var%:%
\" " + _i + " var" + _i)
)

In this example, the second execute statement simply shows that the assignment is working by outputting it to the listener. The first line inside the loop converts the loop variable to a string for clarity, but you could also do it inline if you wished. To check the value of one of these variables, you could simply call execute (“var” + (<some_value> as string)) (where some_value represents the ‘procedural’ part of the variable’s name).

AFAIK, the only way to create a tool that does both inset and bevel simultaneously and interactively would be to write it yourself, by operating directly on the mesh. This would not be simple, but is theoretically possible. I, for one, will not volunteer to produce it

RH

LFShade, thank you very much.
execute (“var” + _i + “=” + _i) , that’s exactly what I want.
And, it’s a strange syntax in maxscript

Also, I understand that the way to create inset/bevel would be very hard by re-create the function like the core function in 3ds.

But I would like to ask you if you think it was possible to play with the undo function and undo/redo each time you change the value of a spinner.
I’m not actually understand very well the undo management via maxscript. So perharps that could be a dirty way to obtain what I want, but possible and easy.

Can you give me your opinion about this way ?

Thanks !

Page 1 / 2