Ramp entry (helix) too steep
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Ramp entry (helix) too steep
Hi,
The ramp/helix dressup is quite dummy. The helix algorithm simply looks for a straight down non-rapid movement and a closed loop of constant-Z movement after that. If such condition is found, it is replaced with a helix covering the depth of the original Z depth. So because the original operation (profile in this case) is made so that the first move is made from safe height to the first step depth as a continuous feed move, the helix dressup has nothing else to do than to replace the whole depth with a helix. Like said, lowering the safe height close to the surface of the stock is the best way to avoid cutting too much air right now. Do all the operations have the Start Depth parameter? It maybe could be done that the plunge movements above that height are simply ignored by the dressup.. I'll try to play with that idea some night next week..
roivai
The ramp/helix dressup is quite dummy. The helix algorithm simply looks for a straight down non-rapid movement and a closed loop of constant-Z movement after that. If such condition is found, it is replaced with a helix covering the depth of the original Z depth. So because the original operation (profile in this case) is made so that the first move is made from safe height to the first step depth as a continuous feed move, the helix dressup has nothing else to do than to replace the whole depth with a helix. Like said, lowering the safe height close to the surface of the stock is the best way to avoid cutting too much air right now. Do all the operations have the Start Depth parameter? It maybe could be done that the plunge movements above that height are simply ignored by the dressup.. I'll try to play with that idea some night next week..
roivai
Re: Ramp entry (helix) too steep
Would that address the steepness issue?
electrical engineer
Ubuntu or Mint
Mendel 3d-printer/OctoPrint
LinuxCNC
Optimum BF20L mill
Ubuntu or Mint
Mendel 3d-printer/OctoPrint
LinuxCNC
Optimum BF20L mill
Re: Ramp entry (helix) too steep
I think it would. I tried that out and it works quite OK (based on the paths shown here, no actual machining or even simulation tried..)
So I added a parameter to the dressup to ignore movements above start depth of the base object. To test I created a helix and exaggerated the clearance height a bit:
Now, with the ignore option enabled, the first round of the helix is not steep, but the tool is taken directly down to the start depth and the first loop of the helix is started: Would that be something useful? It is still rough at the edges, I'm sure, but I can try to test it a bit more and then generate a Pull Request for others to try as well. One question already comes to mind: Is there an easy method already made to look for the Start Depth (or any other parameter) of the underlying operation in case of nested dressup? For example, if I first add Tags dressup and ramp entry above that, the base operation of the ramp dressup does not have the Start Depth parameter.. Or do I just need to iterate until there is no Base.Base.Base..?
Re: Ramp entry (helix) too steep
Hi roivai,
looks good!
Because i have had problems with "creating holding tags before a a ramp entry" in the past (it's some time gone since...), for me i stick to the rule "holding tags at last"...
Did you change the behavior of the first round only by the helical ramp or at every ramp style?
looks good!
Because i have had problems with "creating holding tags before a a ramp entry" in the past (it's some time gone since...), for me i stick to the rule "holding tags at last"...
Did you change the behavior of the first round only by the helical ramp or at every ramp style?
Gruß Herbert
Re: Ramp entry (helix) too steep
`PathDressup.baseOp` is what you're looking for - although, it might not be what the user wants. There might be dressups that have specifically altered the StartDepth before the ramp entry ....roivai wrote: ↑Mon May 21, 2018 8:04 pm... One question already comes to mind: Is there an easy method already made to look for the Start Depth (or any other parameter) of the underlying operation in case of nested dressup? For example, if I first add Tags dressup and ramp entry above that, the base operation of the ramp dressup does not have the Start Depth parameter.. Or do I just need to iterate until there is no Base.Base.Base..?
In cases like this I would probably introduce a new parameter to the ramp entry op so users can select the depth at which they want to start the ramp.
Re: Ramp entry (helix) too steep
That is definitely a good rule and I highly recommend it (and use it religiously). I can't think of a reason why anybody would want to dress up holding tags - but I'm sure somebody will come up with one .
Re: Ramp entry (helix) too steep
I changed all the ramp/helix entry methods.
Yes - a new parameter would be probably the best - maybe setting it to the PathDressup.baseOp.StartDepth when the dressup is created. I will try to create a pull request tonight or tomorrowmlampert wrote: ↑Mon May 21, 2018 9:20 pm
`PathDressup.baseOp` is what you're looking for - although, it might not be what the user wants. There might be dressups that have specifically altered the StartDepth before the ramp entry ....
In cases like this I would probably introduce a new parameter to the ramp entry op so users can select the depth at which they want to start the ramp.
Re: Ramp entry (helix) too steep
Applause!
electrical engineer
Ubuntu or Mint
Mendel 3d-printer/OctoPrint
LinuxCNC
Optimum BF20L mill
Ubuntu or Mint
Mendel 3d-printer/OctoPrint
LinuxCNC
Optimum BF20L mill
Re: Ramp entry (helix) too steep
Here's the commit:
https://github.com/pekkaroi/FreeCAD/com ... de0a25a53f
So now the dressup contains new parameters IgnoreAbove (true/false) and IgnoreAboveDepth. (Please, come up with better names). The IgnoreAboveDepth is set to the start depth of the base op when the dressup is created, but it does not follow the depth any more, user can set it to whatever. On very limited testing it seems to work fine, but as always, there are probably some hiccups I missed. Any comments before I make a PR?
https://github.com/pekkaroi/FreeCAD/com ... de0a25a53f
So now the dressup contains new parameters IgnoreAbove (true/false) and IgnoreAboveDepth. (Please, come up with better names). The IgnoreAboveDepth is set to the start depth of the base op when the dressup is created, but it does not follow the depth any more, user can set it to whatever. On very limited testing it seems to work fine, but as always, there are probably some hiccups I missed. Any comments before I make a PR?