BoltGen: Rhino plugin's for Mac!


#1

Hi, I was looking at plugins for Rhino and noticed that there was a good plugin for windows called BoltGen. I visited the link and sent a contact message if it was available for Rhino for Mac and I was informed it did work but needed feedback. He sent me a file and when I clicked on it with Rhino open it automatically loaded and asked me to restart Rhino.

I did this and all is ok so far when opening Rhino but I cannot work out where to find the Plugin. Can anyone shed a little light on where I can access the plugin toolbars etc and begin experimenting,

Thanks for any assistance in advance

Paul


Rhino 5 for Mac WIP Build 5E140w
#2

Great news that that BoltGen is being ported to Mac Rhino! I have emailed him to request the plugin. I will install it and see if I can help you out.


#3

Greetings Paul,

I use the BoltGen plugin on Windows, and there is no toolbar.
Just type ‘boltgen’ and you get a dialog series that you need to complete.

Give it a try.


#4

Hi Jason I contacted Ray to let him know you have sent him an email thanks, I would imagine any help in getting this going can only be good for Rhino for Mac.


#5

Hi denbutler, within my correspondence with the developer there is mention of a toolbar. I have cut and pasted his message to me for your perusal

Hi Paul.

I have done so. Here is the installer, I do not know if it works, mac has
some issues with Rhinoceros. If not, you can unzip the installer and
manually install the plugin and support files. Please let me know if it
installed. The Rhino developer kit is somewhat sketchy on the auto
installer. The BoltGen programs have been re-written and improved using the
Python programming language.

You must be running on a 64-bit mac computer to use this program.

For the installer, I understand that you can double-click the enclosed
program and it should install. If not:

To add manually;

  1. rename .macrhi to .zip
  2. unzip the file
  3. there are 3 items: a folder with pdf help files, a .rhp program file,
    and a .rui menu and toolbar file.
  4. Install the .rhp file as you would normally do. For windows we drag and
    drop the .rhp onto Rhinoceros.
  5. Do the same for the .rui file.
  6. Restart Rhino
  7. Go to tools\options\plugins in Rhino, right-click on BoltGen and find
    the directory it has been loaded to.
  8. Navigate to the BoltGen installation directory and copy the folder with
    the .pdf files to that directory.
    ( The folder must be placed where the .rhp is located after install. )

Since I have no Mac or access to one, I have only had limited help from
someone in France with a Mac. He verified that BoltGen works and then
stopped communicating, but modifications have been made since then and it
needs someone to check the functions. I have tested these programs on
Windows. I’d be pleased if you would test the 3 programs and toolbars for
me on Mac, then give me feedback. If BoltGen runs properly, it will end
with a message box saying the bolt creation process is finished.
The drop-down menu should give access to the help files as well as the
included programs and toolbars. I have included some special toolbar
buttons that I have found pretty useful for manipulating views and cplanes
as well as other things I use pretty often. There are a couple that are
rarely used, mostly for a temporary specific need.

Regards,

Ray McKaig

Since this email I dragged the file off the email to my desktop as every time I clicked on the file I got the message saying that it was installed in Rhino. From my desktop, I renamed the file as suggested and only one of the three files were there which was a BoltGenMac.rhp file. I clicked on that and then got a message the following message:

The document “BoltGenMac.rhp” could not be opened. Rhinoceros cannot open files in the Rhino Plugin” format

Any thoughts please


#6

where are you getting this file from?
it’s a little bit hard for others to try it if we don’t have it :wink:


#7

The original BoltGen was written in RhinoScript and has been changed and improved. The new version is written in Python and includes toolbars and drop-down menu items including help files and visual indicators, also sorts bolts in the BoltGen layers. Toolbars run the 4 BoltGen items including a new function to place bolts on surfaces at surface normal angles, and I have included some special toolbar functions that I find useful such as Dup Edge, Intersect, viewport view changes like World Top/Bottom, Front/Back, etc. and construction plane manipulations for new working angles. Python allows cross-platform execution. The original BoltGen needs to be disabled since command names are common, the new plug-in name is BoltGen_py but the commands are BoltGen, etc. I have not included BoltGenAN in the new version since I imagine few people would be interested and conversion to Python is a lot of work.

I haven’t actually released it yet but haven’t found any bugs. If you are interested, I can send you a copy for evaluation, and would appreciate feedback, especially if errors are found.
You can contact me at: ray.mcvan@comcast.net

Regards, Ray McKaig


#8

Hi Jason.
I responded to denbutler about the new python BoltGen. He should have a BoltGen menu drop-down to execute the programs. I haven’t received a message from you (wrong Email address?), but my contact information is: ray.mcvan@comcast.net

Send me an email and I will send you the install package for Mac. Also, I can zip the individual items and send them separately if you want to play with setting up an installer. I don’t seem to be having much success. I do know that you can unzip the installer and extract the individual files from it, but there is a certain way to accomplish it that I do not know. I wish Mac had followed standard folder protocol.

It is possible that BoltGen did install for Paul Noone, but the menus and toolbars did not get activated. If so, typing _BoltGen on the command line should launch it. _BoltGenHelp may also work, as well as _CopyBoltToSurface. Assuming that is the case, then the BoltGen_py.rui file needs to get installed as well (other than dragging it onto Rhino like in Windows, I’m not sure how it can be accomplished). Also I understand that the Plug-in function for Rhino (in options) has not been implemented in Mac Rhino 5 yet, but will be included for Rhino 6.

Regards, Ray


#9

Jeff,
Please see response to jason. I will send the installer to you also. By the way, BoltGenMac was a mistake. The corrected installer is BoltGen_py.macrhi.
ray.mcvan@comcast.net

Any help is much appreciated.
Regards, Ray McKaig


#10

Hi RayM, Typing BoltGen in the command line did not work, I just got the message Unknown command BoltGen

Thanks

Paul


#11

Ray,

The first email went to your mcvanaero account that you had posted on food4rhino.

I have resent the request email. Sending the installer as well as the individual items would be helpful in troubleshooting these issues.

Again, I would like to thank you for taking the time to port plugin to the Mac. This is a really a great plugin.

Jason


#12

Hi Jason.

I’m sorry, the email address had to be changed because of hackers and got broken. I just fixed it and … goodness, 46 messages in it !!! ray@mcvanaero.com is correct now.

I want to thank you for taking the trouble to help. I really appreciate your efforts.

Here is the .macrhi install file.

Hierarchy for the files:

            BoltGen_py.macrhi  (zipped install file)

                            BoltGen_py.rhp (folder)

                                            BoltGen_py.rhp  (program)

                                            BoltGen_py.rui   (menu and toolbars)

                                            HowToUseBoltGen  (folder)

                                                            languages.pdf  (several files for languages)

                                                            BoltType.pdf  (for illustration of creation bolt heads)

Also included is a zip file of the parts without the .macrhi final zip rename. If this is a problem, I am also including the .rhp and .rui separately without the folder of help files.

Regards,

Ray McKaig

McVan Aerospace, LLC

(360) 597-4155

http://www.mcvanaero.com www.mcvanaero.com

BoltGen_py.macrhi (1.07 MB)

BoltGen_py.zip (1.07 MB)

BoltGen_py.rhp (245 KB)

BoltGen_py.rui (153 KB)


#13

Running the installer did appear to install the plugin. Rhino stated BoltGen was installed and needed restarted.

When I look into the installed location.
~/Library/Application Support/McNeel/Rhinoceros/MacPlugIns/
BoltGen_py.rhp is the only installed file
Missing was the BoltGen_py.macrhi file and the HowToUseBoltGen folder.

Mac Rhino does not have a tools\options\plugins menu option, because the plugin manager has not been developed yet for MacRhino. I hear that is not been slated until the V6 release.

I have manually installed these files make sure all the files were in the “MacPlugins” Directory.
I understand the the .rhp, .rui, and the Help folder need to reside in the same directory.
As stated in http://developer.rhino3d.com/guides/rhinocommon/plugin-installers-mac/
Putting the whole folder BoltGen_py in the MacPlugins folder should allow it to load.
But I am getting the same error no matter what I do.

Running the installer or manually installing the files give me this error when I restart the program.
I have tried this on WIP and standard release with the same result.

Trying to drap and drop these files on the Rhino window gives me this error.
This post is almost year old so I don’t know if it is still relevant but maybe something to read.



I am also wondering if the .rui file is even supported.

This is what I have done so far, but with Rhino refusing to load the plugin, I not sure how to test any further.
Maybe @dan could give some insight on the issues we are encountering.


(Dan Belcher) #15

I’m looking into this now with @RayM’s help. Ray will need to convert those rui files, unfortunately, but we still need to figure out what is going wrong with the packaging/folder structure of the PythonPlugin.

I’ll probably need to enlist @pascal’s help as he’s the one who has managed to get this working in the past.


(Pascal Golay) #16

Hi all - When I tested this many moons ago, I tested a py file being installed, via a sort of painful manual ‘rhi’ making process outlined in Dan’s link - that much worked, at the time, as I recall - as far as other files to be installed from the renamed zip goes, I really don’t know what is expected to work.
-Pascal


(Dan Belcher) #17

I have found and fixed the bug (MR-3135) that is causing BoltGen to fail to load. I’ll get this fix in the next RhinoWIP.

CC: @RayM


#19

Hi Dan, will there be an upgrade for version 5.3.2 (not WIP)? I no longer have a WIP version

Thanks

Paul


(Dan Belcher) #20

There will indeed be a 5.4 update. We don’t have a timeline yet for this. In the meantime, if you are a license holder of 5.3.2, you are always free to use the RhinoWIP.


(Dan Belcher) #21

BoltGen should load in the latest RhinoWIP (5E140w). Please give it a try.


#22

Thank you Dan, I will download a copy of WIP later this evening

Paul