Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5938

ViewCapture + displayed lineweights bug

$
0
0

@tom_svilans wrote:

Hi,

Couple things seemingly wrong with ViewCapture:

  1. When doing a view capture (Rhino.Display.ViewCapture.CaptureToBitmap(view)) the display thickness of curves and edges in certain display modes (Pen) is scaled up if the resolution is larger than the viewport.
    This is different from before, where the line thickness stayed the same no matter the resolution, and allowed us to get finer lines and more detail, especially at larger resolutions: a 1px line stayed 1px no matter what resolution the image was being output as.
    Setting ViewCapture.ScaleScreenItems = False doesn’t seem to have any effect…
    Has there been a change in the way this is handled? Is there a new setting to toggle this?

  2. Also, doing ViewCapture.CaptureToBitmap(ViewCaptureSettings) throws an error in Python, says it’s expecting a RhinoView and got a ViewCaptureSettings. The documentation says CaptureToBitmap can be overloaded with a ViewCaptureSettings object…

Any tips very welcome!

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles