architecture-building-systems / honey-badger Goto Github PK
View Code? Open in Web Editor NEWhoney-badger is a build system for Python based Rhino/Grasshopper plugins
License: MIT License
honey-badger is a build system for Python based Rhino/Grasshopper plugins
License: MIT License
As noted in the readme, the IronPython version is important as it needs to match Grasshopper installed. Although rhino ships with IronPython (right?), you still need a standalone version to run honey badger, which i am not sure is totally clear in the readme.
Maybe IronPython version can be checked based on the rhino version input (see #16) but only display as a warning as the supported IronPython version for RHino 7+ may change.
see https://docs.python.org/3/library/platform.html#platform.python_implementation
Can we add a function to choose the delimiter? I actually would like to use semicolon, because I have commas in my strings :)
E.g. "5.3 Verkauf Möbel, Bau, Garten"
The parameter_compiler.py at lines 21 and 22 currently hard codes the rhino and grasshopper dlls to reference Rhino 6. This means it must be installed, which may cause issues if people are only using Rhino 7. Also could be issue if OS not in english.
Perhaps there can be optional args to specify rhino version to use or path to dlls?
Maybe I'm doing sth wrong, but I can't seem to build another valuelist component with another csv. It tells me, it can't find "planets.csv". See this branch: https://github.com/architecture-building-systems/hive/tree/111-Database-SIA-2024-and-2028
C:\Program Files\IronPython 2.7>ipy.exe c:\Users\chwaibel\Documents\GitHub\honey-badger\honey-badger.py c:\Users\chwaibel\Documents\GitHub\hive\Core\sia380\sia2024.json
Traceback (most recent call last):
File "c:\Users\chwaibel\Documents\GitHub\honey-badger\honey-badger.py", line 67, in main
parameter_compiler.compile_parameters(
File "c:\Users\chwaibel\Documents\GitHub\honey-badger\parameter_compiler.py", line 46, in compile_parameters
keys, values = read_values(badger_dir, parameter["csv"])
File "c:\Users\chwaibel\Documents\GitHub\honey-badger\parameter_compiler.py", line 123, in read_values
with open(os.path.join(badger_dir, "planets.csv")) as planets:
IOError: [Errno 2] Could not find file 'c:\Users\chwaibel\Documents\GitHub\hive\Core\sia380\planets.csv'.: c:\Users\chwaibel\Documents\GitHub\hive\Core\sia380\planets.csv
None
pliz hepl @daren-thomas
I'm here with my laptop. I installed Pycharm, ironpython 2.7, cloned honey-badger, built a .json with the cmd (ipy.exe ...\honey-badger.py ...\component.json
), but when trying to open grasshopper, it gives me this error:
I did copy the honey-badger.dll into the rhino grasshopper components folder.
Do you have an idea how I can fix that?
honey-badger-runtime.dll
needs to be in the same folder as the .gha
that is using it, such as planets.gha
. It won't work if the .dll
is in another folder, even if it is added to the Rhino Grasshopper paths.
I built honey-badger components for hive on my home pc, but the value list components are not appearing.
Please add clearer instructions on how to use honey-badger on the README.md
. is there anything I need to put in some folder? before, you had make-honey-badger.bat
(or similar), but now a user of honey-badger would simply need to build his components with ipy.exe honey-badger.py customcomponent.json
? Appearently, another step is necessary in order to get your list comonents working.
Could you implement the option to define inputs in the form of GH_ParamAccess.list?
C# version: pManager.AddGenericParameter(..., GH_ParamAccess.list);
implement honey-badger feature to customize Grasshopper icons of honey badger components
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.