Search found 121 matches

by riverbuoy
Fri Feb 14, 2014 11:39 pm
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: Line2PEx - An improved line command?
Replies: 34
Views: 81924

Re: Line2PEx - An improved line command?

Having looked into this, the spinbox uses the locale of the computer it is running on, unless a specific locale has been assigned to the spinbox. The decimal point character can't be changed or overwritten, and changing the specific locale would not be a simple matter for users. As Andrew suggested,...
by riverbuoy
Sun Feb 02, 2014 9:40 pm
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: Line2PEx - An improved line command?
Replies: 34
Views: 81924

Re: Line2PEx - An improved line command?

Sorry about that. I had changed the vertical size policy to fixed instead of preferred. So I have changed it back to preferred. Unfortunately I don't have Windows to test this (I use linux), so I can't guarantee this.
However I have attached the changed file.
by riverbuoy
Sat Feb 01, 2014 10:56 pm
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: Line2PEx - An improved line command?
Replies: 34
Views: 81924

Re: Line2PEx - An improved line command?

When thinking about this, it suddenly occurred to me that if you could turn off all the options with one simple command that could be the answer to this. We could keep the single letter shortcuts (for speed), and turn off the options when you want to use another command. After much trial and error, ...
by riverbuoy
Fri Jan 31, 2014 9:54 pm
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: Line2PEx - An improved line command?
Replies: 34
Views: 81924

Re: Line2PEx - An improved line command?

Husky wrote: Please - consider how many countries around the world have to use the shift key to reach the "/"! Oops! Sorry about that. :oops: Thanks for the great link to keyboard layouts. I have now added this to my bookmarks. My thinking was to try and find a non alphanumeric character which has ...
by riverbuoy
Thu Jan 30, 2014 11:04 pm
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: Line2PEx - An improved line command?
Replies: 34
Views: 81924

Re: Line2PEx - An improved line command?

Hi all Thanks for your feedback and kind words. Andrew wrote: Note that this breaks other key codes which start with these letters while the LX tool is active. I was aware that these would stop shortcuts from working, but I was thinking that users wouldn't want to use other commands while using the ...
by riverbuoy
Sat Jan 25, 2014 4:02 am
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: Line2PEx - An improved line command?
Replies: 34
Views: 81924

Line2PEx - An improved line command?

Line2PEx - An improved Line command? I have made some changes and added new features to the Line command. I think this is an improvement, but do you? It would be useful to get some feedback. The shortcut for this command is LX, or use linex or lx in the command line. The attached zip file contains t...
by riverbuoy
Tue Dec 17, 2013 12:49 am
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: Centreline Cross
Replies: 18
Views: 64366

Re: Centreline Cross

Hi Andrew Thanks for the tip. I am still fairly new to ECMAScript and QCAD's classes and methods, and frankly it hadn't occurred to me that you can add more than one entity in one operation. Thinking about it thought, it seems obvious that you could do this. Anyway thanks again for the tip, and I'll...
by riverbuoy
Sun Dec 15, 2013 8:40 pm
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: Centreline Cross
Replies: 18
Views: 64366

Re: Centreline Cross

Hi Guys

Thanks

I'm just happy to help.
by riverbuoy
Sat Dec 14, 2013 7:11 pm
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: Centreline Cross
Replies: 18
Views: 64366

Centreline Cross

Centreline Cross This tool draws a centreline cross in arcs, circles, ellipses and elliptical arcs, as requested by Husky and seconded by J-J. In the options toolbar there are two input boxes labelled X and Y. The value in the X box refers to the horizontal line of the cross, and the value in the Y ...
by riverbuoy
Tue Dec 03, 2013 11:29 pm
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: New command - SnapDistanceManual
Replies: 9
Views: 29287

Re: New command - SnapDistanceManual

Hi Husky - Thanks for the feedback and positive reaction. The command uses RMath.eval function to evaluate expressions. In expressions we often leave out plus signs. So if we include the plus signs, for positive numbers it evaluates as +1+1/3 which equals one and one third, as expected. However for ...
by riverbuoy
Tue Dec 03, 2013 6:05 pm
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: New command - SnapDistanceManual
Replies: 9
Views: 29287

Re: New command - SnapDistanceManual

Hi Husky. I've just checked my trial version of QCad, and sure enough no snap.pro. So I copied the SnapDistanceManual folder into the scripts/Snap folder and restarted QCad, and it works. So no snap.pro required for the trial or commercial version. I was using the community source version which does...
by riverbuoy
Tue Dec 03, 2013 1:37 am
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: New command - SnapDistanceManual
Replies: 9
Views: 29287

New command - SnapDistanceManual

SnapDistanceManual This tool allows you to snap to a point that is between two points, or a given distance from the first point, at an angle defined by the second point. It includes a snap distance box and a drop down combo box. The combo box has three options - 'Distance', 'Percent' and 'Fraction'....
by riverbuoy
Sat Oct 12, 2013 4:13 pm
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: Direct Distance Entry and Point Filters.
Replies: 6
Views: 21454

Re: Direct Distance Entry and Point Filters.

Glad to be of some help.

As for reaching the credits dialog, Ah! Fame at last!! Seriously, thanks for the mention and I am quite happy to be listed as Robert S.
Thanks.

Robert
by riverbuoy
Sat Oct 05, 2013 8:27 am
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: Direct Distance Entry and Point Filters.
Replies: 6
Views: 21454

Re: Direct Distance Entry and Point Filters.

Andrew Re: Point Filters It has just occured to me that you could rename DotX and DotY to 'SnapConstructManual_X' and 'SnapConstructManual_Y'. Or SnapConstructPoint_X and SnapConstructPoint_Y. This seems logical as I used SnapMiddleManual as the basis for them. So you could then move them to the sna...
by riverbuoy
Sat Oct 05, 2013 1:52 am
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: Direct Distance Entry and Point Filters.
Replies: 6
Views: 21454

Re: Direct Distance Entry and Point Filters.

Hi Andrew, Thanks for your kind words. I looked at the commit and see you've actually improved what I provided. Good stuff. As to the point filters, I copied SnapMiddleManual.js and modified it to take the x coord from one point and the y coord from another, and return a new point. The way the previ...

Go to advanced search