Unofficial Update Documentation

Share with others..
User avatar
clintonman
Captain
Posts: 5428
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Unofficial Update Documentation

Post by clintonman »

in object coordinate
toggle mesh object
do stuff
switch to tangent
remember mesh object mode is not compatible so
toggle mesh object
now you're back in object coordinate
have to switch back to tangent coordinate

in world coord
toggle mesh object
go to object coord
toggle mesh object
now you're in world mode
have to switch back to object coordinate

there are 2 valid places to toggle the mesh object mode, while in object coord and in tangent coord
in object mode to toggle off/on
in tangent turn off
no valid reason to restore some previous coord mode
the only automation that would be useful would be to turn mesh coordinates off when switching to tangent

the other solution would be to find some way to make the mesh object coordinate a true coordinate mode that does not effect the tangent coordinate mode
Clinton Reese

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

Re: Unofficial Update Documentation

Post by trueBlue »

With your ToggleCoordSystem script, I added this to the beginning of the script

Code: Select all

if(Node.Value("/Preferences/Modeling preferences", "Coordinate system") == "Tangent") {
params.SetTerminationFlag()
System.Alert("Tangent Coordinate system mode is not supported!\nSwitch to Object Coordinate system")
return;
}
Also, I am switching to Local
Node.Value("/Preferences/Modeling preferences", "Coordinate system") = "Local"

So in a nut shell, I am restricting the use the Tangent Coordinate system, and restoring the user's current/previous Coordinate system
It seems to work well, except changing Coordinate systems while in Mesh Object Coordinate Mode
User avatar
clintonman
Captain
Posts: 5428
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: 02 Feb 2021, 16:27 in object coordinate
toggle mesh object
do stuff
switch to tangent
remember mesh object mode is not compatible so
toggle mesh object
now you're back in object coordinate
have to switch back to tangent coordinate
....
How does that stop the first example from happening?
except now it's

in object coordinate
toggle mesh object
do stuff
switch to tangent - still in mesh object mode
remember mesh object mode is not compatible so
toggle mesh object - nope cant do it
switch to object coordinate
toggle mesh object off
back to tangent coordinate again
Clinton Reese

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

Re: Unofficial Update Documentation

Post by trueBlue »

New modification, instead of the annoying alert which breaks the workflow

Code: Select all

if(!Node.Value("/Preferences/Modeling preferences", "Coordinate system") == "Tangent") {
Activity.Run(System.ThisOwner() + "/RestoreCoordinateSystem")
}
This replaces:

Code: Select all

if(Node.Value("/Preferences/Modeling preferences", "Coordinate system") == "Tangent") {
params.SetTerminationFlag()
System.Alert("Tangent Coordinate system mode is not supported!\nSwitch to Object Coordinate system")
return;
}
Now for the PE Widget (WIP)

Code: Select all

if(Node.Value("/Preferences/Modeling preferences", "Coordinate system") == "Tangent" && Node.Value("/Widgets/Edit/Point edit widget/Persp. comp. preferences cs", "Active") == true) {
Node.Value("/Preferences/Modeling preferences", "Coordinate system") = "Local"
}
if(Node.Value("/Preferences/Modeling preferences", "Coordinate system") == "World" && Node.Value("/Widgets/Edit/Point edit widget/Persp. comp. preferences cs", "Active") == true) {
Node.Value("/Preferences/Modeling preferences", "Coordinate system") = "Local"
}
if(Node.Value("/Preferences/Modeling preferences", "Coordinate system") == "Screen" && Node.Value("/Widgets/Edit/Point edit widget/Persp. comp. preferences cs", "Active") == true) {
Node.Value("/Preferences/Modeling preferences", "Coordinate system") = "Local"
RsApp.ClearHistory()
}
Got it :mrgreen:
If Persp. comp. preferences cs is Active, User can not switch to another Coordinate system
Restrict Coordinate Systems.png
User avatar
trueBlue
Captain
Posts: 5213
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Unofficial Update Documentation

Post by trueBlue »

User avatar
clintonman
Captain
Posts: 5428
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 roughing in the chapter of additions
This was created with Scribus instead of LibreOffice Draw, which was used for the modified chapters because it reads in the pdf format better.

chXX_Additions_UU is the pdf file
GatherSLA is the source Scribus file and linked images.
Attachments
GatherSLA.zip
(1.02 MiB) Downloaded 143 times
chXX_Additions_UU.zip
(1.47 MiB) Downloaded 143 times
Clinton Reese

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

Re: Unofficial Update Documentation

Post by trueBlue »

Appreciate all of your work involved in this much needed information!
How will this be incorporated into the PDFMan folder?
Will the Table of Contents/links work?
User avatar
clintonman
Captain
Posts: 5428
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: 06 Feb 2021, 20:14 Appreciate all of your work involved in this much needed information!
How will this be incorporated into the PDFMan folder?
Will the Table of Contents/links work?
We'll see....
Clinton Reese

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

Re: Unofficial Update Documentation

Post by clintonman »

Same roughness as before. Finished getting all the images except for the NURBS buttons and panels.
Will start the text after these last images are captured.

chXX_Additions_UU is the pdf file
GatherSLA is the source Scribus file and linked images.
Attachments
GatherSLA.zip
(1.48 MiB) Downloaded 149 times
chXX_Additions_UU.zip
(2.22 MiB) Downloaded 128 times
Clinton Reese

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

Re: Unofficial Update Documentation

Post by clintonman »

Finished images for buttons and panels for the nurbs tools.
Now time to start writing.
Attachments
GatherSLA.zip
(2.26 MiB) Downloaded 145 times
chXX_Additions_UU.zip
(2.77 MiB) Downloaded 134 times
Clinton Reese

http://clintons3d.com
Post Reply