ng code for Rhino6 and Visual Studio 2013 while typing on Grasshopper 2.0
I launch Rhino and Grasshopper each time, takes about 15~17 seconds to load both programs, it takes about 25 seconds to compile the entire project. Because of this I don't write and test tiny amounts of code, I write and test large amounts, then use the debugger to fix bugs.
As For debugging, yes, i'm able to step into my code via Visual Studio. but most of my time i'm not debugging - i'm developing and making small changes and compiling more than 40 times a day.
40 sounds about the right order of magnitude. Somewhere between 5 and 500 I'd say, depending on whether I'm debugging something big or writing a lot of new code.
I'd love to hear about any suggesstions of ways of work that you do that'll save me alot of time.
I wish there was a way to run Rhino with 'GH Developers' flag that'll run much faster.
You can not load certain plugins when starting Rhino. That may speed up loading times, but probably not significantly.
--
David Rutten
david@mcneel.com…
Added by David Rutten at 3:00am on January 6, 2014
imension(new Plane(new Point3d(5, 3, 0), Vector3d.ZAxis), new Point2d(0, 0), new Point2d(10, 10), new Point2d(5, 5));
myDim.TextHeight = 500;
doc.Objects.AddLinearDimension(myDim);
The bold line seems to be not working because I can't see any changes of text size in the rhino document.
2. I failed to add my DimStyle Object to the LinearDimension object I created above.
Rhino.DocObjects.DimensionStyle myDimStyle = new Rhino.DocObjects.DimensionStyle();
myDimStyle.ArrowLength = 100; myDimStyle.TextGap = 200; myDimStyle.TextHeight = 500;
int dimStyleIndex = doc.DimStyles.Add("myDimStyle", false);
myDim.DimensionStyleIndex = dimStyleIndex;
The bold line seems to be not changing the style of my LinearDimension object.
Could anyone help me with these two failures?
Thanks!
-Jerome
…
re_Never_Ends_V666".
3. Delete the left C# that does the Ziggurat (and feeds the truss maker with the "skin").
4. Remove all the comments of type "don't touch ..." > be brave.
5. Create any spiral surface (like the ones shown as demos) in Rhino. Or Any List of surfaces (say: one spiral surface and some others - but better start with ONE test surface). DO NOT use trimmed surfaces (only my "pro" C# truss maker does this - but it's incredibly complex to handle it). In fact ... you can use them ... but forget it, for the moment.
6. Feed this green GH component shown (aka: the Red pill [Matrix], he he) with your surface(s) > surrender to the crazy world of trusses.
7. Listen to some appropriate stuff .
…
use Google's API, especially if you'd like to achieve a great quantity of data without overloading Google's servers.
I used a way to request data without overloading Google's servers by using a tiling method. Obviously, this component respects the limit of 2500 requests per day.
This is how the component works:
1) set one point and its coordinates
2) generate surfaces by using isotrim component (Basically, each sub-surface is a request)
3) set the number of division of each surface and the resolution of Google static maps
4) run, move points and generate surfaces with surface from points
5) apply textures to the surfaces
In the image below another small example:
I was thinking that this should be useful for wind simulation with Butterfly, maybe.
Best
Antonello…
ucture of the Building can be seperated into three layers.1. There are the big triangles that create the form of the buildings.2. The supporting structure.3. windows and tilesFor part 1 I am remodelling the cladding.part 2 and 3 are the same, just with a different size of triangles.My question now ist, how can i cut out the triangles of the supporting structure and the windows and tiles?Or do you have any other idea how i might remodel this building?Thanks in advance, Simon…
s up to one closed surface at top How could I possibly do that?
2) I also tried to divide the surface into two parts then I could set up two different UV grid, in this case I used hexagon, for the further development. Splitting them was fine but when I tried to create the grid individually, it seemed created a grid across the original surface before splitting which it leads to lots of clear up job in ther furture. Can anyone help me with that? Thank you
…
achieve this. If any one knows of an examples please let me know.
As my current understanding of the maths behind controlling a curve is limited I'm not particularly confident in referring to such things as control point weights and knot vectors without causing confusion. However what I had envisioned was a solution where certain parameters were fixed, such as the start/end point, length, control point weights and degree of the curve. With enough of these parameters fixed you would define an area of possible manipulation for the control polygon of the curve and the curve itself. Possibly you could play with a couple of the variables to further increase the area of manipulation.
Sorry for the poor quality of the sketch and photo, hopefully it goes some way to showing my intentions.
If A and B are fixed to the same position in both 1 and 2 and the curve between them is the same length in both instances I wish to restrict the editability of the control polygon to preserve these characteristics.
My current thinking is that I'm going to need to rebalance the nurbs curve definition so the set parameters are one side of the equation and the available ranges on the other side. I had also considered a scenario where you set control points and iterate to a specified tolerance for the length of the curve. I've not made much progress in either direction but i thought it would be interesting to hear some other views on the best way to go about solving this or have someone highlight on obvious or simple solution I've overlooked.
Cheers for any input, as/if i make any progress ill add to the post.
Thom
…
Added by thom simmons at 3:10pm on December 15, 2013