MoI discussion forum
MoI discussion forum

Full Version: PDF Export Scaling

Show messages: All  1-2  3-5

From: stefano (LIGHTWAVE)
12 Aug 2024   [#3] In reply to [#2]
Hi Michael, I guess we could see equal padding is the result from scaling and reducing the scale factor proportionally so yes we’re on the same page I think.

If you look at page 1 of the pdf I sent you that is an example on a landscape pdf where the portrait type object is about 20/25% too tall THEN If you look at page 4 you might with your skills find my trick 0.5mm dot in the pdf somoewhere…I put this above the main moi object and it reduced the scale - but I think that dot works more as a “top pad” because the object is still quite far down the pdf page. Padding would be ultimate control I guess but proportional scaling is still going to help - a lot.

I just need a bit more control on the pdf output position and/or size. Anything you see as doable is appreciated.
From: pressure (PEER)
13 Aug 2024   [#4] In reply to [#3]
Hi Stefano,

The thing to know about PDF output from MoI is that it's padded by 18 pt (4.23 mm) on left/right and 12 pt (6.35 mm) on top/bottom. You can get output of predictable size by making the bounding box of all the objects coincide with the aspect ratio of the usable part of the exported page. I do that by drawing a bounding rectangle around what I'm exporting.

For 8.5 x 11 inches it works out very cleanly that a rectangle having an aspect ratio of 3:4 is perfect.

- Peer
From: stefano (LIGHTWAVE)
13 Aug 2024   [#5] In reply to [#4]
Hi Peer thanks for that useful information- appreciated!

I will no doubt try the bounding box ratio but for me that’s likely only valid for one off pdfs. On one of My pdf export tests I used a 0.5mm “hidden” dot above an object kind of created a boundary constraint as well; even though a bit more arbitrary.

I like to attack problems head on and that includes minimising any extra work. This workflow idea of mine is about trying to create visuals and collate potentially a lot of PDFs quickly.

I am likely to be selecting a lot of different objects or views so I feel drawing bonding boxes every time i want to control pdf output defeats the goal.

To give you some extra context-

This all started because I work in fluid ways and do a lot of screenshots from moi and/or in other programmes -BUT as it goes sometimes in moi when objects are close together or even a dimension is on a surface you get artifacts - so screenshots are out of the window sometimes. I then concluded “let’s see if we can do pdfs all the way” and look to get pdfs out of moi that can also look like the viewport.

My workflow goal is to have the highest quality “screenshots” in pdf vector format. So the end goal is this pdf export process might need to be as fast as screenshots or more flexible in rearranging them afterwards.

I’ve also emailed Michael with a few extra ideas and I think he might be making a few improvements for next beta. I sense pdf scaling might be coming very soon ;0)


Show messages: All  1-2  3-5