|
![]() |
#61 |
Registered User
Join Date: Feb 2008
Location: Italy
Posts: 196
Thanks: 0
Thanked 0 Times in 0 Posts
|
i'm still using max 9 T_T
well, i think i'll wait till i update to a newer version, thanks however ^^ |
![]() |
![]() |
![]() |
#62 | |
Supplies Coordinator
Join Date: Oct 2004
Location: United States
Posts: 3,323
Thanks: 0
Thanked 11 Times in 8 Posts
|
Quote:
Code:
For each edge in this object do Make a new selection list. Then try to Select the two polygons that share this edge. If the smoothing groups don't match, add the edge to a list. Set the object's edge selection to the selection list Throw a party
__________________
Be sure to check out my blog because there's tons of useful resources there: |
|
![]() |
![]() |
![]() |
#63 |
Supplies Coordinator
Join Date: Oct 2004
Location: United States
Posts: 3,323
Thanks: 0
Thanked 11 Times in 8 Posts
|
Hey there, I'm sorry. I've been really busy; is this still a needed item? I think it can be done rather quickly if you still want it.
__________________
Be sure to check out my blog because there's tons of useful resources there: |
![]() |
![]() |
![]() |
#64 |
Registered User
Join Date: Feb 2004
Location: Not Underwater, Japan
Posts: 382
Thanks: 0
Thanked 10 Times in 3 Posts
|
It would be handy. It will make the transition from a low poly 'rough' with smoothing groups to a nice chamfered high poly much easier. As long as it selects ALL the edges of all the different smoothing group edges. That would be really cool if you could!
__________________
Life is a Game. Life is Dominance War IV. Life is a very old tutorial. Life is a i7940, Geforce GTX 295, 6Gb Ram, Cosmos S PC. |
![]() |
![]() |
![]() |
#65 |
Supplies Coordinator
Join Date: Oct 2004
Location: United States
Posts: 3,323
Thanks: 0
Thanked 11 Times in 8 Posts
|
Discmage, click through to my blog and you can download the select smoothing groups boarder script. It was pretty easy, and I'm surprised not a standard feature in max. It's kinda cool.
![]() ![]() Cheers!
__________________
Be sure to check out my blog because there's tons of useful resources there: Last edited by Mr. Bluesummers-3DT; 17-04-2009 at 03:23 AM.. |
![]() |
![]() |
![]() |
#66 |
Registered User
Join Date: Feb 2004
Location: Not Underwater, Japan
Posts: 382
Thanks: 0
Thanked 10 Times in 3 Posts
|
You are a genius
![]()
__________________
Life is a Game. Life is Dominance War IV. Life is a very old tutorial. Life is a i7940, Geforce GTX 295, 6Gb Ram, Cosmos S PC. |
![]() |
![]() |
![]() |
#67 |
conscientious objector
Join Date: Sep 2007
Location: cambridge, uk
Posts: 4,313
Thanks: 3
Thanked 130 Times in 124 Posts
|
It's a bit cheeky but it's probably better to thread hijack than make a new one..
Since I needed to this earlier I figured I might as well put it up here. This'll import all the .obj files in a folder to your scene - pretty handy if you've exported a load of separate subtools. You have to manually enter the path to the files because I couldn't be bothered to do a gui (don't forget the double backslashes) max 2009 makes sensible object names, max 9 doesn't. I cant remember whether 2008 does or not. anyway - dump the following into a script file and run it Code:
--enter your path here files = getFiles "T:\\whereveryoukeepthings\\import\\base_obj_files\\*.obj" for f in files do ( --import various obj files from the path specified above fullFilePath = getFilenamePath f + filenameFromPath f importFile fullFilePath #noPrompt quiet:true ) |
![]() |
![]() |
![]() |
#68 |
Registered User
Join Date: Feb 2004
Location: Not Underwater, Japan
Posts: 382
Thanks: 0
Thanked 10 Times in 3 Posts
|
Um...about that select edge script...it doesn't seem to work. I finally used it on a model I am working on (it was too close to the ed of my character for the DW) and when I run the script, nothing is selected.
Is there anything I need to have done to make it work? eg. use an editable poly or editable mesh, have the faces selected etc? Oh I'm using Max 2009 if that makes any difference too.
__________________
Life is a Game. Life is Dominance War IV. Life is a very old tutorial. Life is a i7940, Geforce GTX 295, 6Gb Ram, Cosmos S PC. Last edited by discmage; 18-05-2009 at 06:46 AM.. |
![]() |
![]() |
![]() |
#69 |
Dr. Hula
Join Date: May 2008
Location: Stockholm, Sweden
Posts: 4,639
Thanks: 144
Thanked 137 Times in 131 Posts
|
What about a thread for 2d supplies as well, such as brushes and the like?
![]()
__________________
What does the doctor ordain today? - Hmm... What about a shot... full of ideas! ![]() ![]() ![]() WIP
![]() Hula's 2D Sketchbook http://forums.3dtotal.com/p=777808 Hula's 3D Sketchbox http://forums.3dtotal.com/p=76693 Hula and Waska's Joint Project Thread http://forums.3dtotal.com/p=792813 |
![]() |
![]() |
![]() |
#70 |
Reputation beyond repute
Join Date: Feb 2005
Location: Chicago
Posts: 9,300
Thanks: 364
Thanked 263 Times in 222 Posts
|
you can post 2d requests in here too.
|
![]() |
![]() |
![]() |
#71 |
Dr. Hula
Join Date: May 2008
Location: Stockholm, Sweden
Posts: 4,639
Thanks: 144
Thanked 137 Times in 131 Posts
|
Okay then, nice!
Then it stands as it is; some good, useful rock brushes ![]()
__________________
What does the doctor ordain today? - Hmm... What about a shot... full of ideas! ![]() ![]() ![]() WIP
![]() Hula's 2D Sketchbook http://forums.3dtotal.com/p=777808 Hula's 3D Sketchbox http://forums.3dtotal.com/p=76693 Hula and Waska's Joint Project Thread http://forums.3dtotal.com/p=792813 |
![]() |
![]() |
![]() |
#72 |
conscientious objector
Join Date: Sep 2007
Location: cambridge, uk
Posts: 4,313
Thanks: 3
Thanked 130 Times in 124 Posts
|
a code snippet for selecting alternate edges in a ring would be handy - I'll do the rest ..
|
![]() |
![]() |
![]() |
#73 |
Quadcore
Join Date: Nov 2004
Location: Pittsburgh
Posts: 1,416
Thanks: 3
Thanked 29 Times in 25 Posts
|
This ended up being WAAAAAAYYYY more complex than I thought it would be. There is probably an easier way, but this works.
2 rules: 1 - The object must be an Editable Poly 2 - You must select 1 edge and 1 edge only It will then propagate out from that edge, alternately selecting edges. It does occasionally get a little confused if your edge ring crosses itself because I uses the inbetween faces to determine whether edges are adjacent or not. Code:
obj = $ firstEdge = getEdgeSelection obj firstEdge = firstEdge as array edgeRing1 = #{} curEdges = #() altEdgeRing = #() curEdge = #() tempEdges = #() a = true b = false faceEdges = #() feIndex1 = undefined feIndex2 = undefined if firstEdge.count == 1 then ( obj.SelectEdgeRing() edgeRing1 = getEdgeSelection obj edgeRing1 = edgeRing1 as array altEdgeRing = #(firstEdge[1]) curEdges = #(firstEdge[1]) while edgeRing1.count != 0 do ( for f in curEdges do ( feIndex1 = findItem edgeRing1 f if feIndex1 != 0 then deleteItem edgeRing1 feIndex1 edgeFaces = polyOp.getEdgeFaces obj f if a then ( append altEdgeRing f for ef in edgeFaces do ( faceEdges = #() faceEdges = polyOp.getFaceEdges obj ef for fe in faceEdges do ( feIndex1 = findItem edgeRing1 fe b = (fe != f) if feIndex1 != 0 and b then ( append tempEdges fe deleteItem edgeRing1 feIndex1 ) ) ) ) else if not a then ( for ef in edgeFaces do ( faceEdges = #() faceEdges = polyOp.getFaceEdges obj ef for fe in faceEdges do ( feIndex1 = findItem edgeRing1 fe b = (fe != f) if feIndex1 != 0 and b then ( append tempEdges fe deleteItem edgeRing1 feIndex1 ) ) ) ) ) curEdges = tempEdges tempEdges = #() a = not a ) polyop.setEdgeSelection obj altEdgeRing ) gc() |
![]() |
![]() |
![]() |
#74 |
conscientious objector
Join Date: Sep 2007
Location: cambridge, uk
Posts: 4,313
Thanks: 3
Thanked 130 Times in 124 Posts
|
woop!
go buzzy! it's the only thing from graphite tools i miss on 2009. maxscript is such an ugly language. |
![]() |
![]() |
![]() |
#75 |
Supplies Coordinator
Join Date: Oct 2004
Location: United States
Posts: 3,323
Thanks: 0
Thanked 11 Times in 8 Posts
|
Updated WireBundle script for you guys. Indeed, Maxscript is a truly awful language. Someday, maybe they'll switch everything over to C#...
Download the wire bundle maxscript here.
__________________
Be sure to check out my blog because there's tons of useful resources there: |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|