Units pixels points and mm

gizys's Avatar

gizys

16 Apr, 2019 09:33 AM

Dear community,

I stumbled on the question of units inside the NodeBox application. What is internal logic of handling them?
I was assuming that number for height for example is the abstract unit. The only question then is when I export the file to svg i get pixels and in pdf case - points. I was thinking to make some kind of recalculation inside the NodeBox file pt-mm, but maybe it is unnecessary. Thank you for the help!

  1. Support Staff 1 Posted by john on 16 Apr, 2019 06:19 PM

    john's Avatar

    Hi Gizys,

    NodeBox is an entirely vector-based application so the pixels referenced in various node serve only as a relative size reference. Relative to what? The canvas - as defined in Document Properties under the File menu.

    The canvas width and height determines the final output dimensions when you export a PNG or the size of each movie frame if you export a movie. PDFs and SVGs are also vector-based, so in those cases the canvas serves mostly to establish a default size and the overall proportion of width to height.

    If the PDFs or SVGs ever get printed (scaled to fit on a postage stamp or billboard) the extremal app you use will determine how many pixels ultimately get printed and how many inches or millimeters they get scaled to.

    So from inside NodeBox the pixels only serve only as a reference to measure how much wider one rectangle is than another, or whether a font seems big or small compared to other elements around it.

    If you know in advance that you are going to create a poster of a certain physical size at a certain resolution (e.g. 300 dpi), you can calculate the number of pixels involved and size your NodeBox canvas accordingly. In that case you could make a node to convert desired inches into pixels and use that to size your elements, but this would only apply to your own particular project.

    Does that help?

    John

  2. 2 Posted by jerimee.richir on 24 Apr, 2019 02:04 AM

    jerimee.richir's Avatar

    A quick (and largely unnecessary) screenshot to show File > Document Properties

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

15 Jun, 2019 06:58 PM
26 May, 2019 10:52 PM
02 May, 2019 04:56 PM
27 Apr, 2019 04:03 PM
26 Apr, 2019 12:46 PM

 

26 Apr, 2019 12:17 PM
26 Apr, 2019 12:16 PM
24 Apr, 2019 02:04 AM
31 Mar, 2019 10:32 AM
24 Mar, 2019 08:45 PM
24 Mar, 2019 12:07 AM