"Key Mode", "Load Command File", "Paste Multiple Commands"

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

"Key Mode", "Load Command File", "Paste Multiple Commands"

sunggus
What is the meaning of these three options in command line? How to use them? Appreciated if anyone can explain how to use them.

Three Options Command

Best regard,
Reply | Threaded
Open this post in threaded view
|

Re: "Key Mode", "Load Command File", "Paste Multiple Commands"

LordOfBikes
Administrator
Keycode Mode is explained here in the forum, see http://forum.librecad.org/keycodes-td5713146.html
Only the place to activate has moved in latest version from preferences to command line menu, and a restart is not necessary anymore.
Commands are explained in the wiki:
https://wiki.librecad.org/index.php?title=Commands
https://wiki.librecad.org/index.php/A_short_manual_for_use_from_the_command_line

For the other two options find explanation in github issues #907 and #1035 please.

Armin
Reply | Threaded
Open this post in threaded view
|

Re: "Key Mode", "Load Command File", "Paste Multiple Commands"

sunggus
Hi Armin, thanks a lot of your kind info. I have tried, both are working. The  #907 and #1035 are very helping. But got confuse regarding the command "z" and "e" in #907. I always got error regarding the two as below:

z
Unknown command: z
e
Unknown command: e

What is the meaning of the two commands? When I deleted both them, no more error at all.

Here are the data I used to plot a mathematical expression: y(t)=e^-t*cos(2*pi*t): That will plot a line following the coordinates. The first command (l-line), I replaced with pl-polyline and spline, they are both working well. So do those testing working well when I tested for "Load Command File" and "Paste Multiple Commands".

For this testing, the data below I did in Excel. Then I saved to Notepad to run "Load Command File", and thence I copied and pasted to the command line to run "Paste Multiple Commands".

l;
0,2.5;
0.1,1.8300721208436;
0.2,0.632504291296238;
0.3,-0.572313549833152;
0.4,-1.35575077228257;
0.5,-1.51632664928158;
0.6,-1.10999485077697;
0.7,-0.383633245070979;
0.8,0.347125714942781;
0.9,0.822304410318461;
1,0.919698602928606;
1.1,0.673245909119379;
1.2,0.232685325220599;
1.3,-0.210542388887464;
1.4,-0.498752836475064;
1.5,-0.557825400371075;
1.6,-0.408344285407009;
1.7,-0.141130783811499;
1.8,0.127700414029388;
1.9,0.302508886940768;
2,0.338338208091532;
2.1,0.247673328817797;
2.2,0.085600147410949;
2.3,-0.0774542163668204;
2.4,-0.183480914765118;
2.5,-0.205212496559747;
2.6,-0.150221467521082;
2.7,-0.0519191138806619;
2.8,0.0469783569504929;
2.9,0.111286800277165;
3,0.12446767091966;
3.1,0.0911139257985621;
3.2,0.0314905343937332;
3.3,-0.028493813833398;
3.4,-0.0674988563894168;
3.5,-0.0754934585557963;
3.6,-0.0552633895236098;
3.7,-0.0190999746005344;
3.8,0.0172823717020998;
3.9,0.0409401258957213;
4,0.0457890972218354;
4.1,0.0335189401057114;
4.2,0.0115847201949567;
4.3,-0.0104822883098736;
4.4,-0.0248314415682501;
4.5,-0.0277724913456058;
4.6,-0.0203302648551854;
4.7,-0.00702648798243333;
4.8,0.00635782924388563;
4.9,0.0150610306360065;
5,0.0168448674977137;

Best regard,