Workspace Dimensions

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

Re: Workspace Dimensions

Post by clintonman »

trueBlue wrote: 22 Oct 2022, 15:26
clintonman wrote: 22 Oct 2022, 04:27 Here's a copy of the changes including all the changes you made.

remove button highlight from all 6 GetDimPoints nodes
remove status message checkbox from 3 nodes inside GetDimPoints
de-export the DimLinear, DimAngle and DimText ORA exported panel
remove all connectors except Matrix conns from DimLinear, DimAngle and DimText - DimText kept Material List conn, hard to see color on selected item in the 3d view
utility toggletextgraphic - choose first text explicitly if not a valid dimension
note line 344 added (...) before || to fix the logic for the case where there is no valid dimension to default toggle to

Code: Select all

	//select first
	if(firstSel == (scene && Node.Exists(sceneMeasureGroup)) || Node.Exists(objectMeasureGroup)) {
added text orient setting/control - Lying, Standing
creating a new dimension in view mode will always have Lying orientation

Generally, if your view point is high, use the Lying orientation and if it is lower use the Standing orientation
Thanks!
Not sure if this was present in the previous version
Notice a double line in an Angel
Angle.png
.
Also, a ghost widget appears when creating Angles

Also, notice a Parenting status message now that you removed the "status message checkbox from 3 nodes inside GetDimPoints"
Do you mean the angle arms when you say double lines?

I don't see any ghost widget when creating angles. Can you show a screenshot?

I loaded the old version with status checkboxes and the parenting message still shows. Maybe you just didn't notice it before.
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: Workspace Dimensions

Post by trueBlue »

clintonman wrote: 22 Oct 2022, 15:35
trueBlue wrote: 22 Oct 2022, 15:26
clintonman wrote: 22 Oct 2022, 04:27 Here's a copy of the changes including all the changes you made.

remove button highlight from all 6 GetDimPoints nodes
remove status message checkbox from 3 nodes inside GetDimPoints
de-export the DimLinear, DimAngle and DimText ORA exported panel
remove all connectors except Matrix conns from DimLinear, DimAngle and DimText - DimText kept Material List conn, hard to see color on selected item in the 3d view
utility toggletextgraphic - choose first text explicitly if not a valid dimension
note line 344 added (...) before || to fix the logic for the case where there is no valid dimension to default toggle to

Code: Select all

	//select first
	if(firstSel == (scene && Node.Exists(sceneMeasureGroup)) || Node.Exists(objectMeasureGroup)) {
added text orient setting/control - Lying, Standing
creating a new dimension in view mode will always have Lying orientation

Generally, if your view point is high, use the Lying orientation and if it is lower use the Standing orientation
Thanks!
Not sure if this was present in the previous version
Notice a double line in an Angel
Angle.png
.
Also, a ghost widget appears when creating Angles

Also, notice a Parenting status message now that you removed the "status message checkbox from 3 nodes inside GetDimPoints"
Do you mean the angle arms when you say double lines?

I don't see any ghost widget when creating angles. Can you show a screenshot?

I loaded the old version with status checkboxes and the parenting message still shows. Maybe you just didn't notice it before.
You can see the double lines in the Angle pic
Two lines from the top left to bottom right
Yesterday, I was testing, setting the Cone's Matrix to see if I could get a normal location, rotation, and scale
It was hard to tell if the results made any difference

The ghost widget happens to fast to get a screenshot
User avatar
clintonman
Captain
Posts: 5432
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Workspace Dimensions

Post by clintonman »

trueBlue wrote: 22 Oct 2022, 15:48 ...
You can see the double lines in the Angle pic
Two lines from the top left to bottom right
...
I don't see it in the picture, don't see it here either. Can't fix if can't see it.
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: Workspace Dimensions

Post by trueBlue »

Never mind, I point edited the angle to confirm it is a single line
User avatar
clintonman
Captain
Posts: 5432
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Workspace Dimensions

Post by clintonman »

trueBlue wrote: 22 Oct 2022, 16:00 Never mind, I point edited the angle to confirm it is a single line
OK
A trick you ca do is press the Edit Graphic button and ctrl-rmb scale to lengthen and shorten the arms of the angle.
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: Workspace Dimensions

Post by trueBlue »

Edit Graphic & Toggle Text | Graphic give errors when used when nothing is selected
User avatar
clintonman
Captain
Posts: 5432
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Workspace Dimensions

Post by clintonman »

trueBlue wrote: 22 Oct 2022, 17:20 Edit Graphic & Toggle Text | Graphic give errors when used when nothing is selected
Probably a lot more than just that will give errors if nothing is selected

Edit:
edit graphic, all the set buttons,most of the select buttons, set units also same problem/error
Clinton Reese

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

Re: Workspace Dimensions

Post by clintonman »

Added a check for nothing selected.
Attachments
Dimensions.RsObj
(463.89 KiB) Downloaded 62 times
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: Workspace Dimensions

Post by trueBlue »

Were all of the changes done in the Utility Function Set?

I went through the Utility Function Set and added a check for nothing selected in most if not all of the functions
Also noticed that a lot of the items did not have a var
As an example:

Code: Select all

	var scene = Space.CurrentScene();
	var firstSel = Node.FirstSelected();

	if(!firstSel) return

	var firstSelSN = Node.ShortName(firstSel);
	var firstSelOwner = Node.Owner(firstSel);
	var firstSelOOwner = Node.Owner(firstSelOwner);
User avatar
clintonman
Captain
Posts: 5432
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Workspace Dimensions

Post by clintonman »

trueBlue wrote: 22 Oct 2022, 17:55 Were all of the changes done in the Utility Function Set?

I went through the Utility Function Set and added a check for nothing selected in most if not all of the functions
Also noticed that a lot of the items did not have a var
As an example:

Code: Select all

	var scene = Space.CurrentScene();
	var firstSel = Node.FirstSelected();

	if(!firstSel) return

	var firstSelSN = Node.ShortName(firstSel);
	var firstSelOwner = Node.Owner(firstSel);
	var firstSelOOwner = Node.Owner(firstSelOwner);
There may have been one other place, but I forget.
Clinton Reese

http://clintons3d.com
Post Reply