Search found 83 matches

by caigner
Thu Feb 16, 2017 12:23 pm
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: new dovetail script
Replies: 11
Views: 24172

Re: new dovetail script

I am sooo close to finishing this script.

The dovetails are drawn correctly, but at the end of the second mouse click.
qcad_dovetails2.png
qcad_dovetails2.png (5.34 KiB) Viewed 24132 times
by caigner
Thu Feb 16, 2017 11:50 am
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: new dovetail script
Replies: 11
Views: 24172

Re: new dovetail script

Ok, this problem is solved. It was an uppercase/lowercase problem.

Now something is drawn, but it doesn't look like a dovetail. The lengths are correct, but the angle of two lines is not.
qcad_dovetails1.png
qcad_dovetails1.png (3.53 KiB) Viewed 24134 times
by caigner
Thu Feb 16, 2017 11:01 am
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: new dovetail script
Replies: 11
Views: 24172

Re: new dovetail script

Thanks! I have used qDebug() to find out, what values my parameters have, and I found out, that they are all "undefined". So my problem is, that I don't know, how to get values from the UI to the script. For example, I can input "Number of Dovetails", but the value is not transfered to the script. A...
by caigner
Tue Feb 14, 2017 1:27 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: Tutorial: Writing a plugin that draws a dovetail
Replies: 13
Views: 56170

Re: Tutorial: Writing a plugin that draws a dovetail

I have given it a try to produce a script that will take number of dovetails, height of dovetails, dovetail/pin ratio and gradient.

Try as I might, I couldn't make it work, but I have posted my attempt here:

viewtopic.php?f=107&t=4737
by caigner
Tue Feb 14, 2017 1:23 pm
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: new dovetail script
Replies: 11
Views: 24172

new dovetail script

Changelog: I removed the old, defect script from this post and added a working copy at the end of this thread. My goal was to create a dovetail script with the following parameters: - number of dovetails, - height of dovetail, - dovetail gradient (usually 7:1, 6:1, 5:1 and 4:1) - dovetail/pin ratio...
by caigner
Thu Jan 12, 2017 3:27 pm
Forum: QCAD 'How Do I' Questions
Topic: How to draw a circle tangental to two arcs and a straight line
Replies: 2
Views: 2866

How to draw a circle tangental to two arcs and a straight line

How to draw a circle tangental to two arcs and a straight line? Here is what I got: Circle_from_3_Tangents.png I want to draw a circle which is tangental to all three segments, the two arcs and the straight line. It is not difficult to fit a circle between the two arcs, but how to make it touch the ...
by caigner
Wed Jan 11, 2017 10:33 am
Forum: QCAD Suggestions and Feedback
Topic: Hatch from segments tool
Replies: 17
Views: 17637

Re: Hatch from segments tool

I love the new "Hatch from segment" tool. Works fine. Very useful. But still... I would like to have a tool that allows hatching an area by just clicking on that area. Please consider voting for this feature: Hatching with just one click. http://www.qcad.org/bugtracker/index.php?do=details&task_id=763
by caigner
Tue Nov 08, 2016 11:32 am
Forum: QCAD 'How Do I' Questions
Topic: How to draw a tangent to a circle
Replies: 4
Views: 4221

Re: How to draw a tangent to a circle

With "unintuitive" I meant that I wouldn't look for a tangent tool in the "relative angle" place. ;-)
by caigner
Wed Oct 26, 2016 4:20 pm
Forum: QCAD 'How Do I' Questions
Topic: How to draw a tangent to a circle
Replies: 4
Views: 4221

Re: How to draw a tangent to a circle

Thanks! That works, but is a bit unintuitive. I would have never guessed that "relative angle" is associated with tangents.
by caigner
Fri Oct 14, 2016 6:54 am
Forum: QCAD 'How Do I' Questions
Topic: How to draw a tangent to a circle
Replies: 4
Views: 4221

How to draw a tangent to a circle

Maybe I overlooked something, but I miss one tool to draw a tangent to a circle by simply selecting a point on the circumference. Of course I know how to construct a tangent (draw line from center to tangent point, then draw line at 90° to that line through tangent point), but I feel like this shoul...
by caigner
Wed Jun 15, 2016 1:52 pm
Forum: QCAD Voting Corner
Topic: Option to set Default Template
Replies: 3
Views: 33721

Option to set Default Template

If you, like me, use always the same template, you might want to vote for this feature:

https://www.ribbonsoft.com/bugtracker/i ... sk_id=1435
by caigner
Wed Jun 15, 2016 1:40 pm
Forum: QCAD Voting Corner
Topic: Default Template Folder
Replies: 9
Views: 30200

Re: Default Template Folder

This is my template directory. When opening a new drawing I can select it:
qcad_default_template_directory1.png
qcad_default_template_directory1.png (17.46 KiB) Viewed 30184 times
But when I open the New from Template dialog again, it is back to the default:
qcad_default_template_directory1.png
qcad_default_template_directory1.png (17.46 KiB) Viewed 30184 times
by caigner
Wed Jun 15, 2016 1:25 pm
Forum: QCAD Voting Corner
Topic: Default Template Folder
Replies: 9
Views: 30200

Re: Default Template Folder

There is a Default Template Directory button but if I select a directory it is not remembered.
by caigner
Wed Jun 15, 2016 1:21 pm
Forum: QCAD Voting Corner
Topic: Default Template Folder
Replies: 9
Views: 30200

Re: Default Template Folder

It is under Load/Save Templates options menu. The directory entered there is not used as default template folder, as probably many of us think it should.

Go to advanced search