Hi Guys...

First of all, thanks for all the great work and generous spirit in
this group.  I figured that since I have gained much by following
these topics I would finally contribute something that might be
helpful.  I was desperate to solve my boolean problem so I dug into
the GH Primer (2nd edition) and starting learning VBScript.

You can find my component here:

http://grasshopper3d.googlegroups.com/web/BooleanGenerator.ghx?hl=en&gda=deq3gUYAAAC19Ve3i4OoV9kZmG4Q4mscVX9sDSIAJms-o4PH7z6mTmMh8emIYI3SdEcJwYKMz8u9RDn0rs_1yuNedF3EkhHjE-Ea7GxYMt0t6nY0uV5FIQ&gsc=lOcdpwsAAACaCe-2dzELImODeOQ2T-Wa

Inputs:

"length" specifies the length of the Boolean list.  By default all
values are "True"
"index" specifies the index positions to substitute a "False" value.
This can be supplied as a flattened list or a list with paths.

Anyway, this is child's play to you veterans out there, but for VB
beginners, perhaps this will be handy.  I developed this specifically
to use with the Cull by Repeating Bit Mask component, because there is
no "Cull N" component.  I've always been frustrated with Cull Nth
because it doesn't allow you to eliminate the Nth component only once,
not EVERY Nth component.  With this VB component, you can just give a
list of index positions to eliminate from your list.  Then hook up the
component to your original geometry or data and you have a way of
selectively deleting based on other operations in your script.

Hope it's helpful.

Marc

Reply via email to