[req] sketch fillet tool
-
FilletTool.rb is designed to make a rectangle with rounded corners. Like you Remus, I couldn't get away from the error message, though. I don't know how a 1 inch radius can be larger than a 24"x24" square.
Still, I don't think that's what you asked for is it, Remus? I don't see a second file, Matt.
-
Your right dave, not quite what i was looking for.
-
give this ago...
might have to rename the files .rbs
as thats what they were originally....
.. i usually just select the 2 lines i want filleted , the put in the radius i want and thats it.
hopefully these should help, one is for the 3d stuff. which im sure i rember working.. I apologies if this isn't very specific, i havn't used them properly for awhile, and remeber it being fairly straight forward.
try Didiers site if not as most of my scripts are from there.
http://www.crai.archi.fr/RubyLibraryDepot/Ruby/RUBY_Library_Depot.htm
hope these help
all the best
matt
-
Couple of quick notes on those scripts: Both are .rbs files, so need to be renamed. fillet just plain doesnt work, ive got a feeling it hasnt been updated since v4, so that could be it. Fillet3d isnt what i was looking for, it just creates filleted geometry form input parameters (fileted cube etc.)
-
@remus said:
This is one of the few things i miss upon returning to SU after my brief flirtation with solidworks.
Its basically a tool that lets you select 2 eddges, specify a radius and then draws in a suitable fillet.
Any chance one of you lovely ruby people could knock this up? i'll buy you a pint...
Remus,
If I understand correctly, you just need a round corner script, specifying a radius at the vertex between two edges.
As two edges are necessarily in a plane, there are exact geometrical solutions with circular arcs, as well as with Bezier curves (degree 2). For each one, you would need to set a number of segments indeed to play with the precision.It is certainly feasible in Ruby. But I thought someone already did it. I remember there was another thread about the same subject (initiated by Ken), see http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=8887&p=53692&hilit=round+corner#p53692.
But apparently this script fillet.rb does not work!
-
Dear Remus,
fillet.rb works fine for me.
Select your two edges and then go to Tools>Fillet
If you look at the lower left hand corner you will see that it is prompting you to enter the fillet radius. Enter a value in the VCB and hit return.
Regards,
Bob -
I missed the little prompt in the corner
Cheers for your help guys, got there in the end despite my incompetence
-
@remus said:
I missed the little prompt in the corner
Cheers for your help guys, got there in the end despite my incompetence
Och, you're not incompetent. You're just working too fast. Probably comes from racing that tandem bike across the channel.
-
2d fillet
Just use the k_tools_50.rb ruby
Geometry/make L option
(you can asign a keystroke to this option and I use K)
Just select the first line.
Input the radius value and hit enter.
Click on the second line and the radius is created.If the radius is zero this will trim/clear the two lines to a corner.
Very handy when using SU in a 2d mode.
Ruby can be found at
http://www.crai.archi.fr/RubyLibraryDepot/Ruby/en_geo_page.htmdtr
-
K-tools does the same job
Use the Round Edge function.
I have it assigned to a shortcut key.
Works great!
Advertisement