keyboard shortcuts
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
keyboard shortcuts
Hello,
I've installed Freecad 4075 from the AUR in Arch.
I can't manage to use keyboard shortcuts, for example, when I press "L" to draw a line, nothing happens. Am I missing something ?
Thank you !
I've installed Freecad 4075 from the AUR in Arch.
I can't manage to use keyboard shortcuts, for example, when I press "L" to draw a line, nothing happens. Am I missing something ?
Thank you !
Re: keyboard shortcuts
Did you create a document and inserted a sketch object into there? And the sketch object must also be in editing mode. To do so just double-click on it. You'll see that the according tree item is yellow highlighted.
That the shortcut is not working is an indication that the command is inactive and with the above conditions you make it active.
That the shortcut is not working is an indication that the command is inactive and with the above conditions you make it active.
Re: keyboard shortcuts
Thank you !
Shortcuts are working in the sketch mode.
Why can't we use the shortcuts for 2d drafting outside the sketch mode ? I ask for this because the line command is active but we have to click the icon each time we draw a line
Regards
Shortcuts are working in the sketch mode.
Why can't we use the shortcuts for 2d drafting outside the sketch mode ? I ask for this because the line command is active but we have to click the icon each time we draw a line
Regards
Re: keyboard shortcuts
As far as I can see for none of the commands in the Draft menu a shortcut is defined. But you should be able to customize the commands you often use to set a shortcut for them. Go to Tools > Customize > Keyboard. Then select the category Python (because the whole Draft module is written in Python), select the command, defined a shortcut and click on Assign.
Re: keyboard shortcuts
Maybe I should define a set of "default" shortcuts in the draft module? Werner, is there a way to do that?
Re: keyboard shortcuts
Yes, this can be added easily. We just need to expand the resource map of a python command. Then in C++ I have to write a few lines of code to support that.Maybe I should define a set of "default" shortcuts in the draft module? Werner, is there a way to do that?
Re: keyboard shortcuts
OK, done with rev. 4140.
The GetResource method now should something like:
The GetResource method now should something like:
Code: Select all
def GetResources(self):
return {'Pixmap' : 'Draft_Arc',
'Accel' : "CTRL+H",
'MenuText': QtCore.QT_TRANSLATE_NOOP("Draft_Arc", "Arc"),
'ToolTip': QtCore.QT_TRANSLATE_NOOP("Draft_Arc", "Creates an arc. CTRL to snap, SHIFT to constrain")}
Re: keyboard shortcuts
Perfect! I'll adapt the command resources.
Re: keyboard shortcuts
Hello,
As of v.0.17 build 13452:
Is shortcuts feature to be fully functional in 0.17 release?
As one may notice its hardly functional so far and it'd be VERY useful for smooth workflow...
As of v.0.17 build 13452:
Is shortcuts feature to be fully functional in 0.17 release?
As one may notice its hardly functional so far and it'd be VERY useful for smooth workflow...
cheers,
Re: keyboard shortcuts
It's functional since 2011 What did you find that doesn't work?