Coordinate Swap for AC3DReleased under the GNU GENERAL PUBLIC LICENSE.
* NOTE: Courtesy of AJ MacLeod, the Linux version was compiled and linked on a Debian 3.0 install. If this does not work for you, the source code has been proven to compile/link under Linux, so you may wish to download the source code and compile for your system.
Coordinate Swap will exchange the X/Y/Z coordinates of the selected vertices. This appears to rotate/move the vertices around the origin, but it is actually substituting the numeric axis values. For example, if the dialog is set to swap where X = X, Y = Z, and Z = Y, then the selected vertices will have their Y and Z values switched.
This can have the side-effect of flipping normals. Coordinate Swap automatically detects when normals should be flipped where possible.
Coordinate Swap was originally authored for saving TargetWare geometry, where the Y and Z coordinates needed to be swapped.
AC3D versions prior to version 5 have not been tested with this script.
Copy the coordswap.tcl and coordswap.p files to your AC3D plugins folder (for example, if using Windows, C:\Program Files\AC3D5\plugin) and (re)start AC3D.
You will find the "Coordinate swap..." menu item under the "Tools" menu.
Coordinate Swap works on the selected vertices. Simply select in the interface which axes to swap. Use the "negate" to "flip" the geometry.
All coordinate swapping causes what appears to be flipping/mirroring about the origin (0,0,0). Here are a few examples of flipped geometry:
All examples show what happend when a coordinate swap is enacted for the entire object.
|All content Copyright © 2006 Dennis Hawthorne, except where explicitly noted
supercoldmilk © 2006 Dennis Hawthorne