Hi K3nny, so there are a couple different ways.
You can set up a shortcut key that will always run offset with both sides off like this (in MoI v4):
offset curvebothsides=false
Or always on with this:
offset curvebothsides=false
Or here is one that will toggle it while you are in the command as if you clicked it. It should work for Offset, Extrude and also the Line command:
script: /* Toggle both sides for offset or extrude */ if ( moi.command.currentCommandName ) { if ( moi.ui.commandUI.curvebothsides ) moi.ui.commandUI.curvebothsides.click(); if ( moi.ui.commandUI.bothsides ) moi.ui.commandUI.bothsides.click(); }
A toggle for cap ends would be like this:
script: /* Toggle cap ends for offset or extrude */ if ( moi.command.currentCommandName ) { if ( moi.ui.commandUI.curvecapends ) moi.ui.commandUI.curvecapends.click(); if ( moi.ui.commandUI.capends ) moi.ui.commandUI.capends.click(); }
- Michael
|