Align View to Face

free scripts, plugins, models, textures
Post Reply
User avatar
clintonman
Captain
Posts: 5432
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Align View to Face

Post by clintonman »

Script that is used to align the active perspective view to a face selection. Use in combination with the Screen coordinate system to model within a plane.


http://clintons3d.com/plugins/truespace ... #alignview
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5216
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Align View to Face

Post by trueBlue »

Getting an error
ERR Source object: /Scripts/CustomCommands/AlignViewToFace Error: Microsoft JScript runtime error Description: Object doesn't support this property or method Error code: 0x800a01b6 - (null) Line: 76, Char: 3 Script text: tri = util.GetSelectedFaceTriangle(i);
Steps:
PE select a Face on a Cube
Press the toolbar Align View to Face

Looks like GetSelectedFaceTriangle does not exist
GetSelectedFaceTriangle.png
User avatar
clintonman
Captain
Posts: 5432
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Align View to Face

Post by clintonman »

trueBlue wrote: 14 Jul 2023, 18:46 Getting an error
ERR Source object: /Scripts/CustomCommands/AlignViewToFace Error: Microsoft JScript runtime error Description: Object doesn't support this property or method Error code: 0x800a01b6 - (null) Line: 76, Char: 3 Script text: tri = util.GetSelectedFaceTriangle(i);
Steps:
PE select a Face on a Cube
Press the toolbar Align View to Face

Looks like GetSelectedFaceTriangle does not exist
GetSelectedFaceTriangle.png
I forgot the mention on the website, Clintons3dplugin v1638443 is needed. It was released May 30 but the new feature was never used until this align view tool was create.

get the latest plugin here:

http://clintons3d.com/plugins/truespace ... index.html
Clinton Reese

http://clintons3d.com
Post Reply