W,A,S,D coordinates

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
Tech
Newbie Member
Posts: 4
Joined: Wed Jul 03, 2019 6:14 pm

W,A,S,D coordinates

Post by Tech » Fri Jul 05, 2019 1:59 pm

Hi. I spoke with a person before who had Qcad and had the option to draw a polygon but instead entering coordinates on the command line on the bottom of the screen with the angle, he was able to write the lenght on a section to the right and with the w,a,s,d key he was able to choose the direction. Also, an Ui was displayed to the right like a calculator to click on buttons (See attachments). Is it possible to have a script that can mimick or reproduce that?
2019-07-05 08_54_40-Window.jpg
2019-07-05 08_54_40-Window.jpg (434.71 KiB) Viewed 16005 times

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

Re: W,A,S,D coordinates

Post by andrew » Fri Jul 05, 2019 2:05 pm

I'm seeing that for the first time in QCAD. Is that a mock-up?

Yes, it's certainly possible to develop a script in QCAD that provides that functionality.

Tech
Newbie Member
Posts: 4
Joined: Wed Jul 03, 2019 6:14 pm

Re: W,A,S,D coordinates

Post by Tech » Fri Jul 05, 2019 3:51 pm

What do you mean by mock-up?
Ok, if its possible, do you have references or tutorial that i can get to make a script?

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

Re: W,A,S,D coordinates

Post by andrew » Fri Jul 05, 2019 3:57 pm

Tech wrote:
Fri Jul 05, 2019 3:51 pm
What do you mean by mock-up?
Is that something that exists somewhere as a QCAD plugin or did you just make an image of what you wish to have?
You mentioned a person who already uses that in QCAD, hence the confusion. If it already exists, perhaps that person is willing to share it?
Tech wrote:
Fri Jul 05, 2019 3:51 pm
Ok, if its possible, do you have references or tutorial that i can get to make a script?
Here's a starting point:
https://qcad.org/en/tutorial-script-programming

Obviously that project is more involved. I'd recommend to browse the QCAD scripts for lots of example codes with widgets, user interaction, etc:
https://github.com/qcad/qcad/tree/master/scripts

Tech
Newbie Member
Posts: 4
Joined: Wed Jul 03, 2019 6:14 pm

Re: W,A,S,D coordinates

Post by Tech » Fri Jul 05, 2019 7:29 pm

andrew wrote:
Fri Jul 05, 2019 3:57 pm
Is that something that exists somewhere as a QCAD plugin or did you just make an image of what you wish to have?
You mentioned a person who already uses that in QCAD, hence the confusion. If it already exists, perhaps that person is willing to share it?
Ah ok! I don't know if that's something exist in Qcad. Doesn't seems so. And for the person sharing it, he tried to send me some folders with some scripts but i can't import it. I only have the trial version for the professionnal version. When i start the application after i import the script, Qcad won't start anymore. I want to try the product with the script before buying the professional version.
Here's a starting point:
https://qcad.org/en/tutorial-script-programming

Obviously that project is more involved. I'd recommend to browse the QCAD scripts for lots of example codes with widgets, user interaction, etc:
https://github.com/qcad/qcad/tree/master/scripts
Thanks!

Post Reply

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