Final trueSpace7.61 Beta 8 Std Unofficial Update

User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

Some NURBS updates.

Added control point mesh visibility for curves and patches because sometimes you only want to see some of the control points but not all of them which can get messy
Removed the material nodes from the control point meshes - unused, only the points and lines matter

Altered the Uneditable command script inside the "Default object navigation widget/Enter edit mode
it will convert NURBS selections to NURBS control point selections instead of stopping, so a normal RMB can be used to edit any kind of NURBS selection
this also makes the Edit button on the NURBS objects obsolete
Attachments
polycurve02.RsObj
(84.31 KiB) Downloaded 140 times
polypatch02.RsObj
(81.52 KiB) Downloaded 136 times
Uneditable04.RsObj
(8.03 KiB) Downloaded 138 times
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

Test Update 42 for trueSpace7.61 Beta 8 Std Unofficial Update

May 8, 2021

Recommend that you completely Uninstall and Install trueSpace7.61 Beta 8 Standalone to a clean directory before installing this update. If you applied the previous Test Update to a clean directory, you do not need to Uninstall trueSpace7.61 Beta 8 Standalone before applying this new update.
This is a Beta Pre Release for TESTING the below updates and the included previous updates

Update

Widgets/Object Navigation Widget(s)

NURBS Scripts

tS761 Scene Animator
Add an Update script to the Watch Dog Event(s)
User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

Fix for the Flipbook 2 Alpha material used in the particle system.
The old one was using the red channel instead of the alpha channel. The sample counting number material included did not have an alpha channel.
Attachments
Flipbook 2 Alpha.RsObj
(224.79 KiB) Downloaded 136 times
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

Test Update 43 for trueSpace7.61 Beta 8 Std Unofficial Update

May 10, 2021

Recommend that you completely Uninstall and Install trueSpace7.61 Beta 8 Standalone to a clean directory before installing this update. If you applied the previous Test Update to a clean directory, you do not need to Uninstall trueSpace7.61 Beta 8 Standalone before applying this new update.
This is a Beta Pre Release for TESTING the below updates and the included previous updates

Update
ParticleScripts
Update
Flipbook 2 Alpha - Author Clinton Reese

pointCloneScript
Update 4/1/2021 - Author Clinton Reese
Modifications
Add
owner_out
Alert "Point Clone complete"
Updated Notes aspect
1 - 4 steps

unSelectable
Help aspect
Removed option to use previous Script Based unSelectable version

Snapping
Updated panel text
Select - Face, Edge, or Vertex
User avatar
trueBlue
Captain
Posts: 5548
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

Test Update 44 for trueSpace7.61 Beta 8 Std Unofficial Update

May 15, 2021

Recommend that you completely Uninstall and Install trueSpace7.61 Beta 8 Standalone to a clean directory before installing this update. If you applied the previous Test Update to a clean directory, you do not need to Uninstall trueSpace7.61 Beta 8 Standalone before applying this new update.
This is a Beta Pre Release for TESTING the below updates and the included previous updates

Update
unSelectable
Update
Unlock All
User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

This version of UnLookAt does not clear undo history and it takes up 1 undo :bananacool2: using the RsApp.RunScriptBuffer command.
Attachments
UnLookAt_4.RsObj
(9.3 KiB) Downloaded 138 times
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

clintonman wrote: 17 May 2021, 01:51 This version of UnLookAt does not clear undo history and it takes up 1 undo :bananacool2: using the RsApp.RunScriptBuffer command.
Awesome find! :bananacheers:
Definitely one for your Blog
Thank you! :D
User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

Here's another
Copy command using the same technique of RsApp.RunScriptBuffer
Result is it takes 2 undos no matter how many nodes are copied

The technique won't work everywhere. If several command nodes are used it won't work.
Just did a test on the CopyWindow and tS will crash if you try to undo it using the new technique.
Attachments
Copy04.RsObj
(5.7 KiB) Downloaded 134 times
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

clintonman wrote: 17 May 2021, 02:38 Here's another
Copy command using the same technique of RsApp.RunScriptBuffer
Result is it takes 2 undos no matter how many nodes are copied

The technique won't work everywhere. If several command nodes are used it won't work.
Just did a test on the CopyWindow and tS will crash if you try to undo it using the new technique.
If I comment out the following line, it only requires ONE undo and the selection still remains 8-)
// cmd += 'Space.Select(newSelection);'
User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

trueBlue wrote: 17 May 2021, 14:02
clintonman wrote: 17 May 2021, 02:38 Here's another
Copy command using the same technique of RsApp.RunScriptBuffer
Result is it takes 2 undos no matter how many nodes are copied

The technique won't work everywhere. If several command nodes are used it won't work.
Just did a test on the CopyWindow and tS will crash if you try to undo it using the new technique.
If I comment out the following line, it only requires ONE undo and the selection still remains 8-)
// cmd += 'Space.Select(newSelection);'
Interesting, so some commands add to the undo no matter how they're run.
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

Test Update 45 for trueSpace7.61 Beta 8 Std Unofficial Update

May 17, 2021

Recommend that you completely Uninstall and Install trueSpace7.61 Beta 8 Standalone to a clean directory before installing this update. If you applied the previous Test Update to a clean directory, you do not need to Uninstall trueSpace7.61 Beta 8 Standalone before applying this new update.
This is a Beta Pre Release for TESTING the below updates and the included previous updates

Update

Toolbars
WinGUID_Bar
Reset/Perspective 'RMB command uses a RsApp.RunScriptBuffer script'

Scripts/Commands Author Clinton Reese
Update using a RsApp.RunScriptBuffer script
Copy
UnLookAt
RotatePOV
RotateISO
Cam2Eye
Eye2Cam
User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

CopyWindow using script buffer is working now.
This is the one that was crashing tS. The trick was to replace the ReconnectTo command with Disconnect and ConnectTo commands.
1 undo does not close the window or do anything that I can see. All other undos after the first look normal.
Attachments
CopyWindow04.RsObj
(5.45 KiB) Downloaded 126 times
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

clintonman wrote: 17 May 2021, 21:13 CopyWindow using script buffer is working now.
This is the one that was crashing tS. The trick was to replace the ReconnectTo command with Disconnect and ConnectTo commands.
1 undo does not close the window or do anything that I can see. All other undos after the first look normal.
This one can crash too, if you copy two or three windows and then press Undo
User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

trueBlue wrote: 18 May 2021, 00:09
clintonman wrote: 17 May 2021, 21:13 CopyWindow using script buffer is working now.
This is the one that was crashing tS. The trick was to replace the ReconnectTo command with Disconnect and ConnectTo commands.
1 undo does not close the window or do anything that I can see. All other undos after the first look normal.
This one can crash too, if you copy two or three windows and then press Undo
:( ;) Ok, I got another solution that will not crash when you copy 2 or more windows. It uses a combination of the script buffer and some new plugin commands to replace the Delete, ConnectTo and Disconnect commands with versions that have no undo. I have one more command I want to add to the plugin then I'll publish it so you can try it out.

To be honest I was a little :( that it was still crashing and then :) to find it still has a chance to work. I've used the plugin to make freeze transform and toggle object coordinate mode scripts that don't need to clear history. I also used it on the light color pickers but they still have issues. I'm hopeful for a solution.
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

:bananathumb:
Have you tried to set input mouse connectors in the clickable bitmap controller for the lights?

Node.Value('%THIS_NAME%/Controler', 'mouseX') = %MOUSE_X%;
Node.Value('%THIS_NAME%/Controler', 'mouseY') = %MOUSE_Y%;
User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

Attached is another attempt for the CopyWindow command. It uses the script buffer command and the updated rsx plugin file.

The new rsx plugin can be found here with notes at the bottom of the page:
http://clintons3d.com/plugins/truespace ... index.html

Adds the following "script" commands that do not add to the undo history
ConRemove
ConnectTo
Disconnect
Rename
Copy
Delete
DisconnectAll - this is not the same as the script version
SetNodeValueFloat
SetNodeValueInt
SetNodeValueUnsigned
SetNodeValueString
SetNodeValueColor
SetNodeValueColorRGB8
SetNodeValueMatrix
Attachments
CopyWindow05.RsObj
(5.6 KiB) Downloaded 127 times
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

How do you write your plugin based Copy?
util = System.CreateDO("Clintons3D Package/Utility functions")
util.Copy(str,str,var)



Example
Node.Copy(var,var)
Node.Copy("/Scripts/CustomCommands/wsLayersGroup4/LayersPanelFrame","Project/Windows Manager Space");
User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

trueBlue wrote: 18 May 2021, 17:19 How do you write your plugin based Copy?
util = System.CreateDO("Clintons3D Package/Utility functions")
util.Copy(str,str,var)



Example
Node.Copy(var,var)
Node.Copy("/Scripts/CustomCommands/wsLayersGroup4/LayersPanelFrame","Project/Windows Manager Space");
util.Copy(str,str,var) --> var
means that you give it 2 strings and it returns the var, I guess that's just the way the plugin code expresses itself
so
newNode = util.Copy(str, str)
basically the same as
newNode = Node.Copy(var, var)
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

Fix for QuadWindow crash.
To see crash:
open quad window
copy some of it's windows
close quad window and you get the crash

The attached will not crash. This was a shot in the dark. All I did was reset all the frame WinID connectors, making them blank.

Note that when you close the quad window all the copied windows will also close. And they will all reload when the quad window is opened again. I guess it has some kind of save in it somewhere.
Attachments
QuadFrameWindow.RsObj
(118.66 KiB) Downloaded 138 times
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

This version of mesh object coordinates does not need to have history cleared. It uses the undo-able plugin commands.
Attachments
MeshObjectCoordinateSystem04.RsObj
(25.79 KiB) Downloaded 125 times
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

Static Sweep Plus command uses script buffer technique for a 1 step undo

The target weld reduces the number of undos by half, by using function set to hold data, update to use the newer status line and a small section uses the script buffer. It still eats undos but at a lower rate than before. about 18 undos before, down to around 6 or 7

Color Picker in the spotlight uses the plugin un-doable commands. It takes about 2 undos to set the color back. This was tricky because the bitmap control was adding an undo to the history. The key was to immediately undo inside the color code to clear out the mystery undo. I'm not 100% sure this works, but it's a big improvement , 2 undos vs something like 15 undos or a crazy number of undos if dragging in the control.
Attachments
Spotlight3_06.RsObj
(627.39 KiB) Downloaded 135 times
vertexTargetWeld08.RsObj
(36.77 KiB) Downloaded 136 times
staticSweepPlusScriptf063.RsObj
(13.14 KiB) Downloaded 138 times
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

The Spot light Color Picker's Red, Green, Blue Enter button does not work
The Lum is being changed and makes the Color Picker not work right unless you change Lum to 1.000
Color Picker Lum.png
User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

Red, Green, Blue Enter fixed. This was an oopsy. I deactivated it while trying to figure it out and forgot to reactivate it.
Attachments
Spotlight3_07.RsObj
(627.7 KiB) Downloaded 146 times
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

Test Update 46 for trueSpace7.61 Beta 8 Std Unofficial Update

May 19, 2021

Recommend that you completely Uninstall and Install trueSpace7.61 Beta 8 Standalone to a clean directory before installing this update. If you applied the previous Test Update to a clean directory, you do not need to Uninstall trueSpace7.61 Beta 8 Standalone before applying this new update.
This is a Beta Pre Release for TESTING the below updates and the included previous updates

Update

Plugins.xml
Clintons3dPlugin v.1638428
Clintons3dRsView v.1638406

Commands
Copy Window

preobjects
Quad Frame Window

CustomCommands Author Clinton Reese
Mesh Object Coordinate System
Static Sweep Plus
Vertex Target Weld
Web Server
Workspace Layers 4

Toolbars
File/New Scene
User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

GridArrayPanel.jpg

Grid Array that does not need to clear undo history
Rearranged the UI a little bit, smaller, "Replace Array Element" button moved and has some separation
Opens in a floating window
Prevents choosing the array itself as the replacement element
Attachments
gridArray2Script47.RsObj
(118.74 KiB) Downloaded 145 times
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

Grid Array

Code: Select all

ERR   Source object: /Scripts/CustomCommands/gridArray2Script/doGrid Error: Microsoft JScript runtime error Description: 'util' is undefined Error code: 0x800a1391 - (null) Line: 154, Char: 1 Script text:  util.SetNodeValueMatrix(node, conn,     0x80020101
doGrid script
var util = System.CreateDO("Clintons3D Package/Utility functions");
Removing var stops the error
User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

trueBlue wrote: 20 May 2021, 22:14 Grid Array

Code: Select all

ERR   Source object: /Scripts/CustomCommands/gridArray2Script/doGrid Error: Microsoft JScript runtime error Description: 'util' is undefined Error code: 0x800a1391 - (null) Line: 154, Char: 1 Script text:  util.SetNodeValueMatrix(node, conn,     0x80020101
doGrid script
var util = System.CreateDO("Clintons3D Package/Utility functions");
Removing var stops the error
Yep, I see. I'll have to remember to exit out of truespace before running the final test.
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

Seems like you could use your plugin commands in more areas
Like opening the floating panel

Code: Select all

	util.SetNodeValueString(rpf, "RootNode", Space.CurrentScene());
	util.SetNodeValueString(rpf + "/Panel Node", "PanelEditorNode", thegrid2 + "/Grid Array Control");
	util.Copy(rpf, "/Project/Windows Manager Space");
There is other areas too but I am not sure if you want to or not
User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

RadialArrayPanel.jpg
Radial Array without clearing history
rearranged the panel a bit
Opens in floating window - Took your advice and used the util commands
Attachments
radialArray2Script21.RsObj
(129.16 KiB) Downloaded 133 times
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

clintonman wrote: 21 May 2021, 00:21 RadialArrayPanel.jpg

Radial Array without clearing history
rearranged the panel a bit
Opens in floating window - Took your advice and used the util commands
Seems to be working
Question?
You are using:
SetNodeValueMatrix(thegrid,"Matrix", workMatrix2);
in a few places

Shouldn't this be?
util.SetNodeValueMatrix(thegrid,"Matrix", workMatrix2);
User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

trueBlue wrote: 21 May 2021, 01:37
clintonman wrote: 21 May 2021, 00:21 RadialArrayPanel.jpg

Radial Array without clearing history
rearranged the panel a bit
Opens in floating window - Took your advice and used the util commands
Seems to be working
Question?
You are using:
SetNodeValueMatrix(thegrid,"Matrix", workMatrix2);
in a few places

Shouldn't this be?
util.SetNodeValueMatrix(thegrid,"Matrix", workMatrix2);
No, I put it into a function named "SetNodeValueMatrix" to avoid typing so much for the "util.SetNodeValueMatrix" command. So 3 parameters instead of 18.

Code: Select all

function SetNodeValueMatrix(node, conn, matrix)
{
	util.SetNodeValueMatrix(node, conn, 
			matrix.GetAt(0,0), matrix.GetAt(1,0), matrix.GetAt(2,0), matrix.GetAt(3,0),
			matrix.GetAt(0,1), matrix.GetAt(1,1), matrix.GetAt(2,1), matrix.GetAt(3,1),
			matrix.GetAt(0,2), matrix.GetAt(1,2), matrix.GetAt(2,2), matrix.GetAt(3,2),
			matrix.GetAt(0,3), matrix.GetAt(1,3), matrix.GetAt(2,3), matrix.GetAt(3,3)
	);
}
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

Ah...Smart
I used:
var newname = util.Rename(theoriginal,"meshObj")
on the Grid and Radial Arrays

One less command added into the History
5 Undos to undo the process

Maybe on some rainy day, you could add Node.SafeRename to your plugin
User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

trueBlue wrote: 21 May 2021, 02:05 Ah...Smart
I used:
var newname = util.Rename(theoriginal,"meshObj")
on the Grid and Radial Arrays

One less command added into the History
5 Undos to undo the process

Maybe on some rainy day, you could add Node.SafeRename to your plugin
Not totally sure, but util.Rename seems to do a safe rename.
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

Point Clone script reduced to about 12 undos.
Bulk scrubbers also reduce the number of undos for value changes.
Attachments
pointCloneScript11.RsObj
(167.47 KiB) Downloaded 143 times
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

Deformers no clear undo history version

Constraints no clear undo history
1 undo generated for adding and removing constraints via script buffer run.
Attachments
Constraint Scripts08.RsObj
(316.46 KiB) Downloaded 134 times
DeformScripts1_06.RsObj
(412.66 KiB) Downloaded 129 times
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

Test Update 47 for trueSpace7.61 Beta 8 Std Unofficial Update

May 21, 2021

Recommend that you completely Uninstall and Install trueSpace7.61 Beta 8 Standalone to a clean directory before installing this update. If you applied the previous Test Update to a clean directory, you do not need to Uninstall trueSpace7.61 Beta 8 Standalone before applying this new update.
This is a Beta Pre Release for TESTING the below updates and the included previous updates

Update

Lights
Update Color Picker - Author Clinton Reese
Including all Workspace & YafaRay Lights, Libraries, and New scene

CustomCommands - Author Clinton Reese
pointCloneScript
radialArray2Script
gridArray2Script
Constraint Scripts
DeformScripts1
User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

I'm going through the manual top to bottom and will make some mods as I go.

Here is a Delete that uses the script buffer for 1 undo
It also removes the RsTool.Arrow command which only works in object script nodes.

SetLE from the link editor navigation toolbar is undoable and does not clear undo history.

I think this will work for the RMB New 3D window button to not clear history

Code: Select all

cmd = "WindowsManager.CreateWindowFromCLSIDEx('default', 'default', 'default', '[Scene]', 1, '3D');D3DView.ShowPostProcessing('');D3DView.ShowRenderAttribsForLayer('');Node.Rename(WindowsManager.GetWorkWindow() + '/Layer Render Attributes', 'Scene');";RsApp.RunScriptBuffer(cmd);
Attachments
LEtools03.RsObj
(38.12 KiB) Downloaded 125 times
Delete11ed.RsObj
(5.36 KiB) Downloaded 134 times
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

clintonman wrote: 22 May 2021, 19:55 I'm going through the manual top to bottom and will make some mods as I go.

Here is a Delete that uses the script buffer for 1 undo
It also removes the RsTool.Arrow command which only works in object script nodes.

SetLE from the link editor navigation toolbar is undoable and does not clear undo history.

I think this will work for the RMB New 3D window button to not clear history

Code: Select all

cmd = "WindowsManager.CreateWindowFromCLSIDEx('default', 'default', 'default', '[Scene]', 1, '3D');D3DView.ShowPostProcessing('');D3DView.ShowRenderAttribsForLayer('');Node.Rename(WindowsManager.GetWorkWindow() + '/Layer Render Attributes', 'Scene');";RsApp.RunScriptBuffer(cmd);
Thank you!

I used util.Rename instead of Node.Rename
util = System.CreateDO("Clintons3D Package/Utility functions");util.Rename(WindowsManager.GetWorkWindow() + '/Layer Render Attributes', 'Scene');
User avatar
trueBlue
Captain
Posts: 5548
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

Test Update 49 for trueSpace7.61 Beta 8 Std Unofficial Update

May 23, 2021

Recommend that you completely Uninstall and Install trueSpace7.61 Beta 8 Standalone to a clean directory before installing this update. If you applied the previous Test Update to a clean directory, you do not need to Uninstall trueSpace7.61 Beta 8 Standalone before applying this new update.
This is a Beta Pre Release for TESTING the below updates and the included previous updates

Update

Commands
Delete.xml

CustomCommands
LEtools

Constraint Scripts/OpenPanel
Update
Line 44 & 124
var maxStandardPanelWidth = 192

Toolbars
All of the below icons no longer clear the history
Record Toolbar
jScript Macro Record Toolbar
VB Macro Record Toolbar
3D Window/RMB Command
User avatar
trueBlue
Captain
Posts: 5548
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

Test Update 50 for trueSpace7.61 Beta 8 Std Unofficial Update

May 24, 2021

Recommend that you completely Uninstall and Install trueSpace7.61 Beta 8 Standalone to a clean directory before installing this update. If you applied the previous Test Update to a clean directory, you do not need to Uninstall trueSpace7.61 Beta 8 Standalone before applying this new update.
This is a Beta Pre Release for TESTING the below updates and the included previous updates

Update

Rs Main Libraries/Objects - tS7.61 Update objects
tS761 Toolbars 'Does not clear the history & use util.Commands'
Animation Panel 'Does not clear the history & use util.Commands'
Scene Animator 'Does not clear the history & use util.Commands'


Toolbars
Red toolbar icon LMB command
Blue toolbar icon LMB command
Clintons toolbar icon LMB command
Updated 'Use util.Rename'

Widgets/Tools
Shear 'Does not clear the history & use util.Commands'

CustomCommands
NormalsScripts - Author Clinton Reese
User avatar
trueBlue
Captain
Posts: 5548
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

@ Clinton
Was thinking about adding or replacing the Workspace Layers shortcut

Code: Select all

    <RS_ACC KEY="SHIFT L" GROUP="CLINTONTOOLBAR" CONTEXT="" DESC="Layers - Workspace Layers 3 / Preferences " COMMAND="Activity.Run(&quot;Scripts/CustomCommands/wsLayersGroup/loadIt&quot;)" />
    <RS_ACC KEY="CTRL SHIFT L" GROUP="CLINTONTOOLBAR" CONTEXT="" DESC="Layers - Workspace Layers 4 / Preferences " COMMAND="Activity.Run(&quot;Scripts/CustomCommands/wsLayersGroup4/loadIt&quot;)" />
What do you think?
Replace the Workspace Layers 3 shortcut with Workspace Layers 4 shortcut or Add the Workspace Layers 4 shortcut?
User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

trueBlue wrote: 25 May 2021, 14:31 @ Clinton
Was thinking about adding or replacing the Workspace Layers shortcut

Code: Select all

    <RS_ACC KEY="SHIFT L" GROUP="CLINTONTOOLBAR" CONTEXT="" DESC="Layers - Workspace Layers 3 / Preferences " COMMAND="Activity.Run(&quot;Scripts/CustomCommands/wsLayersGroup/loadIt&quot;)" />
    <RS_ACC KEY="CTRL SHIFT L" GROUP="CLINTONTOOLBAR" CONTEXT="" DESC="Layers - Workspace Layers 4 / Preferences " COMMAND="Activity.Run(&quot;Scripts/CustomCommands/wsLayersGroup4/loadIt&quot;)" />
What do you think?
Replace the Workspace Layers 3 shortcut with Workspace Layers 4 shortcut or Add the Workspace Layers 4 shortcut?
Replace, I guess. version 3 is legacy version in my mind.
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

Okay will do, thanks!

Finally seen this Alert:
Web Server Alert.png
Web Server Alert.png (7.53 KiB) Viewed 2920 times
I have Workspace Layers 4 running in tS7.61 UU7
I opened tS7.61 Standalone UU7 and used the new shortcut which produced this alert
So what is the consequences if a user selects Yes?
User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

trueBlue wrote: 25 May 2021, 14:55 Okay will do, thanks!

Finally seen this Alert:
Web Server Alert.png
I have Workspace Layers 4 running in tS7.61 UU7
I opened tS7.61 Standalone UU7 and used the new shortcut which produced this alert
So what is the consequences if a user selects Yes?
It might lose communication. So say you have a scene view page open then you get that message when trying to use layers. The scene view may be disconnected or the updates meant for the layers would end up going to the scene view page. So wherever the communication is lost would need to be reopened to reestablish communications link.
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

Thanks
I tried it and you do lose the connection
Recommend changing the Alert
New WWW alert.png
New WWW alert.png (8.22 KiB) Viewed 2925 times
User avatar
trueBlue
Captain
Posts: 5548
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

@ Clinton
Edit: Updated all scripts
I notice that Workspace Layers 4 can get messed up when using UnDo
Most importantly the LayersData

CustomCommands
WebServer
StartWebServer
Changed to util.Rename() Clintons3D Package/Utility functions command
Add
Set WebServerFrame
Uses Clintons3D Package/Utility functions commands

wsLayersGroup4
loadIt
Changed Node.Copy() to util.Copy()

workspacelayers4
Modified all script(s) commands to Clintons3D Package/Utility functions commands

ReconnectObjectHiders
Add RsApp.ClearHistory()

Common Function Set
Modified commands to Clintons3D Package/Utility functions commands

Request
Add check for the plugin in the Workspace Layers 4
User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

trueBlue wrote: 27 May 2021, 12:16 @ Clinton
Edit: Updated all scripts
I notice that Workspace Layers 4 can get messed up when using UnDo
Most importantly the LayersData

CustomCommands
WebServer
StartWebServer
Changed to util.Rename() Clintons3D Package/Utility functions command
Add
Set WebServerFrame
Uses Clintons3D Package/Utility functions commands

wsLayersGroup4
loadIt
Changed Node.Copy() to util.Copy()

workspacelayers4
Modified all script(s) commands to Clintons3D Package/Utility functions commands

ReconnectObjectHiders
Add RsApp.ClearHistory()

Common Function Set
Modified commands to Clintons3D Package/Utility functions commands

Request
Add check for the plugin in the Workspace Layers 4
I'll check it out, but I figure the first thing will be to remove the clear history.

Edit:
It seems to be working and I don't see any reason to clear history.
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

Update 52 for trueSpace7.61 Beta 8 Standalone Unofficial Update

May 28, 2021

viewtopic.php?t=3731

Update

Window.Shortcuts.xml
Shift + L opens Workspace Layers 4
Note: A 3D Window must be active

Commands
C3DRestore
Add
RsApp.ClearHistory()

CustomCommands
WebServer
StartWebServer
Changed Node.Rename() to Clintons3D Package/Utility functions command
Add
Set WebServerFrame
Uses Clintons3D Package/Utility functions commands

wsLayersGroup4
loadIt
Changed Node.Copy() to Clintons3D Package/Utility functions command

workspacelayers4
Modified all script(s) commands to Clintons3D Package/Utility functions commands

Common Function Set
Modified commands to Clintons3D Package/Utility functions commands
User avatar
trueBlue
Captain
Posts: 5548
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

Update 53 for trueSpace7.61 Beta 8 Standalone Unofficial Update

May 29, 2021

viewtopic.php?t=3731

Update

Workspace Layers 4 and Web Server updates from Author Clinton Reese 5/28/2021
Updated to use Clintons3D Package/Utility functions commands

CustomCommands
WebServer
StartWebServer
Add

Code: Select all

//File/New Scene command closes the WebServerFrame and Workspace Layers 4 panel
util = System.CreateDO("Clintons3D Package/Utility functions")
util.Rename(windowFrame, "WebServerFrame")
wsLayersGroup4
OpenLayersPanel
Add

Code: Select all

//	if(!Node.Exists("/Scripts/CustomCommands/wsLayersGroup4/LayersPanel")) return;
if(!Node.Exists("/Scripts/CustomCommands/wsLayersGroup4/LayersPanelFrame")) {
	System.Alert("Workspace Layers 4 is not Installed");
	params.SetTerminationFlag()
	return;
}
//Stop if already open
if(Node.Exists("Project/Windows Manager Space/LayersPanelFrame")) {
	params.SetTerminationFlag()
	return;
}
//Stop if already open
if(!Node.Exists("/Project/Windows Manager Space/WebServerFrame")) {
	params.SetTerminationFlag()
	return;
}
loadIt
Add

Code: Select all

//	Activity.Run("Scripts/CustomCommands/WebServer/StartWebServer");
ScriptObject.Execute("Scripts/CustomCommands/WebServer/StartWebServer");
//Must run both because the above will not run the linked Set WebServerFrame script
ScriptObject.Execute("Scripts/CustomCommands/WebServer/Set WebServerFrame");
//Stop loading Workspace Layers 4 if the Mongoose Web Server is already opened
if(!Node.Exists("Project/Windows Manager Space/WebServerFrame")) {
	params.SetTerminationFlag();
	return;
}
This fixes the following error if you run Workspace Layers 4 and it is already opened
SecurityError.png
SecurityError.png (3.99 KiB) Viewed 2858 times
This only seems to effect Workspace Layers 4 and not the Color Picker or Scene View

The included Plugins.xml file has the Clintons3dPlugin, Clintons3dPluginExt and Clintons3dRsView, Installed and Loaded to the default path:
C:\trueSpace761Std
WARNING: These 3 plugins are required to be Installed and Loaded when using trueSpace!
User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

Here is a sample of the snapping scripts that do not clear the undo history.
facetoface is the only one that was updated.
A new node "objRefFS" was added to the SnappingScripts to replace the facetoface internal "objRef" node.
I removed all the other objRef nodes to avoid confusion moving forward, so only facetoface and pivotToPE are working.
pivotToPE doesn't use the objRef and I didn't look at it yet.
Attachments
SnappingScripts14.RsObj
(670.9 KiB) Downloaded 142 times
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

Complete snapping tools that do not erase undo history.
Attachments
SnappingScripts47.RsObj
(724.34 KiB) Downloaded 139 times
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

clintonman wrote: 31 May 2021, 19:33 Complete snapping tools that do not erase undo history.
Thanks Clinton!
I have been updating opening toolbars and floating panels using your util. Commands which does not have any entries into the History (Can not be undone)

Code: Select all

if(typeof(Clintons3dPlugin) == "undefined") {	System.Alert("Clintons3D Package plugin is Required!\n\nInstall the Clintons3dPlugin.rsx in the Package Manager and \nRestart trueSpace");return;};
Frame=WindowsManager.GetWindowsManagerNodeName();
WindowsManager.CloseToolbar("SnappingToolbar");
WindowsManager.OpenToolbarFromPrototype("SnappingToolbar",32,32,0,0);
util=System.CreateDO("Clintons3D Package/Utility functions");
util.Rename(Frame+"/"+Node.SubObject(Frame,Node.SubObjectCount(Frame)-1),"SnappingToolbarFrame");
WindowsManager.SnapFrameToFrameEx(WindowsManager.GetWorkWindow(),Frame+"/SnappingToolbarFrame",19,10,310,-120);
WindowsManager.SetFrameOwnerFrame(Frame+"/SnappingToolbarFrame",WindowsManager.GetWorkWindow());
With your new openSnappingToolbar script, you are using RsApp.RunScriptBuffer(cmd)
If I use UnDo after using this script, it creates a duplicate Snapping toolbar and both toolbar frame(s) are renamed Frame, 2 & Frame, 3
User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

trueBlue wrote: 31 May 2021, 20:19
clintonman wrote: 31 May 2021, 19:33 Complete snapping tools that do not erase undo history.
Thanks Clinton!
I have been updating opening toolbars and floating panels using your util. Commands which does not have any entries into the History (Can not be undone)

Code: Select all

if(typeof(Clintons3dPlugin) == "undefined") {	System.Alert("Clintons3D Package plugin is Required!\n\nInstall the Clintons3dPlugin.rsx in the Package Manager and \nRestart trueSpace");return;};
Frame=WindowsManager.GetWindowsManagerNodeName();
WindowsManager.CloseToolbar("SnappingToolbar");
WindowsManager.OpenToolbarFromPrototype("SnappingToolbar",32,32,0,0);
util=System.CreateDO("Clintons3D Package/Utility functions");
util.Rename(Frame+"/"+Node.SubObject(Frame,Node.SubObjectCount(Frame)-1),"SnappingToolbarFrame");
WindowsManager.SnapFrameToFrameEx(WindowsManager.GetWorkWindow(),Frame+"/SnappingToolbarFrame",19,10,310,-120);
WindowsManager.SetFrameOwnerFrame(Frame+"/SnappingToolbarFrame",WindowsManager.GetWorkWindow());
With your new openSnappingToolbar script, you are using RsApp.RunScriptBuffer(cmd)
If I use UnDo after using this script, it creates a duplicate Snapping toolbar and both toolbar frame(s) are renamed Frame, 2 & Frame, 3
will do.
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

Update 54 for trueSpace7.61 Beta 8 Standalone Unofficial Update

May 31, 2021

viewtopic.php?t=3731

Update

Commands
Clintons3dPlugin.xml & init.js 'Add check for plugin'
The Clintons3dPlugin script runs every time trueSpace starts up if the Clintons3dPlugin is not Loaded or Installed
You will get an Alert to Install the Clintons3dPlugin.rsx plugin and the Package Manager will open

Toolbars
ClintonToolbar
PEButton LMB command 'Add util.Rename() & check for plugin'
NTBButton LMB command 'Add util.Rename() & check for plugin'
ITButton LMB command 'Add util.Rename() & check for plugin'
TBButton LMB command 'Add util.Rename() & check for plugin'

CustomCommands
NormalMove script & PE NormalMove widget 'Add util. Status & Commands and check for plugin'

staticSweepPlusScript 'Add check for plugin'

ctrlSelectionGroup 'Add util Status, Commands and check for plugin' Note: Needs old Status clean up!

Character FK Controls/openPanelFrame script 'Add utilitydata.Copy() & check for plugin'

SnappingScripts 'Update by Author - Clinton Reese

SnappingScripts/openSnappingToolbar script 'Add util.Rename() & check for plugin'

The included Plugins.xml file has the Clintons3dPlugin, Clintons3dPluginExt and Clintons3dRsView, Installed and Loaded to the default path: C:\trueSpace761Std
WARNING: These 3 plugins are requried to be Installed and Loaded when using trueSpace!
User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

Normal Move Widget uses less of the undo history.
Attachments
PE NormalMove04.RsObj
(184.04 KiB) Downloaded 139 times
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

Sweep path tool reduced to about 13 undos.
Attachments
sweepPathScript24.RsObj
(94.75 KiB) Downloaded 142 times
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

layers.js to replace the /web/js/layers.js file

This change scrolls the list when adding or removing a layer.
The problem it fixes is that when you add a layer the list goes to the top and you have to scroll down to the newly added layer.
When you remove a layer it also goes to the top. Now it stays in the "neighborhood" of the removed layer.
It also adds a simple effect when adding or removing layers. No animation, it just kind of pops in or out.
Attachments
layers.zip
(4.14 KiB) Downloaded 144 times
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

Update 55 for trueSpace7.61 Beta 8 Standalone Unofficial Update

June 4, 2021

viewtopic.php?t=3731

Update

Yafaray Folder/YafaRay4tS 'Fix for the External Viewer(TGA_Viewer) & check for tif plugin' 'Author Clinton Reese'

YafaRay4tS Setup library
YafaRay4tS toolbar 'Add util.Commands and check for plugin'
YafaRay4tS.RsScn
Tiff Loader 'Add check for tif plugin'

CustomCommands
NURBSScripts/sweepPathScript 'Author Clinton Reese'
NormalMove 'Author Clinton Reese'
align and distribute 'Add util.Commands and check for plugin'
planeLoopSelect 'Add util.Commands and check for plugin'

Widgets
PE NormalMove 'Add X Sensitivity preferences panel'

Point Edit Widget(s)/End edit 'Add util.ClearStatusMessage(0);'
Normal Move preferences.png
Normal Move preferences.png (2.32 KiB) Viewed 2700 times
Components - Compositing library/Tiff Loader 'Add check for tif plugin'

web
Update Title(s)
colorpicker.html 'trueSpace Color Picker'
scenetree.html 'trueSpace Scene View'
layers.html 'trueSpace Layers'

layers.js Update 'Author Clinton Reese'



The included Plugins.xml file has the Clintons3dPlugin, Clintons3dPluginExt and Clintons3dRsView, Installed and Loaded to the default path: C:\trueSpace761Std
WARNING: These 3 plugins are requried to be Installed and Loaded when using trueSpace!
User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

Small problem with the layers.js file
Looks like I only tested it outside of tS. The timed style changes weren't working because internet explorer (tS html control) doesn't work with standard commands. The fix is purely cosmetic and doesn't change the way the layers work.
Attachments
layers1522.zip
(4.2 KiB) Downloaded 138 times
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

clintonman wrote: 04 Jun 2021, 20:34 Small problem with the layers.js file
Looks like I only tested it outside of tS. The timed style changes weren't working because internet explorer (tS html control) doesn't work with standard commands. The fix is purely cosmetic and doesn't change the way the layers work.
That's cool! :worship:
Works for the tS Html control too :D

Is it okay to add these changes?
trueSpace Color Picker.png
User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

trueBlue wrote: 04 Jun 2021, 21:29
clintonman wrote: 04 Jun 2021, 20:34 Small problem with the layers.js file
Looks like I only tested it outside of tS. The timed style changes weren't working because internet explorer (tS html control) doesn't work with standard commands. The fix is purely cosmetic and doesn't change the way the layers work.
That's cool! :worship:
Works for the tS Html control too :D

Is it okay to add these changes?
trueSpace Color Picker.png
0-255 and 0-359 labels look too busy to me.
Hex vs # label, meh, could go either way.
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

Update 56 for trueSpace7.61 Beta 8 Standalone Unofficial Update

June 5, 2021

viewtopic.php?t=3731

Update

CustomCommands

wsLayersGroup/loadIt
'Check scene for Workspace Layers 4 optional load version 3'

wsLayersGroup4/OpenLayersPanel
'Check scene for Workspace Layers 3 optional removal'

Web Server panel
Update
Open buttons 'Starts the Web Server'

web
Update 'Author Clinton Reese'
layers.js



The included Plugins.xml file has the Clintons3dPlugin, Clintons3dPluginExt and Clintons3dRsView, Installed and Loaded to the default path: C:\trueSpace761Std
WARNING: These 3 plugins are required to be Installed and Loaded when using trueSpace!
User avatar
trueBlue
Captain
Posts: 5548
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

Update 57 for trueSpace7.61 Beta 8 Standalone Unofficial Update

June 5, 2021

viewtopic.php?t=3731

Update

CustomCommands

Select/Reorder
Fixed an issue with multiple selected items



The included Plugins.xml file has the Clintons3dPlugin, Clintons3dPluginExt and Clintons3dRsView, Installed and Loaded to the default path: C:\trueSpace761Std
WARNING: These 3 plugins are required to be Installed and Loaded when using trueSpace!
User avatar
trueBlue
Captain
Posts: 5548
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

@ Clinton
Here is an updated Select script
Changes
Alphabetize - Scene & Selected Object

Opens a Link Editor if it is not open other wise it will fail
Status message if the process completed successfully if not an Alert that it failed

Still think it should include a truePause but not sure

Probably should add a warning in your UU doc about the Link Editor
The Link Editor should be at the scene level when using Alphabetize - Scene & Selected Object
Attachments
Select5c0b.RsObj
(95.54 KiB) Downloaded 141 times
User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

trueBlue wrote: 07 Jun 2021, 02:19 ...

Probably should add a warning in your UU doc about the Link Editor
The Link Editor should be at the scene level when using Alphabetize - Scene & Selected Object
Really? it looks like you fixed that problem. The LE is switching to the scene and to the selected object.
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

Yes!
In the LE, navigate to System and run Alphabetize - Scene
You are right, the LE switches to the scene, but navigate back to System and you should see that System has been Arranged too! :shock:

Edit: This can be fixed by adding/replace the following to the A2Z script

Code: Select all

if(Question("Destructive Process!\nAre you sure you want to Alphabetize your scene?")) {
LE.OpenLocation(Space.CurrentScene());
Activity.Run(System.ThisOwner() + "/scene")
return;
}
And the following to the Reorder script

Code: Select all

if(Question("Destructive Process!\nAre you sure you want to Alphabetize the " + obj + "?")) {
LE.OpenLocation(firstsel);
Activity.Run(System.ThisOwner() + "/subobject")
return;
}
User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

Great, so I don't need to add the note tot he manual.
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

Update 58 for trueSpace7.61 Beta 8 Standalone Unofficial Update

June 7, 2021

viewtopic.php?t=3731

Update

CustomCommands
NURBSScripts/Lath Curve/openPanelFrame
Select


The included Plugins.xml file has the Clintons3dPlugin, Clintons3dPluginExt and Clintons3dRsView, Installed and Loaded to the default path: C:\trueSpace761Std
WARNING: These 3 plugins are required to be Installed and Loaded when using trueSpace!
User avatar
trueBlue
Captain
Posts: 5548
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

Update 59 for trueSpace7.61 Beta 8 Standalone Unofficial Update

June 9, 2021

viewtopic.php?t=3731

Update

CustomCommands
freezeTransforms 'Add util.commands & removed Clear History'
latheScript 'Add Clear History'


The included Plugins.xml file has the Clintons3dPlugin, Clintons3dPluginExt and Clintons3dRsView, Installed and Loaded to the default path: C:\trueSpace761Std
WARNING: These 3 plugins are required to be Installed and Loaded when using trueSpace!
User avatar
trueBlue
Captain
Posts: 5548
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

Update 60 for trueSpace7.61 Beta 8 Standalone Unofficial Update

June 11, 2021

viewtopic.php?t=3731

Update

CustomCommands
Lath Sweep
Add - ClearStatus script
doit
Add - Check for original object
Add - util.SetStatusMessage("Creating Lathe...", 0)

latheArrayTemplate
Enable - Run automatically
Add - OpenToolPanelView script
update copies
Add - ScriptObject.Execute(owner + "/Array Watch Dog Event");
Export - Control In

Toolbars
WorkspaceMainMenu/File/New Scene
Add - Remove Markers


The included Plugins.xml file has the Clintons3dPlugin, Clintons3dPluginExt and Clintons3dRsView, Installed and Loaded to the default path: C:\trueSpace761Std
WARNING: These 3 plugins are required to be Installed and Loaded when using trueSpace!
User avatar
trueBlue
Captain
Posts: 5548
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

Update 61 for trueSpace7.61 Beta 8 Standalone Unofficial Update

June 13, 2021

viewtopic.php?t=3731

After reading the tS761_UU_Artists_Guide, I have decided to make the following changes
Hopefully there will be less confusion

Update

Cameras
Camera 'Changed FOV = 0.785'
EntryPoint 'Changed FOV = 0.500'
Yafaray Camera 'Changed FOV = 0.785'


Toolbars
WorkspaceMain2
WorkspaceMain2.png
Moved Set Camera & Rectangle Zoom icons to the Camera - Move/Rotate/FOV column, also added the First person navigation icon
Also added a Set Camera icon to the Perspective/Top/Front/etc.. column


The included Plugins.xml file has the Clintons3dPlugin, Clintons3dPluginExt and Clintons3dRsView, Installed and Loaded to the default path: C:\trueSpace761Std
WARNING: These 3 plugins are required to be Installed and Loaded when using trueSpace!
User avatar
trueBlue
Captain
Posts: 5548
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

Update 62 for trueSpace7.61 Beta 8 Standalone Unofficial Update

June 14, 2021

viewtopic.php?t=3731

Update

Camera Widget 1
Updated the Help file

CustomCommands
MirrorMatrix
Removed NURBS restriction

The included Plugins.xml file has the Clintons3dPlugin, Clintons3dPluginExt and Clintons3dRsView, Installed and Loaded to the default path: C:\trueSpace761Std
WARNING: These 3 plugins are required to be Installed and Loaded when using trueSpace!
User avatar
trueBlue
Captain
Posts: 5548
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

Update 64 for trueSpace7.61 Beta 8 Standalone Unofficial Update

June 16, 2021

viewtopic.php?t=3731

Update

CustomCommands
Lath Sweep Author - Clinton Reese Update June 15, 2021
Add - ClearStatus script

latheArrayTemplate
Enable - Run automatically
Add - OpenToolPanelView script
update copies
Export - Control In


The included Plugins.xml file has the Clintons3dPlugin, Clintons3dPluginExt and Clintons3dRsView, Installed and Loaded to the default path: C:\trueSpace761Std
WARNING: These 3 plugins are required to be Installed and Loaded when using trueSpace!
User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

Testing the Mirror Matrix and it looks like it's based on an old version of the script.
I think its missing the Dec7 and Dec8 changes

Dec7
better rotation for lights and cameras
original selection does not get mirrored when using the copy option
works with groups and groups that have NURBS members
copied nodes will arrange themselves in the link editor window
works with individual members of groups
Dec8
fix mesh inside out

Dec6 also missing, added support for upcoming NURBS tools
Attachments
MirrorMatrix_UU_Uptodate02.RsObj
(72.17 KiB) Downloaded 130 times
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

clintonman wrote: 17 Jun 2021, 00:30 Testing the Mirror Matrix and it looks like it's based on an old version of the script.
I think its missing the Dec7 and Dec8 changes

Dec7
better rotation for lights and cameras
original selection does not get mirrored when using the copy option
works with groups and groups that have NURBS members
copied nodes will arrange themselves in the link editor window
works with individual members of groups
Dec8
fix mesh inside out

Dec6 also missing, added support for upcoming NURBS tools
Are you sure this works for NURBS?
Mirror Matrix NURBS.png
User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

trueBlue wrote: 17 Jun 2021, 15:28
clintonman wrote: 17 Jun 2021, 00:30 Testing the Mirror Matrix and it looks like it's based on an old version of the script.
I think its missing the Dec7 and Dec8 changes

Dec7
better rotation for lights and cameras
original selection does not get mirrored when using the copy option
works with groups and groups that have NURBS members
copied nodes will arrange themselves in the link editor window
works with individual members of groups
Dec8
fix mesh inside out

Dec6 also missing, added support for upcoming NURBS tools
Are you sure this works for NURBS?
Mirror Matrix NURBS.png
Flip the U or V direction of the patch or set patch to double sided.
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

clintonman wrote: 17 Jun 2021, 16:10
trueBlue wrote: 17 Jun 2021, 15:28
clintonman wrote: 17 Jun 2021, 00:30 Testing the Mirror Matrix and it looks like it's based on an old version of the script.
I think its missing the Dec7 and Dec8 changes

Dec7
better rotation for lights and cameras
original selection does not get mirrored when using the copy option
works with groups and groups that have NURBS members
copied nodes will arrange themselves in the link editor window
works with individual members of groups
Dec8
fix mesh inside out

Dec6 also missing, added support for upcoming NURBS tools
Are you sure this works for NURBS?
Mirror Matrix NURBS.png
Flip the U or V direction of the patch or set patch to double sided.
Is something that could be added to the Mirror Matrix scripts?
User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

trueBlue wrote: 17 Jun 2021, 16:13
clintonman wrote: 17 Jun 2021, 16:10
trueBlue wrote: 17 Jun 2021, 15:28
Are you sure this works for NURBS?
Mirror Matrix NURBS.png
Flip the U or V direction of the patch or set patch to double sided.
Is something that could be added to the Mirror Matrix scripts?
I was just thinking that.
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

If mirror mesh vertices is checked it will flip the U direction of a patch.
Attachments
MirrorMatrix_UU_Uptodate03.RsObj
(72.31 KiB) Downloaded 139 times
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

@ Clinton
Please give this Widgets.RsObj a try
I have been testing this all morning and it is working perfect for me
New
Background widget
LMB + Drag = Look At selected Objects
RMB + Drag = Look At selected Objects in all opened Windows
Your CenterObjectAllWindows script found in the new UU4Clinton

This is in addition of the Ctrl + MMB = Look At selected Objects

Return to “General Discussion”