Jump to content

Recommended Posts

John, you have quite a task ahead of yourself.  Interesting idea pulling the data from the SVG.  I'm not sure I have any suggestions, actually a question.  I'm assuming that you will only have one shape in the SVG.  Or are you planning on calculating the lengths of all groups in the file?

A month or so ago I had experimented with a method of counting the number of nodes in a path and the number of paths(layers) in the file.  I found the EPS to be easier to work with.  Have you looked at it?  Good luck.  I'll be curious to see how it works.

Mike


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

Share this post


Link to post
Share on other sites

There is a scientific app called Fiji which is a suped up imageJ this has measurement tools and can import SVG: http://fiji.sc

This is a link for ImageJ but Fiji would probably be a better option. https://imagej.nih.gov/ij/


iMac 27" Late 2015 Fully Loaded, iMac 27" Mid 2011 both running High Sierra 10.13.6 - Affinity Designer/Photo & Publisher - Illustrator CC, Inkscape, Blender, Sketchup, Pepakura Designer, MTC, Pixelmator & Pixelmator Pro + more... XP-Pen Artist-22E, - iPad Pro 12.9 B|  

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Share this post


Link to post
Share on other sites
On 10/18/2019 at 10:29 PM, Gear maker said:

John, you have quite a task ahead of yourself.  Interesting idea pulling the data from the SVG.  I'm not sure I have any suggestions, actually a question.  I'm assuming that you will only have one shape in the SVG.  Or are you planning on calculating the lengths of all groups in the file?

A month or so ago I had experimented with a method of counting the number of nodes in a path and the number of paths(layers) in the file.  I found the EPS to be easier to work with.  Have you looked at it?  Good luck.  I'll be curious to see how it works.

Mike

The way I wrote the script was on the assumption that there would be more than one shape (path directives in svg). However I have not actually tried that. I will give it a go and see.

John


Windows 10, Affinity Photo 1.9.2 Designer 1.9.2 and Publisher 1.9.2 (mainly Photo), now ex-Adobe CC

CPU: AMD A6-3670. RAM: 16 GB DDR3 @ 666MHz, Graphics: 2047MB NVIDIA GeForce GT 630

Share this post


Link to post
Share on other sites

I'm a newer user to Affinity. Been searching the forum for posts on pattern cutting/making and came across this one.

It seems that being able to measure curves is still not a feature in Designer?

I know people helpfully posted workarounds and alternatives to the OP posts, but this is a really needed feature for THIS software. Outside of dedicated pattern cutting software, Adobe Illustrator is the most widely used software by pattern cutters in the fashion industry to create patterns. My main reason for buying Designer was for pattern cutting, then I discovered this issue! If Designer is trying hard to compete against Illustrator this one of the features it really needs to implement. 

Share this post


Link to post
Share on other sites

Sounds to me like that is more of a CAD feature, shame CADTools can’t do tools for Affinity.


iMac 27" Late 2015 Fully Loaded, iMac 27" Mid 2011 both running High Sierra 10.13.6 - Affinity Designer/Photo & Publisher - Illustrator CC, Inkscape, Blender, Sketchup, Pepakura Designer, MTC, Pixelmator & Pixelmator Pro + more... XP-Pen Artist-22E, - iPad Pro 12.9 B|  

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Share this post


Link to post
Share on other sites

Simbad82, if you were specifically looking for software to be used as part of your pattern cutting requirements – quote “My main reason for buying Designer was for pattern cutting…” – why did you choose Designer? Designer has never, as far as I know, been advertised as having any tools that are specifically designed for pattern cutting processes. Wouldn’t some other software, that actually does what you want, have been a better choice?

Share this post


Link to post
Share on other sites

As I said above, Adobe Illustrator is widely used by pattern cutters in the fashion industry. Was Illustrator made specifically for pattern cutting? No. But it does the job very well due to the tools it has, that why it's widely used. As Designer is 'supposed' to be an alternative to Illustrator I thought it would be able to do the same things. My mistake! But other people who are in other industries have also been asking for this feature, so it's not just an issue specific to pattern cutters. 

Share this post


Link to post
Share on other sites

I don’t think Serif have ever advertised Designer as being an alternative to Illustrator – or anything else – but I can see how it could be assumed that they could be similar as they have a lot of functionality in common with each other.

If you, or someone else, can come up with a good use case for being able to measure the length of any curve, one that would be useful to a lot of people and not just pattern cutters (and similar), then I feel sure that the team would at the very least think about whether they could implement such functionality.

If you want to get a quick approximation of the equivalence (or otherwise) of the perimeter of two shapes – or the length of two curves – then, if you have Photo, you can use a little trick with the Histogram Panel as shown in my attached video. It’s not particularly accurate but if you just need something close then it’s probably usable. The higher the DPI of the document the more ‘accurate’ the ‘measurement’ will be and the shapes should only have a very thin outline and no fill colour. Basically the Histogram will count the number of pixels ‘in’ the outlines. No guarantees with this, it’s just an estimate.

Share this post


Link to post
Share on other sites

Designer is quite nice – especially considering the low, non-subscription price –  and for a lot of tasks it can replace Illustrator (or even surpass it; the unified file format with Photo and Publisher is awesome) but there are still missing features (like this one or perspective distort or, until 1.8, expanding strokes correctly) and if one of those features happen to be important for your needs then Designer might not (yet) be for you.

Fortunately there is a free trial so you can check that your pet peeve feature works before buying. 

Share this post


Link to post
Share on other sites
On 3/25/2020 at 11:27 PM, Simbad82 said:

As I said above, Adobe Illustrator is widely used by pattern cutters in the fashion industry. Was Illustrator made specifically for pattern cutting? No. But it does the job very well due to the tools it has, that why it's widely used. As Designer is 'supposed' to be an alternative to Illustrator I thought it would be able to do the same things. My mistake! But other people who are in other industries have also been asking for this feature, so it's not just an issue specific to pattern cutters. 

+1. I've been waiting 3 years for this. I keep using Illustrator because it can let me easily measure paths. Anyone who prints their designs will find this functionality useful regardless of the industry. Surely the software needs to make these calculations in the background anyway, it's just that visualising it to the user has not been a priority.

Share this post


Link to post
Share on other sites
2 minutes ago, johnnyfive said:

Surely the software needs to make these calculations in the background anyway

For what purpose? :/

 


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

Share this post


Link to post
Share on other sites
3 hours ago, johnnyfive said:

Vectors are points, lines, curves and shapes that are based on mathematical formulas.

You only need the mathematical formula that defines the path of the desired curve. The length of that path requires a separate calculation.


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

Share this post


Link to post
Share on other sites
On 8/4/2020 at 12:56 PM, Alfred said:
On 8/4/2020 at 12:53 PM, johnnyfive said:

Surely the software needs to make these calculations in the background anyway

For what purpose? :/

 

Apps that have scripting capability often provide curve length as a property so that it can be used in user-defined calculations, here's how AI and CorelDRAW expose these properties:

dom_ai.jpg.5dad111a8b775834b1552102718d0af5.jpg

dom_corel.jpg.fb6c0cea2af08f2dbcd44f8a7101f805.jpg

I do not know whether this is something that is automatically calculated and stored as properties in the object database, or something that is calculated and showed "on demand", but I suppose Inkscape has similar document object model to store this kind of information whenever the user wants to know segment lengths. This is how CorelDRAW document properties can be examined in real-time:

path_properties.jpg.51b05fba5a132b7279a7aca75d3964a1.jpg

These apps have the calculation routines inbuilt, but e.g. in InDesign they'd need to be performed by user-defined code. In a vector graphic application it makes sense to create these kinds of internal routines, even if they cannot be accessed otherwise than via scripting, so that they can be used in Document Info palette as in Illustrator, or when the user wants to add measures along the selected paths, as in Inkscape.

I'd assume that apps also use length information for internal purposes, e.g. Illustrator probably uses it to place dashes evenly along a stroke when the user wants to have equal spacing between dashes along a closed curve.

Share this post


Link to post
Share on other sites

I am also a garment pattern maker hoping to use AD for accurately drafting up patterns. Have tried Wild Ginger which is a **** program and  did a promo version of TukaCAD which seems to have a very steep learning curve and it is 200 dollars a month which is financially crippling to an artist getting started. I have used AD so far for some logo design but was really hoping to get some heavier use out of it. I know Affinity would attract SO MANY at-home pattern makers out there if you had this feature, as it is very easy to use and the pen tool makes such beautiful curves!

Share this post


Link to post
Share on other sites
On 7/7/2019 at 10:03 PM, Gear maker said:

SpongeBob, I don't know how accurate a measurement you need.  But a trick I have used to get a fair measurement of the length of curves in AD is to use the dashed line.  I have found that the following setting will position the dashes at 1" intervals.  So then I just count the dashes and estimate any partials.  Not the greatest, but it gives me a measurement probably to the closest 1/4".  Hint: enter the stroke width as a number instead of using the slide bar, the dash interval is very dependent upon the stroke width.  With a little playing you can find many combinations of dashed sizes that will give an interval that is usable to whatever scale is needed.  Start counting from the red node and the first dash is number zero.  So in the example below the lines total just shy of 18".

1562520006_ScreenShot2019-07-07at6_53_26AM.png.65885f9624454ff862d10a61f1ad6a1c.png1295333440_ScreenShot2019-07-07at6_54_10AM.png.e664d6343cd3a34ff1e808b6dda7ef8c.png

Great work around Gear Maker 🙂
I do hope AF add a measurement tool though.... and perhaps something easier to read and find than the Ai one

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 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.