Unofficial Update Documentation

Share with others..
User avatar
trueBlue
Captain
Posts: 5208
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Unofficial Update Documentation

Post by trueBlue »

clintonman wrote: 04 Dec 2021, 16:00 You have to be careful how you use quotes. If your string has double quotes inside of it you have to use single quotes to define it. And the opposite is also true, if you have a string with single quotes you have to use double quotes to define it.
So, the problem that I am trying to explain is the Error you will get when you copy the ScriptObject.RunCmd from the Command History and paste into a jScript
ScriptObject.RunCmd.png
ScriptObject.RunCmd.png (5.55 KiB) Viewed 2862 times
This is happening will all the scripts that use:

Code: Select all

var cmd = '';  <- single quotes

trueSpace uses double quotes

Code: Select all

ScriptObject.RunCmd("kernel package/run script command", "File", "<-Put commands here using single quotes->", "IsBuffer", -1)
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Unofficial Update Documentation

Post by clintonman »

trueBlue wrote: 04 Dec 2021, 16:30
clintonman wrote: 04 Dec 2021, 16:00 You have to be careful how you use quotes. If your string has double quotes inside of it you have to use single quotes to define it. And the opposite is also true, if you have a string with single quotes you have to use double quotes to define it.
So, the problem that I am trying to explain is the Error you will get when you copy the ScriptObject.RunCmd from the Command History and paste into a jScript
ScriptObject.RunCmd.png
This is happening will all the scripts that use:

Code: Select all

var cmd = '';  <- single quotes

trueSpace uses double quotes

Code: Select all

ScriptObject.RunCmd("kernel package/run script command", "File", "<-Put commands here using single quotes->", "IsBuffer", -1)
In that case you can't 100% trust what you copy from the Command History. JScript doesn't care if you use single or double quotes it just has to follow the rules so if you copy something that doesn't work you'll have to fix it manually.
Confirmed: pressed the "Run Original" button and the code in the Command History is not valid because of the quotes.
Clinton Reese

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

Re: Unofficial Update Documentation

Post by trueBlue »

clintonman wrote: 04 Dec 2021, 16:00 In that case you can't 100% trust what you copy from the Command History. JScript doesn't care if you use single or double quotes it just has to follow the rules so if you copy something that doesn't work you'll have to fix it manually.
Confirmed: pressed the "Run Original" button and the code in the Command History is not valid because of the quotes.
Sorry, I have to disagree!

1.) We should be able to 100% trust what you copy from the Command History, because this is what trueSpace is generating
Solution: Write the scripts to play nice with trueSpace, and use Double Quotes like trueSpace uses
var cmd = ""
2.) Could this be making trueSpace unstable?
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Unofficial Update Documentation

Post by clintonman »

trueBlue wrote: 04 Dec 2021, 17:14
clintonman wrote: 04 Dec 2021, 16:00 In that case you can't 100% trust what you copy from the Command History. JScript doesn't care if you use single or double quotes it just has to follow the rules so if you copy something that doesn't work you'll have to fix it manually.
Confirmed: pressed the "Run Original" button and the code in the Command History is not valid because of the quotes.
Sorry, I have to disagree!

1.) We should be able to 100% trust what you copy from the Command History, because this is what trueSpace is generating
Solution: Write the scripts to play nice with trueSpace, and use Double Quotes like trueSpace uses
var cmd = ""
2.) Could this be making trueSpace unstable?
1.) Then do like I said in the first answer and rewrite everything in this form - System.Alert(" \"Hello World\" ")
2.) I don't see how it could make tS unstable
Clinton Reese

http://clintons3d.com
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Unofficial Update Documentation

Post by clintonman »

clintonman wrote: 04 Dec 2021, 01:21 Potential changes to UU Docs from recent releases.

nov 28 UU

Link Editor Navigator
Ctrl+ icon - RMB = RsTool.Arrow()
Removed - H icon "Hide unselected"
Add
U icon
LMB = Unselect
RMB = Unselect and Close Panels

Infinite lights
Add
Enable Shadow On & Off buttons for VRay only
Rename DirlightShader
Add the modifications to New Scene, Lights, and WS - Default.RsSLgts

Commands for all floating toolbars, Scene ORA modes, Grid modes, Switch Views, Reset View, Look at Selection, and Zoom to Selection
All toolbar buttons updated to use the UUFunctionSet
These new commands will run without the Main 3D Window needing focus unless there is a floating 3D Window that has focus
Add a Hide unselected icon to Workspace toolbars




nov 29 UU

Improved the View from camera script
Will run without the Main 3D Window needing focus unless there is a floating 3D Window that has focus




dec 3 UU

Widgets/UUFunctionSet
Set Camera
Reset View
Look At Selection
Reduced the undo(s) to one undo

UU Dec 5,6
Toolbars 'All - Reset View & Look at Selection, RMB command, add original command'
Removed the unused BottomBar

Camera toolbar




UU dec 10

D3D Material Editor/Inspect icon
Vray Material Editor/Inspect icon
WorkspaceNav/Inspect icon
All of the above, deselect if first selected item is a camera or light?

Rs Main Libraries
Vray Materials
Sequence Alpha Mask
Sequence Image

Vray - Animation scripts
VRay Background
VRay DOF
VRay Environment

Scripts/Commands
Show Object Attribs
Show Object Attribs RMB
Add check before running the Fix NURBS ORA script

Preferences/Cameras
preobjects/Camera1
"Improved all Camera panel button scripts"
More potential changes

UU dec 16
freezeNURBS - Add: RsApp.ClearHistory()

Unglue.xml - Add Utility Function commands
Cut.xml - Add Utility Function command
Show Object Attribs.xml - Fix for NURBS Group

View Widget Transparency
Encircle 'Green' i + Move cursor opens the View Widget Help and View Widget Transparency panel

dec 23
Removed - D3D Render from std
Bake Keyframes - Add Shrink Play Range button script
Animation Preferences/Shrink Play Range button script

D3D Render
Setup
Shrinks the Play Range, if checked
Opens Protect Workspace and runs Backup
Opens a Docked Model View

dec 25
D3D Render - Add check in the Render button script (if Model is not open do nothing), check if a 3D Window is open with an Alert, and modified the panel

Alternate manual process:
Do not press Setup
Open Protect Workspace and press the Backup button
Switch the main view to Model
Open a Workspace 3D Window
Set the Workspace Play Range
Note: The Play Range should be equal or greater than the Model's animation
Press the Render button

dec 27
Protect Workspace
Add check if 3D Window is open with an Alert
Add Set Keyframes script
This will set a Keyframe for every object in your scene

Synchronize
Start - Add check if 3D Window is open with an Alert
Restore - Closes Model before Restoring - Protect Workspace
Add Set Keyframes script
This will set a Keyframe for every object in your scene
that does not have any keyframes

dec 28
D3D Render
Special Mesh Processing
Disabled - Synchronize Object 'Not needed'
Add - Modal Question with option to Close trueSpace
Clinton Reese

http://clintons3d.com
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Unofficial Update Documentation

Post by clintonman »

Started the next round of doc updates. Working my way backward from the Dec 28 UU release.
Attached are the new D3D Render pages.
Attachments
tS761_UU_Artists_Guide09_pg153154.zip
(435.11 KiB) Downloaded 108 times
Clinton Reese

http://clintons3d.com
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Unofficial Update Documentation

Post by clintonman »

TODO List/Notes

manual bug 9.2.1.1 pg 5 Edit in New Track belongs in section 9.2.1.2 pg 6

Page 10
Point Edit Widget
PEW image does not look very good
Triangles
Alt + LB click open quaf menu
Ctrl + LB close quad menu
The above two no longer works


fix error: Shrink Play Range : set the timeline start and end to match the scene minimum and maximum
keyframe times
|< : set timeline start to 0, does not effect the play range
>| : set timeline end to 300, does not effect the play range


AnimPref show object choices only work in the Anim View, Story tab.


borgcone - quick guide modelspace cage changes



potential changes from UU updates

uu jan 16

Desktop
Removed - Synchronize

Animation Preferences
Add - Play - Plays the Play Range
Add - Stop - Stops and sets the time to the Start of the Play Range
Add - D3D Render - Opens D3D Render floating panel


uu jan 18

Animation Panel
Workspace Animation controls
Model Animation controls

Model Workspace Animation Panel
Model and Workspace combined Animation controls

Update: Both of the above Synchronize with Model

check for clear history - protect workspace, shrink play range, synchronize when end session

D3D render bake keyframes - check, maybe remove, sets keys on all animated objects?



uu feb 10
Widgets
Point Edit widget
Object Navigation widget
Add
XYZ Locks to Scale and Rotate
Alt + LMB On|Off

View widget
Rotate X 'Blue'
Add
Ctrl + LMB - Open Select Cycle
Rotate YZ 'Red'
Ctrl + LMB - Open Animation toolbar

Cube View widget
Changed Active Highlight color from Yellow to White on all meshes
Applied a darker color for Left, Back and Bottom
Add Right click gesture command RsTool.Arrow() where no Right click gesture existed 'Stops Point Edit mode when an object is selected'
(note to self - check with standard colors installer)

Toolbars
Camera toolbar
Add
Cycle Camera Views

Select(link editor toolbar)
Add
Cycle aspect
Add
CycleCameras

Animation panel
Gets and Sets the Current Time, Play Range Start, and Play Range End when loaded
Add
Bidirectional option on the Exp aspect
Play and Stop
If checked on the Exp aspect, activates a Timer Event that sets the Current Time on the Animation panel and Synchronizes Workspace with Model
Warning! This does not work when any Anim View is open!
Use with the Link Editor view, only!
Synchronize works when One object is selected, only!

Protect Workspace
Add
Open and Dock Model tS6.7 button

Animation Preferences
Add
Interpolation button

Shortcuts
Anim View
Add
Ctrl + U = Clear Selection


uu feb 11
Keyframe Interpolation



uu feb 13
Widgets/Object Rotate
Ctrl + LB - Rotate selected object +45 degrees
Alt + LB - Rotate selected object -45 degrees
Fixed error with Mutiple selected objects
Use First selected only
Edit
Removed support for Cameras, Spot, & Projector lights
Clinton Reese

http://clintons3d.com
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Unofficial Update Documentation

Post by clintonman »

Previous post changes are in and published.
New list of changes TODO:

Notes from trueBlue

page 15
Render Panel is missing the Background aspect

PhotoRender Backround.png
PhotoRender Backround.png (2.27 KiB) Viewed 3 times

Page 20
3D Window Shortcuts
UU 2/22/2022
Removed all Animation Editor shortcuts except ESC = Pause

Changed:
7 = Object Rotate Left -Z
9 = Object Rotate Left +Z

CTRL 7 = Object Rotate Left -Z -45
Ctrl 9 = Object Rotate Left +Z +45
5 = Object Normalize Rotation

Animation Editor Shortcuts
Add
Object Move & Rotate command(s)
Note: Page 22
Animation Editor
Key | Descriptio <- missing n

More importantly, you might add the following:
You will need to Update the Library Places after adding Libraries or Library Place(s)
Resetting the Default Context will remove all updated Library Places

page 25
Object Rotate reverse + and -


Note to self:
need to revisit pg 98 library places stuff



UU Feb 22, 2022 potential changes

Cycle Select aspect
Add
Hair button and script

Bevel and Extrude tool

Mirror Modeler
Updated panel settings
Add
Flatten History button
Note: All Toolbars - Mirror Modeler icon's LMB command shows the panel in the Stack

Mesh Editor Settings/Mirror tool aspect
Update panel UI
Manual button scripts use util commands
Note: All Toolbars - Mirror tool icon's LMB command shows the panel in the Stack

Animation Panel
Add
Play Range button script
Play | Stop Range / Shrink Play Range

Animation Editor
Add
Object Move & Rotate command(s)
Clinton Reese

http://clintons3d.com
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Unofficial Update Documentation

Post by clintonman »

More UU Updates to document

march 4

mirror matrix


march 3

Bevel and Extrude tool
Update 'Add support for more than one object in Point Edit mode'

feb 23

Toolbars/PointEdit & PointEdit2
Update LMB commands
Mirror Modeler
Mirror tool
Clinton Reese

http://clintons3d.com
Post Reply