Find features smaller than a certain size

Post about using Inkscape with cutters or plotters.
mundodisco8
Posts: 1
Joined: Thu Jul 30, 2015 5:43 am

Find features smaller than a certain size

Postby mundodisco8 » Thu Jul 30, 2015 5:48 am

Hi guys!

I wanted to send some stuff to laser cut, and I'm facing a problem. The laser cutter service I'm using has a certain precision, and requires me to eliminate all the features that are smaller than a certain size. I was wondering if there is a plugin or a tool that let's me, say, select all the features that are smaller than X mm, or lines that are closer to X mm one another, in order to detect those features. Normally, they are just tiny details that will simply not appear on the finished pieces, so not a big deal, but in some cases they could affect the appearance of what I am looking to get.

If you have any ideas, it would be great to hear them.

Cheers!

Lazur
Posts: 4600
Joined: Tue Jun 14, 2016 10:38 am

Re: Find features smaller than a certain size

Postby Lazur » Thu Jul 30, 2015 7:47 am

Hi.

That's a tough one.

Only know of a brute-force solution, that theoretically can work in some cases.
It's outsetting and insetting after with the same amount.
It eliminates small parts, but works sloppy too many times.

User avatar
brynn
Posts: 10052
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Find features smaller than a certain size

Postby brynn » Sun Aug 02, 2015 3:09 am

How large is this file? How was the file created, that resulted in so many tiny objects? Maybe there's a better way to create the file?

tylerdurden
Posts: 2167
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Find features smaller than a certain size

Postby tylerdurden » Mon Dec 03, 2018 11:23 pm

Resurrecting this older topic as it is still an issue.

It would be great to have a find/select by size tool. Any word on an extension that selects objects greater than or less than a specified H or W?

More folks are using Inkscape for lasers, and some tiny objects can freak out the laser drivers. These objects can result from auto-tracing or poorly executed path operations and even mis-clicking with a drawing tool.

Attached is an example with a small object that would stop a laser job midway. (Might actually be a malformed object, but a tool to select tiny objects would have caught it.)
Attachments
Hidden_Segment.svg
(13.77 KiB) Downloaded 12 times
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

User avatar
brynn
Posts: 10052
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Find features smaller than a certain size

Postby brynn » Mon Dec 03, 2018 11:57 pm

Well auto tracing is what I was getting at with my questions. There is an option on the Options tab of Trace Bitmap dialog, where you can ignore stray marks of a certain size, in the trace. Its called Suppress Speckles. Or else there might be options on the scanner which brings a drawing into the computer, to reduce stray marks.

On the one hand, finding that tiny object doesn't seem so hard to do. But on the other hand, this sounds like a nice job for some industrious extension maker!

Moini
Posts: 2907
Joined: Mon Oct 05, 2015 10:44 am

Re: Find features smaller than a certain size

Postby Moini » Tue Dec 04, 2018 4:47 am

Sorry, I don't know of any such extension. I'm also probably not creating any new ones for Inkscape < 1.0, and I won't create extensions for 1.0 before I know how to do it, and before the API is stable.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

tylerdurden
Posts: 2167
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Find features smaller than a certain size

Postby tylerdurden » Tue Dec 04, 2018 12:55 pm

Well, I'm going to accept that it's possible, but might be long on the wishlist.

Plus, there is a high likelyhood an extension like that could lead to even more problems. Consider an imported file from CAD that has all the curves made from tiny straight segments... Inkscape can take a long time to select thousands of objects. :shock:
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

Moini
Posts: 2907
Joined: Mon Oct 05, 2015 10:44 am

Re: Find features smaller than a certain size

Postby Moini » Wed Dec 05, 2018 4:21 am

:)

I'd make these options available:

select by area yes/no (checkbox)
max. area size

select by length yes/no (checkbox)
max. length

consider subpaths as separate objects

delete (this is useful for the subpaths option, will keep the rest of the path intact)
select only (subpaths are ignored or maybe separated out of their original objects)
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)


Return to “Inkscape & Cutters/Plotters”

Who is online

Users browsing this forum: No registered users and 3 guests