Home
Home Profile Portfolio Software Articles Resources Interact Home
Home
 
NikosGatos.com | Online 3D Portfolio

Navigation
/home/software/xsiscripts
Details

Name
nHalfKill

Version
1.1.0

Type
Custom Command

Language
VBScript

Compatibility
Softimage|XSI 4.0

License
This script is provided "as is" and may be used free of charge for any kind of purpose. The author takes no responsibility for any loss of data that might occur due to improper usage or because of bugs in code. Always save your work prior to running this script!

History

1.1.0
Added support for all axes.

1.0.0
Script released!

MachinePhase 2.0 - Back to 2000 (with a twist)
Info

nHalfKill
Deletes everything on a specified global axis of a polymesh object.

Installation
Simply Drag-and-Drop the file onto a custom toolbar to register the script with XSI's CommandMap.
or
Run the script directly from the Script Editor. This will however have a negative impact on performance because the command will be echoed in the History Log.

Usage
1) Select your object(s) (Fig.01)
2) Execute the script.
3) A picker appears.
4) Specify which side you want to delete by clicking in that part of the viewport and optionally change axis with the middle mouse button (see table).
5) Everything on the chosen global axis should have now been deleted. (Fig.02)

Fig. 01

Fig. 02

Options
Left Mouse Button Deletes everything on the positive/negative X-axis
Middle Mouse ButtonLeft Mouse Button Deletes everything on the positive/negative Y-axis
Middle Mouse ButtonMiddle Mouse Button Deletes everything on the positive/negative Z-axis
Right Mouse Button Cancels


Limitations
  Works only with polymesh objects
  The script uses the PickPosition function which is only able to return the pressed mouse button. This is why the option to specify a different axis is a bit unintuitive. :/

Download

 nHalfKill.vbs
Version
1.1.0
Size
5 KB
Date
04-09-25


Copyright © 1995-2009 Nikos Gatos. All Rights Reserved.

eXTReMe Tracker