Drag to straighten tool
I am currently working from some scanned drawings, I need to straighten these drawings, prior to scaling the drawings to get correct measurements.
In the Image "property editor" manually adjusting the angle to get an horizontal or vertical line aligned would be so much easier with a drag to alight type tool which is often seen in photo editing tools.
Any chance of getting this type of tool added to QCAD Pro ?
This would be a real time saver.
Regards
Dave
[Solved] Drag to straighten tool
Moderator: andrew
[Solved] Drag to straighten tool
Last edited by DaveRS on Sat Feb 22, 2020 1:52 pm, edited 1 time in total.
Re: Drag to straighten tool
Hi Dave,
Workaround:
fade the bitmap, select and use the Property Editor to set the Fade to 60 or so
draw a line from 2 points on top of the bitmap to get a reference to a horizontal or vertical line
select the bitmap and the line,
launch the Rotate tool [1],
rotation reference = snap to end of line [2]
... Dialog pops up,
Delete Original [3]
activate Define Angle using Mouse cursor [4]
OK [5]
snap to the other end of the reference line [6]
press the ALT key on the keyboard, move the mouse up until it snaps to the horizontal restriction - click - done.
The best place to ask would be to file a feature request below: https://www.qcad.org/bugtracker
Workaround:
fade the bitmap, select and use the Property Editor to set the Fade to 60 or so
draw a line from 2 points on top of the bitmap to get a reference to a horizontal or vertical line
select the bitmap and the line,
launch the Rotate tool [1],
rotation reference = snap to end of line [2]
... Dialog pops up,
Delete Original [3]
activate Define Angle using Mouse cursor [4]
OK [5]
snap to the other end of the reference line [6]
press the ALT key on the keyboard, move the mouse up until it snaps to the horizontal restriction - click - done.
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: Drag to straighten tool
Hi Husky
Thanks for that method of straightening an element within a drawing, certainly beats my random "guess the degree" to straighten an element.
I didn't think of logging my request in the bug tracker.
Thanks
Dave
Thanks for that method of straightening an element within a drawing, certainly beats my random "guess the degree" to straighten an element.
I didn't think of logging my request in the bug tracker.
Thanks
Dave
Re: [Solved] Drag to straighten tool
Hi,
You can do this without drawing a line too.
With set and lock relative zero....
But the line method has other advantages.
If you draw the line over a known distance then the length is the scanned size.
After straighten it up you can immediately scale it in respect to the length of the line.
And when there is symmerty involved then the middle of the line is the center of the scan.
Scans are not always with a perfect aspect ratio.
The other ratio then the one you just scaled is fairly orthogonal to the line.
I say fairly because only very high end scanners are squared out up to a certain degree.
Most scanners are made for pictures and text representation.
In those case the human eye if very forgiving and even quite blind.
The reason I don't see this to become a tool is pixelation.
It is usualy not that easy and correct where one defines a spot in a field of pixels.
With the one pixel somewhat darker grey as the others.
A good idea is to play with a contrasting color and a line with a little smaller width as a line on the scan.
Zooming in & out reveals proper placement similar as a corona and then the eye is good in seeing shades of.
If it are endpoints in the scan it doesn't hurt to draw at least sections of those lines first.
Once those segments satisfy you can simply use their endpoints.
Regards,
CVH
You can do this without drawing a line too.
With set and lock relative zero....
But the line method has other advantages.
If you draw the line over a known distance then the length is the scanned size.
After straighten it up you can immediately scale it in respect to the length of the line.
And when there is symmerty involved then the middle of the line is the center of the scan.
Scans are not always with a perfect aspect ratio.
The other ratio then the one you just scaled is fairly orthogonal to the line.
I say fairly because only very high end scanners are squared out up to a certain degree.
Most scanners are made for pictures and text representation.
In those case the human eye if very forgiving and even quite blind.
The reason I don't see this to become a tool is pixelation.
It is usualy not that easy and correct where one defines a spot in a field of pixels.
With the one pixel somewhat darker grey as the others.
A good idea is to play with a contrasting color and a line with a little smaller width as a line on the scan.
Zooming in & out reveals proper placement similar as a corona and then the eye is good in seeing shades of.
If it are endpoints in the scan it doesn't hurt to draw at least sections of those lines first.
Once those segments satisfy you can simply use their endpoints.
Regards,
CVH