hlorus / CAD_Sketcher

Constraint-based geometry sketcher for blender
GNU General Public License v3.0
2.66k stars 126 forks source link

[BUG] Construction circles not visible #162

Closed BrCadfael closed 1 week ago

BrCadfael commented 2 years ago

Contact Details

policebox@charter.net

Description

When I set the Construction check on a circle, it disappeared. Turning off the Construction check restores the circle. I verified that the visible check was set the whole time. My guess is that it doesn't know how to draw a construction circle.

Addon Version

0.22.6

Blender Version

3.1.2

What platform are you running on?

Windows

BrCadfael commented 2 years ago

Additional information. The circles do appear if you zoom into them. The problem appears to be connected to the size of the circle on the screen. A large construction circle will be visible, a smaller one may not be. There is a transition point where the circle "materializes" as you zoom in and "dematerializes" when you zoom out. On my screen that happens when the circle is about a centimeter across. The issue doesn't appear to affect lines at all. Construction lines are always visible.

hlorus commented 2 years ago

Looks like a glitch with the opengl dashed shader. I can reproduce this but it's usually not a problem for the scale i'm working with.

amrsoll commented 2 years ago

For some context image

image

image

Doesn't seem to affect straight lines, only arcs and circles.

Tested on Linux with Xorg/X11

jvenborg commented 2 years ago

Yep, that has become an issue for me as well. Solid lines in circles are all fine, but construction lines will become invisible. In my current sketch, the diameters of the circles are 2 and 5 mm, respectively. Version 0.25.0.

Miguel-Rodrigues commented 1 year ago

Same thing happens here:

Image

Image

Windows 10 Blender 3.5.1 CAD Sketcher 0.27.1

hlorus commented 1 week ago

Fixed by #472