Because it can't assume the initial resting position, so in order to perform a vertical/horizontal move, the first one or two moves cannot be verbose.
That doesn't look right. Can you please show me your code of using Area?
Because it can't assume the initial resting position, so in order to perform a vertical/horizontal move, the first one or two moves cannot be verbose.
That doesn't look right. Can you please show me your code of using Area?
The first move to the retraction height can't be verbose, I agree. But I think all the moves after that can be verbose. It doesn't matter because the path looks perfectly valid to me. I only ask out of curiosity.realthunder wrote: ↑Thu Jul 06, 2017 2:38 amBecause it can't assume the initial resting position, so in order to perform a vertical/horizontal move, the first one or two moves cannot be verbose.
I'm running this script against the attached test file.
Code: Select all
import Path
ss = FreeCAD.ActiveDocument.FeatureArea.getArea().getShape()
shapelist = [ss]
params = {'shapes': shapelist,
'feedrate': 50.0,
'feedrate_v': 50.0,
'verbose': True}
#params['resume_height'] = 1.0
#params['retraction'] = 15
st = Path.fromShapes(start=FreeCAD.Vector(50,20,10), **params)
print(st.Commands)
Path.show(st)
If retraction isn't specified and you're guessing it, I don't think start.z is the best guess. Shape.boundbox.zmax is safer.realthunder wrote: ↑Thu Jul 06, 2017 8:32 am Fixed. Previously, fromShapes() would not generate auto retraction when user specifies the 'start' point. Now, the retraction will be set to start.Z + auto detected step down (which is also used for resume_height). Please check.
What fromShapes sees are only path wires, not the actual milled shape. If 'start' is not give, then it is derived from the path bound, which is why the actual guessed retraction is bound.ZMax + resume_height. But if 'start' is given, and it has now been changed to mean 'feed start', why isn't it a better guess, that is, start.Z+resume_height?
My bad. I just mis-read your reply. You are correct.realthunder wrote: ↑Thu Jul 06, 2017 3:05 pm why isn't it a better guess, that is, start.Z+resume_height?
It's all looking good from my perspective. Please merge your latest PathArea when you can.sliptonic wrote: ↑Thu Jul 06, 2017 3:37 pmMy bad. I just mis-read your reply. You are correct.realthunder wrote: ↑Thu Jul 06, 2017 3:05 pm why isn't it a better guess, that is, start.Z+resume_height?
When will this and recent development(s) be released via your pending commits? Are they burning a hole in your pocket? They are in mine!
After your changes I am not able to use Path profiling tools, when Russian (and maybe others) language is used. (for experimenting it's ok, but it can scare people )