How to print to an image file by the -Print command line


#1

I wish to use the -Print command to print a view port to an image file. Selecting _Setup/_Destination /_Printer, and then typing ‘Image File (PNG)’ or the like does not appear to work, Even if an image file was previously selected as printer type by the regular print menu interface, the -Print command line route will print to a “real” printer.

Please help.


Print macro request
#2

Well, I might use -ViewportCaptureToFile for that instead of Print…

But you’re right, this does not seem to work correctly…

–Mitch


#3

I could use ViewportCaptureToFile, but print has many more scaling and sizing options, which are useful when creates such pictures regularly, by scripting. So I’m still looking for a solution for this apparent bug.


(Pascal Golay) #4

Hi Gerard- looks broken to me - thanks for the report.

-Pascal


#5

Pascal, do I need to report a bug somewhere, or is this topic going to be picked up by Rhino3D staff.

Gerard


#6

Pascal IS Rhino3D (McNeel) staff… And the developers do read this forum.

–Mitch


(Pascal Golay) #7

Hi Gerard- our bug track item for this, (not currently, but possibly one day), visible to the public, is

http://mcneel.myjetbrains.com/youtrack/issue/RH-23278

thanks,

-Pascal