I am looking for a script that will allow you to use the mouse pointer as the pivot point for your rotational and scale transforms on sub-object areas of the poly edit modifier.
Forum topic · Scripts Wanted
Script to control rotation pivot of subselection in pollyedit mode to mouse cursor. (max9)
By aNewHobby · 2008-03-10
Description
Comments (3)
titane357 · 2009-09-03
Be careful to use "use transform Coordinate center" so you can use "Point01" as center
(works fine w max 2010)
1acc · 2008-04-11
This is it:
macroScript SmartPivot category:"SmartPivot" tooltip:"SmartPivot v1.0" silentErrors: true
(
global pivotpoint
on isChecked do isValidNode pivotpoint
on execute do (
try(
if isValidNode pivotpoint then delete pivotpoint
old_pen_pos = pickPoint prompt: "Pick Smart Pivot: " snap: #3D
if (classOf old_pen_pos) == Point3 then (
pivotpoint=Point()
pivotpoint.size=1
pivotpoint.pos=old_pen_pos
enableRefCoordSys true
toolMode.coordsys pivotpoint
toolMode.transformCenter()
enableRefCoordSys false
)
)
catch(ClearListener())
)
on closeDialogs do (enableRefCoordSys true; if isValidNode pivotpoint then delete pivotpoint)
)
free agent · 2009-09-03
hey that works :) but only for move, when try to rotate it goes back to the centre... running the script while in rotation mode, converts back to move :(. could you fix this??? been looking for this one, thanx again