I would like to animate a grasshopper slider to capture slices of an object. I have everything scripted correctly but my view port even when sized correctly has a margin when zoomed in. I need my images to be an exact size and the geometry to be in the correct location because i am essentially creating a hacked 3D printing software. the image I have attached shows what I am trying to capture and the image border needs to be the outside most rectangle.
Basically need to create an exact px size image within a rectangle and be able to animate a slider to that exact view-port.