Yes! Our evil master plan to leave enough bugs to annoy people into helping is working!
Yeah, it is!
I would be very glad if I could help. Let's hope that I will be able to spend enough time on it (and not get too frustrated
Yorik's wiki has some helpful information.
I think I stumbled already over this. Yes it was helpful.
I stay logged in to IRC on the #freecad channel if you want to chat.
I'm sorry, but I am not used to this "#" stuff. I prefer mail or something like this forum.
I'll do whatever I can to help you get going.
That's very nice!
Could we start with this:
Code: Select all
# -*- coding: utf-8 -*-
# Macro for initializing Path Job and setting tool and feed rate
import PathScripts.PathJob as PathJob
import PathScripts.PathLoadTool as PathLoadTool
obj = FreeCAD.ActiveDocument.addObject("Path::FeatureCompoundPython", "Job")
tl = obj.Group
tool = Path.Tool()
tool.Diameter = 3.0
tool.Name = str(tool.Diameter)+"mm mill"
tool.CuttingEdgeHeight = 15.0
tool.ToolType = "EndMill"
tool.Material = "HighSpeedSteel"
tl.ToolNumber = 1
# GUI edit tool
obj.ViewObject.Proxy.deleteOnReject = True
# close GUI window
# set feed rates
FreeCAD.ActiveDocument.getObject("TC").HorizFeed = '200 mm/s'
FreeCAD.ActiveDocument.getObject("TC").VertFeed = '200 mm/s'
[color=#BF0040]FreeCAD..ActiveDocument.getObject("TC").HorizRapid = '500 mm/s'[/color]
FreeCAD..ActiveDocument.getObject("TC").VertRapid = '500 mm/s'
FreeCAD..ActiveDocument.getObject("TC").SpindleSpeed = 10000.00
I get this error:
<unknown exception traceback><type 'exceptions.SyntaxError'>: ('invalid syntax', ('/media/jcf/sda2_DOC/8_LINUXandOpenSource/CAD/FreeCAD_macros/path_macros/1_path_init.fcmacro', 32, 9, 'FreeCAD..ActiveDocument.getObject("TC").HorizRapid = \'500\'\n'))
which I find quite strange.
Can you tell me anything about it?