Filleting Tangent Surfaces


Yes and that is the problem Mcneel created that I think I may have found a way to overcome.

The main problem I have with is that I didn’t want to release any code that did additional actions that can’t be undone. In other words, after years of using the code in FilserfEx.py I know the original script is rock solid.

Disclaimer:
I also know that if I add many of the requested features it may not be as reliable (because I have already tried it) and therefore I am OK with adding any features requested but I want to do it in a way that if it fails it will be clear that the failures are something out of my hands. If it does not work don’t ask me to fix it, ask McNeel. The original script only produces the same fillets you can make with FilletSrf command.

For those of you who have asked for the fillet string to be joined after the script completes , here is a new script that essentially adds the macro that you, the user should be able to add after the PythonScript finishes. A bug in Rhino prevents anything to be added in a macro after a python script completes. So this is my attempt to workaround this bug.

Here is the the new script with about a dozen lines added at the end of the old script that emulates the user adding a macro that joins the fillet string and leaves it selected so the users can do with it what they will ( I assume the user wants to use it to trim the base surfaces). The script also produces the joined edges which some users have requested.

Filsrf_crvs2.py (41.2 KB)

The few times I have tested this it works OK. The main import of this version is that I think I have a handle on how to control the undo stack within a script. If that works without fail then more actions that can be undone can be added. I don’t mind adding stuff if it can be undone. That way if the user doesn’t want the additional action they can undo it.

If anyone finds a problem in the way this works let me know. I suspect there may be problems…

As the old song goes:
Trouble ahead Trouble behind
And you know that notion Just crossed my mind

9 Likes