CAD_Sketcher
CAD_Sketcher copied to clipboard
Scale preference for dimension lines
Motivation / Existing Problem On my 27inch 4k monitor, I find the dimension lines a bit too thin, especially when they overlap with the grid (overlay).
Description If there was an dimension line entity scale, this would already improve. For me the Witness lines (the vertical extension lines) appear to be thicker than the dimension leader (the horizontal line), although I presume them to be equally thick. Usually, in CAD software, the dimension leaders have a thicker line, because the dimension line itself is more important. This is the line you need to identify first.
Alternative Solutions
I have changed the default colour to cyan, this helps improve the situation a little.
Another option would be to draw filled arrows, that is what Fusion 360 does and this sufficiently differentiates between the two. In Fusion, the witness lines and leader both have the same size.
There's a (line width) property in the gizmo api which doesn't seem to work unfortunately. Also as it would be great to have the actual dimension line thicker than the helplines, a different solution is needed. An approach could be to draw rectangles instead of lines.
The gizmo api didn't work but the gpu api still works. I figure this could be enhanced so the leader lines > witness lines... but that would involved a lot. I thought I'd just show this and see how you feel about proceeding.
https://user-images.githubusercontent.com/10360161/174460785-4036e4ad-ac5d-428e-ba05-0e937013654e.mp4
Do you guys report any of the APIs that are not working correctly as bugs? In which case, it may be good to post the bug report link so people know why it is held up (and can see when they can work on it again).
Looks like what I want @exegetor 👍 I don't know how involved it is to have this as a 'temporary' fix until Blender devs fix the bug in the Gizmo API?
I'm afraid the gpu linewidth isn't supported on macs... Not sure if the property in the gizmo api works on another level such that it would be supported on all platforms. I haven't yet checked if it's supported in blender's issue tracker.