llet Distance]
[Slider=0..1..10]-->[D][Fillet Distance]
[Slider=1..5..20]-->[F][Unit Z]
[Fillet Distance][C]-->[B][Extrude]
[Unit Z][V]-->[D][Extrude]
This still leaves the problem of having more than one of a single component on the canvas. Referral can be made unambiguous by simply picking the most recent component with the same name. But how do you indicate you want a second Polyline component?
Possible solutions:
Separators in the text:[Point=SetMultiplePoints]-->[V][Polyline]----------------------------------[Point=SetMultiplePoints]-->[V][Polyline]
Keywords or symbols to indicate the creation of a new component rather than the re-use of an existing one:new [Point=SetMultiplePoints]--> new [V][Polyline]new [Point=SetMultiplePoints]--> new [V][Polyline]
(2) is a lot more flexible and (1) may not work at all as it will prevent any reuse above and below the separator.
--
David Rutten
david@mcneel.com…
deform into rhombic dedocahedrons when they reach equilibrium.
http://mathworld.wolfram.com/CubicClosePacking.html
I was trying to model sphere lattice constrained within a boundary box. When inflated, they would not intersect with each other; they would stay in place; and would be malleable just enough to expand and fill in the gaps in between the spheres.
I started off with the help of this thread here(Thanks for those contributed!). As I understood, there was a bug in Kangaroo2. Solver can't handle more than one item plugged in. So I tried to understand David's Stasiuk's Script and adopted it with a few variations, please see gh file attached.
In the first 5 - I've used David Stasiuk's C# component-variable pressure (posted on June 9, 2015 at 12:25am): 'No. 4.5' being the most successful simulation so far(inflation value is kept very low so that they would not intersect);
although I realised I made some math mistake in setting the close packing grid.(could be checked by plugging voronoi3D to see if the area of the rhombic faces are regular)
No. 6-7 I tried with Kangaroo2 components.
After consulting my tutor(Andrei Jipa)'s help, I realised the following changes could be made:
- The definition posted by David on June 8, 2015 at 4:47pm with constant pressure would've worked better.
- Icosahedrons with WbCatmull(Quad divisions) would result in more even load distribution. With wbloop, vertices more concentrated at poles.
- Load in dir Z could be omitted. Andrei has suggested to use lengths(line) in Kangaroo 2 as 'pressure' instead. And I am trying to improve the grid; and maybe try with David's constant pressure definition. I will keep you guys posted of the progress!
I am new to the parametric world, comments/advice very much appreciated! :) Zhini
…
ingle surface. But as seen on left surfaces in attached zip screenshot "A" and proj. "6b-RnGH_Simpdatainter-TTTWriteXL_J gh.3dm", i spent more time attempting correction of the patched polysurf many errors, artifacts and lack of original surface topology, all regardless of uv count or "flexibility". Fortunately, as seen on upper right surf of screenshot A & proj., a Quad polygon Mesh patches to an accurate surface and texture (even with backside "spike" artifacts) so long as patch Spans and Flexibility are sufficient. Also, Grasshoppers patch reproduces surf's far more accurate than Rhinos (possibly due to Rhinos patch, 100 unit uv count limitation? or my ill use).Would like to send the polysurface for you as well Dave(Hello &feel free to chime in), but even zipped the .3dm is 25 mb over GH3D site 5mg limit, so i had to remove it.- is there another way, perhaps Pm, email etc. i could send this to you both?,A)WRITEXL:As seen in screenshot "2.jpg", my WriteXL output is not in the same "Set1-5" format as yours, so perhaps won't be read properly by your Simpledatainterpolation def.1) how to fill each XL cell with single x,y,z coordinate or corresponding row name and column group numbers?, ..same as your XL format. Once answered i can finally blend my surfaces in your Awesome! def.,....i've used: Right-click panel > Stream Contents to.txt format, then on Excel sheet, click empty cell Data tab > Get External Data > From Text. This imports x coordinates into a column, then y and z coord's one at a time. But please show any method to import all coord's simultaneously if possible?, and possibly how to use .xyz export format?,2) how to trim off excess Patch surface?, ..Patch > Trim is set to True but surface remains untrimmed,.B)INTERPOLATION:Screenshot 1 previews baked, Mesh deconstructed points,screenshot 3&4 shows results of Interpolation when mesh points are Set in Point component AND Set as one file path in ReadXL using "6b-RnGH_Simpdatainter-TTTWriteXL_J gh.xlsx", which contains the same "Streamed" X,Y,Z mesh points.It interpolates INcorrectly: moving vertically with the top left corner as high point, and does not change shape as your interpolated points\surface does.3) how to correct my mesh points interpolation to same as yours?,.4) how to alter your def. so it interpolates between 2 excel .xlsx containing surface xyz points?,Really impressed and appreciate your example instruction and powerful def's,hope to talk soon and learn more.Big fan, Jeff…
et us consider a plane somewhere in space, 10 units along each side, and it has UV domains 0-1 in both directions. It's a perfect square surface basically.
This surface only really 'exists' on the inside of the UV domains. You can evaluate the surface at {0,0}, which will give you the lower left corner, you can evaluate it at {1,1}, which will give you the upper right corner or you can evaluate it at {0.5, 0.5} which might give you the point in the middle. If you evaluate it at {2,-5}, you will get a point that is beyond the surface edge.
This surface 'space' is strictly two-dimensional and it is also bounded, meaning it has a finite region in which things can be said to exist. If we attach a point to this surface at UV coordinates {0.5, 0.5}, then move the surface about, the point will move with the surface. So it's XYZ coordinates will change, but the UV coordinates are still {0.5, 0.5}! These are just two ways of looking at the same point. Either we treat the point as a coordinate in infinite 3D euclidean space {x,y,z} or we treat it as anchored to a surface {u,v}. Going from XYZ to UV is usually called "Projecting" or "Pulling", going from UV to XYZ is usually called "Evaluating" or "Sampling", but they are mathematically very similar processes.
Evan mentioned that Voronoi only works in the flat 2D plane. He suggested remapping the points from the surface onto the World XY plane, then solving the Voronoi diagram, then mapping the result back onto the surface again.
Basically that means projecting all your XYZ points to surface UV space. That will give you a collection of points defined strictly by 2 coordinates, i.e. it is completely flat. You solve the Voronoi diagram on these flat points, and then you have to put the flat points (and the flat voronoi cell outlines) back onto the surface.
Have a look at the [Surface CP] and [Evaluate Surface] components, they provide the methods required to map coordinates from XYZ space to UV space and vice versa.
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
Added by David Rutten at 12:51pm on April 29, 2010
thod.
2. Similar to David's Interpolate Z method, Systemig's Bisectrix method and Stan's description.
Interesting that the two interpolation generates different result sets, haven't thought about that before.
Method 2 is more straight forward to understand from real word undestanding about planes, method 1 is twisting more interestingly, though not what is commonly expected to perform.
…
Added by Victor Leung at 8:50pm on September 28, 2012
a curve in Rhino and fully create the extruded wall that I want. The problem I'm having is that I want to apply this process on each of the 145 curves I have, but if I simply add all these references to my "crv" object in grasshopper, each curve interacts with all other curves.
For example, at one point I move the curve up (in the z direction) to create the height I want and then loft those two lines together. It works fine if I only reference a single one of my curves, but when I reference multiple it creates one loft through all of the lines I created, as opposed to 3 lofts, each through the original curve and the moved/copied curve.
Is there any way I can have my process work on each curve individually and iteratively without having to copy my logic 144 times? Thanks!…
large sets of data (~3months, with 1 vector per hour). I have the solar vectors and i would like to add them on a given point, but only if:
the lines connecting the sun position to the center of the model do not intersect any given geometry. That is, i need to select from the group of lines, only the ones that do not intersect (BBX+CLX components) the brep. How can i do that?
Given this rule i also dont see how can i add several vectors, since i've only seen 2 vectors adding via the mathematical addition tool. Do i need to set them to one point?
[edit] i've solved this issue using mass addition tool for the 3 components (x,y,z) and feeding it with the flattened vector list.
Thanks in advance for any suggestion…
ays (by producing random, a series and a range of heights). By this way however, I don't have the control of each height separately, and I was wondering how could I assign to them specific (and of course separate) heights, because I am trying to form a parabolic form throw their height relations (maybe throw a graph mapper). I imagine that I have to create a list (or a tree) with all the sub-surfaces and then align it with the list of heights that I have produced throw the graph mapper however I have stuck here! Sorry for my "primitive" question any help would be really appreciated...
Thank you in advance,
G.A.
…
e a line between these points
- create an arc between these points
- difine a surface by boundaries
- extrude surface. So i have the first step.
The problem is how to move the copies of this step in vertical direction, at different heights.
I tried this:
- create a polar series of my step, depending of numbers on steps. Now I have all the steps on plane z=0.
How can I lift the steps, with a single expression or function, so that each step has his correct height? In my mind, each step will lift:
- first step: 2,55/number of steps
- second step: 2,55/number of steps * 2
- third step: 2,55/number of steps * 3
Help me please. I can't do this.…
ith several sections from which I extracted the points. Ok.
I deconstructed all the points, so I could separated x y and z coordinates, But I really need to assign The coordinates of that specific section, to do that It would be great if I could not just read the points coordinates but also the paths of those point, so the user may know that those coordinates are from section "3" for example, could you help me with that?
Thank you so much…