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
(→Actions and Commands: changed columns since there isn't one "main command" // added info about rs_commands) |
(→Actions and Commands: added restrictions table) |
||
Line 20: | Line 20: | ||
The following information is from librecad/src/cmd/rs_commands.cpp | The following information is from librecad/src/cmd/rs_commands.cpp | ||
− | === | + | === Draw === |
{| class="wikitable" | {| class="wikitable" | ||
Line 60: | Line 60: | ||
|} | |} | ||
− | === | + | === Zoom === |
{| class="wikitable" | {| class="wikitable" | ||
Line 88: | Line 88: | ||
|} | |} | ||
− | === | + | === Edit === |
{| class="wikitable" | {| class="wikitable" | ||
Line 108: | Line 108: | ||
|} | |} | ||
− | === | + | === Dimension === |
{| class="wikitable" | {| class="wikitable" | ||
! scope="col" width="128px" | Action | ! scope="col" width="128px" | Action | ||
Line 135: | Line 135: | ||
|} | |} | ||
− | === | + | === Restrictions === |
+ | |||
+ | {| class="wikitable" | ||
+ | ! scope="col" width="128px" | Action | ||
+ | ! scope="col" width="128px" | Long Commands | ||
+ | ! scope="col" width="128px" | Short Commands | ||
+ | |- | ||
+ | | RestrictNothing | ||
+ | | restrict - nothing | ||
+ | | rn | ||
+ | |- | ||
+ | | RestrictOrthogonal | ||
+ | | restrict - orthogonal | ||
+ | | rr | ||
+ | |- | ||
+ | | RestrictHorizontal | ||
+ | | restrict - horizontal | ||
+ | | rh | ||
+ | |- | ||
+ | | RestrictVertical | ||
+ | | restrict - vertical | ||
+ | | rv | ||
+ | |} | ||
+ | |||
+ | === Tool === | ||
+ | |||
{| class="wikitable" | {| class="wikitable" | ||
| ToolRegenerateDimensions || dimregen | | ToolRegenerateDimensions || dimregen | ||
|} | |} | ||
− | === | + | === Modify === |
{| class="wikitable" | {| class="wikitable" | ||
| ModifyTrim || xt, rm, modify - trim (extend) | | ModifyTrim || xt, rm, modify - trim (extend) | ||
Line 167: | Line 192: | ||
|} | |} | ||
− | === | + | === Snap === |
{| class="wikitable" | {| class="wikitable" | ||
| SnapFree || os, snap - none | | SnapFree || os, snap - none | ||
Line 184: | Line 209: | ||
|} | |} | ||
− | === | + | === Selection === |
{| class="wikitable" | {| class="wikitable" | ||
| DeselectAll || tn, deselect - all | | DeselectAll || tn, deselect - all | ||
|} | |} |
Revision as of 20:17, 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 |
Restrictions
Action | Long Commands | Short Commands |
---|---|---|
RestrictNothing | restrict - nothing | rn |
RestrictOrthogonal | restrict - orthogonal | rr |
RestrictHorizontal | restrict - horizontal | rh |
RestrictVertical | restrict - vertical | rv |
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 |