So I thought I’d just make my closed curves into extruded solids and fillet that with “Fillet Edge”, but that fails miserably too, seemingly for other reasons.
For context, I’m trying to emboss a QR-code, but I try to avoid making a non-manifold solid because that will spell trouble for creating milling paths in CAM.
This stuff should be a breeze in Grasshopper, but somehow, it’s just a bag of hurt.
Hi @osuire, I share your frustration. I think a lot of components are designed as wrappers for the underlying Rhino Code rather than as tools for a specific workflow. That part is on us to work through.
For me, I’ve started to develop my own components that match my workflow. I’ve updated your file with my own fillet component. It can be buggy, and the corners are C2 rather than Arcs, so be warned. However, for the kind of thing that you are doing, I think it works ok.
I know that most GH tools can only ba as good / bad as their implementation in Rhino.
I heard there were improvements with fillets in V8, but I haven’t checked that out yet…
Thanks for your fillet component ; it’s just amazing !
but still I can’t understand why the fillet works -for instance in this example- on the top-right portion of the curve -which is chamfered- and not on the bottom left portion of the same curve -which is also chamfered-
Thanks for highlighting Curve.CreateFilletCornersCurve. I should give this component a bit more TLC and look at it. If I come up with anything useful, I’ll post it here.
I can’t remember whether I tried that method before. This component was something that I threw together ages ago to get blend curves on corners. It’s been updated every time I find it doesn’t work (as above). I only posted it here to try to help osiure out of a tight spot.
the fillet is a good component but your imported polyline need a preprocess, and this could address a bug if you import real curve contain something like closed arc and this happen again.
seems for an accurate cnc engarving you will be able to find minimum applied fillet radius which is equal to radius of maximum tan-tan-tan (here at chamfered corner).
you could investigate why discontinuity is wrong with polylines : 2351_MOD_QR-Code_001.gh (37.4 KB)
Hmmm… I don’t quite agree.
If you want to be a stickler, you could always argue that the curve doesn’t obey the stringent requirements for the tool to work.
OR, you could consider a good tool as one that does what you expect it to do in most cases, because we are here to get some job done, not fiddling around.
It’s the exact reason why poeple developped the Clipper plugin for curves offsets : because Rhino’s offset tool was just way too picky and limited.
This tool alone allowed me to generate thouthands of parametric steel plates with complex shapes where the vanilla offset would just fail miserably.
here you go, this component use the mentioned component and you can try, difference raise when fillet radius exceed half length of sub curve which seems beautiful: 2351_MOD_QR-Code_002.gh (42.2 KB)