Hello Michael, everyone,
Is there any way to use this rendering method to generate a viewport render constrained to the precise boundaries of an object, at specific pixel dimensions ?
Practically speaking I am working with pages that have set dimensions ( 4096pix*2048pix, portrait), doing line work within these boundaries. I'd like to be able to render out these layouts at exactly their original dimensions. Like so :
The scene object dimensions (transparent reference, page outline, drawing) do not matter in my case - for instance the blue rectangle representing the outline of the page was drawn as 20cmx10cm, but it could have been anything else of the same proportions. What I am after is to be able to render out the contents of said rectangle at arbitrary pixel dimensions (cropping right over the center of these blue lines as opposed to outside of them, as to not introduce any scaling). This would essentially save me two tedious import and render steps using Inkscape or Affinity :)
I should also probably mention that I am already getting very close to my intended result by manually framing the viewport as close as possible to the edge of the intended page outlines and using the render to clipboard command shown earlier in this thread. It's not perfect, but maybe there is an alternate way of framing the viewport to the bounding box of an object without any borders ?
I understand that this is way outside the intended scope of the program of course. I hope this makes sense !
|