Workspace Dimensions

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

Re: Workspace Dimensions

Post by clintonman »

I almost have it to a workable state.

The todo list is pretty short.

organize the UI
refine the usage and clean the code
scene name changes will break it, need to take scene name change into account
when deleting the last dimension for an object need to remove all the dimension nodes
all dimensioned items must have unique names - maybe try to find way around it
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: Workspace Dimensions

Post by trueBlue »

clintonman wrote: 12 Oct 2022, 05:31 I almost have it to a workable state.

The todo list is pretty short.

organize the UI
refine the usage and clean the code
scene name changes will break it, need to take scene name change into account
when deleting the last dimension for an object need to remove all the dimension nodes
all dimensioned items must have unique names - maybe try to find way around it
Looking forward to using your Dimensions
Sounds like Flatten History maybe an issue too
If you add an exported Dimensions attribute, may be helpful in the future
User avatar
clintonman
Captain
Posts: 5430
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: 12 Oct 2022, 18:17
clintonman wrote: 12 Oct 2022, 05:31 I almost have it to a workable state.

The todo list is pretty short.

organize the UI
refine the usage and clean the code
scene name changes will break it, need to take scene name change into account
when deleting the last dimension for an object need to remove all the dimension nodes
all dimensioned items must have unique names - maybe try to find way around it
Looking forward to using your Dimensions
Sounds like Flatten History maybe an issue too
If you add an exported Dimensions attribute, may be helpful in the future
Yep, it will lose its dimension data if you flatten history.
Clinton Reese

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

Re: Workspace Dimensions

Post by clintonman »

Setback. :(
Further testing shows I was just lucky the angle dimension was working. So I'm scrapping the angles and starting them over from scratch.

On a positive note scene name changes won't break it anymore, put a workaround in for the unique names limitation, deleting the last dimension will clean up unneeded nodes, can recover from renaming a scene object(single object not scene dimension)

TODO:
start over with the angle dimensions
add some options for text alignment - 1) no align, 2) align with dimension, 3)face the user
clean the ui
more testing
Clinton Reese

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

Re: Workspace Dimensions

Post by clintonman »

Angle dimensions are fixed. :)
Now one last thing is the dimension text alignment. I got the 3 options basically working. It's all positioned correctly but it can be upside down, rotated backwards or forwards ...
DimTextAlignNone.jpg
Text has no alignment and they all face in the same default direction for text

DimTextAlignEye.jpg
Look at the user

DimTextAlignDim.jpg
Align with the dimension

The plan is to make the text easily editable and manually correct them when they go too wrong. Also to correct for case of text disappearing into the mesh objects.
Clinton Reese

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

Re: Workspace Dimensions

Post by clintonman »

UglyWorkingDimensions.jpg
It's all working now! :D

Any poorly aligned text, like the text on the left in the image, will need to be manually transformed.

TODO:

organize and make not ugly
find good default values for colors and text

If there are no show stopping bugs I hope to release it tomorrow.
Clinton Reese

http://clintons3d.com
User avatar
the_ant
Chief Petty Officer
Posts: 149
Joined: 02 Jun 2009, 09:26
Type the number ten into the box: 0
Location: Perugia - Italy

Re: Workspace Dimensions

Post by the_ant »

Wow...impressive...it seems like Autocad dimensions config panel...can't wait use it... :bananacheers: :worship:
User avatar
clintonman
Captain
Posts: 5430
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Workspace Dimensions

Post by clintonman »

the_ant wrote: 16 Oct 2022, 06:04 Wow...impressive...it seems like Autocad dimensions config panel...can't wait use it... :bananacheers: :worship:
Thanks, but it won't be anywhere near CAD level of performance. It should be useful though... I hope.
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: Workspace Dimensions

Post by trueBlue »

Yay, you released it!
Nice work Clinton! :worship:
I like the way you are doing Distance between objects with the 2D Encapsulated Dim nodes and MeasureNode
Not complaining, but I wish the Object Dimensions were done that way too :mrgreen:
User avatar
clintonman
Captain
Posts: 5430
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: 21 Oct 2022, 18:40 Yay, you released it!
Nice work Clinton! :worship:
I like the way you are doing Distance between objects with the 2D Encapsulated Dim nodes and MeasureNode
Not complaining, but I wish the Object Dimensions were done that way too :mrgreen:
Glad you like it.
It's not possible to add the dimensions to the inside of mesh objects because they would not be visible.
Clinton Reese

http://clintons3d.com
Post Reply