HI
Can someone help me copy/paste a python script i found on the internet into my rhino?
It’s telling me I have errors and I need a pro
HI
Can someone help me copy/paste a python script i found on the internet into my rhino?
It’s telling me I have errors and I need a pro
Hello- if you can post the exact error, that would be a start.
-Pascal

actually I no longer get the error, but nothing happens

Hello- well, I have no idea what that script is doing and what it is expecting in the way of support files - I would contact whoever wrote that directly. My Dogbone script does not contain any reference to ‘getsubsurface’ as far as I know, so it is not me…
-Pascal
ouuuu can you share your dogbone script?
DogBone.py (8.8 KB)
Works on closed polylines. Specify whether the polyline is a hole or not so it knows which way to dogbone.
-Pascal
Thank you, Pascal - I’ll try this out.
works perfect, thank you
HEY @pascal , This has been running great, then all the sudden received this error…

Hello- if you can tell if it happens with some input and not others, send me one that show the error…
-Pascal
figured it out, thank you
Hi @pascal , I’m glad I found your script. Thanks for making it. It works great! How can I make it work with millimetres instead if inches? Any chance you could change it, please? I’ve tried amending it, but truth is I don’t have the required knowledge and the result did not work…
Kind regards
Hi Constantin - this should simply use the current file units - is that what you mean?
Bones.rhp (35 KB)
This is a plug-in version that should do the same thing but with optional DogBone and TBone variants…
-Pascal
Thank you Pascal! I’ve added the file into the plugin folder, restarted Rhino but I can’t seem to find/use it.
Hi Constantin - you can save it anyplace, then drag and drop the rhp file onto Rhino - you may need to Unblock the rhp in Windows Explorer though - in Properties.
-Pascal
Got it! Ahhh, you’re the best ! This is going to save me so much time ! Many, many thanks! Much appreciated!
BTW, when checking the diameter or radial of a dogbone, why do I get a .05 added to the dimension?
Hi Constantin - that was requested by the original person who asked for this for the dog bone style - so that an inserted piece would have some slight clearance

It is set in the ‘DepthFactor’ command line option.
-Pascal