Final trueSpace7.61 Beta 8 Std Unofficial Update

User avatar
trueBlue
Captain
Posts: 5214
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: 5429
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

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: 5214
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 2394 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: 5429
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

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: 5214
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 2399 times
User avatar
trueBlue
Captain
Posts: 5214
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: 5429
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

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: 5214
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?f=55&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: 5214
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?f=55&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 2332 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: 5429
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

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 110 times
Clinton Reese

http://clintons3d.com
Post Reply