How easily fill a shape with lines?

Post questions on how to use or achieve an effect in Inkscape.
User avatar
javierdl
Posts: 38
Joined: Sat Aug 25, 2007 4:45 am
Location: Montreal
Contact:

How easily fill a shape with lines?

Postby javierdl » Thu Apr 18, 2019 5:09 am

diagonals in circle.PNG
diagonals in circle.PNG (15.19 KiB) Viewed 3237 times


This one I did it manually, but I would imagine there is an easier way.
Maybe in 2 main steps (?):
1. Repeating the lines with Path Effects/Interpolate Sub-paths, or just Duplicate and Distribute.
2. Making a oval Mask to cut the lines or hide the parts that don't fit in the oval shape.

The above steps and just me thinking out load.

It is the second step that I have the hardest time with. Doing a mask like that I just don't know how.

Maybe there is a whole different approach.

Thanks guys!

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

Re: How easily fill a shape with lines?

Postby Moini » Thu Apr 18, 2019 6:31 am

Use the hatch extension, if you need it for plotting/cutting:
https://github.com/evil-mad/EggBot

Depends on:
https://github.com/evil-mad/plotink

You can also try google translate with this article about hatches:
https://vektorrascheln.de/posts/2016/Ja ... rben2.html
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)

User avatar
javierdl
Posts: 38
Joined: Sat Aug 25, 2007 4:45 am
Location: Montreal
Contact:

Re: How easily fill a shape with lines?

Postby javierdl » Thu Apr 18, 2019 6:32 am

Thanks a bunch for the links Moini :)

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

Re: How easily fill a shape with lines?

Postby tylerdurden » Thu Apr 18, 2019 1:18 pm

Well there is the simple pattern fill in the Fill/Stroke menu also. (Those might not look great in a PDF.)

http://tavmjong.free.fr/INKSCAPE/MANUAL ... s-Patterns
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
javierdl
Posts: 38
Joined: Sat Aug 25, 2007 4:45 am
Location: Montreal
Contact:

Re: How easily fill a shape with lines?

Postby javierdl » Sat Apr 27, 2019 5:39 am

Thank you both for your help! :)

cleversomeday
Posts: 62
Joined: Tue Jan 19, 2010 6:52 am

Re: How easily fill a shape with lines?

Postby cleversomeday » Sun Apr 28, 2019 10:37 am

I recently did a tutorial on using the Axidraw extensions for this https://www.youtube.com/watch?v=wYzMujtnkfM

User avatar
DoggyBagProds
Posts: 5
Joined: Sat Apr 27, 2019 5:41 am
Location: Montreal
Contact:

Re: How easily fill a shape with lines?

Postby DoggyBagProds » Sun Apr 28, 2019 10:54 am

cleversomeday wrote:I recently did a tutorial on using the Axidraw extensions for this https://www.youtube.com/watch?v=wYzMujtnkfM

This is great!
Thanks for sharing cleversomeday :)
Very nice and clear video.

User avatar
javierdl
Posts: 38
Joined: Sat Aug 25, 2007 4:45 am
Location: Montreal
Contact:

Re: How easily fill a shape with lines?

Postby javierdl » Sun Apr 28, 2019 10:57 am

This extension is awesome!
Thanks a bunch for sharing cleversomeday!

:)

User avatar
druban
Posts: 1917
Joined: Fri Nov 20, 2009 10:48 pm

Re: How easily fill a shape with lines?

Postby druban » Sun Apr 28, 2019 2:04 pm

That's a nice extension! It automates a long manual procedure and gives you all the options in a nice dialog box. Great job, if you are the writer of the extension.
Your mind is what you think it is.

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

Re: How easily fill a shape with lines?

Postby brynn » Sun Apr 28, 2019 7:08 pm

Interesting how EvilMadScientists seems to think the official manual is actually the unofficial manual.... :o

https://wiki.evilmadscientist.com/AxiDraw

Scroll down to Tutorials section.

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

Re: How easily fill a shape with lines?

Postby Moini » Mon Apr 29, 2019 12:12 am

Well, it is unofficial. As there isn't an official one.
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)

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

Re: How easily fill a shape with lines?

Postby Moini » Mon Apr 29, 2019 12:12 am

It's a copyrighted book that happens to be linked from inside Inkscape, because it is a good resource. It does not belong to the project.
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)

User avatar
DoggyBagProds
Posts: 5
Joined: Sat Apr 27, 2019 5:41 am
Location: Montreal
Contact:

Re: How easily fill a shape with lines?

Postby DoggyBagProds » Tue Apr 30, 2019 3:45 am

cleversomeday wrote:I recently did a tutorial on using the Axidraw extensions for this https://www.youtube.com/watch?v=wYzMujtnkfM


I finally had the time to try this. Unfortunately the shape gets all filled up with black.
I tried the same settings you showed, and no matter what size the shape is, or if it is a shape or a path, it does the same :(

What could be the reason?

Thanks

Polygon
Posts: 393
Joined: Thu Dec 19, 2013 3:27 am

Re: How easily fill a shape with lines?

Postby Polygon » Tue Apr 30, 2019 4:45 am

I guess it depends on the size of your object and the line thickness: try to get access of the contour and adjust it accordingly:
Axidraw.jpg
Axidraw.jpg (74.55 KiB) Viewed 2910 times


Cheers

User avatar
DoggyBagProds
Posts: 5
Joined: Sat Apr 27, 2019 5:41 am
Location: Montreal
Contact:

Re: How easily fill a shape with lines?

Postby DoggyBagProds » Tue Apr 30, 2019 5:00 am

Yes, that's correct!

Thank you Polygon :)

DBP


Return to “Help with using Inkscape”