Hi @jim! A dumb question probably but how one can set the radius for the fillet?
Added as a feature request-
https://mcneel.myjetbrains.com/youtrack/issue/RH-74560/feature-request-for-fillet-surface
Simply write the desired number in the Command line.
Thanks Bobi! I knew it was a dumb question
just came back from holidays so excuse me
Holidays? What a great reason to be slightly absent.
Hello Jim
Thanks for answer the my question.
How can ı install phyton version on my rhino ?
To use the script, you have to do the following steps:
-
Save the script in some folder where you will keep it forever. Note that if you move or delete that file, the script will no longer work.
-
Copy the directory where the file is saved.
-
Open Rhino, then choose which icon you want to customize and hold Shift, then click with the right mouse button. That opens the icon editor.
-
Paste the following text inside the “Command” field:
! Selnone -Selname “check” Pause Delete
_-RunPythonScript “D:\YourDirectory\FilsrfEX.py”
Replace “YourDirectory” with your own directory which you already copied in step #2.
-
Press the “OK” button to confirm the changes and close the icon editor.
-
Open a nice drink.
If you have Rhino6 then python should already be installed.
In addition to the good advice from Bobi on how to make a toolbar button to run the script you can also make an alias to run the macro. You might call the alias fx and then when you type fx in the command line the macro will run.
If you are a long time user of FilletSrf command you will understand the procedure for making fillets with this script. If not experienced with FilletSrf then what you do is to click on two surfaces that you wish to connect with a fillet and the script will make the fillet for those two surfaces as well as all the fillets for neighboring surfaces that are tangent. If the surfaces don’t have good tangent continuity the fillet string will either end or continue with a gap in the string if the tangency error is small. The file fillsrf_examples.3dm (1.0 MB) has a few examples that will allow you to practice and get the hang of where to click to get the script rolling.
Amazing work, thanks for sharing.
would love to see a command line option in the script to allow for using g2 blends instead of defaulting to circular fillets… g2 blends are so much prettier…
Untitled.3dm (28.8 KB)
I can’t do it , I have two box that intersect, I tried it with join and unjoin boxes
Awesome!
Jaw dropping awesome!
Thanks Jim, I love it, great work! The gap dots are super helpful as well.
Thanks for sharing this script!
Hi Jim, just saying thank you also. A lot of thought must have went into this.—-Mark
Thanks @jim for this incredible work! I’ve been reading your comments for years about how fillets could be much better with some automated steps based on fillet _FilletSrf. Thanks again for sharing it, and I hope this ends as a new command for next Rhino’s version.
This script is only designed to work with two sets of tangent surfaces. If you give it two surfaces to fillet and they have no tangent neighbors the script will just make one fillet just like FilletSrf does. It stops when it finds no new tangent surfaces at the end of the last fillet it made.
So you could easily make your two boxes into two sets of tangent surfaces by rounding some corners with FilletsSrf trim=yes. Like this:
boxes.3dm (229.2 KB)
The gap markers tell you that the base surfaces do not have good tangent continuity. I try to create base surfaces that produce no gap markers (gaps well within tolerance). Often when you make a string of fillets with a gap you can Undo and use the gap marker as a guide to fix the continuity issue and then repeat the filleting to get a string with no gaps. Creating surfaces with good continuity that make Fillet strings with no gaps are likely to make all future operations much easier.
However, if you want to fix the gap (and not fix the underlying surface) ,use this macro to do a fast matchsrf:
-matchsrf pause pause Mode=Position PreserveOtherEnd=Tangency MatchByClosestPoints=No
RefineMatch=No AverageSurfaces=Yes IsocurveDirection=Keep enter
Most of the time fixing the gaps will allow trimming and joining to work without problems.
The script doesn’t actually measure the gaps between the fillet ends. It measures the distance between the two arc centers. If the arc centers are less than 1/5 of the model absolute tolerance and the arc planes are less than 1/4 degree out of alignment you will get no gap marker. If the arc centers are between 1/2 and 1.6 times the model tolerance you get a green gap marker. Two fillets with a green gap may join and may trim the base surfaces OK, but I wouldn’t count on it.
Magenta gap markers mean you almost certainly have to do something about it if you want to get trimming and joining to work.
The one situation where you may get a gap even though the base surfaces have good continuity is when the fillet crosses an edge between two surfaces. Here is an example:
gaps.3dm (68.1 KB)
This is a great automation tool for rolling ball fillet, thanks already without having used it yet. But having the distance between rails or distance to edge options would be even nicer, is that possible also? I use distance between rails for the vast majority of my work. And next the blendsrf with the same options of course. Or am I asking too much?
No, I have no plans to write scripts for anything but rolling ball fillets.
I have worked in the metal casting industry in the area of tooling design, for almost 40 years. I have worked on parts used by the major players in the Automotive, Marine, Aerospace, Agriculture, Construction, Oil, Gas and Mining industries and nobody has ever required me to make anything but a rolling ball fillet.
I will write scripts for what I know about. I like to think those scripts produce good geometry.
I don’t know how to even begin to write a script to generate good geometry for what you are asking for.
Fair enough, was worth trying.
Insane! It works like a charm - thank you so much! You just made me love Rhino twice as much!!!
Thank you Jim for this wonderfully useful tool. Really appreciate your sound knowledge and help over the years.
RM