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
Jump to: navigation, search
(Actions and Commands: fixed a few errors // added a few entries // updated table structure to include tool names // updated all tables)
(removed table of contents and placed extra information at the bottom -- this is to make the page more convenient as a reference)
Line 1: Line 1:
'''Editorial remark: Some redundancy to [[A_short_manual_for_use_from_the_command_line]]'''
+
__NOTOC__
 
+
== Actions, Tools and Commands ==
==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.
+
 
+
Press Enter after you input a command or an alias you added to the librecad.alias file.
+
 
+
Developers (or the curious) can find the commands in [https://github.com/LibreCAD/LibreCAD/blob/master/librecad/src/cmd/rs_commands.cpp librecad/src/cmd/rs_commands.cpp]
+
  
 
=== Draw ===
 
=== Draw ===
Line 265: Line 247:
 
| ToolRegenerateDimensions || dimregen
 
| ToolRegenerateDimensions || dimregen
 
|}
 
|}
 +
 +
== Learning ==
 +
 +
You can learn about the commands and the command line at:
 +
 +
*[[A_short_manual_for_use_from_the_command_line|A short manual for use from the command line]]
 +
 +
*[[LibreCAD_users_Manual#Using_Command_Line|Using Command Line]]
 +
 +
Developers (and the curious) can find the commands in [https://github.com/LibreCAD/LibreCAD/blob/master/librecad/src/cmd/rs_commands.cpp librecad/src/cmd/rs_commands.cpp]
 +
 +
== Command Alias File ==
 +
 +
You can define command aliases by changing the alias configuration file and restarting 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

Revision as of 04:41, 25 April 2015

Actions, Tools and Commands

Draw

Action Tool Commands
DrawPoint Points po, point
DrawLine Line - 2 Points l, li, line
DrawPolyline Polyline - Polyline pl, polyline
DrawLineParallel Line - Parallel o, pa, offset, parallel
DrawArc3P Arc - 3 Points a, ar, arc
DrawCircle Circle - Center, Point ci, circle
DrawLineRectangle Line - Rectangle rec, rect, rectangle
DrawMText Text - MText mtext
DrawText Text - Text text

View

Action Tool Commands
ZoomRedraw Redraw zr, rg, regen, redraw
ZoomWindow Window Zoom zw
ZoomAuto Auto Zoom za
ZoomPan Zoom Panning zp
ZoomPrevious Previous View zv

Edit

Action Tool Commands
EditUndo Undo u, undo, oo
EditRedo Redo r, redo, uu
EditKillAllActions  ??? k, kill

Dimension

Action Tool Commands
DimAligned Aligned da
DimLinear Linear dr
DimLinearHor Horizontal dh
DimLinearVer Vertical dv
DimLeader Leader ld

Modify

Action Tool Commands
ModifyTrim Trim xt, rm
ModifyTrim2 Trim Two tm
ModifyMove Move / Copy mv
ModifyBevel Bevel ch, fillet (bug)
ModifyMirror Mirror mi
ModifyRotate Rotate ro
ModifyScale Scale sz
ModifyStretch Stretch ss
ModifyDelete Deleted Selected er
BlocksExplode Explode xp

Snap

Action Tool Commands
SnapFree Free Snap os, sf
SnapGrid Snap on Grid sg
SnapEndpoint Snap on Endpoints se
SnapIntersection Snap Intersection si
SnapCenter Snap Center sc
SnapMiddle Snap Middle sm
SnapOnEntity Snap on Entity np, sn
SnapDist Snap Distance sd
RestrictNothing Restrict Nothing rn
RestrictOrthogonal Restrict Orthogonal rr
RestrictHorizontal Restrict Horizontal rh
RestrictVertical Restrict Vertical rv

Selection

Action Tool Commands
DeselectAll Deselect All tn
SelectAll Select All sa

Tool

ToolRegenerateDimensions dimregen

Learning

You can learn about the commands and the command line at:

Developers (and the curious) can find the commands in librecad/src/cmd/rs_commands.cpp

Command Alias File

You can define command aliases by changing the alias configuration file and restarting 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