Cone Development Tool (uses DrawFromCSV)

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
John Hyslop
Premier Member
Posts: 473
Joined: Mon Sep 30, 2019 6:21 am
Location: Melbourne - Australia

Cone Development Tool (uses DrawFromCSV)

Post by John Hyslop » Sat Apr 17, 2021 9:50 am

Hi All
Windows users files save where app is installed,
Linux users files save in "home/username" folder use WINE to run.
This is just for testing purposes but if it gets enough attention I'll create a nicer one plus tidy up the general appearance of the application. :D
You will need to download DrawFromCSV (Copyright (c) 2021 of CVH) if you want to test the CSV import.
viewtopic.php?f=30&t=8135
Basically all this does is create a flat pattern of a basic cone, that's it..
Linux users can run this under WINE and for some reason the script and CSV files are saved in the "Home\User" folder..
Windows users files are saved where the app is installed...
All comments are welcome, as long as they're nice :lol:

Cheers
John
PS This is for testing only...
Updated to V1.1
Thanks CVH :)
...
ConeDev-V1.0 (304.25 KiB) Downloaded 3 times
ConeDev-V1.1 (304.25 KiB) Downloaded 9 times
ConeDev-V1.2(303.7 KiB) Downloaded 4 times


....
NEW Version 1.3 Uploaded See Further on
Last edited by John Hyslop on Mon Apr 26, 2021 9:32 am, edited 12 times in total.
IF IT IS TO BE IT IS UP TO ME [ Ten most powerful 2 letter words ]

CVH
Premier Member
Posts: 3415
Joined: Wed Sep 27, 2017 4:17 pm

Re: Demo Cone Development Tool

Post by CVH » Sat Apr 17, 2021 11:47 am

John,
To serve any QCAD user right away ...
... please include a default CSV switch upfront:

Code: Select all

CSVcomma/dot
The Addon expects it to be in the QCAD native style to begin with.
See general info, page3, line4.
A switch would force it to the style it was written in.
Thanks.

All,
for now, simply add the switch textual if your are not a native comma/dot user.

The Addon might already be included in the latest snapshot release.
Under Misc .. Import/Export.

Kind regards,
Last edited by CVH on Sat Apr 17, 2021 1:08 pm, edited 1 time in total.

John Hyslop
Premier Member
Posts: 473
Joined: Mon Sep 30, 2019 6:21 am
Location: Melbourne - Australia

Re: Demo Cone Development Tool

Post by John Hyslop » Sat Apr 17, 2021 12:48 pm

Hi CVH

Ok on it now , thanks for the heads up :)
Done, Time for bed...

Cheers
John
IF IT IS TO BE IT IS UP TO ME [ Ten most powerful 2 letter words ]

John Hyslop
Premier Member
Posts: 473
Joined: Mon Sep 30, 2019 6:21 am
Location: Melbourne - Australia

Re: Demo Cone Development Tool

Post by John Hyslop » Mon Apr 19, 2021 9:20 am

Hi All

Just noticed a slight flaw e_surprised , if you make the top diameter zero "0" it will leave a zero length entity
and also show "Not a correct entry. Text line 6 : Radius Invalid.". [ using the Qcad CSV ]
The cone is still correct, just delete the invalid entity at 0,0 ;)
Same when using the scripts, except there is no error report but still a zero length entity :)
I'll fix this up in next version if there ever is one.. :twisted:

Cheers
John
PS This appears to be version dependant , I was running an older version of DrawFromCSV :oops:
The new version reports the error but doesn't create it, so no need to delete something that doesn't exist :)
IF IT IS TO BE IT IS UP TO ME [ Ten most powerful 2 letter words ]

John Hyslop
Premier Member
Posts: 473
Joined: Mon Sep 30, 2019 6:21 am
Location: Melbourne - Australia

Re: Cone Development Tool (uses DrawFromCSV)

Post by John Hyslop » Mon Apr 26, 2021 9:30 am

Hi All

A few changes , fixed Icon / Added Icon for Linux Users / Bug Fix in AutoCad Script
Qcad Script Now Doesn't Write out a txt file you must copy to clipboard and paste
into the command line.. Tidied up UI a little :)
Recommended you all use CSV Method as this is the most stable.. :D
....
ConeDev-V1.3.zip
(309.19 KiB) Downloaded 377 times
ConeDev - V1.3.jpg
ConeDev - V1.3.jpg (99.28 KiB) Viewed 7675 times
ConDev Screenshot.jpg
ConDev Screenshot.jpg (39.51 KiB) Viewed 7675 times
Enjoy

Cheers
John
IF IT IS TO BE IT IS UP TO ME [ Ten most powerful 2 letter words ]

CVH
Premier Member
Posts: 3415
Joined: Wed Sep 27, 2017 4:17 pm

Re: Cone Development Tool (uses DrawFromCSV)

Post by CVH » Thu May 06, 2021 5:06 pm

All,
Downloaded QCAD version 3.26.2.0 just now and installed it.
I can confirm that DrawFromCSV is included in the standard installation. :P

Thanks, Andrew. :wink:

Kind regards,
CVH

Post Reply

Return to “QCAD Programming, Script Programming and Contributing”