exocubic Posted June 25, 2007 Share Posted June 25, 2007 I'm needing to apply the same fillet to all corners in a drawing. Is it possible to do this in one fell swoop via a script or some other arcane voodoo? Quote Link to comment
Guest Posted June 25, 2007 Share Posted June 25, 2007 You can fillet all corners of a specific shape in one step, but not all the objects in the drawing. To fillet all the corners of an object, set the fillet settings in the Preferences button, then double click on an edge of a particular object. Repeat the steps for the other objects. Quote Link to comment
exocubic Posted June 25, 2007 Author Share Posted June 25, 2007 That helps quite a bit - thanks Katie. It would be very handy to be able to fillet every corner in the drawing, however - I'm making tool paths for a CNC laser cutter, where every sharp corner needs to be filleted at .015" - and there are about 750 said corners. Quote Link to comment
islandmon Posted June 26, 2007 Share Posted June 26, 2007 This is where a 'corner symbol' comes in handy. Quote Link to comment
Gerard Jonker Posted June 27, 2007 Share Posted June 27, 2007 Hi katie, I would like to this "double click to fillet all corners" also work for the chamfer tool! I'm aware of teh riscs involved, so maybe only if the settings are symmetrical? Gerard Quote Link to comment
Charles Chandler Posted July 1, 2007 Share Posted July 1, 2007 The following script will convert anything it can in the drawing to a polyline (including rectangles, polygons, etc.), and then it will set the radius of the fillets to .015". PROCEDURE Example; CONST kFilletRadius = .015"; VAR cnt :INTEGER; x, y :REAL; vertexType :INTEGER; vertexRadius :REAL; criteria :STRING; PROCEDURE FilletPolygon(h :HANDLE); BEGIN h := ConvertToPolyline(h); FOR cnt := 1 to GetVertNum(h) DO BEGIN GetPolylineVertex(h, cnt, x, y, vertexType, vertexRadius); SetPolylineVertex(h, cnt, x, y, 3, kFilletRadius, TRUE); END; END; BEGIN criteria := '(ALL)'; ForEachObject(FilletPolygon, criteria); END; RUN(Example); Quote Link to comment
Charles Chandler Posted July 1, 2007 Share Posted July 1, 2007 Hi Gerard, Chamfers are more difficult than fillets. Questions: * Are all of the angles that need to be chamfered going to be 90 degrees? * Do you want to specify the "legs" of the chamfer, the way the Chamfer Tool does, or do you want to specify the dimension of the face of the chamfer? * It sounds like you want something that would act on the selected object, not on everything in the document, as exocubic wanted. Is that correct? Regards, Quote Link to comment
mike m oz Posted July 1, 2007 Share Posted July 1, 2007 Charles more often than not 45? or symmetrical chamfers are required. Surely it wouldn't be too difficult to have a dialog come up that asks you whether you want the first dimension used on the relative horizontal or vertical surfaces. Quote Link to comment
Charles Chandler Posted July 1, 2007 Share Posted July 1, 2007 Yes, as Gerard said, it wouldn't really be reasonable to have anything but symmetrical chamfers created by a multiple chamfer tool. If the chamfer is not symmetrical, then which way it goes depends entirely on the nature of the part being chamfered, which the tool wouldn't know. So only one dimension needs to be specified. The question is: which dimension? In VW, chamfers are specified as the lengths along the existing sides, measured from the corner to be chamfered (the "first line" and "second line"). But in a machine shop, you'd generally specify the dimension along the diagonal, and then let the machinist figure out the length of the legs. You could assume that most of the edges to be chamfered would be 90 degree angles, so a symmetrical chamfer would produce two 45 degree angles), and the leg dimension would be the same for every chamfer that you did. But smaller or larger angles to be chamfered would require varying the length of the legs to achieve the same chamfer face dimension (the "diagonal" dimension). So, if this tool is going to support chamfering of edges that are not 90 degree angles, I would need to know whether you wanted to specify the legs of the chamfer, or the dimension of the diagonal face of the chamfer. Quote Link to comment
exocubic Posted July 2, 2007 Author Share Posted July 2, 2007 Wow, Charles, this is awesome. I am testing it a little now. Thanks for your efforts, it's really appreciated. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.