I'm sorry. Can you say, what's wrong? I don't have windows.
Edit: It works well on Win7.
Search found 51 matches
- Sun Jan 20, 2019 10:21 am
- Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
- Topic: Plugin for laser cutting
- Replies: 22
- Views: 59513
- Fri Jan 18, 2019 7:36 am
- Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
- Topic: Plugin for laser cutting
- Replies: 22
- Views: 59513
Re: QCAD-Plugin for laser cutting
A new version of my plugin is out. Please check it out. Contributions like bug-reports, improvement proposals or other would be great
The plugin is not longer hosted on gitlab.com.
The plugin is not longer hosted on gitlab.com.
- Mon Nov 19, 2018 12:53 am
- Forum: QCAD Professional
- Topic: Wertvolles QCAD-Benutzerhandbuch entdeckt :-))
- Replies: 3
- Views: 4166
Re: Wertvolles QCAD-Benutzerhandbuch entdeckt :-))
Wieso? Das erscheint mir doch günstig
- Thu Nov 15, 2018 3:49 pm
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: Faster way to plot objects on Document Interface
- Replies: 4
- Views: 10149
Re: Faster way to plot objects on Document Interface
Code: Select all
applyOperation
Code: Select all
RAddObjectsOperation
- Tue Oct 23, 2018 5:16 pm
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: Refresh a widget
- Replies: 4
- Views: 8569
Re: Refresh a widget
Okay, thanks for the answer.
- Tue Oct 16, 2018 9:18 am
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: Refresh a widget
- Replies: 4
- Views: 8569
Re: Refresh a widget
I found out, that it works only when I set undoable to true. Is there any workaround?
This is my code:
This is my code:
Code: Select all
var op = new RDeleteObjectsOperation(false);
layers.forEach(function (name) {
var lay = doc.queryLayer(name);
op.deleteObject(lay);
});
di.applyOperation(op);
- Tue Oct 16, 2018 8:35 am
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: Refresh a widget
- Replies: 4
- Views: 8569
Refresh a widget
I removed some layers by a script and they are still visible in the layer list. How can I refresh/update the widget manually?
- Fri Jun 15, 2018 2:12 pm
- Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
- Topic: Plugin for laser cutting
- Replies: 22
- Views: 59513
Re: QCAD-Plugin for laser cutting
Thanks for the feedback. I'm afraid that the tracked transactions will make it significantly slower. But I will try to make it possible. Also the better handling of unused blocks.
- Fri Jun 15, 2018 1:32 am
- Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
- Topic: Plugin for laser cutting
- Replies: 22
- Views: 59513
Re: QCAD-Plugin for laser cutting
I don't know much about templates to understand what you are expect from my plugin. Please describe it in more detail. Actually all blocks and layers must be visible and unlocked. Otherwise it leads to an unexpected termination.
- Thu Jun 14, 2018 11:29 pm
- Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
- Topic: Plugin for laser cutting
- Replies: 22
- Views: 59513
Re: QCAD-Plugin for laser cutting
The undo argument of all transactions is set to false because there is no need of a history tracking. I think it is not turned off for the addLayer function. That causes the crash. It's right that there are no blocks at the end, but blocks will be handled. Only blocks that are not referenced will be...
- Thu Jun 14, 2018 10:13 pm
- Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
- Topic: Plugin for laser cutting
- Replies: 22
- Views: 59513
Re: QCAD-Plugin for laser cutting
Yes, that's true. I never tried it with windows. What are the difficulties?
- Thu Jun 14, 2018 8:42 pm
- Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
- Topic: Plugin for laser cutting
- Replies: 22
- Views: 59513
Plugin for laser cutting
I'm proud to introduce a new plugin for QCAD. It is made for laser cutting and it is hosted at https://github.com/zippy84/lc-qcad. A full description and the install instructions are contained in the readme of the project.
The plugin works also with the trial version of QCAD.
The plugin works also with the trial version of QCAD.
- Mon Jun 04, 2018 8:36 am
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: Copy blocks
- Replies: 1
- Views: 5757
Re: Copy blocks
I have done it this way, but there are a lot of lines: https://github.com/zippy84/lc-qcad/blob ... s#L56-L139
- Sat Jun 02, 2018 5:09 pm
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: Copy blocks
- Replies: 1
- Views: 5757
Copy blocks
Hello. I have a set of block reference entities and they all have the same referenced block id. How could I copy the block, so that every block reference holds a copy of the original block? I tried this: var a = doc.queryEntity(62); var b = a.getReferencedBlockId(); var c = doc.queryBlock(b); var d ...
- Sat May 26, 2018 4:36 pm
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: Signals and Slots in ECMAScript
- Replies: 3
- Views: 7388
Re: Signals and Slots in ECMAScript
How can I detect the sender? Object.sender() does not exist.