Help Request

This forum is for 'Work-in-Progress' QCAD user developed script Add Ons and Plug-ins.

Please use this forum to request/submit your script Add-Ons & Plug-in idea's.

Moderators: andrew, Husky, J-J

Post Reply
tukuyomi
Full Member
Posts: 50
Joined: Mon Aug 09, 2010 6:15 pm

Help Request

Post by tukuyomi » Mon Dec 08, 2014 12:32 pm

I need help to write a script in qcad3, but I can't wrap my head around this new language.
If I had a tiny script that I can use as a skelton, it would be very helpful to me to start coding for qcad3.

Right now, I draw my usual stuff in qcad3, but all my scripting stuff goes to a qcad2 inside a Debian VirtualBox.

My qcad2 skelton script does the following : Image

If someone can write me a similar script for qcad3, I'll be very grateful to him!

The sole requirement that I have is that I DO need an external dialog, instead of the new toolbar feature provided by qcad, as my real scripts DO have a lot of options to (un)check / modify, to tweak my drawings (mainly for a CN machine).

Thanks for reading, and I hope someone will reply to my request.

(For reference, here is my qcad2 script) :

Code: Select all

http://tukuyomi.black-ship.net/stuff/qcad2skel.txt

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

Re: Help Request

Post by andrew » Mon Dec 08, 2014 12:39 pm

QCAD 3 comes with tons of example scripts (everything in ./scripts).

A simple interactive tool:
scripts/Misc/Examples/DrawExamples/ExThreePoints

Some math / drawing:
scripts/Misc/Examples/MathExamples/ExMathSpiral

Dialog:
scripts/Misc/Examples/QtExamples/ExResizeWindow

Post Reply

Return to “QCAD 'Script Add-On & Plug-in challenge' - Work in Progress”