I’m a fan of the Dash API documentation utility for OS X. I’ve generated a RhinoCommon docset - using Doxygen - that comes into Dash nicely. This allows you to search the RhinoCommon API really fast.
If you already have Dash installed, you can have Dash subscribe to the docset feed by cutting and pasting this link
These are merely documentation sets for RhinoCommon that are compatible with the Mac/Xcode documentation format. They are the same documents you can find here), just in a format that makes them easier to use on the Mac.
Concerning a RhinoScript docset: the answer is yes, it should be possible, but it will not be nearly as fancy as the RhinoCommon version. With the RhinoCommon docset, I used Doxygen to parse the actual source - creating tags for methods, classes, etc. - but this is not possible with RhinoScript. Basically, I can generate a docset from the same html files you find in the RhinoScript help/documentation. So, it will only be a large list of methods - I may be able to sort them into categories/sections - and it will be searchable in Dash.
Let me know if you’d like me to generate a RhinoScript version as it will take a little doing.
Thanks for the offer, I think having a searchable docset would still be very useful even if its not as nicely classified as with RhinoCommon. In particular, having a large list of methods (even if just classified by the parent module) should make scripting in Grasshopper much easier given the limitations of its texts editors.
Before I found this thread I was looking into how to scrape the online documentation and making it myself, but it sounds like you might be far more experienced at that. I could have a crack at it though if you don’t have the time.
No problem. I think I can get something useful working without too much effort…I just wanted to calibrate expectations ahead of time. I let you know when I have something to test.
@philipbe pointed out (see above) that there is a Dash-inspired doc browser called Zeal. To use the RhinoCommon docs with Zeal, download this zip archive, uncompress it, and move the RhinoCommon.docset to:
C:/Users/<you>/AppData/Local/zeal/docsets/
(you can define this path in Zeal > Edit > Options > General Tab).
You will need to restart Zeal - you may have to quit Zeal from the system tray first.
I’ve updated (again) the RhinoCommon Dash Docset based on the latest RhinoCommon source from GitHub. If you are using Dash, you should get this update automagically (it’s ver 1.4.0)…but if you are using Zeal, you will have to manually download and install using the instructions in my post above (“Windows users:”).
Ver 1.4.0 has some new .css styling with the aim of making it cleaner and more concise…
Yet again, I’ve updated the RhinoCommon Dash Docset based on the latest RhinoCommon source from GitHub. If you are using Dash, you should get this update automagically (it’s ver 1.5.0)…but if you are using Zeal, you will have to manually download and install using the instructions in my post above (“Windows users”).
I’m going to be on an airplane (no Internet) and I have found that: http://4.rhino3d.com/5/ironpython/index.html is REALLY USEFUL when writing Python for Rhino3D (on a Macintosh)?
The link to the RhinoCommon docset no longer seems to work in Dash (it’s an XML file containing a link to a .tgz) and/or is pretty out of date. The RhinoPython link works in Dash but given the styling the API it documents may be quite out of date too. Any chance we could either an update to these or tips on building it from one of the repos on Github?
Hi, I just installed from the link in the first post by @dan. Worked fine here for RhinoCommon …
Just follow the instructions that are posted … [quote=“dan, post:1, topic:1366”]
into Dash (Preferences > Downloads Tab > Plus Sign > Docset Feed URL).
[/quote]
Just paste the url into the popup, then click the “Download” button to the right of the RhinoCommon. [quote=“jeff_hammond, post:14, topic:1366”]
use this link in dash for rhinoscript/python
The fact that I’m using Dash 2 may be why the RhinoCommon link can’t be added in the way described– it yields an alert about not being a valid feed. Instead one can follow the link contained in the XML file, uncompress the .tgz, and double-click the resulting docset to install it in Dash. That gets you RhinoCommon 1.5.0.
Since then we’ve gotten a commercial release of Rhino for Mac, RhinoCommon running on Mac, Eto UI forms, etc. and so it would be great if there was a way to get the same set as what’s online.