ScriptSpot home

Rotate To Grid

Downloads

Other files (2)
3ds Max compatibility
Unknown
Report a problem
Community compatibilityNo compatibility reports yet

No reports yet for the available releases.

Community reviewsNo reviews yet.

Listing details

Version
1.0
Author’s update date
Legacy votes
3
Listing created
How compatibility works

Compatibility comes from the author’s supported range or requirements in the original listing. A tested version records what the author tried.

“2020 unconfirmed” in the catalog means support for 3ds Max 2020 is still unknown.

Community reports record successful tests on specific releases.

Posted by

FishMan

More by this author

Description

What this script do:

This script allow you to orient object along the edge.

Works both for Edit Poly and Editable Poly

How to use it:

Take an Editable Poly object or apply Edit Poly modifier. Select one edge. Call the script.

Object will be aligned to a closest axis along the edge using face normals almost the same way as Align to Edge works in Unwrap UVW but in 3d.

Very usefull for virtual studios and backround planes when your reference image is not aligned properly - you can cut an edge using QuickSlice and then align the plane along this edge.

Also can be used to restore object orientation when transformations was killed (Reset X-Form was applied for example).

There are two special cases when edges that are sharing non-planar faces are selected:

  • If faces sharing at least one smothing group - their average normal will be used;
  • If faces do not have any common smoothing groups - a face normal of one of the faces will be used.

Tested on 3ds Max 2023 and 2024

Script might not do what you expect if you select more than one edge.

Installation:

Drag/Drop .ms file on 3ds max viewport or run it via 'Scripting-> Run Script...'. Go to "Customize User Interface" or to "Hotkey Editor", in 'Category' called 'Custom' there will be 'Rotate to Grid' assing a hotkey for it or drop it on your custom toolbar.

Here's a video showing a process of installation and use:


Videos
Comments (2)
Mark Blosser

Great for recovering transforms on rotated objects, thanks!

dmitrybelonosov

Thanks! A useful little script, I will use