Editing Creating filled regions

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 31: Line 31:
 
These two fill methods can be used to fill closed shapes with pen paths.   
 
These two fill methods can be used to fill closed shapes with pen paths.   
  
== Hatch Path Effect Method ==
+
== Hatch Method ==
  
 
This method is described in detail in our [[Drawing_a_smiley_face|smiley face tutorial]].   
 
This method is described in detail in our [[Drawing_a_smiley_face|smiley face tutorial]].   
Line 39: Line 39:
 
* Open the live path effect editor: Path>Path Effect Editor
 
* Open the live path effect editor: Path>Path Effect Editor
 
* Apply new effect: Hatches (rough) and click "+Add"
 
* Apply new effect: Hatches (rough) and click "+Add"
* Use the extension to set defaults: Extensions>Eggbot>Preset hatch for fills. (Optional; this changes the hatch parameters to pleasant defaults.)
+
* Use the extension to set defaults: Extensions>Eggbot>Preset hatch for fills
 
* Use the "edit paths by node" tool to  set the angle, spacing, and bending of the lines.
 
* Use the "edit paths by node" tool to  set the angle, spacing, and bending of the lines.
  
Line 45: Line 45:
  
  
This "live path effect" hatching method can handle paths that consist of multiple disjoint regions, for example, a set of stars or non-intersecting circles, but it ''does not'' work with "hollow" regions, for example a ring or washer (2D torus) shape.
+
This "Hatch" method can handle paths that consist of multiple disjoint regions, for example, a set of stars or non-intersecting circles, but it ''does not'' work with "hollow" regions, for example a ring or washer (2D torus) shape.
  
 
https://cdn.evilmadscientist.com/wiki/eggbot/fill/fill2.png
 
https://cdn.evilmadscientist.com/wiki/eggbot/fill/fill2.png
Line 51: Line 51:
 
Here are some concrete examples.  The four original (filled) shapes are on the left: A star, a square, a square with a star punched out-- essentially a hollow, ''ring-shaped'' fill region -- and a smaller square with a star punched out (a set of multiple disjoint regions).    In the middle set of four shapes, we've applied the hatch procedure as outlined above.  As you can see, it works well on three of the four shapes; but again it does not work on "hollow" areas. (It treats the inner cutout path as a separate path to be filled with hatching.)  The set of four shapes on the right have the same hatch applied, but we've also pasted a copy of the original outline shapes on top, to give more definition than you get from the fill alone.
 
Here are some concrete examples.  The four original (filled) shapes are on the left: A star, a square, a square with a star punched out-- essentially a hollow, ''ring-shaped'' fill region -- and a smaller square with a star punched out (a set of multiple disjoint regions).    In the middle set of four shapes, we've applied the hatch procedure as outlined above.  As you can see, it works well on three of the four shapes; but again it does not work on "hollow" areas. (It treats the inner cutout path as a separate path to be filled with hatching.)  The set of four shapes on the right have the same hatch applied, but we've also pasted a copy of the original outline shapes on top, to give more definition than you get from the fill alone.
  
While this hatch method is slightly complicated and does not work in every situation, it is without doubt ''the best method in any situation where it can be used''. It produces excellent results that plot smoothly and efficiently, with preset deceleration at each switchback and an absolute bare minimum of pen lifts.  Beyond all that, it's also a "live path effect," which means that it will automatically reflow as you change the shape of the filled region, and you can even remove the hatch at any time to restore your original object.
+
While the hatch method is slightly complicated and does not work in every situation, it is without doubt ''the best method in any situation where it can be used''. It produces excellent results that plot smoothly and efficiently, with preset deceleration at each switchback and an absolute bare minimum of pen lifts.  Beyond all that, it's also a "live path effect," which means that it will automatically reflow as you change the shape of the filled region, and you can even remove the hatch at any time to restore your original object.
  
  

Please note that all contributions to Evil Mad Scientist Wiki are considered to be released under the GNU Free Documentation License 1.3 (see Evil Mad Scientist Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)

Template used on this page: