PDA

View Full Version : Post Your POLY Idea - Get Your POLY Script


DentonVanZan
09-25-2004, 08:01 PM
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.

Erka2
09-25-2004, 09:22 PM
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

DentonVanZan
09-25-2004, 11:17 PM
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

externe
09-26-2004, 11:11 AM
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 :)

Falfa
09-26-2004, 11:36 AM
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 ?



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 .

:)

externe
09-26-2004, 04:48 PM
No, that's not what I try to explain :(

DentonVanZan
09-26-2004, 06:10 PM
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

externe
09-26-2004, 07:37 PM
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 :sad:

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

LFShade
09-27-2004, 09:25 AM
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 (http://www.scriptspot.com/rhyde/maxscript). 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%:%\n\" " + _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 :p


RH

externe
09-27-2004, 09:51 AM
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 !
:)

Erka2
09-27-2004, 11:35 AM
LFShade, WOW, its awesome man! I love this tool! I have already asked you about something like RSD some time ago - but that time I was logged from my friends account (perfecti). Thx a lot!
One thing I have noticed now - is some kind of slowness after some time of working with this version of LSD. It works fast on max start but after some time its begin slower and slower refresh 'blue' edge-lines. And its really slowly refresh info in the left lower corner of the max blinking all the time. Info here looks like: X:0.0 Y:0.0288737 X:-0.0144369 Y:0.0250054 X:-0.0250054 Y:0.0144369 X:-0.0288737 Y:0.0 X:-0.0250054 Y:-0.0144369 X:-0.0144369 Y:-0.0250054

BTW, I have found a link to this C4D tools, they are pretty the same we have in max - but with really nice additional interactivity like R.Hyde tools have: http://www.tools4d.com/MeshSurgery/basics/ms.htm

externe
09-27-2004, 12:40 PM
BTW, I have found a link to this C4D tools, they are pretty the same we have in max - but with really nice additional interactivity like R.Hyde tools have: http://www.tools4d.com/MeshSurgery/basics/ms.htm
The edge loop here http://www.tools4d.com/MeshSurgery/flashclips/edge%20loop.html is cool, but the one of modo, is better. Only double-click on an edge to do an edge loop.

Don't no if it's possible to test the double-clic on the edge with max

This is nice too : http://www.tools4d.com/MeshSurgery/flashclips/hinge_rotate.html

DentonVanZan
09-27-2004, 09:10 PM
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 :sad:

It's a free hosting ?
Often you can find info to create simple counter on the FAQ of your hosting site
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

djlane
09-28-2004, 12:07 PM
I would like to see a tool similar to Lightwaves Bandglue tool. For those who have not used bandglue it quickly disolves rings of polys down to one ring of polys. http://www.callnetuk.com/home/djlane/before.jpghttp://www.callnetuk.com/home/djlane/After.jpg

DentonVanZan
09-28-2004, 04:51 PM
hey djlane, count that in your pocket man! thats not hard.

See ya

djlane
09-29-2004, 12:27 PM
cheers mate, nice one

DentonVanZan
09-29-2004, 07:11 PM
yeah dudes, keep up posting more ideas, but let me tell you what I think about mesh surgery crap, Most of them are really useless, we need something revolutionary like extrude along spline, ect. Post your ideas, because you know, imagination has no boundaries.

and by the way, anyone checked www.flamefx.com (http://www.flamefx.com), really cool scripts - especially pola x: the longest script I have ever seen, and oh tree maker is also very long.

See ya

CGTalk Moderation
01-19-2006, 09:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.