this doesn't make any sense... but the Data Log component for Firefly does essentially what the Data Recorder now does (although the Data Recorder is much more compact)... The only difference is that there is a Wrap input which would create the list as above.…
a number between 0 and 1.
5. Generate random number for each of the points.
So each point have 2 numbers - distance D (remapped to 0 to 1), and random R (0-1).
X = D-R
If X is smaller than 0 then delete the point with cull pattern.
Should work.…
as follows.
We have a grid which consists of a collection of columns, where each column consists of a list of points. You said flattening is out of the question, so we need to cull items from each list individually.
Let's say our culling pattern is KDDDKDD (repeat as needed). K = Keep, D = Ditch. If a column contains 18 points, the pattern needs to be repeated until it is 18 items long. In this case:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
K D D D K D D K D D D K D D K D D D
We can now cull each column, but they will all be culled in the same way. By shifting the pattern one more index for each column, we can cycle the culling.
The fix incidentally is to Shift the pattern PRIOR to repeating it. Then it works as expected:
--
David Rutten
david@mcneel.com
Tirol, Austria…
Added by David Rutten at 2:49pm on October 2, 2013
l points" - off by one! Adding the expression "x-1" to the 'Divide|N' input fixes the 'CP' lists from the resulting curves so they are identical when 'ReB|D' = 1.
'ReB' has no default for 'D (Degree)' and when omitted, the resulting curve is segmented (D=1), not the same as the input curve from 'Field Line'. And no matter what value I use for 'D' (2, 3, 4, 5), the 'ReB' and 'Nurbs' curves never match - and the control points don't match either when 'ReB|D' != 1.
This seems odd to me? Inside baseball, I guess, but still... David?…
Added by Joseph Oster at 1:14pm on October 20, 2015
0;3} (N = 2)
{0;0;0;4} (N = 2)
{0;0;1;0} (N = 2)
{0;0;1;1} (N = 2)
{0;0;1;2} (N = 2)
{0;0;1;3} (N = 2)
{0;0;1;4} (N = 2)
Flattening this structure using the Flatten component would result in:
{0} (N = 20)
However, using a Path Mapper with the following masks will flatten is somewhat more intelligently:
{A;B;C;D} -> {A;B;C}
Now, you get:
{0;0;0} (N = 10)
{0;0;1} (N = 10)
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
Added by David Rutten at 3:19am on December 14, 2009