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
Workspace Dimensions
- clintonman
- Captain
- Posts: 5430
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Workspace Dimensions
Looking forward to using your Dimensionsclintonman 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
Sounds like Flatten History maybe an issue too
If you add an exported Dimensions attribute, may be helpful in the future
- clintonman
- Captain
- Posts: 5430
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Workspace Dimensions
Yep, it will lose its dimension data if you flatten history.trueBlue wrote: ↑12 Oct 2022, 18:17Looking forward to using your Dimensionsclintonman 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
Sounds like Flatten History maybe an issue too
If you add an exported Dimensions attribute, may be helpful in the future
- clintonman
- Captain
- Posts: 5430
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Workspace Dimensions
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
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
- clintonman
- Captain
- Posts: 5430
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Workspace Dimensions
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 ...
Text has no alignment and they all face in the same default direction for text
Look at the user
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.
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 ...
Text has no alignment and they all face in the same default direction for text
Look at the user
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.
- clintonman
- Captain
- Posts: 5430
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Workspace Dimensions
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.
- 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
Wow...impressive...it seems like Autocad dimensions config panel...can't wait use it...
- clintonman
- Captain
- Posts: 5430
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Workspace Dimensions
Thanks, but it won't be anywhere near CAD level of performance. It should be useful though... I hope.
Re: Workspace Dimensions
Yay, you released it!
Nice work Clinton!
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
Nice work Clinton!
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
- clintonman
- Captain
- Posts: 5430
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Workspace Dimensions
Glad you like it.
It's not possible to add the dimensions to the inside of mesh objects because they would not be visible.