Yes, but I think they mean.. like a floating command line that can be invoked right under the mouse (think split screens).
Yes, but I think they mean.. like a floating command line that can be invoked right under the mouse (think split screens).
This idea evolved across Acad development, so I would not determine for now. Its just resizable window that can be docked, can be floating, can be hidden /like Windows taskbar/, can be invoked under mouse+key combination/hotkey etc. These are technicals.Kunda1 wrote: ↑Fri Feb 16, 2018 1:59 pmYes, but I think they mean.. like a floating command line that can be invoked right under the mouse (think split screens).
Code: Select all
def l():
p1 = raw_input("start point: ")
p1 = [float(n) for n in p1.split(":")[-1].strip().split(",")]
# the split(":")[-1].strip() above is needed because in the FreeCAD py window, raw_input swallows part of the prompt
p2 = raw_input("end point: ")
p2 = [float(n) for n in p2.split(":")[-1].strip().split(",")]
import Draft
Draft.makeLine(FreeCAD.Vector(p1+[0]),FreeCAD.Vector(p2+[0]))
l()
In FreeCAD standard command usually does something without any special need for advanced user interaction. Beyond for example selecting. More complex command or a command with options usually provides a Tasks panel.
When it comes to shortcuts support. On a "low-level workbench aware" customization support. We are likely not there yet 100%. The fact we use multi workbench approach to develop FreeCAD in parallel is likely contributing to this fact. For it to not happen sooner. Users therefore still tend to complain from time to time. From overlay alike shortcuts approach perspective. Like currently seen in ShortCuts module for FreeCAD. We are likely ahead already. Others will need to catch up.