Posted by dazky on Jun 14, 2014; 11:49pm URL: https://forum.librecad.org/Short-cuts-tp5710005p5710060.html
Hi, I reada discussion of shortcuts and would
like towritea few notesand
observations. I workas a civil engineerwithAutoCADover15
years andwith
other smallerCADapplications. I watchfor a long timethisprojectandI reallylike it. UnfortunatelyI do not havetimeto get involvedwith,in all the timeI only
installedandinspected thesource code.
I have somesuggestionstoshortcutsand hotkeys.
1) Each commandorshortcuttypedon the commandline
shouldbeconfirmed.AutoCADis confirmedSPACEorENTER.
Confirmationdoes not stayaway from workand
solvethe problemwith similarabbreviations.
Eg.l= line,polyline=ll,lll=rectangle.The more commands,the more necessarytheconfirmation.
2) I studied"rs_commands.cpp"maynot fully
understandall ofthe links,butI have someobservations.
2a)
Eachcommand shouldhave
a basicname-independentlanguage.
Autocadhas_englishNameas_line,_circle. Thus,it isveryadvantageous
for usein macrosareindependent of theuser's language.
2b) Definitioncommandshortcutsin the"rs_commands.cpp"I find itcomplicated.
I thinkthere shouldbedefinedonlybasiccommandsuch asmainCommands.insert("_line"RS2::ActionDrawLine);
2c) Customcommand namesshouldbe defined"librecad.alias"asthe format _line:line,l,if _circle:circle,c,ci,yyya
Thus,I thinkit would bevery
transparentto the user andthusshouldcomplete control over thedefinitionof shortcuts.
Also,there couldbe defined
hotkeys orpossiblyactionwith the mouse
(eg. CTRL + leftmouse button) _save:*CTRL+S,save,s,sa
_regen: *CTRL+*LB,regen,rr
3) I think
that everyaction shouldhave acommenton the commandline. When I pressCTRL+Sfor example,in
addition tosaving the fileshouldappearin the command linecommand
executed.
Rather,it would be appropriatetoeveryhotkey/ commandmenu / click on theicon
sentthe appropriate commandin the command lineprocessing.
AutocadthusallowstheICONeachdefine a custom command.This is usefulforcommandswith
multipleoptions. e.g. circle;3P- switches on theinsert
modeby entering thecircleof three points circle;CR- switches on theinsert
modeby entering thecirclecenter and radius
Iconsendsthe command lineof
thecommandand the userwill do
the rest.
4) PressEnteror SPACE in an emptycommand lineshouldcall the
previous command.
Even thatwhichwasspecifiedviahotkeys(egCTRL+S)
5) Press the
up arrowshould beinserted intothe command
linerecentlysent commands/textandallowitsediting.
It'shandyforrepairstyposwhen enteringlongcommands.
6) Very
usefulis theautomatic biddingordersoverenteringthe name ofthe command /shortcut to thecommand
line. eg "pol"- offers"polyline","polylineedit",
etc.
XXX) Oneideainthe distant future,whichis not inAutoCAD.
Dialog,whichwouldbe able to showsomething likethe
command line (or
the ability toturn on the display
in command line), where theyusedtocontinuouslyrecord theinternalvariables /settings. Thereshouldbethe possibility to
changeanysettingspossiblyinvoke help. Eg.
usingAutocadmirrorhas two variantsmirroringtexts -Yes / No.
This is controlled byan internalvariable
thatisnecessary to rememberit
orcomplexsearch. It is
similarto the other commands,
is a largeset of variablesthat controltheirbehaviorand not allare easy to findand
set.
It would begood to knowwhich settingswere
usedwhen callingthe command.
I do not knowexactlyhowthis isnowsolvedinLibreCadu,but sooneror later you willhave to deal withprocess
alarge number of settingsand this wouldbe
appropriate todeal withat the same time.
David + google translator
Dne 8.6.2014 1:19, R. van Twisk [via
LibreCAD] napsal(a):
Don't forget that ctrl-c ctrl-v (or cmd versions for
OSX) nice, but in a CAD world we need to be precise.
What should d happen when you do 'ctrl-v'? Should it paste at the
cursor position? What's the reference position?
It's not as simple as let's put XYZ on the clipboard and/or copy
it back from it.
I di agree that having ctrl-v/ctrl-c working cross platform AND
between different applications would be sweet. Unfortunately that
may be a lot of work. Is there anybody that can step forward and
do some research?
If you reply to this email, your
message will be added to the discussion below: