see in my bottom post image there is only one isocurve showing in U and V.
In Grasshopper there's no surface rebuild? Well, the same old Grasshopper Patch command will let you specify spans I guess, to make a surface from a planar curve, but it won't work for things with holes since they will just fill in!
You can recreate a surface painfully by untrimming, adding many UV points, rebuilding from those points, then retrimming with the original surface info, but the retrimming simply fails.
If you make a planar surface from a curve in Rhino, you end up with utterly no point editability:
No wonder my CreatePatch tests were a failure. The starting surface could not be distorted except in the extreme case of moving four corner points!
I have no idea how to successfully rebuild a surface akin to the Rhino rebuild command. It's great to be able to prototype in Grasshopper, but with Python I can rebuild easily ( http://4.rhino3d.com/5/rhinocommon/?topic=html/M_Rhino_Geometry_Surface_Rebuild.htm ;), so I guess I should start a collection, like peter, of little script components for prototyping with.…
Added by Nik Willmore at 6:18am on February 26, 2016
p; 3D Urban ModelingOn the topography subject I get the next message: "One or more boundaries may be outside the bounds of the topo dataset" I'm not sure if it's the .IMG file I'm loading since I found so many IMG files nearing my polyline area (Miami Lat:26 Lon:-81 aprox.) or maybe my polygon doesn't match the topo area? I have no idea why it isn't working :(On the Shapefile subject, haven't been able to find a Building Height SHP File, so far have downloaded around 8 SHP files which only contain Polylines, my solution is to meanwhile randomize Z heights, but of course this data is not "technically" correct.P.S.: I've already tried all example links and also the ones posted by you and Benjamin in this video.Been strugling last few days, hope you can help me, thanks in advance!!…
command in Rhino 4 to have the default editor (and F1 in there to open the help). It is setup as a large number of functions, all available in the form of Rhino.DoSomething(). Mostly, DoSomething is either Add or Delete an entity from the current document.
Grasshopper is a plug-in for Rhino developed and distributed for free by McNeel. It is based on RhinoCommon, which is the new .Net SDK - which is being written for the upcoming Rhino 5. Grasshopper provides all Rhino users with a powerful yet understandable interface for automating their tasks and exploring geometry though a visual interface. This might be called the Grasshopper visual programming language. The first step to learn Gh would be getting acquainted to this model. None of the Grasshopper components modifies the current document, only the Bake button does so. This and another reason mean that RhinoScript cannot be directly used inside Grasshopper.
RhinoCommon as a library is written in C# and Grasshopper itself is written in Vb.Net and C#.
Grasshopper offers scripting components that are compiled in debug mode, on the fly, just when you click "Ok", for both C# and Vb. Also, at McNeel we are testing ways to provide a Python interpreter via IronPython to Grasshopper. A nice advantage would be that variable input would also be acceptable in this model. Rhino 5 already has a Python interpreter for automating Rhino.
Finally, Grasshopper has a public yet (warning here) quite rapidly changing SDK. You can download it via the _GrasshopperGetSDKDocumentation command (comment: you need to load Grasshopper in order to see this Rhino command). The help file also explains how to setup your own components and make Grasshopper load them. This is useful for fairly non-conventional usages.
I hope this intro is helpful.
- Giulio
_____________________
giulio@mcneel.com
McNeel Europe, Barcelona…
s\pycco-script.py", line 10, in <module> load_entry_point('Pycco==0.3.0', 'console_scripts', 'pycco')() File "C:\Python34\lib\site-packages\pkg_resources.py", line 353, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "C:\Python34\lib\site-packages\pkg_resources.py", line 2302, in load_entry_point return ep.load() File "C:\Python34\lib\site-packages\pkg_resources.py", line 2029, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File "<frozen importlib._bootstrap>", line 2237, in _find_and_load File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 1191, in _load_unlocked File "<frozen importlib._bootstrap>", line 1161, in _load_backward_compatible File "C:\Python34\lib\site-packages\pycco-0.3.0-py3.4.egg\pycco\__init__.py",line 1, in <module> File "<frozen importlib._bootstrap>", line 2237, in _find_and_load File "<frozen importlib._bootstrap>", line 2222, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 2164, in _find_spec File "<frozen importlib._bootstrap>", line 1940, in find_spec File "<frozen importlib._bootstrap>", line 1916, in _get_spec File "<frozen importlib._bootstrap>", line 1897, in _legacy_get_spec File "<frozen importlib._bootstrap>", line 863, in spec_from_loader File "<frozen importlib._bootstrap>", line 904, in spec_from_file_location File "C:\Python34\lib\site-packages\pycco-0.3.0-py3.4.egg\pycco\main.py", line 484 print "pycco = %s -> %s" % (s, dest) ^SyntaxError: invalid syntax…
Added by Lionel to Plankton at 4:07am on November 7, 2014
edit 29/04/14 - Here is a new collection of more than 80 example files, organized by category:
KangarooExamples.zip
This zip is the most up to date collection of examples at the moment, and collects t
ed by Grasshopper and therefore can use it.
The idea behind code input is really just the fact that Python is evaluated and is able to accept it. This could be also achieved on user's side by using exec or eval, something that in this form does not even exist in C# and Vb.Net. Maybe often today you do not need that feature, but it might be useful in some cases. Evaluating arbitrary text is something that is quite cumbersome to do in Vb.Net and C# "scripts". Because of how the runtime works, compiled methods are not garbage collected and they can fill available memory relatively quickly, unless you take extreme measures against it.
Note that, because of this, in theory it is possible to use up Rhino's memory with Vb.Net and C# components through shear multiple compilation (many code changes and OKs). This is theoretical, it does probably take a fairly large amount of compiling to do so.
However, I think that there's a presentation need sometimes (to transform a Python component into a specific solver to a problem, much like with User Objects). In this case, code input is not needed, because it becomes invariant. Because of this, code input could be hidden by default, with an option to show it. I'll see if that's possible without breaking compatibility. Would this be enough to suit your needs?
https://github.com/mcneel/ghpython/issues/15
About input modules
That's a reasonable wish. It could be just a list of reference paths as in the other scripting components, or a dynamic input such as the one in the picture above. Which one do you think would make more sense?
I am just thinking that you could expose this with the simple method you showed (you should however check that the path is not already there). I've added this in any case to the wishlist: https://github.com/mcneel/ghpython/issues/16
- Giulio
_____________
giulio@mcneel.comMcNeel Europe…
st action(join it in one(flatten it))?
or do i have to do it in a tree
in this case there this as error message:how do i get it public?is it this { get; set; } thing?
also change it from divideByLength to divideByCount to get the endpoints, just if you wonder about this strange move int he first line(probably you dont -so many strange moves,hehe)
also found this one:
do you have connections to papa noel or just went far away to get bestest sardines?
regards
…
umbrella of Urban Heat Island (UHI) and I am going to try to separate them out in order to give you a sense of the current capabilities in LB+HB.
1) UHI as defined as a recorded elevated air temperature in an urban area:
If you have access to epw files for both an urban area and a rural area, you can use Ladybug to visualize and deeply explore the differences between the two weather files. Ladybug is primarily a tool for weather file visualization and analysis and it can be very helpful for understanding the consequences of UHI on strategies for buildings or on comfort. This said, if you do not have both rural and urban recorded weather data or you want to generate your own weather files based on criteria about urban areas (as it sounds like you want to do), this definition might not be so helpful.
2) UHI defined by air elevated air temperature but viewed as a computer model-able phenomenon resulting primarily from urban canyon geometry, building materials, and (to a lesser degree) anthropogenic heat:
This definition seems to fit more with they type of thing that you are looking for but it is unfortunately very difficult and computationally intensive such that we do not currently have anything within Ladybug to do this right now. I can say that the state-of-the art for this type of modeling is an application called Town Energy Budget (TEB) and this is what all of the advanced UHI researches that I know use (http://www.cnrm.meteo.fr/surfex/spip.php?article7). Unfortunately for those trying to use it in professional practice, it can take a while to get comfortable with it and it currently runs exclusively on Linux (this does mean that it is open source, though, and that you can really get deep into the assumptions of the model). A couple years ago, a peer of mine translated almost all of TEB into Matlab language making it possible to run it on Windows if you have Matlab. He wrapped everything together into a tool called the Urban Weather Generator (UWG), which can take an epw file of a rural area and warp it to an urban area based on inputs that you give of building height, materials, vegetation, anthropogenic heat, etc. I would recommend looking into this for your project, although, bear in mind that is it not open source like the original TEB tool and that you may need to get a (very expensive) copy of MATLAB (http://urbanmicroclimate.scripts.mit.edu/uwg.php).
3) UHI as defined by a thermal satellite image of an urban area depicting an elevated average radiant environment that reaches a maximum a the city center and changes by land use:
This is the definition of UHI that I am most familiar with and was the basis of much of my past research. I feel that it is also a definition of UHI that is a bit more in line with where a lot of contemporary UHI research is headed, which is away from the notion of UHI as a macro-scale meteorological phenomena that is averaged as an air temperature over a huge area towards one that accepts that different land uses have different microclimates and (importantly) different radiant environments. While the air temperature difference between urban and rural areas usually does not change more than 1-4 C, the radiant environment can be very different (on the order of 10-15 C differences). The best way to understand UHI in this context is with Thermal satellite images, for which there is ha huge database of publicly available data on NASA's glovis website (http://glovis.usgs.gov/) or their ECHO website (http://reverb.echo.nasa.gov/reverb/#utf8=%E2%9C%93&spatial_map=satellite&spatial_type=rectangle). I tend to use thermal data from LANDSAT 5-8 and ASTER satellites in my research. Unfortunately, there is a lot f bad data with a lot of cloud cover mixed in with the really good stuff and it can take some time to find good images. Also, there aren't too many programs that read the GeoTiff file format that you download the data as. I know that ArcGIS will read it, a program called ENVI will read it (I think that the open source QGIS can also red it). I have plans to write a set of components to bring this type of data into Rhino and GH (I may get to it a few months down the line).
4) UHI as a computer model-able notion of "Urban Microclimate" with consideration of local differences and the local radiant environment:
This is where a lot of my research has lead and, thankfully, is an area that Honeybee can help you out a lot with. EnergyPlus simulations can output information on outside building surface temperatures and these can be very helpful in helping get a sense of the radiant environment around individual buildings. Right now, I am focusing just on using this data to fully model the indoor environments of buildings as you see in this video:
https://www.youtube.com/watch?v=fNylb42FPIc&list=UUc6HWbF4UtdKdjbZ2tvwiCQ
I have plans to move this methodology to the outdoors once I complete this initial application to the indoors. For now, you can use the "Surface result reader" and the "color surfaces based on EP result" components to get a sense of variation in the outside temperature of your buildings.
I hope that this helped,
-Chris
…
ers and researchers, programmers and artists, professionals and academics who come together for 4 days of intense collaboration, development, and design.
The sg2012 Workshop will be organised around Clusters. Clusters are hubs of expertise. They comprise of people, knowledge, tools, materials and machines. The Clusters provide a focus for workshop participants working together within a common framework.
Clusters provide a forum for the exchange of ideas, processes and techniques and act as a catalyst for design resolution. The Workshop is made up of ten Clusters that respond in diverse ways to the sg2012 Challenge Material Intensities.
Applicants to the sg2012 Workshop will select their preferred cluster from the following:
Beyond Mechanics
Micro Synergetics
Composite Territories
Ceramics 2.0
Material Conflicts
Transgranular Perspiration
Reactive Acoustic Environments
Form Follows Flow
Bioresponsive Building Envelopes
Gridshell Digital Tectonics
More information about the Workshop and Clusters can be found here:
http://smartgeometry.org/index.php?option=com_content&view=article&id=116&Itemid=131
The application process will close on January 15th, 2012.
Full Fee $1500
Reduced Fee $750
Scholarship Fee $350
Fees include attendance to both the workshop and conference from March 19th-24th.
Reduced Fee and Scholarships are available only for Academics, Students and Young Practitioners, and are awarded during a competitive peer review process.
sg2012 takes place from 19-24 March 2012 at EMPAC (http://empac.rpi.edu/) and is hosted by Rensselaer Polytechnic Institute in Troy, upstate New York USA. The Workshop and Conference will be a gathering of the global community of innovators and pioneers in the fields of architecture, design and engineering.
The event will be in two parts: a four day Workshop 19-22 March, and a public conference beginning with Talkshop 23 March, followed by a Symposium 24 March. The event follows the format of the highly successful preceding events sg2010 Barcelona and sg2011 Copenhagen.
sg2012 Challenge Material Intensities
Simulation, Energy, Environment
Imagine the design space of architecture was no longer at the scale of rooms, walls and atria, but that of cells, grains and vapour droplets. Rather than the flow of people, services, or construction schedules, the focus becomes the flow of light, vapour, molecular vibrations and growth schedules: design from the inside out.
The sg2012 challenge, Material Intensities, is intended to dissolve our notion of the built environment as inert constructions enclosing physically sealed spaces. Spaces and boundaries are abundant with vibration, fluctuating intensities, shifting gradients and flows. The materials that define them are in a continual state of becoming: a dance of energy and information. Material potential is defined by multiple properties: acoustical, chemical, electrical, environmental, magnetic, manufacturing, mechanical, optical, radiological, sensorial, and thermal. The challenge for sg2012 Material Intensities is to consider material economy when creating environments, micro-climates and contexts congenial for social interaction, activities and organisation. This challenge calls for design innovation and dialogue between disciplines and responsibilities. sg2010 Working Prototypes strove to emancipate digital design from the hard drive by moving from the virtual to the actual in wrestling with the tangible world of physical fabrication. sg2011 Building the Invisible focused on informing digital design with real world data. sg2012 Material Intensities strives to energise our digital prototypes and infuse them with material behaviour. They have the potential to become rich simulations informed by the material dynamics, chemical composition, energy flows, force fields and environmental conditions that feed back into the design process.
More information can be found at http://www.smartgeometry.org
Follow us on Twitter at http://twitter.com/smartgeometry…
Added by Shane Burger at 12:29pm on December 13, 2011
ps://www.youtube.com/watch?v=uxYHlZQSADQ) - thats me doing the demo at around the 8-minute-mark :)
That was a truly gigantuan patch in the end, but its nice because its still in real-time. In the newer version there is much better rendering and a lot more options.
So if you have any questions or need some starting points you can always send me a message.
As for running in Parallels - unfortunately I don't think that will work too well. I have actually never tried it, but for anything realtime you want all the power available, so you have to run it in native Windows. I recommend Windows 7. I use Boot Camp on different Macs and it works really well that way. Mind you it doesn't like retina screens too much for the User Interface.
Be prepared for a bit of a learning curve, especially in the field of visual output, because unlike in GH, you have to actually build the whole render process. But there is many good examples and stuff in the forum on vvvv.org.
Maybe you know this book called "Generative Design" (http://www.amazon.de/Generative-Design-Visualize-Processing-Bohnack...), which is amazing, but designed for processing. Get this book, because its amazing and there are vvvv versions of most of the things in there!
If you speak german or probably even if not, then there is a great book called "Prototyping Interfaces", which is the only book about vvvv and shows a lot of great examples, which you can download.
In vvvv itsself in the addons (called girlpower), there is a ton of examples and you can press F1 on any component and it will open a help patch that shows you what it does and how it works.
Lastly I would recommend you print out the keyboard shortcuts cheat sheet and have it handy for reference. There is a ton of shortcuts and it will take a while till you know them because they are pretty obscure, but the more you know, the more fun it is to work with.…
Added by Armin Seltz at 3:29am on November 10, 2015