st with 6 branches the first 3 having 8 items and the last three having 4 items . I really want to say take list 1 and add list 2 onto the bottom of it so i get a list with 9 branches each with 4 items?
As always thanks wonderful forum!…
ep is to understan the logics of what you want to do, in your case, build 4 point surfaces (u also need to know the right direction to build the surfaces). Then you can write an hipotetic list (by hand in a paper) of what you want. In your case the list was (0, 1, 3, 2) (2, 3, 5, 4) (4, 5, 7, 6), etc... if you can imagine building 2 lists, each one with the sequences (0, 2, 4, 6, etcc) and (1, 3, 5, 7, etc..) then you can manage with shift and graft to finally have four lists. A( 0 1 2 3 ...) B (1 3 5 etc..) C(3 5 7 etc..) D (2 4 6 etc..). And to achieve the 2 first lists, you need to get the odd and the pair numbers. The cull pattern does that amazingy well. With a pattern True-False you get de pair numbers, and with the False-True pattern you get de odd numbers.
Hope it was clear enough…
Added by Pep Tornabell at 5:32am on November 19, 2009
private void DrawRadioButton(Graphics graphics, PointF center, bool checked)
{
if (checked) {
graphics.FillEllipse(Brushes.Black, center.X-6, center.Y-6, 12, 12);
}
else
{
graphics.FillEllipse(Brushes.Black, center.X-6, center.Y-6, 12, 12);
graphics.FillEllipse(Brushes.White, center.X-4, center.Y-4, 8, 8);
}
}
You call this method from within the Render() method and you can draw all the empty and filled circles representing all the radio-buttons you want. If you want to add text, then draw a string next to the circles. If you want squares instead of circles, use FillRectangle instead of FillEllipse and so on and so forth.
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
Added by David Rutten at 10:02am on April 25, 2013
branches in each A's list of B's, or remove its ends etcso that if I want to remove the last B in every A{0;1},{0;2},{0;3},{0;4},{0;5},{0;6}{1;1},{1;2},{1;3},{1;4}{2;1},{2;2},{2;3},{2;4},{2;5}would become{0;1},{0;2},{0;3},{0;4},{0;5}
{1;1},{1;2},{1;3}
{2;1},{2;2},{2;3},{2;4}I guess the question is do I need to figure out the cull pattern- each B may have different lengths...…
ts, a value for each point.This script is wrinting in C#, not C++. And of course, can be done with standard components, perhaps someone else help you with that.…
6, 7, 8, 9, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, etc
In addition to the components in the attached file, I have also tried using Cull Index but that did not do much. I tried using a number slider set to whole numbers with the range equal to the values I have set up in the integer, but it just increases the size by 1 every time. Any help on steps in the right direction would be great thanks.…