Dashed Lines spacing incorrectly

Hello,

I’m seeing a bug where dashed lines appear to be mostly working then near the end of a line or segment they turn solid.

This does happen in fresh rhino files when I test it but does not show up when printed to pdf.

I can provide a file or machine specs if it would help.

Thanks,
Max

Hi Max - please post an example file.

-Pascal

Sure thing, here’s the a file which is exhibiting the same behavior as the above screenshot.

DASHED LINE BUG.3dm (43.4 KB)

Thanks,
Max

Hi Max - thanks - looks OK here -
image

Can you run SystemInfo in Rhino and copy/paste the results here?

-Pascal

Rhino 8 SR5 2024-3-12 (Rhino 8, 8.5.24072.13001, Git hash:master @ e3530849b75f00b2b977766a567ae29b055837e9)
License type: Commercial, build 2024-03-12
License details: Cloud Zoo

Windows 10 (10.0.19045 SR0.0) or greater (Physical RAM: 32GB)
.NET 7.0.0

Computer platform: DESKTOP

Standard graphics configuration.
Primary display and OpenGL: NVIDIA GeForce RTX 4080 (NVidia) Memory: 16GB, Driver date: 3-1-2024 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 551.76
> Accelerated graphics device with 4 adapter port(s)
- Windows Main Display attached to adapter port #0
- Secondary monitor attached to adapter port #1

OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
Redraw scene when viewports are exposed: On
Graphics level being used: OpenGL 4.6 (primary GPU’s maximum)

Anti-alias mode: 4x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High

Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 3-1-2024
Driver Version: 31.0.15.5176
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 16376 MB

Rhino plugins that do not ship with Rhino
C:\Users\Max\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\AMDDenoiser\0.5.3\AMDDenoiser.Windows.rhp “AMDDenoiser.Windows” 0.5.3.0
C:\Users\Max\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\NVIDIADenoiser\0.4.3\NVIDIADenoiser.Windows.rhp “NVIDIADenoiser.Windows” 0.4.3.0
C:\ProgramData\McNeel\Rhinoceros\7.0\Plug-ins\Datasmith Rhino Exporter (d1fdc795-b334-4933-b680-088119cdc6bb)\DatasmithRhino7.rhp “Datasmith Exporter” 5.3.1.0

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 8\Plug-ins\Commands.rhp “Commands” 8.5.24072.13001
C:\Program Files\Rhino 8\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 8\Plug-ins\RhinoBonusTools.rhp “Rhino Bonus Tools”
C:\Program Files\Rhino 8\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 8.5.24072.13001
C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 8.5.24072.13001
C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp “MeshCommands” 8.5.24072.13001
C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp “RhinoCycles” 8.5.24072.13001
C:\Program Files\Rhino 8\Plug-ins\RhinoCode\RhinoCodePlugin.rhp “RhinoCodePlugin” 8.5.24072.13001
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.5.24072.13001
C:\Program Files\Rhino 8\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 8\Plug-ins\Displacement.rhp “Displacement”
C:\Program Files\Rhino 8\Plug-ins\SectionTools.rhp “SectionTools”

Hm - nothing jumps out at me there - does the zoom level make any difference?

-Pascal

Nope looks the same regardless of zoom level on my end.

Another thing I just tested in case it helps, ExtractLineTypeSegments does extract a correct looking dashed line without the solid ends. And flipping the curve does reverse the side that it happens on.

Thanks,
Max

Hi Max - can you please try changing the setting in Options > View > OpenGL page > GPU Tessellation? I think by default that should be checked but whatever it is, try the other way…

-Pascal

It was off for me (not sure if that was default or I turned it off for some previous reason) but turning it on seems to have fixed it.

Thanks!

Hi Max -

Thanks for confirming that!
I’ve put this on the list as RH-81411 Display: Pattern segments display with GPU Tessellation off
-wim