Pjanssen
Autodesk 3D Studio Max / 16 jaar geleden
Hard / Soft Edge Tool Hoi!

Het is al weer lang geleden dat ik hier iets postte, maar het leek me goed om dit hier te plaatsen:
Afgelopen week ben ik tijdens m'n stage bezig geweest met het schrijven van een maxscript dat de smoothing technieken van maya naar max haalt. Dat wil zeggen, de workflow. Ik hoorde van veel mensen (maya gebruikers die 'geforceerd' werden max te gebruiken) dat de smoothing groups erg onhandig zijn. Ik ben het daar eerlijk gezegd ook wel een beetje mee eens, het is niet erg logisch.
Vandaar dit script, wat je in staat stelt om edges te smoothen, of juist the 'unsmoothen'; zoals in maya dus.


http://www.threesixty.nl/maxscript/HardSoftEdge.zip


Voor voorbeelden, check: http://www.scriptspot.com/3ds-max/hard-soft-edge
Een kopie van die post, in het engels, omdat ik te lui ben het te vertalen:
Description:
The past couple of days I've been working on a script to get the maya way of handling smoothing into max. To some people, setting which edges should be hard and which should be soft makes more sense than the use of smoothing groups. I personally think that they both have their uses, in different situations.
I hope that this script can be a useful tool to speed up the modeling process.

Installation:
* Close 3dsmax.
* Unzip the contents of the package into the folder [your3dsmaxdirectory]/Scripts/startup/
* Start 3dsmax.
* In the customize user interface dialog, you'll find a 'set hard edge' and a 'set soft edge' command, under the catagory 'Hard / Soft Edge'.
* Assign it to a hotkey, quad menu, toolbar or whatever you prefer.

Usage:
* Select an editable poly.
* Select one or multiple edges.
* Start the macroscript for a hard or soft edge.
* Be amazed (optional).

Known issues and limitations:
There are a couple of things you should take into account when using this script:
* The script is not optimized! It processes the edge selection per-edge, meaning that it can 'make a mess' of your smoothing groups. I've tried to keep this to a minimum, without having to do complicated optimization algorithms.
From the tests I did so far, I have encountered no problems, but I'm not guaranteeing that there will be no smoothing group conflicts when used intensively. Please keep this in mind when using the script. Use it as an addition to smoothing groups, rather than a replacement.
* The script is simulating the hard/soft edge functionality, it's not changing the way smoothing works in max. It sets smoothing groups according to the input. This means that you can mix the usage of smoothing groups and the hard/soft edge tool.
* When you are using this script on edges that are connected to a vertex which is shared by more than 16 edges, the smoothing isn't working correctly. For example, the top of a sphere with more than 16 segments.
* The script only works with Editable Poly, not with an object with an Edit Poly modifier, or Editable Mesh. This is due to the way maxscript can perform actions on these different objects.
* I have tested the script only in max9, 32bits. I don't expect any issues with (slightly) older versions though.
 Like
Volg
 Reageer
3ddy
Goed werk! Ik gebruik hem maar direct! 👍
 16 jaar geleden