Hi, I am not sure if there is a way already to do it, but it would be helpful to have FilletCurve work with a interactive radius preview. Currently we have to know the radius to fillet and while tracing maps or shapes quite often the radius is just a visual thing, the numbers don’t matter. The closest tool to be used is Arc - Tangent to Curves with nice interactive preview, but it still requires several extra clicks to re-trim them to the radius. Maybe Fillet command option “Interactive=Yes/No”? if yes, after picking both curves to fillet we could mouse-move to adjust the fillet radius and on confirm click Rhino would add fillet/trim the curves?
! _-Runscript (
Rhino.Command "_Arc _Tangent Pause"
If Rhino.LastCommandResult = 0 then
Rhino.SelectObjects(Rhino.LastCreatedObjects())
Rhino.Command "_Trim"
End if
)
Hi Kyle, thanks - I can’t open the YT Item - is it not public?
Not really, apart from not creating perfect arcs, it literally “does not cut it”, meaning we can’t get two segments of polyline and fillet with it and auto-trim the curve as the fillet does.
The closest interactive tool that has a nice preview is Circle TanTanTan or Act Tangent to curves but these don’t trim either, hence the original request.
I played with this a bit today to see if anything useful could be done in the shorter term - I think semi-useful might describe it at the moment, but feel free to play around and see if it works well enough to help or at least show a workflow that makes some sense.
inputs must be separate curves, no joining or extending yet
you can type a number and get that exact fillet as well.
dynamic preview currently only draws an arc for the blend style.
Hi Pascal, how to use the command after moving the rhp file into Rhino? What’s the alias added for this command?
Edit: Found it - it’s “FilletCrv”. However, that “Pick point” thing does nothing. Could it be replaced with writing the number in the command line instead? Without the need to press “Radius” in the command line first. If I write a number in the command line without pressing “Radius” first, then the end result is a missing fillet curve.
Also, the Esc key can’t cancel the command
This is a nice concept of how the fillet should work with the interactive preview - thanks for working on this!
A few suggestions to make it a bit more useful:
allow ESC to cancel the command when already in the “intercactive” mode
seems like when I pick the curves near the corner to be filleted, not the full range of possible fillets are available. It only works when I pick the curves near their far ends - I can provide a sample if this is not clear
any way to change the interactive text size (could not find that in the python code)
lastly - most of the time we use FilletCrv on two segments of closed polyline/polycurve; I know this is harder to do, but if that worked the script would be full-feature tool
Yep, I see this, thanks. Used to work… @Rhino_Bulgaria - fixed, above.
And yes to Esc…
Esc fix is more of a nuisance.
@Jarek - an example would be helpful, thanks - I do know that if you stray too far from the ends it stops working, that may be what you are reporting - I don’t know why yet…
Also, Jarek, the text size is on this line, the last int, in pxels. I can add it as an option as well I suppose:
Hi Jarek - yep that is what I was referring to - I’ll work on it. (See if tracking nearer the second curve is better) . My cheap way of getting the tangent points is to use a Circle.TryFitCircleTT() and this seems to be what is falling down, though it looks like it ought to work - I’ll fuss around some more.
Also, re-re- updated above to include text size option…
but the seed is something close to the intersection ? or closestPoint to each curve(segement) from the mouse ?
but i like the idea…of interactive fillet
(haven t tried the script)
i would love to have the ability to enter a number, even after the preview is active…
let s say the preview shows a 7.892 … i want to type 8