ng (It's a bit similar to the Knapsack problem):
I have a Variable --> XandI Have fix numbers (can we call "pieces") 9,12,15,18
I'd like to reach the X, with the summing of these numbers and using the minimum pieces ,it can't be lower than X, but it can be higher, maximum with 3.After this it has to found the most optimal combination which mostly use the same pieces
E.G.
X=98
The wrong solution is like = 1pcs of 18 = 9pcs of 9
Sum of pieces are 10
OR
= 3pcs of 18 = 1pcs of 15 = 1pcs of 12 = 2pcs of 9
Sum of pieces are 7
The right solution in this case = 5pcs of 18 = 1pcs of 9
(5*18)+(1*9)=99 it's good beacuse it's over with maximum 3 and uses the minimum pieces
Then it sends to a list like18 : 5pcs15 : 0pcs12 : 0pcs9 : 1pcsCan somebody help me ? Or is it possible to make this ?
Thank you…
Added by Petrik Kollár at 1:09am on November 10, 2017
y you have a mesh with 100 vertices (points). The first one is at index 0, the second one at index 1, then 2, 3 etc. all the way to 99. A face might connect vertices 0, 1, 22 and 23.
You typically don't use this kind of low level method to create a mesh, though of course there's nothing stopping you. Most meshes are either the result of some operation on existing meshes, the approximate mesh of a surface/brep or based on one of the mesh primitives such as Plane, Box or Sphere.
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
wunderbar ^^* !
maybe you would be interested in Jun Mitani's work ?
www.flickr.com/photos/jun_mitani/mitani.cs.tsukuba.ac.jhe published two books (keyword : 三谷 純)立体ふしぎ折り紙
ふしぎな 球体・立体折り紙
Interesting. Good to know.
What was strange was that 99% percent of them stayed in the same order as before... except 2 or 3 out of the 600 shifted places in the list... : /
When you set the parameters for the graph mapper you used:
0 - .33
.33 - .66
.66 - .99
Obviously the logic is to split the line in 3 parts according to the three graphs, but why are they decimals?
a close collaboration with them. Keep in mind that a membrane is 1% the "tissue" and 99% the nuts and bits that keep the tissue properly in place. In order to design bespoke nuts and bits you'll need a decent feature driven solid MCAD app (from CATIA/NX to Solidworks) - Rhino is NOT suitable for that type of work by any means.
The Catch 22 is that these specialized fellas they don't pay any attention to you if they don't know you ... but in order to know you ... blah, blah. …
stand the way that GH manages collections (Lists and DataTrees) and then do whatever. 99% of issues that users have are due to poor knowledge with regard how to "sample" (and "manage") things in collections.
2. Read 1.
3. Next: At least 1Z definitions are available in this Noble Forum ... so get some and do something.
best…
the geometries in a component ("set multiple 'geometries'"). If you have 100 curves and would like to add(/remove) 1, you need to select 101(/99) curves in Rhino, it could be annoying.
2) you use the "manage 'geometry' collection" with the Object ID but I don't like this way.
3) you create a new component with the new geometries and you merge the two components.
My point is that it would be useful to add/remove geometries like you set them by picking them up in Rhino, the current collection being selected automatically.…