Vertical Feed rates in partially-vertical cuts
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Vertical Feed rates in partially-vertical cuts
Y's are meant to be Z's in your PDF, no @chrisb?
Re: Vertical Feed rates in partially-vertical cuts
Referring to your PDF drawings,
How about:
Vl = fx * Vx + fz * Vz
Where fx = X/L and fz = Z/L
This would eliminate the conditionals you deal with while deciding whether it is a steep or shallow ramp.
In the ramp extremes it degenerates to Vl = Vx or Vl = Vz.
How about:
Vl = fx * Vx + fz * Vz
Where fx = X/L and fz = Z/L
This would eliminate the conditionals you deal with while deciding whether it is a steep or shallow ramp.
In the ramp extremes it degenerates to Vl = Vx or Vl = Vz.
Re: Vertical Feed rates in partially-vertical cuts
Yes sure, I will correct it. My machine has Z and Y swapped and I made my hand notes in the XY plane, making a mistake when typesetting it. I will correct it and replace it in the original post (saves bandwidth).
In fact the length of the ramp is sqrt(x^2 + Y^2 + Z^2) and the horizontal distance is sqrt (x^2+y^2). I have omitted this because I had the feeling it rather obstructs things than clarifying. Should I add to the paper?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Vertical Feed rates in partially-vertical cuts
Keep in mind also the possibility of an arc. I think what you're dealing with here is any horizontal distance traveled vs plunge.
Re: Vertical Feed rates in partially-vertical cuts
Thanks for all the responses!
I changed the Y/Z-swap in the pdf and have a look at the rest tomorrow.
I changed the Y/Z-swap in the pdf and have a look at the rest tomorrow.
The thoughts hold only for G1 commands.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Vertical Feed rates in partially-vertical cuts
I have exactly the same issue with arcs too. E.g. helix drills are feeding too slowly.
This makes me think may be it should be possible to override feed rate as someone else pointed out. I just don't know how that could be done. On the helix drill example, each diameter would need a different override.
Re: Vertical Feed rates in partially-vertical cuts
Seriously, I would expect the coding is reasonably straightforward. What is difficult is the determining the best strategy. I experimented with ramp rates some time back, and I decided that I did not want the full horizontal feed rate. Others clearly have different needs.
I will retract any hint of disagreement in this thread. I can manually correct anything that does not work for my jobs.
Gene
Re: Vertical Feed rates in partially-vertical cuts
what I'm hearing is that the feed rate of "non-vertical-or-horizontal" moves depends on the job?
As a feature request - do we need a "hybrid-feed-strategy"?
Min/Max/Algebraic?
As a feature request - do we need a "hybrid-feed-strategy"?
Min/Max/Algebraic?
Re: Vertical Feed rates in partially-vertical cuts
It looks intriguing, however, it leads to speeds which are too high:
Take the example from my paper with X=8, Z=2, Vx=4, Vz=3.
Your formula yields Vl=4.6
If I project this on the X-direction I get 4.4, which is too much as 4 is the maximum.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Vertical Feed rates in partially-vertical cuts
I am with GeneFC: manual override is sufficient. It might not lead to the maximum possible speed, but the user can use common rules of thumb as herbk has indicated.
It might be sensible to create a feature request anyway so it will not be forgotten if in the far future we will optimize speeds.
The technique presented for G1 commands can be extended to helix ramping. I will think about it and report back.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.