Jump to content
GarryP

Very simple dimensioning objects

Recommended Posts

Just in case anyone is interested, I was playing around and came up with these simple dimensioning objects (in the attached afdesign file).
To use them accurately you will have to snap to the grid, they don’t have automatic measurements, and they don’t work in all situations, but they can be used for simple drawings without too much fuss (you can see them working in the GIF).
You might need to adjust some elements in some copies of the objects to make your drawing look right but it’s not too difficult.
You can change the “Dimensions” Text Style font to get a different look and you can change the “Dimensions” colour in the “Dimensioning” Palette to create a quick blueprint (see last attached image).

affinity-dimension-lines.afdesign

dimensions.gif

dimension-normal-variant.png

dimension-blueprint-variant.png

Share this post


Link to post
Share on other sites

Wow. Thanks for this. Definitely a time-saver.

Sometimes I use photos for reference at my job. It can be a pain to fire up Autocad and import/scale the images just to make some quick annotations.

Using these on various colored photos, with a simple Contrast Negate blend, really makes them stand out.

Share this post


Link to post
Share on other sites

Thanks a lot!! :D


(iMac 2017, 16 GB RAM, Intel Iris Plus Graphics 640 1536 MB, MacOS 10.14.6 Mojave)

Share this post


Link to post
Share on other sites

Awesome tool. But where do I find the Dimensioning Palette?

I'm so clueless... First one I tried somehow the text turned gray. Put both the fill and outline to black the colour palette said were black but it was still gray. ungrouped them, transformed to curves, still gray. Just started over. 

And how can I extend just one of the legs?

Share this post


Link to post
Share on other sites

Bonjour GarryP, bonjour à tous.
Bel exemple de l'utilisation des contraintes.
Ca attise la curiosité :)
Cordialement

Good morning Garryp, good morning everyone.
Good example of the use of constraints.
It arouses curiosity :)
Cordially

Share this post


Link to post
Share on other sites

DutchDude: You can find the “Dimensioning” palette in the Swatches Panel. Open the drop-down menu in that panel (below “Recent”) and you should see it in that list somewhere.

uneMule: Thank you.

Share this post


Link to post
Share on other sites
On 11/23/2019 at 1:34 PM, GarryP said:

Just in case anyone is interested, I was playing around and came up with these simple dimensioning objects (in the attached afdesign file).
To use them accurately you will have to snap to the grid, they don’t have automatic measurements, and they don’t work in all situations, but they can be used for simple drawings without too much fuss (you can see them working in the GIF).
You might need to adjust some elements in some copies of the objects to make your drawing look right but it’s not too difficult.
You can change the “Dimensions” Text Style font to get a different look and you can change the “Dimensions” colour in the “Dimensioning” Palette to create a quick blueprint (see last attached image).

affinity-dimension-lines.afdesign

dimensions.gif

dimension-normal-variant.png

dimension-blueprint-variant.png

That is a very useful idea! Is this what you would call an 'Asset'? If yes then I could create a couple of these.

I would normally snap to the object but it could also snap to near object but not the one you want. I've never tried snapping to the grid so next time I will give it a go.


To Mask or not to Mask: that is the question: Whether 'tis nobler in the mind to suffer the slings and arrows Of outraged shoppers or to take arms against a sea of troubles And by opposing them end them?

Mac OS Mojave Version 10.14.6 AD version 1.8.3

Share this post


Link to post
Share on other sites
19 hours ago, jackamus said:

Is this what you would call an 'Asset'?

Yes, you could probably make these into Assets.

I can’t remember why I said that you would need to snap to the grid, rather than snapping to other things, but I think it might be something to do with the way I used Constraints to get the various layers working together (notice the gap between the visible lines and the bounding box). I created these a while ago so there’s a good chance that someone can come up with better versions.

Share this post


Link to post
Share on other sites
Posted (edited)

Hi Garry,

I have taken your dimension file and edited to suit mysef. However I do not understand how the 'Buffer' works. It would work better if the Group bounding box coincided with the two extension lines (not the line with arrows). This would mean that I could drag a side handle so that it snapped the extension lines with edges of the rectangle then I could read off the text for the dimension value. File attached.

I haven't yet tried to make it into an Asset.

 

Dimensions.afdesign

Edited by jackamus
Additional information

To Mask or not to Mask: that is the question: Whether 'tis nobler in the mind to suffer the slings and arrows Of outraged shoppers or to take arms against a sea of troubles And by opposing them end them?

Mac OS Mojave Version 10.14.6 AD version 1.8.3

Share this post


Link to post
Share on other sites

I can’t remember why I added the buffer layer.
I added a note in the name which says it’s a “work-around for group clipping” but I can’t remember what I meant by that.
I don’t think I would have added it on purpose without needing to do so for some reason.
However, that doesn’t mean that the reason for it is still valid (it might have been added for a purpose which no longer matters).
Maybe it will come back to me at some point.

Share this post


Link to post
Share on other sites

Yes I know the feeling! You forgot to comment on the attached file!

I have attached another file to explain the problem.

A Is using your method. When you click on the dimension group the bounding box does not coincide with the left and right extension lines.

B Is a screen shot showing this.

C Is how I used to do it long-hand so to speak. When made into a group the group bounding box coincides with the left and right extension lines. This mean that I can read off the dimension text from the Trans1460076128_Dimensions2.thumb.jpg.e903b58b15a2aa666ae639f1d9cd0893.jpgform tab.

However you idea saves a lot of time but there is that bounding box problem. Why is this?


To Mask or not to Mask: that is the question: Whether 'tis nobler in the mind to suffer the slings and arrows Of outraged shoppers or to take arms against a sea of troubles And by opposing them end them?

Mac OS Mojave Version 10.14.6 AD version 1.8.3

Share this post


Link to post
Share on other sites

Perhaps you can test this by

1. Deleting the buffer layer.

2. Ungrouping.

3. Grouping again.

Hmm, this recipe seems only to work for the horizontal version.

Share this post


Link to post
Share on other sites

Yes that would seem achieve the same result but as a 'Group' I have saved it as an Asset and can use it any time.


To Mask or not to Mask: that is the question: Whether 'tis nobler in the mind to suffer the slings and arrows Of outraged shoppers or to take arms against a sea of troubles And by opposing them end them?

Mac OS Mojave Version 10.14.6 AD version 1.8.3

Share this post


Link to post
Share on other sites

But since the bounding box of the layer is exactly as wide as the distance between the left extension line and the right extension line, you can snap it to the bounding box of the object to be measured when resizing (see my video).

Isn’t that what you meant to achieve? 😀

Comparison.png.ec321b84a804f0dd3c51c617ccc630f9.png

Comparison.afdesign

Share this post


Link to post
Share on other sites

The downside of the layer approach is the click-through property of layers. You’ll always have to select the layer in the layers panel, rather than being able to grab it on the canvas. 😕

Share this post


Link to post
Share on other sites
55 minutes ago, A_B_C said:

But since the bounding box of the layer is exactly as wide as the distance between the left extension line and the right extension line, you can snap it to the bounding box of the object to be measured when resizing (see my video).

Isn’t that what you meant to achieve? 😀

Comparison.png.ec321b84a804f0dd3c51c617ccc630f9.png

Comparison.afdesign

Yes but the bounding box of the top example is wider than the object and will only snap to the handles of that box.

Whereas in the lower example the bounding box is the same width as the object and snaps to the object. This achieves my objective and in a previous post I said that I made it into an 'Asset' for future use.

 

The problem has now been solved the only question remaining is just academic. What is it ,in the upper example ,that creates a bounding box WIDER than its group?

 

 


To Mask or not to Mask: that is the question: Whether 'tis nobler in the mind to suffer the slings and arrows Of outraged shoppers or to take arms against a sea of troubles And by opposing them end them?

Mac OS Mojave Version 10.14.6 AD version 1.8.3

Share this post


Link to post
Share on other sites

I have created a 'Dimension' Asset and it works well and save me a lot of hassle. However I have just used to for the first time to dimension a drawing but I wanted to resize the drawing and the dimensions and discovered, although I had selected the 'Scale with object' the dimension text does not resize but stays at the same original size.

Is there a way to do this? File attached.

Dimensions.afdesign


To Mask or not to Mask: that is the question: Whether 'tis nobler in the mind to suffer the slings and arrows Of outraged shoppers or to take arms against a sea of troubles And by opposing them end them?

Mac OS Mojave Version 10.14.6 AD version 1.8.3

Share this post


Link to post
Share on other sites
44 minutes ago, jackamus said:

although I had selected the 'Scale with object' the dimension text does not resize

As in DrawPlus, the ‘Scale with object’ option only applies to line weights. Also as in DP, Artistic Text resizes when you resize its container but Frame Text does not.


Alfred online2long.gif
Affinity Designer/Photo/Publisher for Windows • Windows 10 Home (4th gen Core i3 CPU)
Affinity Photo for iPad 1.8.4.186 • Designer for iPad 1.8.4.4 • iPadOS 13.6 (iPad Air 2)

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

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

Loading...

×
×
  • Create New...

Important Information

Please note the Annual Company Closure section in the Terms of Use. 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.