Hi Folks
When creating drawings we often use (well I do anyways ) temporary construction lines for lining things up and so on, well in the following example I would like to submit an idea for QCAD to automatically generate these construction lines.
Here you see I am using the Rectangle tool for my example but of course I would hope that this idea could be used with all the generic drawing tools in QCAD. After placing my first corner QCAD asks me where I would like to place the second corner. I want to place the second corner at the intersecting point projected from the arrow points. Normally we can manually draw temporary construction lines to guide us.
... and we would be able to place our second corner precisely at the intersection of these construction lines ...
...but what if QCAD had the option to dynamically create these construction lines for us by simply touching the tips of the arrows construction lines could be created.
Now, I'm not a developer and this idea may just be a headache to implement, but it would be great if it were acheivable.
@Andrew, any thoughts on this?
Automatic Construction lines created idea!
Moderator: andrew
Automatic Construction lines created idea!
For the best support please state your operating system, QCAD version and add any supporting DXF/DWG files, screenshots etc...
Re: Automatic Construction lines created idea!
Hi Clive
You can achieve the effect you're looking for with the 'Snap->X/Y from points' command. This constructs a new point by taking the X coordinate from a first selected point, and the Y coordinate from a second selected point.
So in your example, when you are prompted for a corner of a rectangle, type dot X (.X) which is the shortcut for this command. You are then prompted on the command line to select a point for the X coordinate. Select the tip of the down pointing arrow. Then you are prompted to select a point for the Y coordinate. Select the tip of the other arrow. A new point is created from these coordinates and returned.
The command 'Snap->Y/X from points' (shortcut .Y) is the same but takes the Y coordinate from the first point, and the X coordinate from the second point.
This command can be used anytime a coordinate is expected, so will work with all commands expecting a coordinate.
Hope this helps.
riverbuoy
You can achieve the effect you're looking for with the 'Snap->X/Y from points' command. This constructs a new point by taking the X coordinate from a first selected point, and the Y coordinate from a second selected point.
So in your example, when you are prompted for a corner of a rectangle, type dot X (.X) which is the shortcut for this command. You are then prompted on the command line to select a point for the X coordinate. Select the tip of the down pointing arrow. Then you are prompted to select a point for the Y coordinate. Select the tip of the other arrow. A new point is created from these coordinates and returned.
The command 'Snap->Y/X from points' (shortcut .Y) is the same but takes the Y coordinate from the first point, and the X coordinate from the second point.
This command can be used anytime a coordinate is expected, so will work with all commands expecting a coordinate.
Hope this helps.
riverbuoy
Re: Automatic Construction lines created idea!
Absolutely perfect riverbuoy, thanks very much. I was able to show this snap option in the snap toolbar, but it's got no icon associated with it - no matter at least it works.
Thanks again you are a star
Thanks again you are a star
For the best support please state your operating system, QCAD version and add any supporting DXF/DWG files, screenshots etc...
Re: Automatic Construction lines created idea!
Good point, Clive. In the menu, no icon is fine but since everything can be added to tool bars, there probably need to be icons for every tool..Clive wrote:but it's got no icon associated with it
Re: Automatic Construction lines created idea!
Yes it would make sense now, thanks again Andrew.andrew wrote: there probably need to be icons for every tool..
For the best support please state your operating system, QCAD version and add any supporting DXF/DWG files, screenshots etc...
Re: Automatic Construction lines created idea!
Hi
Here are my icons for DotX, DotY and DisplayDistanceAngle. They are not particularly imaginative, so if anyone wants to change them, feel free.
Anyway the files are attached.
DisplayDistanceAngle.svg and DisplayDistanceAngleInit.js should be copied to the sub-directory 'scripts/View/DisplayDistanceAngle'. A message will be displayed saying 'DisplayDistanceAngleInit.js already exists'. Select replace or overwrite.
SnapXManual.svg and SnapXManualInit.js should be copied to the sub-directory 'scripts/Snap/SnapXManual'. Again a message will be displayed saying 'SnapXManualInit.js already exists'. Select replace or overwrite.
SnapYManual.svg and SnapYManualInit.js should be copied to the sub-directory 'scripts/Snap/SnapYManual'. Replace or overwrite SnapYManualInit.js.
The icons should now display.
riverbuoy
Here are my icons for DotX, DotY and DisplayDistanceAngle. They are not particularly imaginative, so if anyone wants to change them, feel free.
Anyway the files are attached.
DisplayDistanceAngle.svg and DisplayDistanceAngleInit.js should be copied to the sub-directory 'scripts/View/DisplayDistanceAngle'. A message will be displayed saying 'DisplayDistanceAngleInit.js already exists'. Select replace or overwrite.
SnapXManual.svg and SnapXManualInit.js should be copied to the sub-directory 'scripts/Snap/SnapXManual'. Again a message will be displayed saying 'SnapXManualInit.js already exists'. Select replace or overwrite.
SnapYManual.svg and SnapYManualInit.js should be copied to the sub-directory 'scripts/Snap/SnapYManual'. Replace or overwrite SnapYManualInit.js.
The icons should now display.
riverbuoy
- Attachments
-
- DisplayDistanceAngleInit.js
- (577 Bytes) Downloaded 547 times
-
- DisplayDistanceAngle.svg
- (11.37 KiB) Downloaded 626 times
-
- SnapYManualInit.js
- (532 Bytes) Downloaded 516 times
-
- SnapYManual.svg
- (2.12 KiB) Downloaded 587 times
-
- SnapXManualInit.js
- (531 Bytes) Downloaded 535 times
-
- SnapXManual.svg
- (2.19 KiB) Downloaded 672 times
Re: Automatic Construction lines created idea!
Very nice - thank you very much!riverbuoy wrote:Hi
Here are my icons for DotX, DotY and DisplayDistanceAngle. They are not particularly imaginative, so if anyone wants to change them, feel free.
I'm always struggling with DotX and DotY - I don't now why but I take always the wrong one first. X instead of Y and Y instead of X ....
For this reason I customized the Icons for me and now I have not anymore an excuse for taking the wrong snap ........
If somebody else needs this - just replace the svg in the directories.
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Re: Automatic Construction lines created idea!
Thank you so much riverbuoy, the icons you supplied are perfect, they do the job just fine and thank you for putting in the time and effort on this.riverbuoy wrote:Here are my icons for DotX, DotY and DisplayDistanceAngle.
It is truly wonderful that people like yourselves would take the time and help out like this .
Regards
Clive
For the best support please state your operating system, QCAD version and add any supporting DXF/DWG files, screenshots etc...