re different kind of curves.
So, I would need the exact formula of each curve rather than the general formula ax 3 + by 2 + 2cxy + 2dx +2ey + f = 0.
Basically, the output of the script would be the above or similar function with numbers instead of the parameters (a, b, c, d, e).…
've connect every single points, line and curves in 1 join curves and, at the end, create a loft with 5 curves(image 3)
But now, I can't divide my surface in Horizontal and Vertical ribs!!
I've also bake this surface and after imported in GH but I can't realize my divide surface...
can anyone help me?!?
thanks guys! :D…
Print("False") End If
What do I need to add so that it will come out as a list rather than all linked together, I'm trying to extract just the true and false values but instead all of them come together.
Thanks a lot :D!…
he hexagons' vertices [1.1; 2.1; 3.2; 4.2; 4.7; 5.7; 1.6; 6.6] to the target point (in cyano) in a recursive way so that if I change n, the definition can work anyway.In others words the next target point would interest the hexagons number 2; 3; 8; 7PSI thought it would be possible using the closest point component but I believe that using trees/lists would be more efficent.Thanks a lot.D.…
j. to rhino for architectural scenes.
(unispiring ... I admit)
On recent iOS the app doesn´t work any more, so I figured out, if I should think about making a "light" version of that plant growing thing, with a definition on GH,...
I try to imagine any kind of simple setup to start with,
since I am a middle / low skilled GH user celebrating allways the taste of succes ...running an ordinary GH definition.
Angelos
…
ng error message:
Runtime error (NotImplementedException): The method or operation is not implemented. Traceback: line 180, in GetObject, "C:\Users\oat\AppData\Roaming\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript\selection.py" line 32, in script
Appreciate if you can kindly advise why the rhinoscriptsyntax module functions differently in the Python Editor and GhPython component.
Source Script:
import rhinoscriptsyntax as rs def displayobjectattributes(object_id): source = "By Layer", "By Object", "By Parent" data = [] data.append( "Object attributes for :"+str(object_id) ) data.append( "Description: " + rs.ObjectDescription(object_id)) data.append( "Layer: " + rs.ObjectLayer(object_id)) #data.append( "LineType: " + rs.ObjectLineType(object_id)) #data.append( "LineTypeSource: " + rs.ObjectLineTypeSource(object_id)) data.append( "MaterialSource: " + str(rs.ObjectMaterialSource(object_id))) name = rs.ObjectName(object_id) if not name: data.append("<Unnamed object>") else: data.append("Name: " + name) groups = rs.ObjectGroups(object_id) if groups: for i,group in enumerate(groups): data.append( "Group(%d): %s" % i+1, group ) else: data.append("<Ungrouped object>") s = "" for line in data: s += line + "\n" rs.EditBox(s, "Object attributes", "RhinoPython") if __name__=="__main__": id = rs.GetObject() displayobjectattributes(id)
…
Added by Grasshope at 1:12am on September 30, 2015
id nulls at all.
You "enhanced" this problem by using Clean Tree component.
Clean Tree component shorten the list! So it also shift all elements after each null.
Example:
Input curves: [1 , 2 , 3 , 4]
Offset curves: [A , B(null) , C , D]
By using Clean Tree component on the offset curves list, it will became: [A , C , D]
By using loft with inputs flattened and again grafted, Loft component will work with 4 "branch" like this:
[1-A] , [2-C] , [3-D] , [4-D] and here you can see why its shifted, only 1-A is correct.
You should use Clean Tree component only with a single "alone" list, or if you want to move and "clean" more list together, you should use "null item" component to determine indexes of null items and "clean" synchronously also other lists.
OR, you could continue to work WITH nulls, keeping also original tree structure, like this:
[1-A] , [2-B(null)] , [3-C] , [4-D]
and loft component (but also the mechanics are the same on any other GH component) SHOULD give as output something like:
[surface , null , surface , surface]
But in your definition this does not happen, loft component just gives an error completely, i don't know why...
Here I just suggest you to check and set a proper offset distance so you don't get any nulls item.
Then, after, do your loft and stuff :D
See attachment.…
ice (I've ordered a book (:(!). How concretely produce these sculptures using the 3D positioning of the tip of the petals according to fibonacci spiral with Rhino and tsplines (Grasshopper?) seems to have realized that the illusion of movement or of the petals is...or an "animated video in a render program" or "from a set strobe "(a rotating wheel where to place the sculpture illuminated" but I'm not sure
I'm interested in the second hipotesis ...in produce a solid / physical sculpture, and then I think an apparatus (stroboscopic)will undertake to give the illusion of movement of the petals. But this only happens if you are positioned exactly the petals in 3 D modelling ...(?). I'm would afraid to realize that maybe I do not need Grasshopper?!?!I don't understand ( without Google Translator(:! )
Only Rhino and TSplines?
bobro…
r but doesn't make sense in other cases (see the demo stuff provided). NOTE: If the offset is off ... the thing that makes all the work is "auto" deactivated as well (to prevent chaos).
2. All the options available are in a red group (including the offset at the left-most part of the definition). To summarize: options are (a) offset or not [MEANING: flush or not], (b) choice of the test object,, (c) show the tmp solids used [flush], (d) follow the offset route [flush] or work as in V1 (that is 100 times faster).
3. Appears that I can't do anything with regard the SLOW issue: is the way that Rhino does business (Split is out of question as explained above - but is not a hare either).
Load Rhino file first.
…
1 and A1 that define the first eye point, P1.
Then a row width and a constant value for C that define the next eye point.
Angle 2 will then give Height 2, Height 2 gives Angle 3 etc...
You can easily do this as a series of functions that follow on from each other,
but there could be a very large number of these, and also a variable number, not a great way to do it.
What I really want is three series that output numbers to define values for Distance, Height and Angle.
D can be defined as a series, but H and A need to be calculated sequentially.
A2 gives H2, then H2 gives A3 etc... One series needs to the input of the other and vice versa. Doesn't work with Logic/sets/series as you end up with circular inputs.
Any ideas on best way to set this up greatly appreciated.
Thanks.…