Our response time is longer than usual currently. We're working to answer users as quickly as possible and thank you for your continued patience.

# units

## Recommended Posts

Somebody asked why he cannot use " for inches … Can we have an overview of the allowed unit abbreviations in fields, please?

And will it be possible to add units? For example if you want to use other typographic units. Please? If not, just add one single variable, please?

10^-6 is possible why not µ and dm?

##### Share on other sites

• Moderators

The standard units are:

px, pix, pixels - pixels
in, ins, inch, inches - inches

pt , pts, point, points - point

mm - millimetre

cm - centimetre

m - metre
ft, foot, feet - foot
yd, yds, yard, yards - yard
cat, cats - cat

°, ˚, deg,  degs, degree, degrees - degrees

pc, perc, percent - percentage

‰, permille - permille

The standard variables are:

pi Pi, PI ,π - pi

phi, Phi, PHI, gr, GR, φ - the golden ratio
root2, rad2, rt2 - the square root of 2

The Transform tab supports variables:

x,  y, w, h, r, s,

xposition, yposition, width, height, rotation, shear

The Document properties supports variables:

w, h, l, r, t, b,

In the 1.5 beta, the text size controls will support variables:

x, a, c

xheight, ascent, capheight

So "12pt / x" will make the text x-height be 12pt.

We don't plan to allow user-defined units. We did intent to support " and ' for inches and feet, but that doesn't seem to be working in the current release. I'll fix it for 1.5 beta.

##### Share on other sites

Thanks! Great! Please, get it into Affinity Help. Some examples in “Document setup” for “physical measurement units” and a direct link to the “expressions for field input” would be useful for beginners.

Please show some hints for beginners if a field / a panel is in use / being hovered.

Are there more easter eggs besides the cat shape for cat lovers and catchers?

Can you provide a photo of that standard cat, please? That would be great for PR.

BTW: Now finally x, a, c are a real USP which should be retold everywhere very loud!  :wub:

You meant “12pt = x”?

##### Share on other sites

Dave,

Please explain for us what the unit "cat" is.  cat, cats - cat  I would guess that cats - cat would equal s which is the shear.

I drew a square 2", then put the " *1 cat " after the width in transform and ended up with a dimension about 55.9" long.

Mike

iMac (27-inch, Late 2009) with macOS Sierra

##### Share on other sites

MBd, good one.  :D  I believe you may be right!  Do you know if this is including the tail or not?

iMac (27-inch, Late 2009) with macOS Sierra

##### Share on other sites

I am stunned. I see possibilities vast beyond my expectations, once again proof for rock solid work done by affinity. You guys definitely widen my world.

##### Share on other sites

No, not an average cat! Here is the pony:

1 Affinity cat = 1.666 commonly Adobe pugs @ 25 °C

Dave, you see what three simple characters can cause? Better than any advertising campaign! Tell us the publication date of the behind the scenes video of the R&D cat unit, please.

##### Share on other sites

• Moderators

You meant “12pt = x”?

No; x is the x-height of the current font as a ratio to the font's size. It needs to be dimensionless so you can use 1in or 1cm or whatever. If it were 0.6, for example, then to get 12pt x-height you'd need 20pt text. Which is 12pt / x. That's the expression you type into the pointsize control to yield a value for the text height. Using equality or assignment wouldn't fit in that context.

I considered inverting the ratio, so it would be a number larger than 1 and you would multiply by it rather than divide, "12pt * x", because I thought that syntax might be easier, but currently I don't think the difference between using "/" and "*" is significant and using a fraction of the font's size did seem more natural. I figure are going to learn what to type by rote anyway.

##### Share on other sites

• 4 weeks later...

Dave, you see what three simple characters can cause? Better than any advertising campaign! Tell us the publication date of the behind the scenes video of the R&D cat unit, please.

If you have not already done so download the iBook version of Affinity Review Issue 1 & check out the video on page 86. It doesn't provide any info about the cat unit but it will show you how to find it.  :ph34r:  :lol:

All 3 1.10.6, & all 3 V2.03 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo
1.10.6; Affinity Designer 1.10.6; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

##### Share on other sites

That is awesome, Dave. Please make sure that the documentation team will get this information into the help files …  :)

##### Share on other sites

If you have not already done so download the iBook version of Affinity Review Issue 1 & check out the video on page 86. It doesn't provide any info about the cat unit but it will show you how to find it.  :ph34r:  :lol:

Thanks, old cats/hats. Just astonished that not everybody was aware of the easter eggs.

##### Share on other sites

I don't know how many units you support, but there will always be somebody who needs its own one (me included). Why is so hard to add this feature?

##### Share on other sites

Thanks, old cats/hats. Just astonished that not everybody was aware of the easter eggs.

I'm not surprised that not everyone has discovered the cat. What astonishes me is there is an Affinity "cat unit" & apparently it is equal to 71 cm, or about 28 inches.

Considering that the Affinity cat looks like some breed of domestic cat (a member of the Felis catus species, if you prefer), the implication is she (?) is a very large kitty!  :lol:

All 3 1.10.6, & all 3 V2.03 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo
1.10.6; Affinity Designer 1.10.6; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

##### Share on other sites

On 2. April 2016 at 5:00 PM, Petar_MK said:

I don't know how many units you support, but there will always be somebody who needs its own one (me included). Why is so hard to add this feature?

Just six? Some would kill a cat unit to get dd or c or p or q or dog …

##### Share on other sites

• Moderators

I don't know how many units you support, but there will always be somebody who needs its own one (me included). Why is so hard to add this feature?

Well, a user-defined unit would need some extra user interface to define it, and it would need to be stored in the document, which makes it different to all our existing units. Currently you can change the number of decimal places for units in Preferences, and that would need to be re-thought now the list of units is not fixed. It's all doable, but it takes more time than we'd like.

What other units do you need? Bear in mind that inch-marks and foot-marks were supposed to be including from the beginning, and it's a bug that they don't work. They will work in 1.5.

##### Share on other sites

• Moderators

I think we may have missed hands and fathoms...  And parsecs.

All really useful when mocking up websites.   ;)

@Petar_MK  - it's not "hard" - it is just time consuming, so it'll go in the queue with everything else that other people consider more important.  BTW - have you bought Affinity yet?  ;)

SerifLabs team - Affinity Developer
• Software engineer  -  Photographer  -  Guitarist  -  Philosopher
• iMac 27" Retina 5K (Late 2015), 4.0GHz i7, AMD Radeon R9 M395
• MacBook (Early 2015), 1.3GHz Core M, Intel HD 5300
• iPad Pro 10.5", 256GB
##### Share on other sites

I think we may have missed hands and fathoms...  And parsecs.

All really useful when mocking up websites.   ;)

Unlike cat units, which we use all the time.  :lol:

All 3 1.10.6, & all 3 V2.03 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo
1.10.6; Affinity Designer 1.10.6; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

##### Share on other sites

• Moderators

Unlike cat units, which we use all the time.  :lol:

You'd be surprised how useful it is.  ;)

SerifLabs team - Affinity Developer
• Software engineer  -  Photographer  -  Guitarist  -  Philosopher
• iMac 27" Retina 5K (Late 2015), 4.0GHz i7, AMD Radeon R9 M395
• MacBook (Early 2015), 1.3GHz Core M, Intel HD 5300
• iPad Pro 10.5", 256GB
##### Share on other sites

You'd be surprised how useful it is.   ;)

I get the feeling that I'm still missing something about the cat unit or why it is apparently equal to 71 cm.

Anyway, I propose the addition of a potentially very useful unit, that being the dimensionless number 42, for obvious reasons.  B)

All 3 1.10.6, & all 3 V2.03 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo
1.10.6; Affinity Designer 1.10.6; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

##### Share on other sites

… the addition of a … 42…

FYI:

1 Affinity cat ÷ 1 commonly Adobe pug = 1.69…   @ 38 °C   [compare]

71 ÷ 1.69… = 42

##### Share on other sites

I think we may have missed hands and fathoms...  And parsecs.

All really useful when mocking up websites.   ;)

@Petar_MK  - it's not "hard" - it is just time consuming, so it'll go in the queue with everything else that other people consider more important.  BTW - have you bought Affinity yet?   ;)

I will buy it when it comes to Windows platform. I don't have Mac.  :)

##### Share on other sites

I think we may have missed hands and fathoms...  And parsecs.

All really useful when mocking up websites.   ;)

@Petar_MK  - it's not "hard" - it is just time consuming, so it'll go in the queue with everything else that other people consider more important.  BTW - have you bought Affinity yet?   ;)

Yes, I know that. I also do some programing in PowerBASIC.  :)

##### Share on other sites

• Moderators

Power what?

SerifLabs team - Affinity Developer
• Software engineer  -  Photographer  -  Guitarist  -  Philosopher
• iMac 27" Retina 5K (Late 2015), 4.0GHz i7, AMD Radeon R9 M395
• MacBook (Early 2015), 1.3GHz Core M, Intel HD 5300
• iPad Pro 10.5", 256GB

## Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

Only 75 emoji are allowed.

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×

• #### Affinity

×
• Create New...

## Important Information

Please note there is currently a delay in replying to some post. See pinned thread in the Questions forum. These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.