tag:support.nodebox.net,2012-11-01:/discussions/nodebox-2-3/3156-generatefilter-nodesNodeBox: Discussion 2015-09-07T10:54:53Ztag:support.nodebox.net,2012-11-01:Comment/309427822014-01-06T12:21:24Z2014-01-06T12:21:24Zgenerate/filter nodes<div><p>generate and filter are template nodes that can be used when
building your own geometry-related nodes. The default node (called
"node") is used for general-purpose operations, such as math or
string nodes.</p>
<p><strong>generate</strong>:</p>
<ul>
<li>Sets the output type to <code>geometry</code>.</li>
</ul>
<p><strong>filter</strong>:</p>
<ul>
<li>Extends from the generate node.</li>
<li>Has one input port, <code>shape</code>, that takes geometry
data.</li>
</ul>
<p>You can see the definition of the nodes in the <a href=
"https://github.com/nodebox/nodebox/blob/master/libraries/corevector/corevector.ndbx">
corevector source</a>.</p></div>Frederik De Blesertag:support.nodebox.net,2012-11-01:Comment/309427822014-01-06T18:24:34Z2014-01-06T18:24:34Zgenerate/filter nodes<div><p>so apart from having some extra presets on the input and output
ports they do the same thing?</p></div>gustaftag:support.nodebox.net,2012-11-01:Comment/309427822014-01-06T18:59:36Z2014-01-06T18:59:36Zgenerate/filter nodes<div><p>Yes, they have the same core functionality. The general idea is
that if you write nodes that manipulate geometry, you extend from
generate or filter. Otherwise, extend from core.node.</p></div>Frederik De Bleser