Home Technical Talk

3d max - Unwrap UVW options

Firstly sorry for my english :>

When I unwrap UV, I can't turn off permanently 2 options : 'show seam', 'show map seam'. They are turned on, every time when I choose Unwrap UVW from Modifier list. Is it possible to turn them off permanently ?

Replies

  • Neox
    Offline / Send Message
    Neox godlike master sticky
    yes turn them off go into edit mode and save it as default setting
  • pittek
    it doesn't help :/ when I save and leave Edit mode, select different object (or the same), choose Unwrap UVW - it's still turned on :/
  • anoon
    Do it again, but collapse the stack one time
  • Yozora
    Offline / Send Message
    Yozora polycounter lvl 11
    works for me. You have to open the edit uvws window, go to options and "Save current settings as default"
  • pittek
    nope :/ It's a little bit better, becouse when I save 'as default settings', collapse stack (collapse all or collapse to) - then, option 'Show Map Seam' is unmarked, but 'Show Pelt Seam' is still marked :/ incredible.
  • renderhjs
    Offline / Send Message
    renderhjs sublime tool
    or use a custom maxscript to add a UV-unwrap modifier with those options disabled
  • pittek
  • renderhjs
    Offline / Send Message
    renderhjs sublime tool
    press F11 (maxscript listener) - paste this script (into the white part,- not the pink one)
    disableSceneRedraw();
    
    modPanel.addModToSelection (Unwrap_UVW ()) ui:on
    
    $.modifiers[#unwrap_uvw].unwrap5.setShowMapSeams off;
    $.modifiers[#unwrap_uvw].unwrap5.setPeltAlwaysShowSeams on;
    $.modifiers[#unwrap_uvw].unwrap.DisplayMap off;
    
    
    modPanel.setCurrentObject $.modifiers[#Unwrap_UVW];
    
    $.unwrap_uvw.unwrap2.setGeomSelectElementMode(true); -- select viewport 
    $.unwrap_uvw.unwrap2.setTVElementMode(true);--select element UV view
    $.unwrap_uvw.unwrap2.setTVSubObjectMode(3);--face selection mode
    $.unwrap_uvw.unwrap2.setShowMap(false);--disable checker map view
    
    $.modifiers[#unwrap_uvw].unwrap5.setPeltEditSeamsMode on;--sets you in edit seam mode
    
    enableSceneRedraw()
    completeRedraw()
    
    select it (just the script) and drag it into your main toolbar. A button should appear- each time you press that button a uv-unwrap modifier is applied on your object and by default it shows the pelt seams as well as setting the seam edit mode on. You can customize that button by rightclicking.
    There are some other tweaks like disabling map (checker view) in the UV view and a default setup of selecting faces and face groups instead of vertexes and alike.
  • pittek
    Unbelieveble but it doesn't work with my 3d max (ver. 9) :) I did exactly as you said. When I'm want to customize this script, I click right on it and I change some options (disable everytihng for example), and I have sthg like this:
    disableSceneRedraw();
    
    modPanel.addModToSelection (Unwrap_UVW ()) ui:on
    
    $.modifiers[#unwrap_uvw].unwrap5.setShowMapSeams off;
    $.modifiers[#unwrap_uvw].unwrap5.setPeltAlwaysShowSeams off;
    $.modifiers[#unwrap_uvw].unwrap.DisplayMap off;
    
    
    modPanel.setCurrentObject $.modifiers[#Unwrap_UVW];
    
    $.unwrap_uvw.unwrap2.setGeomSelectElementMode(true); -- select viewport 
    $.unwrap_uvw.unwrap2.setTVElementMode(true);--select element UV view
    $.unwrap_uvw.unwrap2.setTVSubObjectMode(3);--face selection mode
    $.unwrap_uvw.unwrap2.setShowMap(false);--disable checker map view
    
    $.modifiers[#unwrap_uvw].unwrap5.setPeltEditSeamsMode off;--sets you in edit seam mode
    
    enableSceneRedraw()
    completeRedraw()
    

    and when I start this script... 'Show Pelt Seam' is still marked :/
  • renderhjs
    Offline / Send Message
    renderhjs sublime tool
    I have max 9 as well- and it works perfectly here- and your script does disable the show Pelt seam here as its supposed to do.

    if you edit your script from the button ,e.g right click > "Edit Macro Script" a script window with this script should appear:
    macroScript Macro1
    	category:"DragAndDrop"
    	toolTip:""
    (
    	disableSceneRedraw();
    
    	modPanel.addModToSelection (Unwrap_UVW ()) ui:on
    
    	$.modifiers[#unwrap_uvw].unwrap5.setShowMapSeams off;
    	$.modifiers[#unwrap_uvw].unwrap5.setPeltAlwaysShowSeams on;
    	$.modifiers[#unwrap_uvw].unwrap.DisplayMap off;
    
    
    	modPanel.setCurrentObject $.modifiers[#Unwrap_UVW];
    
    	$.unwrap_uvw.unwrap2.setGeomSelectElementMode(true); -- select viewport 
    	$.unwrap_uvw.unwrap2.setTVElementMode(true);--select element UV view
    	$.unwrap_uvw.unwrap2.setTVSubObjectMode(3);--face selection mode
    	$.unwrap_uvw.unwrap2.setShowMap(false);--disable checker map view
    
    	$.modifiers[#unwrap_uvw].unwrap5.setPeltEditSeamsMode on;--sets you in edit seam mode
    
    	enableSceneRedraw()
    	completeRedraw()
    )
    
    its the script wrapped in a macroscript container,- if change things there make sure you save the changes - so:
    file > save
    then clicking on the button again should work with the changes.
  • pittek
    oh yeah, i forgot to choose file->save :)
    now is cool :) Thanks a lot !
Sign In or Register to comment.