Using the RizomUV Reset Scripts

 

Loading a script in Rizom UV

There are three ways to load a script into RizomUV

  • Open the Script Log window via pressing L or going to Tools>Show Scriptlog Window and pasting in  your script from a script editor or the RizomUV log window
  • Open the Script Log window via pressing L or going to Tools>Show Scriptlog Window,opening your File Menu, and opening your script from Explorer
  • Using the Script slots in the toolbar, and loading a script from Explorer

Saving a script in Rizom UV

There are three ways to save a script for RizomUV

  • Save with the *.lua extension in a script editor
  • Open the Script Log window via pressing L or going to Tools>Show Scriptlog Window,opening your File Menu, and saving your file
  • Temprarily saving the script via the scriptlog - it will stay in the scriptlog until you flush the script log

How do the reset scripts work?

The workflow is the same in VS and RS: You load the script, select the islands you want to reset, and running the script will do this for you. In many cases this is a bit faster than repeatedly clicking undo if/when you decide you are not happy with the cuts on your island(s).
The script will specifically weld all edges together (W, CTRL+W and Shift+W2), and then un-flatten and reset the position of the islands to its original position in 2D/UV
space (Shift+R)

Reset -Weld All

Reset Weld All will weld all cut edges across as well as on your selected island(s) before resetingt them. The script's code looks like this:

ZomSelect({PrimType="Edge", WorkingSet="Selected&Visible", Select=true, All=true})
ZomWeld({PrimType="Edge", WorkingSet="Selected&Visible", Mode="All"})
ZomResetTo3d({WorkingSet="Selected&Visible", Rescale=true})

Reset -Across Islands

Reset Across Islands will weld all borders across selected island(s) and reset them. It will not weld cuts made ON the island(s), just the edges to other islands before a reset. The script's code looks like this:

ZomSelect({PrimType="Island", WorkingSet="Selected&Visible", Select=true})
ZomWeld({PrimType="Island", WorkingSet="Selected&Visible", Mode="AcrossIslands"})
ZomResetTo3d({WorkingSet="Selected&Visible", Rescale=true})

Reset - Self Island

Reset Self Island(s) will weld all cuts on (a) selected island(s) and reset them. It will not weld cuts made to split the island typically made to help i.e. combat pinch or stretch on the island The script's code looks like this

ZomSelect({PrimType="Island", WorkingSet="Selected&Visible", Select=true})
ZomWeld({PrimType="Island", WorkingSet="Selected&Visible", Mode="SelfIslands"})
ZomResetTo3d({WorkingSet="Selected&Visible", Rescale=true})