We have moved to https://dokuwiki.librecad.org/
Lots of content was already moved to the new wiki, but there is still work to do. If you want to contribute, please register a new account at https://dokuwiki.librecad.org/
This wiki will be kept for a while to keep search engine results valid. Moved sites may be deleted here in future.
Difference between revisions of "Commands"
From LibreCAD wiki
(→DIMENSION) |
(→Actions and Commands: changed columns since there isn't one "main command" // added info about rs_commands) |
||
Line 16: | Line 16: | ||
You can press the space-bar or [Ctrl + M] to focus on the command line. | You can press the space-bar or [Ctrl + M] to focus on the command line. | ||
− | You can input | + | You can input a long or short command, or an alias you added to the librecad.alias file. |
+ | |||
+ | The following information is from librecad/src/cmd/rs_commands.cpp | ||
=== DRAW === | === DRAW === | ||
Line 22: | Line 24: | ||
{| class="wikitable" | {| class="wikitable" | ||
! scope="col" width="128px" | Action | ! scope="col" width="128px" | Action | ||
− | ! scope="col" width=" | + | ! scope="col" width="128px" | Long Commands |
− | ! scope="col" width="128px" | | + | ! scope="col" width="128px" | Short Commands |
|- | |- | ||
| DrawPoint | | DrawPoint | ||
Line 38: | Line 40: | ||
|- | |- | ||
| DrawLineParallel | | DrawLineParallel | ||
− | | offset | + | | offset, parallel |
− | | o | + | | o, pa |
|- | |- | ||
| DrawArc3P | | DrawArc3P | ||
Line 53: | Line 55: | ||
| rec, rect, rectang | | rec, rect, rectang | ||
|- | |- | ||
− | | DrawMText | + | | DrawMText |
| mtext | | mtext | ||
| text | | text | ||
Line 62: | Line 64: | ||
{| class="wikitable" | {| class="wikitable" | ||
! scope="col" width="128px" | Action | ! scope="col" width="128px" | Action | ||
− | ! scope="col" width=" | + | ! scope="col" width="128px" | Long Commands |
− | ! scope="col" width="128px" | | + | ! scope="col" width="128px" | Short Commands |
|- | |- | ||
| ZoomRedraw | | ZoomRedraw | ||
Line 70: | Line 72: | ||
|- | |- | ||
| ZoomWindow | | ZoomWindow | ||
− | |||
| zoom - window | | zoom - window | ||
+ | | zw | ||
|- | |- | ||
| ZoomAuto | | ZoomAuto | ||
− | |||
| zoom - auto | | zoom - auto | ||
+ | | za | ||
|- | |- | ||
| ZoomPan | | ZoomPan | ||
− | |||
| zoom - pan | | zoom - pan | ||
+ | | zp | ||
|- | |- | ||
| ZoomPrevious | | ZoomPrevious | ||
− | |||
| zoom - previous | | zoom - previous | ||
+ | | zv | ||
|} | |} | ||
Line 90: | Line 92: | ||
{| class="wikitable" | {| class="wikitable" | ||
! scope="col" width="128px" | Action | ! scope="col" width="128px" | Action | ||
− | ! scope="col" width=" | + | ! scope="col" width="128px" | Long Commands |
− | ! scope="col" width="128px" | | + | ! scope="col" width="128px" | Short Commands |
|- | |- | ||
| EditUndo | | EditUndo |
Revision as of 20:06, 23 April 2015
Editorial remark: Some redundancy to A_short_manual_for_use_from_the_command_line
Contents
Command Alias File
You can define command aliases by changing the alias configuration file and restart LibreCAD.
Windows
- C:\Users\[USERNAME]\AppData\Local\LibreCAD\librecad.alias
Mac
- $HOME/Library/Application Support/LibreCAD/librecad.alias
Linux
- $HOME/.local/share/data/LibreCAD/librecad.alias
Actions and Commands
You can press the space-bar or [Ctrl + M] to focus on the command line.
You can input a long or short command, or an alias you added to the librecad.alias file.
The following information is from librecad/src/cmd/rs_commands.cpp
DRAW
Action | Long Commands | Short Commands |
---|---|---|
DrawPoint | point | po |
DrawLine | line | l, li |
DrawPolyline | polyline | pl |
DrawLineParallel | offset, parallel | o, pa |
DrawArc3P | arc | a, ar |
DrawCircle | circle | ci |
DrawLineRectangle | rectangle | rec, rect, rectang |
DrawMText | mtext | text |
ZOOM
Action | Long Commands | Short Commands |
---|---|---|
ZoomRedraw | redraw | zr, rg, regen |
ZoomWindow | zoom - window | zw |
ZoomAuto | zoom - auto | za |
ZoomPan | zoom - pan | zp |
ZoomPrevious | zoom - previous | zv |
EDIT
Action | Long Commands | Short Commands |
---|---|---|
EditUndo | undo | u |
EditRedo | redo | r |
EditKillAllActions | kill | k |
DIMENSION
Action | Long Commands | Short Commands |
---|---|---|
DimAligned | dimension - aligned | da |
DimLinear | dimension - linear | dr |
DimLinearHor | dimension - horizontal | dh |
DimLinearVer | dimension - vertical | dv |
DimLeader | dimension - leader | ld |
TOOL
ToolRegenerateDimensions | dimregen |
MODIFY
ModifyTrim | xt, rm, modify - trim (extend) |
ModifyTrim2 | tm, modify - multi trim (extend) |
ModifyMove | mv, modify - move |
ModifyBevel | ch, modify - bevel (chamfer) |
ModifyMirror | mi, modify - mirror |
ModifyRotate | ro, modify - rotate |
ModifyScale | sz, modify - scale |
ModifyStretch | ss, modify - stretch |
ModifyDelete | er, modify - delete (erase) |
EditUndo | oo, modify - undo (oops) |
EditRedo | uu, modify - redo |
BlocksExplode | xp, modify - explode |
SNAP
SnapFree | os, snap - none |
SnapGrid | sg, snap - grid |
SnapEndpoint | se, snap - end |
SnapIntersection | si, snap - intersection |
SnapCenter | sn, snap - center |
SnapMiddle | sm, snap - middle |
SnapOnEntity | np, snap - nearest point |
SELECTION
DeselectAll | tn, deselect - all |