Difference between revisions of "Manual/Plugins/List/Fill Area"

From Knotter
< Manual‎ | Plugins‎ | List
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
Detects an area from the active selection and fills it with a dense graph.
+
<knotter_plugin screenshot="Plugin Dialog Fill Area.png">fill_area</knotter_plugin>
 
 
This plugins inserts a polygon in the active document. Can be useful to create knots with some rotational symmetry.
 
  
 
==Parameters==
 
==Parameters==
 
[[File:Plugin Dialog Fill Area.png|thumbnail|Dialog for this plugin]]
 
  
 
; Delete original selection
 
; Delete original selection
Line 18: Line 14:
 
; Grid Size
 
; Grid Size
 
: The size of the grid used to fill the area.
 
: The size of the grid used to fill the area.
 +
; Outline
 +
: Instead of filling the area will create an outline of it.
 +
:; Inset/Outset
 +
:: Whether it should grow inside or outside the selected area
 +
:; Thickness
 +
:: Thickness of the outline.
 +
:: Note that the outline is still filled as a grid so '''Grid Size''' should be less than '''Thickness''' to get a nice effect.
  
 
==Explanation of the polygon algorithms==
 
==Explanation of the polygon algorithms==

Latest revision as of 18:49, 18 October 2013

Fill_area
Type Script - Other
Requires Knotter [[Version/|]]
Download fill_area.tar.gz
Browse Files fill_area
Plugin Dialog Fill Area.png



Parameters

Delete original selection
If checked, the nodes selected when this plugin is triggered will be removed from the graph.
Polygon
Algorithm used to detect the area to be filled:
Convex Hull
The area will be the minimum convex polygon that contains all the nodes.
Single Edge Loop
The selected nodes are assumed to be all connected by a single loop of edges.
If this precondition is not met, the result will be inaccurate.
Grid Size
The size of the grid used to fill the area.
Outline
Instead of filling the area will create an outline of it.
Inset/Outset
Whether it should grow inside or outside the selected area
Thickness
Thickness of the outline.
Note that the outline is still filled as a grid so Grid Size should be less than Thickness to get a nice effect.

Explanation of the polygon algorithms

Here are illustrated how the polygon algorithms affect the outcome of the fill.

Convex Hull


Single Edge Loop