Search found 51 matches

by RR88
Mon Feb 06, 2023 1:01 pm
Forum: QCAD Professional
Topic: Fehler skalierter Block
Replies: 4
Views: 5155

Re: Fehler skalierter Block

In 3.27.9 funktioniert es richtig. Dann ist es schlicht nur in Bug in der älteren Version.
by RR88
Mon Feb 06, 2023 11:29 am
Forum: QCAD Professional
Topic: Fehler skalierter Block
Replies: 4
Views: 5155

Re: Fehler skalierter Block

So sieht der Fehler aus
a.png
a.png (2.65 KiB) Viewed 5129 times
. So der Block
b.png
b.png (2.87 KiB) Viewed 5129 times
Der Fehler wird halt in der Console ausgeben.

Könnte vielleicht mit der QCAD-Version zusammenhängen. Müsste ich glatt mal die neuste Version ausprobieren.
by RR88
Mon Feb 06, 2023 8:57 am
Forum: QCAD Professional
Topic: Fehler skalierter Block
Replies: 4
Views: 5155

Fehler skalierter Block

Hallo, kann mir jemand sagen, warum der skalierte Block fehlerhaft ist. QCAD gibt das aus: Warning: RHatchData::getBoundaryPath: loop not closed: arc does not connect Warning: RHatchData::getBoundaryPath: cursor: RVector(67.5692, 44.0583, 0, true) Warning: RHatchData::getBoundaryPath: arc: RArc(RSha...
by RR88
Mon Jan 23, 2023 10:51 pm
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: Plugin for laser cutting
Replies: 22
Views: 58206

Re: Plugin for laser cutting

The new version 1.1 is out now :)
by RR88
Mon Dec 05, 2022 2:03 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: Set grid of current drawing
Replies: 1
Views: 5218

Set grid of current drawing

I have a short question.

Is it possible to change the grid settings via script?
by RR88
Thu Mar 17, 2022 6:27 pm
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: Plugin for laser cutting
Replies: 22
Views: 58206

Re: Plugin for laser cutting

I just released a completely new version and it's now a collection of currently two plugins.

It's a complete rework of the original plugin.

Try it out: https://github.com/zippy84/lc-qcad 8)
by RR88
Mon Mar 14, 2022 2:29 pm
Forum: QCAD Professional
Topic: [gelöst] GUI aktualisieren
Replies: 6
Views: 4284

Re: GUI aktualisieren

Okay, dann ist das wohl so. Ich hatte es deaktiviert, weil ich zu viele Operationen hatte. Habe das jetzt mit einer Transaction Group gelöst. Da kann ich das undoable auch auf true lassen. :D
by RR88
Sun Mar 13, 2022 10:43 pm
Forum: QCAD Professional
Topic: [gelöst] GUI aktualisieren
Replies: 6
Views: 4284

Re: GUI aktualisieren

Nachtrag: scheinbar hängt das wirklich mit dem false zusammen. Wenn ich undoable nicht explizit deaktiviere, dann wird die GUI richtig aktualisiert. Ich weiß nicht, ob das dann ein Bug ist.
by RR88
Sun Mar 13, 2022 1:20 pm
Forum: QCAD Professional
Topic: [gelöst] GUI aktualisieren
Replies: 6
Views: 4284

Re: GUI aktualisieren

Sollte noch dazu sagen, dass undoable auf false steht.
by RR88
Sat Mar 12, 2022 3:08 pm
Forum: QCAD Professional
Topic: [gelöst] GUI aktualisieren
Replies: 6
Views: 4284

Re: GUI aktualisieren

Ich mache es via

_window = RMainWindowQt.getMainWindow();
di = _window.getDocumentInterface();
op = new RModifyObjectsOperation();
// ...
di.applyOperation(op);

Der übliche Weg also.
by RR88
Sat Mar 12, 2022 11:34 am
Forum: QCAD Professional
Topic: [gelöst] GUI aktualisieren
Replies: 6
Views: 4284

[gelöst] GUI aktualisieren

Gibt es auf Script-Ebene einen Befehl mit dem man die GUI aktualisieren kann? Wenn man ein Script ausführt und bspw. Ebenen löscht, dann sieht man diese noch im GUI, obwohl sie ja gelöscht wurden. Wenn man dann auf den Tab einer anderen Zeichung klickt und wieder zurückkehrt, dann sind die Ebenen we...
by RR88
Sat Oct 02, 2021 6:32 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: Deleted Entity still exists
Replies: 2
Views: 4516

Deleted Entity still exists

I have another question. I want to test, whether an entity has been deleted or not. Here is the code: var ent = doc.queryEntity(id); var op = new RMixedOperation(); op.deleteObject(ent); di.applyOperation(op); var _ent = doc.queryEntity(id); qDebug(_ent); // RPolylineEntityPointer(0x54bb100) Why is ...
by RR88
Fri Oct 01, 2021 5:25 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: MouseMove listener
Replies: 2
Views: 5362

Re: MouseMove listener

Thanks. I knew I had forgotten something. :D
by RR88
Fri Oct 01, 2021 5:10 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: MouseMove listener
Replies: 2
Views: 5362

MouseMove listener

Hello. I want to get the mouse-position within a document. How can I do this? I tried this: include('scripts/EAction.js'); function Test(guiAction) { EAction.call(this, guiAction); } Test.prototype = new EAction(); Test.prototype.beginEvent = function() { EAction.prototype.beginEvent.call(this); }; ...

Go to advanced search