Giulio4
(Giulio)
May 19, 2024, 1:42pm
1
Hi everyone,
I’m experiencing an issue with the viewcapturetofile command in Rhino 8. When I try to export a capture using a custom resolution in certain views (like front view), the resulting file is incomplete and appears to be cut off. Here are the details of my setup:
Rhino 8, 8.7.24138.15432
macOS 14.5 (MacBook Pro 16-inch, 2023 M2 Max)
I’ve attached screenshots of the various steps I take to execute the command, as well as the resulting file. Any help would be greatly appreciated.
WeTransfer - Send Large Files & Share Photos Online - Up to 2GB Free here the file
Thanks in advance!
Japhy
(Japhy)
May 20, 2024, 3:11pm
2
Hi Giulio,
Thanks for all the info.
Following your directions I was not able to repeat in 8.8.24138.01002, which is available as a Service Release Candidate in your General Settings.
Hi, I’m having similar issues on Rhino 8 for Mac (version 8.23).
The following code always returns a null bitmap:
var viewCapture = new ViewCapture() {
DrawAxes = false,
DrawGrid = false,
DrawGridAxes = false,
TransparentBackground = true,
Width = (int)(width / scale * dpmm),
Height = (int)(height / scale * dpmm)
};
var bmp = viewCapture.CaptureToBitmap(view);
Any idea?