![]() |
||||||||||||||
|
|
||||||||||||||
|
|||||||
| Notices |
| Scripts Post and discuss architectural scripts or maxscripts here. This forum is for all software applications. |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#13 (permalink) |
|
Super Moderator
|
Tnx quizzy,
I've must have skipped it somehow... I'll give it a try rgds nisus
__________________
www.ams.be / www.nisusarts.com http://www.youtube.com/profile_videos?user=nisusCGA&p=r |
|
|
|
|
|
#14 (permalink) |
|
Super Moderator
|
okay... somewhere it says something with cupping or so...
obj.modifiers[ "cupping" ].bendAxis = 0 something like this... well MAX 3 doesn't know the .bendaxis command, it should be .axis so it should look like this in the script: -- -- Add the first bend modifier -- addModifier obj (Bend name:"cupping") obj.modifiers[ "cupping" ].Axis = 0 obj.modifiers[ "cupping" ].Angle = 90 -- -- add the bend modifier -- addModifier obj (Bend()) obj.modifiers[ #bend ].gizmo.pos += [ 0, -fLength/2., 0 ] obj.modifiers[ #bend ].Axis = 1 obj.modifiers[ #bend ].direction = 90. -- -- Add the material modifier -- This should definitely solve your problems... |
|
|
|
|
|
#15 (permalink) |
|
Super Moderator
|
Okay i've modified the script and it works now with 3d studio max 3.xxx Its true that max3 doesn't like attaching to empty meshes (numverts:0 numfaces:0) so I just said to the script to create 5 vertices, and that fixed the problem....I've put it on my script page....
quizzy's scripting page |
|
|
|
|
|
#16 (permalink) |
|
Super Moderator
|
Tnx quizzy,
I'll give it a try. I guess I missed you on the boards, but I was in a meeting. Back behind my desk now, so maybe we'll meet in a while... rgds nisus
__________________
www.ams.be / www.nisusarts.com http://www.youtube.com/profile_videos?user=nisusCGA&p=r |
|
|
|
| Sponsored Links |
|
|
#17 (permalink) |
|
Senior Member
Join Date: Oct 2003
Location: Södertälje
Age: 27
Posts: 376
Name: Kalle Eliasson |
cant find the script on any of the linked websites... sounds great though. If anyone has it, I would appreciate if you could send it to my e-mail.
skogskalle@hotmail.com thanks in advance!!! /Kalle |
|
|
|
|
|
#20 (permalink) | |
|
Member
Join Date: May 2008
Location: Lithuania
Posts: 46
Name: Gintaras Jonika |
Quote:
|
|
|
|
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|