commands missing

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

commands missing

Methusalem
Round about 3 weeks some commands don´t work any more.

In the past (~end of Nov. 2025) it was no problem to use the command "offset" in the command line.
Now the result ist the error code "Unknown command: offset", also when using "o" for this action.

Only the commands "pa" works and a (for me) new wording command "lineoff" works.

What happend to the "old" commands?
Has there been an update, I missed?

Version: v2.2.1.2
compiler: GNU GCC 8.1.0
compiled on: Jul 13 2025
Qt Version: 5.15.2
Boost Version: 1.87.0
Reply | Threaded
Open this post in threaded view
|

Re: commands missing

dxli
Hi Methusalem,

The current commands for 2.2.1.x is defined here:

https://github.com/LibreCAD/LibreCAD/blob/2.2.1/librecad/src/cmd/rs_commands.cpp#136


I know it's not the best way of documentation, but it's totally what's delivered to the end users.

Beyond that, you can always use the alias feature to specify your own version of commands:

Standard locations (if you prefer direct access):
Windows: %AppData%\Local\LibreCAD\librecad.alias
macOS: ~/Library/Application Support/LibreCAD/librecad.alias
Linux: ~/.local/share/LibreCAD/LibreCAD/librecad.alias (or ~/.local/share/data/LibreCAD/librecad.alias)

The librecad.alias file is at text file:

c	circle          # makes "c" = circle (common AutoCAD style)
z	zoom            # "z" for zoom
o	offset          # "o" for offset
myline	line        # your own custom alias

This way, "c" would be an alias for the command "circle". Just quit all running LibreCAD instances, replace/edit your alias file, and start LibreCAD again. Then, typing in the aliases to test, for example, type in "c" (without the quotation, of course).

In addition, visit our development page: https://github.com/LibreCAD/LibreCAD to try "Latest Builds" for 2.2.1.x(stable) and 2.2.2-alpha(development).

For 2.2.2-alpha, the default command and aliases are defined at:

https://github.com/LibreCAD/LibreCAD/blob/master/librecad/src/cmd/lc_commandItems.h

Methusalem wrote
Round about 3 weeks some commands don´t work any more.

In the past (~end of Nov. 2025) it was no problem to use the command "offset" in the command line.
Now the result ist the error code "Unknown command: offset", also when using "o" for this action.

Only the commands "pa" works and a (for me) new wording command "lineoff" works.

What happend to the "old" commands?
Has there been an update, I missed?

Version: v2.2.1.2
compiler: GNU GCC 8.1.0
compiled on: Jul 13 2025
Qt Version: 5.15.2
Boost Version: 1.87.0