BoltGen: Rhino plugin's for Mac!

Just a quick update. I downloaded the latest version or RhinoWIP and managed to install the BoltGen py.macrhi file. To my relief it worked. I will be using this plugin quite a lot in the future and will let you know if I come across any issues as I go.

Thank you to everyone who helped to get this plugin working and thank you Ray for taking the time to write it.

Cheers

Paul

3 Likes

Also confirmed! Really great to have this plugin added to my toolbox. Works Beautifully.

BoltGen: Confirmed and works
ThreadCutterScaler: Confirmed and works
CopyBoltToSurface: Confirmed and works

@dan ToolBars are not working yet, but curious how they will even work. Mac rhino does not supports floating toolbars, so the introduction of a plugin toolbar is curious. How will they even load within the constructs of the GUI?
Maybe I donā€™t have grasp on the subject, and there is already something in place for custom palletsā€¦

As I understand it, custom modified pallets are constructed under the Command Editor. Only one pallets is loaded (displayed) at a time based on the selection made under ā€œThemesā€ under Preferences.

Just how are Plug-in Pallets displayed once the .rui file has been converted to a .plist file and incorporated with the plug in? I am only asking this, for any PC Plugin Developers with limited Mac experience can fully port a plugin to the mac and fully be supported in the way for which it had been written.
I see how to do it within you developers doc, but have never seen how it has actually been implemented in other plugins.

With all this said, The plugin works great, I can make my own buttons within my already modified tool pallet if I really have to have a button to push. It would just be great to have a floating toolbar, ribbon, or tab. that would load with each plugin if the developer intended it to have one.

The situation right now with tool palettes is not ideal. We have a lot of work to do to make this work better for the third-party developer.

In general, with RhinoCommon plugins authored in C# - as you alluded - the developer has to convert the .rui to a .plist, add the .plist to the project, and then tell Rhino to load the tool palette. Even this - though it works - could and should be improved.

The problem with plugins generated by the RhinoScriptCompiler (on Windows), as BoltGen was, is that they are basically a long string that constitutes the python commands, wrapped in a default plugin wrapper. So, at the moment, there is no way to tell Rhino for Mac what .plist to load. Even on Windows, Iā€™m not seeing consistent behavior with Rhino for Windows loading the .rui fileā€¦if you know how to get this to work, please let me know. Iā€™m just about to hunt this stuff down in code.

One way weā€™re considering moving would be to ā€œjust load the .rui or .plist that shares the name as the plugin.rhpā€ by default. This might get around the problem, but weā€™re still considering it.

Dan,
I have had the problem with .rui files being ignored when installing an updated copy of BoltGen. It looks like Rhino somehow remembers if a .rui file has been loaded previously and ignores the new installed .rui reference. To get around this, I had to delete previous installs (in Users folder, and possibly in Programs/Common also), then the .rui file installed correctly and the drop-down menu items and toolbars showed up. Hope this helps.

Iā€™d like to express my thanks for porting BoltGen to the Mac, it really is appreciated and my modelling life has just got a lot easier.

2 Likes

This is what bolt gen create for me, tried a few combinations

still finding it buggy, any one else. love the plugin but struggling to use it on Mac

@RayM

I am very sorry, BoltGen for MAC has been put on hold and I have not officially released it yet. I bought a MAC to further develop it but sadly the Rhino interface needs a lot of work for Python to function properly.

There are so many problems with the MAC WIP that BoltGen has not properly functioned. I can send you the latest BoltGen for MAC version for you to try if you like. It mostly works but several of the other programs fail miserably. BoltGen seems mostly functional but the layers sort routine and possibly other aspects fail. Also there is no menu, the command line must be used to execute it. You can Email me for a trial copy at ray@mcvanaero.com to request the latest. I havenā€™t worked on it since July and I do not know the status for the latest Rhino WIP for MAC, but it may be more functional now.

Regards, Ray

Hello Ray,

I just downloaded and installed the file, you have posted andā€¦
it seems to work!

Thank you very much for your effort!

Best regards from Germany,
Anselm

Thanks for the feedback Anselm.

I have a later version that corrected some problems and added some functionality. Note: only works on Rhino WIP for MAC.

  1. BoltGen functions properly until the end when the sort routine fails, however it doesnā€™t seem to cause any trouble. It was added as a convenience only.

  2. CopyBoltToSurface has major problems, but seems to work occasionally.

  3. ThreadCutterScaler is functional.

  4. BoltGenHelp is functional. Note: Needs PDF viewer on MAC.

Please download this file and install over the older one by dragging it onto the Rhino window and reload Rhino, or double-click the file and reload Rhinoā€¦

BoltGen_py.macrhi (934.7 KB)

Regards, Ray McKaig