Search found 177 matches
- Thu Jan 15, 2015 4:38 pm
- Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
- Topic: model railroad track planning
- Replies: 130
- Views: 2725870
Re: model railroad track planning
Fixed Variegate in QCTrack version 77.
- Thu Jan 15, 2015 4:24 pm
- Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
- Topic: model railroad track planning
- Replies: 130
- Views: 2725870
Tutorial step 8: align
Attached is an example of how to use the QCTrack align function. If you have one or more tracks that should be aligned to another track but moved only on an (may be arbitrary) axis, you can do this: Select tracks to align. Select QCTrack / Align or type QA. Select to-be-aligned track end. Select tar...
- Thu Jan 15, 2015 3:57 pm
- Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
- Topic: model railroad track planning
- Replies: 130
- Views: 2725870
Re: model railroad track planning
Attached is another (basic) example library for Ninco slot car tracks.
- Thu Jan 15, 2015 3:55 pm
- Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
- Topic: model railroad track planning
- Replies: 130
- Views: 2725870
Re: model railroad track planning
Sooooo. 8) Attached was the current version 76 with most of Husky's suggestions. The new function "Insert exploded block" might be useful to re-use existing blocks (and even might be useful for "normal" use beside QCTrack). All dialogs should be consistent with other QCad dialogs (no QDoubleSpinBox,...
- Thu Jan 15, 2015 3:21 pm
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: Adding objects in a batch
- Replies: 10
- Views: 17700
Re: Adding objects in a batch
into the same block as the original and you want to insert the clone into the current block instead Yes, that's the point. I want to insert all entities onto the original layer but the current block. set the blockId of the clone to the current blockId and use op.addObject(obj, true) instead. Thank ...
- Thu Jan 15, 2015 11:58 am
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: Adding objects in a batch
- Replies: 10
- Views: 17700
Re: Adding objects in a batch
Thanks for the fast reaction. :) I have a script that has a block-id in this.blockId. The complete getOperation function is InsertExplodedBlock.prototype.getOperation = function(preview) { var document = this.getDocument(); if (isNull(document)) { return undefined; } var storage = document.getStorag...
- Thu Jan 15, 2015 11:20 am
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: Adding objects in a batch
- Replies: 10
- Views: 17700
Re: Adding objects in a batch
Hi Andrew, this is an old thread, I know... But I think, my question belongs to it. I'm trying to insert (copies of) several (sub-)entities. So I tried: for (var j = 0; j < subIds.length; j++) { var sub = document.queryEntity(subIds[j]); var clone = sub.clone(); clone.move(this.pos); //no changes wi...
- Mon Jan 12, 2015 11:15 am
- Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
- Topic: model railroad track planning
- Replies: 130
- Views: 2725870
Re: model railroad track planning
The 'Create Track' dialog window is opening properly now, thanks very much Glad to see, thanks for reporting! :D Coordinate Formates are partly mixed up. In "Create Track" I see my QCAD settings used (Decimal Point = DOT). In Variegate I have to use Comma and the Dialog is showing both - dot and co...
- Sat Jan 10, 2015 11:11 am
- Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
- Topic: model railroad track planning
- Replies: 130
- Views: 2725870
Re: model railroad track planning
Hi Husky, thank you for your feedback. :) I'm very happy to see someone is using QCTrack and thinks about how to make it better. :) Create Track: Remember function - nice! BTW: The name in the QCTrack Menu should also be "Create Track". You're right, will be done in the next version. Track Widget: I...
- Fri Jan 09, 2015 10:28 pm
- Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
- Topic: model railroad track planning
- Replies: 130
- Views: 2725870
Re: model railroad track planning
Attached is the current version 71 that uses RMathLineEdit in the Create dialog and supports load/save/restore as Husky suggested.
@Husky: I think, now all your suggestions are implemented, aren't they?
@Husky: I think, now all your suggestions are implemented, aren't they?
- Fri Jan 09, 2015 8:48 pm
- Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
- Topic: model railroad track planning
- Replies: 130
- Views: 2725870
Re: model railroad track planning
Thank you very much. Attached is the current version 68 within an explicit QCTrack folder. Hopefully this leads to less problems installing QCTrack, all further snapshots will contain this top directory.
Clive, can you test the new version?
Clive, can you test the new version?
- Fri Jan 09, 2015 3:00 pm
- Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
- Topic: model railroad track planning
- Replies: 130
- Views: 2725870
Re: model railroad track planning
I'm very sorry - I have no idea left. You already tried Linux, and you already tried the debugger.
Perhaps we should ask Andrew?
Perhaps we should ask Andrew?
- Fri Jan 09, 2015 2:35 pm
- Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
- Topic: model railroad track planning
- Replies: 130
- Views: 2725870
Re: model railroad track planning
Hm, no debugger, no dialog. I'm sorry, no idea. Do you have any other plugins / addons installed?
- Fri Jan 09, 2015 1:55 pm
- Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
- Topic: model railroad track planning
- Replies: 130
- Views: 2725870
Re: model railroad track planning
Hm. No idea. The debugger does not pop up?
Just to ensure we are talking about the same thing, I recorded the behavor of "Create" with the current version as animated gif on my machine.
Just to ensure we are talking about the same thing, I recorded the behavor of "Create" with the current version as animated gif on my machine.
- Fri Jan 09, 2015 1:30 pm
- Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
- Topic: model railroad track planning
- Replies: 130
- Views: 2725870
Re: model railroad track planning
Hm, I only use Linux, no Windows here... So the menu item is existing and clickable, but after clicking nothing happens? Could you please start QCad with the following options:No Nothing for me On Windows 8.1, any ideas?
Code: Select all
qcad -rescan -enable-script-debugger