## Search found 261 matches

Mon Aug 14, 2017 5:17 am
Forum: Path/CAM
Topic: Drillbit tip compensation
Replies: 22
Views: 1726

### Re: Drillbit tip compensation

Even better. If I type angle for one side, then it will be less than90°, If I type from edge to edge, itwill be biger than 90°. We can use it, so, everyone will be happy. def drillTipLength(tool): """returns the length of the drillbit tip.""" if tool.Diameter == 0.0: return 0.0 if tool.CuttingEdgeAn...
Mon Aug 14, 2017 4:45 am
Forum: Path/CAM
Topic: Drillbit tip compensation
Replies: 22
Views: 1726

### Re: Drillbit tip compensation

Oh, no, I've finaly understood where I was wrong. The formula slipthonic used was to calculate only half of angle... That's what you all are talking about!!! Sorry. then please, someone remove my patch. And IF you garee, that angle isfrom edge to edge, then calculation should look like this: def dri...
Mon Aug 14, 2017 4:35 am
Forum: Path/CAM
Topic: Drillbit tip compensation
Replies: 22
Views: 1726

### Re: Drillbit tip compensation

We need to make sure we're consistent with other cutter types. We're re-using the cutting edge angle and I I'm not sure how that attribute should be interpreted for end-mills, face-mills, etc. I assumed it was 1/2 the tip angle and doubled it for the drillTipLenght() because that's how heekscnc did...
Mon Aug 14, 2017 4:15 am
Forum: Path/CAM
Topic: Drillbit tip compensation
Replies: 22
Views: 1726

### Re: Drillbit tip compensation

See attached image for the calculation of the tip length. Using 59° seems to be correct if using the cotangens. And sorry for the handwriting, it was so much faster then creating a pdf. The way it is calculated in FreeCAD \$ python >>> import math >>> theta = math.radians(118) >>> print(theta) 2.059...
Sun Aug 13, 2017 7:41 pm
Forum: Path/CAM
Topic: Drillbit tip compensation
Replies: 22
Views: 1726

### Re: Drillbit tip compensation

Tip angle is always calculated on both sides, so it is 118°, not 59. Now if I create 10mm tool with 118° angle, add a tip lenght compensation, export it, And I get Z2.66, so it is higher then should be. I checked and rechecked again, it always goes higher. just calculate obj.FinalDepth.Value + tipl...
Sun Aug 13, 2017 7:33 pm
Forum: Path/CAM
Topic: Drillbit tip compensation
Replies: 22
Views: 1726

### Re: Drillbit tip compensation

How is the tip compensation supposed to work? For simplicity let's assume that we have a 10mm twist drill with 45deg angle (typically it is 59deg I think, but math is easy with 45..) That means that the conical shape or the tip of the drill is 5mm long. Now you want to drill a hole from starting de...
Sun Aug 13, 2017 4:56 pm
Forum: Path/CAM
Topic: Drillbit tip compensation
Replies: 22
Views: 1726

### Drillbit tip compensation

Don't know how, but after some forking/deleting of freecad git I finaly made a tiny pull request, which must be fixed.
Sun Aug 13, 2017 3:28 pm
Forum: Path/CAM
Topic: My first attempt to make a Fanuc postprocessor
Replies: 25
Views: 3469

### Re: My first attempt to make a Fanuc postprocessor

Ok, updating my postprocessor again. Fixed R parameter recalculation in canned cycles while using offsets (fixtures). Added names of tools. Sometimes they are needed, when different worker doesn't know what tool was used. Returned tool change T command, when tool is in the hand. This caused one prob...
Sun Aug 13, 2017 2:18 pm
Forum: Path/CAM
Replies: 9
Views: 725

### Re: What about machine settings?

Oh come on! You are either implying that we don't care about your requirements or that we don't understand them. Oh... people... I don't push someone to do something I need, not crying that I am alone and nobody cares of me, and I don't think that I am smartest in the world (or even smartest in my ...
Sun Aug 13, 2017 12:14 pm
Forum: Path/CAM