development of part library item, script cache?

Discussion forum for C++ and script developers who are using the QCAD development platform or who are looking to contribute to QCAD (translations, documentation, etc).

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files, scripts and screenshots.

Post one question per topic.

Post Reply
Matfie
Active Member
Posts: 37
Joined: Tue Aug 30, 2016 8:46 am

development of part library item, script cache?

Post by Matfie » Mon Nov 28, 2016 8:44 pm

Hello

As my introduction to QCAD I was writing a scripted part library item, to create a spur gear profile based on given parameters (its working, but the fine tuning is ongoing)
gear.dxf
(36.65 KiB) Downloaded 442 times
one thing that I have found a bit difficult was that when I'm editing this script in an external editor then I save it, I can't seem to run the new version of the script in QCAD unless I exit and restart, which means that making small changes is more involved. Is there a better way to bypass this caching, so that I can force a reload?

User avatar
andrew
Site Admin
Posts: 9052
Joined: Fri Mar 30, 2007 6:07 am

Re: development of part library item, script cache?

Post by andrew » Tue Nov 29, 2016 9:37 am

You can try starting QCAD with the -always-load-scripts switch.

Post Reply

Return to “QCAD Programming, Script Programming and Contributing”