Search found 172 matches

by smf
Fri Jan 23, 2015 10:02 am
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: model railroad track planning
Replies: 109
Views: 73152

Re: model railroad track planning

Hi Husky, the menu items for "insert/rotate from widget" are separate scripts. They check if a track is selected in "the" Track Widget - they don't check if Track Widget is visible. In the track widget on the other side, the "insert/rotate from widget" scripts are enabled / disabled depending on the...
by smf
Wed Jan 21, 2015 2:46 pm
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: model railroad track planning
Replies: 109
Views: 73152

Re: model railroad track planning

attached is the current version 80 with added version info menu item, fixed Variegate dialog if no solution is found, and some translation updates
by smf
Wed Jan 21, 2015 10:21 am
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: model railroad track planning
Replies: 109
Views: 73152

Re: model railroad track planning

Hi Husky, thanks for the report, I can reproduce this: QCad is crashing under XUbuntu 14.04, too. I think this has something to do with "no result" and "ok clicking" - if there is no solution, a message should appear or at least the ok-button should be disabled. I will insert this in the next versio...
by smf
Sun Jan 18, 2015 2:35 pm
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: model railroad track planning
Replies: 109
Views: 73152

Re: model railroad track planning

Attached is an example for Maerklin Z as dxf and image:
Allg_Z01_Frueher.png
Maerklin Z plan image
Allg_Z01_Frueher.png (95.1 KiB) Viewed 2400 times
by smf
Sun Jan 18, 2015 10:33 am
Forum: QCAD Developers and Contributors
Topic: Adding objects in a batch
Replies: 10
Views: 8636

Re: Adding objects in a batch

...with the code above, the original entities are removed from the original block. After inserting "storage.setObjectId(clone, RObject.INVALID_ID)" it works as desired. :)
by smf
Sun Jan 18, 2015 10:30 am
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: model railroad track planning
Replies: 109
Views: 73152

Re: model railroad track planning

Attached is a library for "Märklin Spur Z" (Maerklin 1:220 scale) tracks. The creation of the double-slip switch (German: "Doppelkreuzungsweiche") was a bit tricky, so perhaps the library may be useful for people playing with Maerklin Z.
by smf
Sun Jan 18, 2015 10:28 am
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: model railroad track planning
Replies: 109
Views: 73152

Re: model railroad track planning

Attached is version 78 with fixed Insert Exploded Block (now the elements are really copied).
by smf
Sat Jan 17, 2015 5:39 pm
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: model railroad track planning
Replies: 109
Views: 73152

Re: model railroad track planning

...insert exploded track seems to work - but not the way it is wanted... e_surprised The original lines are removed and not cloned although clone is called... I have to debug this... :oops:
by smf
Fri Jan 16, 2015 10:17 pm
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: model railroad track planning
Replies: 109
Views: 73152

Re: model railroad track planning

Hi Husky, Ok, I can insert an exploded block in my drawing, the block name is still in the block list but empty - and the previously inserted copies in my drawing (of this particular block) will all be gone. And then .... ? That makes not really sense to me - what more do I need to know about this n...
by smf
Thu Jan 15, 2015 4:53 pm
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: model railroad track planning
Replies: 109
Views: 73152

Tutorial step 9: Fill with straight tracks

Attached is an example of how to use the QCTrack align function. If you have track ends in a straight line, you can (try to) connect them: Select QCTrack / Fill with straight tracks or type QF. Select track ends to connect. Check / modify maximum use of track elements (first example: 077 is limited ...
by smf
Thu Jan 15, 2015 4:38 pm
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: model railroad track planning
Replies: 109
Views: 73152

Re: model railroad track planning

Fixed Variegate in QCTrack version 77.
by smf
Thu Jan 15, 2015 4:24 pm
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: model railroad track planning
Replies: 109
Views: 73152

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...
by smf
Thu Jan 15, 2015 3:57 pm
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: model railroad track planning
Replies: 109
Views: 73152

Re: model railroad track planning

Attached is another (basic) example library for Ninco slot car tracks.
by smf
Thu Jan 15, 2015 3:55 pm
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: model railroad track planning
Replies: 109
Views: 73152

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,...
by smf
Thu Jan 15, 2015 3:21 pm
Forum: QCAD Developers and Contributors
Topic: Adding objects in a batch
Replies: 10
Views: 8636

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 ...

Go to advanced search