ViewCaptureToFile error on V8

Hi,

ViewCaptureToFile doesn’t work correctly: saved image doesn’t save plot preview mode,

UPDATE: ViewCaptureToFile and ViewCaptureToClipboard both work fine if you set size to 1, if you increase it the image does not show plot preview settings

Thanks!

system info:
Rhino 8 SR10 2024-8-6 (Rhino 8, 8.10.24219.11001, Git hash:master @ b88a537a9dda5345a3c2bb4bd2ad0c2cd14cb138)
License type: Commercial, build 2024-08-06
License details: Cloud Zoo

Windows 10 (10.0.19045 SR0.0) or greater (Physical RAM: 64GB)
.NET 7.0.20

Computer platform: DESKTOP

Standard graphics configuration.
Primary display and OpenGL: NVIDIA GeForce RTX 3070 (NVidia) Memory: 8GB, Driver date: 7-30-2024 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 560.81
> Accelerated graphics device with 4 adapter port(s)
- Windows Main Display attached to adapter port 0

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: 8x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High

Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 7-30-2024
Driver Version: 32.0.15.6081
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 8 GB

Rhino plugins that do not ship with Rhino
C:\Program Files\Chaos Group\V-Ray\V-Ray for Rhinoceros\V8\VRayForRhino.rhp “V-Ray for Rhino”
C:\Users\Usuario\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\CommandTracker\7.0.8201.28462\CommandTracker.rhp “CommandTracker” 7.0.8201.28462
C:\Users\Usuario\AppData\Roaming\McNeel\Rhinoceros\8.0\Plug-ins\Crayon (39629248-4fa6-47b8-83c7-745a7efea259)\1.2.0.0\Crayon\Crayon.rhp “Crayon” 1.0.0.0
D:\00 RESOURCES\080_RH7\blockeditnew202310240119\BlockEditNew.rhp “BlockEdit” 1.0.0.0

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 8\Plug-ins\Commands.rhp “Commands” 8.10.24219.11001
C:\Program Files\Rhino 8\Plug-ins\WebBrowser.rhp “WebBrowser”
C:\Program Files\Rhino 8\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 8\Plug-ins\RhinoScript.rhp “RhinoScript”
C:\Program Files\Rhino 8\Plug-ins\IdleProcessor.rhp “IdleProcessor”
C:\Program Files\Rhino 8\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 8.10.24219.11001
C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 8.10.24219.11001
C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp “MeshCommands” 8.10.24219.11001
C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp “RhinoCycles” 8.10.24219.11001
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.10.24219.11001
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”

It’s unclear to me what you mean with plot preview settings.

Print preview, i had in mind my HP plotter, sorry

Size=1

Size=2

hi @nachetz pls share a file that shows the behavior, as there are many places where curve attributes can be modified and it is hard to guess from just the image what you have changed.

I do see some weirdness, but it looks to be the other way around, getting thinner curves

Here you are, but it happens to all of my files when i use Viewcapturetofile and Viewcapturetoclipboard. As i said if i increase the size of the capture more than 1 it stops working correctly. If you set the size over 1 you don’t get the print colors, you get the layer/object colors
viewcapture.3dm (93.4 KB)

but if you activate Print preview mode and execute viewcapturetofile do you get the print colors or the layer instead?

hi @nachetz
I can reproduce the print color issue, but not the line width issue you are displaying above.
RH-83315 Viewcapture color does not work correctly with scaling

1 Like

thanks a lot!!

RH-83315 is fixed in Rhino 8 Service Release 14