Search found 81 matches

by pietro_72_
Tue Sep 03, 2019 8:07 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: infinite line
Replies: 4
Views: 5658

Re: infinite line

OK, thanks

Or even so? :
return new RXLineEntity (doc, new RXLineData (p1, p2.operator_subtract (p1)));
by pietro_72_
Mon Sep 02, 2019 9:40 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: infinite line
Replies: 4
Views: 5658

infinite line

Hello

How do I create an infinite line in ECMAScript?
by pietro_72_
Wed Aug 22, 2018 10:06 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: Do you always need to restart QCAD to test scripts?
Replies: 5
Views: 12701

Re: Do you always need to restart QCAD to test scripts?

Su Ubuntu 18.04.1 LTS 64 bit -always-load-scripts non funziona deepl translation On Ubuntu 18.04.1 LTS 64 bit -always-load-scripts does not work results on Terminal: pietro@pietro-ubuntu-desktop:~$ "/home/pietro/opt/qcadcam-3.20.1-pro-linux-x86_64/qcad" "-always-load-scripts" QCAD version 3.20.1 10:...
by pietro_72_
Tue Jun 05, 2018 9:32 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: My Program works on QCAD 3.16.7 but does not work on QCAD/CAM 3.20
Replies: 2
Views: 6479

My Program works on QCAD 3.16.7 but does not work on QCAD/CAM 3.20

Ciao Ieri ho acquistato QCAD/CAM 3.20 e ho provato a copiare un i file di un mio programma dalla cartella QCAD\scripts\Misc\MiscDraw\OrthogonalProjections\.... di QCAD 3.16.7 ,usato in precedenza (in cui il programma in costruzione funzionava correttamente), nella cartella QCADCAM\scripts\Misc\MiscD...
by pietro_72_
Sat Aug 26, 2017 6:22 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: Is there a script mode to get the position of the line where an error occurs?
Replies: 0
Views: 7657

Is there a script mode to get the position of the line where an error occurs?

Hello Is there a script mode to get the position of the line where an error occurs? With this code:     try {         .........         .........     }     Catch (e) {       EAction.handleUserMessage ( "");       EAction.handleUserMessage ("Error Start Tracking");       EAction.handleUserMessage (e....
by pietro_72_
Tue Aug 08, 2017 7:02 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: Do you always need to restart QCAD to test scripts?
Replies: 5
Views: 12701

Re: Do you always need to restart QCAD to test scripts?

Thank you

it works

I did QCAD in 2 ways:
"...... \ qcad.exe" "-always-load-scripts" "-enable-script-debugger" "-rescan" // to find bugs

is
 
"....... \ qcad.exe" // running normally without debugger

I did not realize that it was missing from the latter "-always-load-scripts"
by pietro_72_
Sun Jul 30, 2017 5:06 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: Do you always need to restart QCAD to test scripts?
Replies: 5
Views: 12701

Do you always need to restart QCAD to test scripts?

Ciao a tutti Ho la versione 3.16.7.0 (3.16.7) di QCAD Per testare gli script in ECMAScript dopo le modifiche è sempre necessario riavviare QCAD o ora c'è un altro modo? Translation by google Hello to all I have QCAD version 3.16.7.0 (3.16.7) To test the scripts in ECMAScript after the changes you al...
by pietro_72_
Sun Jul 30, 2017 4:08 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: How can I get the ID of a polyline I'm drawing?
Replies: 1
Views: 5412

Re: How can I get the ID of a polyline I'm drawing?

I resolved this way:

Var pl = new RPolylineEntity (document, new RPolylineData ());
......
.......
......
EAction.handleUserMessage ("Polyline ID =" + pl.getId ());
by pietro_72_
Wed Jul 26, 2017 9:29 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: How can I get the ID of a polyline I'm drawing?
Replies: 1
Views: 5412

How can I get the ID of a polyline I'm drawing?

Hello

How can I get the ID of a polyline I'm drawing?
by pietro_72_
Thu Jun 15, 2017 1:50 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: How can I create polylines?
Replies: 4
Views: 7434

Re: How can I create polylines?

Well, maybe I do not need it, I've seen that fills can even be done without closing a polyline made of straight lines
by pietro_72_
Thu Jun 15, 2017 8:06 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: How can I create polylines?
Replies: 4
Views: 7434

Re: How can I create polylines?

I saw to close the polyline with "scripts / simple_create.js",
But to close the polyline with the full code?

Thank you
by pietro_72_
Mon Jun 12, 2017 11:39 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: Modify the toolbar at run-time?
Replies: 1
Views: 5308

Modify the toolbar at run-time?

Hello

Can I change the toolbar depending on the option you choose on a QComboBox on the same toolbar?
by pietro_72_
Mon Jun 12, 2017 11:32 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: Can I set the design order of the entities?
Replies: 1
Views: 5111

Can I set the design order of the entities?

Hello

Can I set the design order of the entities?

(Always via ECMA Script)

Go to advanced search