pen Brep"; I didn't know it worked on flat surfaces. And I think it's only fair to include in your benchmark the considerable time 'SUnion' takes in this example: 21.9 seconds for 121 rings and likely much more with 400 or 1,000+ rings.
Then I noticed the pattern doesn't match. Checked the circles and they are the same. The distance between them, however, is different: 7 instead of 6. When I change that value to 6, the Python fails badly. All the holes and gaps are gone, which destroys the pattern:
I can't do the "two phase" approach on an 11 X 11 grid, but I can do 6 X 6 and 2 X 2 to get a 12 X 12 grid (40 'SUnion' operations) in 28 seconds total. That beats your benchmark of ~37 seconds for an 11 X 11 grid, if you include the 'SUnion' in your code.
…
g a nurbs curve through a set of N-dimensional points is not the same as cubic interpolation of a linear data-set.
It's certainly possible to fit a nurbs curve through a set of point with a one-x-one-y constraint, but Rhino does not have such a fitter in the SDK, so it needs to be written from scratch.
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
nput parameter and then set the named values on the second?
protected override void BeforeSolveInstance() { Param_Integer param0 = Params.Input[0] as Param_Integer; Param_Integer param1 = Params.Input[1] as Param_Integer; param1.ClearNamedValues();
GH_Structure<GH_Integer> data = param0.VolatileData as GH_Structure<GH_Integer>; if (data.IsEmpty) return; foreach (GH_Integer value in data.AllData(true)) { switch (value.Value) { case 1: param1.AddNamedValue("First option for 1", 11); param1.AddNamedValue("Second option for 1", 12); param1.AddNamedValue("Third option for 1", 13); break;
case 2: param1.AddNamedValue("First option for 2", 21); param1.AddNamedValue("Second option for 2", 22); param1.AddNamedValue("Third option for 2", 23); break;
case 3: param1.AddNamedValue("First option for 3", 31); param1.AddNamedValue("Second option for 3", 32); param1.AddNamedValue("Third option for 3", 33); break; } return; } }
--
David Rutten
david@mcneel.com…
Added by David Rutten at 1:56am on December 18, 2013
idually and by group
3) Clean up functions to discard failed results
4) Use generated images using windows directories to delete designs (so you can bring one next to each other and discard similar ones)
5) Hide irrelevant parameters
6) View generated images in zoom
7) Individually set limits on filter parameters (using sliders)
8) Reload CAD file without having to close and open genoform
9) Much smaller UI (we want to allow the screen for design work, so the functionalities have been made into pop-ups).
10) Navigate in view to a desired design (by number)
11) Any other features our users want ? (let us know)
We hope that this version is much more easier to use and allows designers to manage what they wish to generate section by section or layer by layer.…
ints (where 2 are null). Why is it so?
The problem is that I generate only one or the first polyline of the X division wanted!
How can I fix that?
Thanks for your help...
Sam…
How do I get the number of branches in a list? For example, with the attached panel, I want to return 9. List length returns 11. This must be simple, but I can't find it. Thanks, --Mitch
ed according to list C.
I tried replace members, but it consists of geometry, so it doesn't worked.
In list C I filtered all the indices that need to be replaced.
All items in {0;0} from C need to be replaced by List B {0;0}
All items in {0;1} from C need to be replaced by List B {0;1}
And so on...
In the end everything needs to be fed into a orient component.
G is the geometry behind list B
A is the new list (but I don't know how to create)
B is the list A of all 60 panels
To wrap up the question:
I need to have entry 1 from list B in a new list on position: 0 1 2 3 5 6 7 10 11 12 15 16 21
I need to have entry 2 from list B in the same new list on position: 4 8 9 13 14 etc. etc. etc.
I wonder how I can do this :) Thanks in advance!
…
I extract the first two with a "Redim Preserve t(1)" command.
In the first case, the redim is correct, Line 7 = Line 2 and Line 8 = Line 3. It just kept the first two values like it is supposed to be.
But, for the second curve starting Line 9, some t values are messed up after the Redim. Line 16 = Line 17 despite Line 11 was different from Line 12. That's what is creating a problem later in the Split.
Weird.
…
om frame -5 till frame -10 a frame spacing of 100mm is used,
etc.
Frame 0 is located on X=0 mm
Frame -5 will be on X=-500 mm
Frame -6 will be on X=(X of frame -5) -25 = -525 mm
Frame -11 wil be on X= ((X of frame -10) -10 = ?? mm
etc.
Cheers,
Bas…
fashion. First the indices are wrapped into the valid domain (assuming W=True), then, starting at the highest index, the first item is inserted into the existing list. Then the item with the second highest index is inserted into the list and so on. This means that if you first insert an item at index=8 and then insert an item at index=6, the first item will be bumped up to index=9.
If you want to add three items to the end of your list, the indices you're after are 11, 11, and 11.
…
Added by David Rutten at 4:27am on September 1, 2017