Tagged 'Scripts Wanted'

align object to Z

How do I adjust the ctrlKey if/then statement so when users hold ctrlKey the object is then aligned vertically?

plugin simpleObject PlanePlus
	name:"Plane Plus"
	category:"Special Primitives"
	classID:#(0x6166ee57, 0x2653467f)
(
	parameters main rollout:rltParams
	(
		height type:#worldUnits ui:uiHeight default:0.0
		width type:#worldUnits ui:uiWidth default:0.0
		mapCoords type:#boolean ui:uiMapCoords default:true
		realWorldMapSize type:#boolean ui:uiRealWorldMapSize default:false
	)
 
	rollout rltParams "Parameters"
	(

Align Ortho Camera safe frame to outline?

Is there anyway to align a ortho cameras safe frame to a rectangular spline? This may be a bit of a stretch but I have came across this issue a bunch of times and I not sure how to solve it. I need to render a precise area and I usually just eyeball it...

Align pivot based on longest edge´s object

Hello there,

I guessing if there a way to align a pivot based on longest edge of an object like attachment.
Thx any help.

Align Plane to Camera Target

Hi,

I need a script that will align a plane to the camera target, and make the plane larger/smaller to perfectly match the target as the camera FOV or target distance changes.

See the attached image for an example. The plane will be perfectly aligned with the Camera Targe Distance. The plane needs to automatically change size/position, no matter the camera position or aspect ratio.

Using 3ds max 2009 SP1 x64, in case that matters.

Thank you for any help you can offer!

Align position to center of picked object and rotate it to bounding box

Hey everyone,

I tried but failed to create a script that changes the plates of f.e. a Shelf to my new modeled plate.

The script should change the plates of the shelf and align new plates to it, but should look to the bounding box of the old plates, its not enough to rotate in local mode, because the plates of the old shelf are been detached, so the axis is not correct anymore.

it is not necessary to scale to old plates, the new plates just need the right rotation and center position of the old plates from the shelf.

thx
Dragan

Align selected object to object "A" (XYZ) and then to object "B" (Y)

Hello! basically I have a dummy object "X" and 2 geometry objects "A" and "B".

I need to align the selected Dummy "X" firstly to "A" on all of its axes, and then to "B" only on its Y axis.

I have found the following line which aligns the selected object to all axes XYZ (oddly it squashes the Dummy's bounding box)

$.transform = (getNodeByName "A").transform

$.transform = (getNodeByName "B").transform

and what I need is for the second line of code to constrain the transform operation to the Y axis.

Align Slice Modifier gizmo to 3points

Hello everyone,

I have a simple problem. I need quickly and easily tool to align slice gizmo by three points. Is there anyone who help me please?

Thanks so much Laughing

Mira

situation 1)

Align to poly center

I have a poly terrain mesh:

The polys are all .. ngons. This is intentional, it was created with a voroni script and displace modifier. See lowpolyterraina.png

I want to cycle through each poly, round it's height to X number of places and then flatten that poly in the z axis, at that height (so all vertices end up at 0, 4, 8, 12, for example).

Align UVW Map Gizmo On Average Normal

Can somebody write a script like this one:
http://www.scriptspot.com/3ds-max/scripts/alignuvwmapgizmoonaveragenormal
The link is dead and I can't find a similar script.
When you have objects or subobjects pointing in different directions and you want to save time aligning the UVW Map gizmo to each one of them. Example: A playground equipment with many wooden beams pointing in different directions so the wood texture has to be aligned to each one of them correctly.

align UVW to edge

Similar to some Sketchup's plugin:

https://extensions.sketchup.com/en/content/eneroth-texture-positioning-t...

It'd be nice to select desired faces\elements (or even objects) then hit the shortcut and click the the edge. The result- UVW gizmo get aligned.
Thank you in advance.

Syndicate content