Jump to content
You must now use your email address to sign in [click for more info] ×

The 'stroke' of a drawn rectangle


Recommended Posts

I'm using Design to, erm, design a project for my hobby CNC machine.

If I 'draw' a rectangle (circle, trapezoid, etc...) 50mm by 100mm, do I need to take account of the thickness of the lines (I normally use 0.2pt) when exporting the image as an EPS and/or SVG file, please?

I appreciate 0.2pt is next to nothing, but if I use wider lines (e.g. 1pt) would the vector still be 50mm x 100mm when exported?  I'm assuming it will, be, but I just want to make sure.
 

Also, why does exporting as an  EPS default to 85% quality when JPEG compression is enabled?
 

Thanks

Link to comment
Share on other sites

7 minutes ago, Nightowl said:

if I use wider lines (e.g. 1pt) would the vector still be 50mm x 100mm when exported?  I'm assuming it will, be, but I just want to make sure.

It's up to you: there's a setting in the Stroke dialog that lets you align to middle, inside or outside:

1750988563_Screenshot2022-12-18at13_45_43.png.7c1ca4b56e959058d7168f03dd070b11.png

 

I reckon you'd want 'Inside' to maintain the dimensions of the rectangle. The default is Centre.

 

12 minutes ago, Nightowl said:

why does exporting as an  EPS default to 85% quality when JPEG compression is enabled?

I suspect only the devs could answer that...

 

 

Affinity Photo 2.5.3,  Affinity Designer 2.5.3, Affinity Publisher 2.5.3, Mac OSX 14.5, 2018 MacBook Pro 15" Intel.

Link to comment
Share on other sites

Thank you, h_d.

It seems, when exporting the files from Affinity, either in SVG or EPS format, the 'stroke' is also exported as a vector, so there are three for each rectangle!  The size of the box (which is 100mm x 50mm) and the inner and outer limits of the 'stroke'.

I definitely need to remember to remove the spurious vectors when importing these into my CNC software (Vectric VCarve)

Link to comment
Share on other sites

2 hours ago, Nightowl said:

I'm using Design to, erm, design a project for my hobby CNC machine.

The CNC is most likely going to be cutting the Rectangle, not necessarily the stroke. If I was doing this I would work with the Stroke always being Centred and blithely ignore the addition of the 0.1pt added to the outside, subtracted from the inside, of the shape.

Mac Pro (Late 2013) Mac OS 12.7.6 
Affinity Designer 2.5.5 | Affinity Photo 2.5.5 | Affinity Publisher 2.5.5 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Link to comment
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

Terms of Use | 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.