Novice: Drawing around an imported image?
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Novice: Drawing around an imported image?
Just installed QCAD which I'm hoping will help me get more accurate measurements into OpenSCAD.
Q1: Directly after import I had to drag around at random until I got my image visible. Is there a setting I've missed that will centre it automatically?
Q2: Units are set to mm, so why is it in this position apparently so far from the origin?
Q3: I'm daunted by the many tools and 'sub-tools'! How do I now proceed to trace around my image to get a vector path, ready for export please?
Terry
QCAD Version: 3.26.2.0 (3.26.2)
Win 10 version 20H2 (OS Build 19042.985)
Q1: Directly after import I had to drag around at random until I got my image visible. Is there a setting I've missed that will centre it automatically?
Q2: Units are set to mm, so why is it in this position apparently so far from the origin?
Q3: I'm daunted by the many tools and 'sub-tools'! How do I now proceed to trace around my image to get a vector path, ready for export please?
Terry
QCAD Version: 3.26.2.0 (3.26.2)
Win 10 version 20H2 (OS Build 19042.985)
Last edited by terrypin on Mon May 31, 2021 11:50 am, edited 2 times in total.
Re: Novice: Drawing around an imported image?
Hello terrypin
Welcome to the forum.
When you open a drawing Qcad autozoom in order to show all entities. In your case it could be possible that a small entity, not quite visible lies far from your main drawing, all it takes is a single point to generate such a situation.
Try reopening your drawing and use command "select all", all entities should appear.
If you remain stuck, attach a copy of the offending drawing.
Welcome to the forum.
When you open a drawing Qcad autozoom in order to show all entities. In your case it could be possible that a small entity, not quite visible lies far from your main drawing, all it takes is a single point to generate such a situation.
Try reopening your drawing and use command "select all", all entities should appear.
If you remain stuck, attach a copy of the offending drawing.
JJ Win7 pro-64
Re: Novice: Drawing around an imported image?
Thanks J-J, I’ll try that in the morning.
Re: Novice: Drawing around an imported image?
I've worked on this for an hour or so this morning but still not sure I'm going about it correctly. Hopefully my screenshots will help in getting further advice please.
EDIT:
Re the dimensions and axis numbering issue, I do have two reasonably accurate physical thickness measurements: top two sections = 2.0mm and end section = 1.6mm. The lengths of each are difficult to measure precisely because their junctions are smoothed.
Perhaps this sort of task is outside QCAD's scope? If so I'll focus next on Inkspace, which I see has a 'Trace Bitmap' feature.
EDIT:
Re the dimensions and axis numbering issue, I do have two reasonably accurate physical thickness measurements: top two sections = 2.0mm and end section = 1.6mm. The lengths of each are difficult to measure precisely because their junctions are smoothed.
Perhaps this sort of task is outside QCAD's scope? If so I'll focus next on Inkspace, which I see has a 'Trace Bitmap' feature.
Re: Novice: Drawing around an imported image?
Hi, terrypin
If you insert a bitmap with IM, then have a look High-Left
The tool will activate the Options Toolbar (Many do)
Width-Height-Angle-Keep aspect ratio(Chain)
Bitmaps don't have an actually size stored in them, only the pixel-size.
By default QCAD takes 1 pixel = 1 by 1 unit.
To scale it proper to units you have to know an actually size in the drawing.
Scaling the bitmap with Modify .. Scale (SZ)
QCAD has no 'Trace bitmap' function.
So, you have to draw over it using any shape and method appropriate.
Browse the forum on 'Image', 'bitmap', ... for further hints.
Regards,
CVH
If you insert a bitmap with IM, then have a look High-Left
The tool will activate the Options Toolbar (Many do)
Width-Height-Angle-Keep aspect ratio(Chain)
Bitmaps don't have an actually size stored in them, only the pixel-size.
By default QCAD takes 1 pixel = 1 by 1 unit.
To scale it proper to units you have to know an actually size in the drawing.
Scaling the bitmap with Modify .. Scale (SZ)
QCAD has no 'Trace bitmap' function.
So, you have to draw over it using any shape and method appropriate.
Browse the forum on 'Image', 'bitmap', ... for further hints.
Regards,
CVH
-
- Premier Member
- Posts: 474
- Joined: Mon Sep 30, 2019 6:21 am
- Location: Melbourne - Australia
Re: Novice: Drawing around an imported image?
Hello Terrypin
Download Inkscape available free for both Windows and Linux.
Open image, select it, then from the menu choose trace bmp..
Then SaveAs dxf and open in Qcad to further manipulate..
There are lots of YouTube tutorials on Inkscape settings for tracing etc..
There are many export options too SVG is one but I usually do dxf..
Hope this helps
Cheers
John
PS Actually SVG is default file type when you save but I've always used dxf.. Qcad can open SVG files too.. I'm pretty sure,but I'm not on my pc atm..
Download Inkscape available free for both Windows and Linux.
Open image, select it, then from the menu choose trace bmp..
Then SaveAs dxf and open in Qcad to further manipulate..
There are lots of YouTube tutorials on Inkscape settings for tracing etc..
There are many export options too SVG is one but I usually do dxf..
Hope this helps
Cheers
John
PS Actually SVG is default file type when you save but I've always used dxf.. Qcad can open SVG files too.. I'm pretty sure,but I'm not on my pc atm..
IF IT IS TO BE IT IS UP TO ME [ Ten most powerful 2 letter words ]
Re: Novice: Drawing around an imported image?
Thanks both.
CVH: What is ‘IM’?
John: intend to tackle the task with Inkscape next.
Why would I want to re-open DXF in QCAD, rather than directly in OpenSCAD?
CVH: What is ‘IM’?
John: intend to tackle the task with Inkscape next.
Why would I want to re-open DXF in QCAD, rather than directly in OpenSCAD?
Re: Novice: Drawing around an imported image?
Thanks, understood.
Re: Novice: Drawing around an imported image?
Nope ..... it is no problem for QCAD if you know how to use the provided tools in QCAD. Trying to solve this task with multiple different software solution like Paint Pro, Incscape etc etc opens many ways for an inaccurate result.
This example is simply based on the correctness of your 30 mm measurement ....
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: Novice: Drawing around an imported image?
Brilliant, thanks! I’ll try those estimated dimensions ASAP.
But, as you’ll have gathered from my initial post (and my subject heading beginning ‘Novice:’), what I really want is to learn how
Your screenshot is tantalising! Can you amplify on what steps I have to take to reproduce it please? Or point me to a guide or tutorial? I don’t want to spend a month or three learning how to use QCAD’s entire feature set. Just those parts that will let me achieve the modest objective I described.
But, as you’ll have gathered from my initial post (and my subject heading beginning ‘Novice:’), what I really want is to learn how
Your screenshot is tantalising! Can you amplify on what steps I have to take to reproduce it please? Or point me to a guide or tutorial? I don’t want to spend a month or three learning how to use QCAD’s entire feature set. Just those parts that will let me achieve the modest objective I described.
-
- Premier Member
- Posts: 474
- Joined: Mon Sep 30, 2019 6:21 am
- Location: Melbourne - Australia
Re: Novice: Drawing around an imported image?
Hi Terrypin
In Qcad this is a simple process..
FYI.. 30% of my work is tracing image files, if you are using a scanner and wish to manually trace around an image then Qcad is great for this. Tip
If your scanner is A4 set the image size to A4 length top right on import as suggested by CVH
I have an A3 scanner and find this method works very accurately the other way is as Husky mentioned scale to a known size..
Cheers
John
PS I'll download OpenSCAD today and check what features or advantages it might have
But I'm pretty sure you would only need to use Qcad for everything apart from auto tracing..
I'm not familiar with OpenSCAD but the traced image would need to be scaled as suggested .John: intend to tackle the task with Inkscape next.
Why would I want to re-open DXF in QCAD, rather than directly in OpenSCAD?
In Qcad this is a simple process..
FYI.. 30% of my work is tracing image files, if you are using a scanner and wish to manually trace around an image then Qcad is great for this. Tip
If your scanner is A4 set the image size to A4 length top right on import as suggested by CVH
I have an A3 scanner and find this method works very accurately the other way is as Husky mentioned scale to a known size..
Cheers
John
PS I'll download OpenSCAD today and check what features or advantages it might have
But I'm pretty sure you would only need to use Qcad for everything apart from auto tracing..
IF IT IS TO BE IT IS UP TO ME [ Ten most powerful 2 letter words ]
Re: Novice: Drawing around an imported image?
Thanks John, much appreciated.
Re: Novice: Drawing around an imported image?
First - you have to learn how to scale (Scale SZ) a bitmap to "Real world" measurements. It is explained many times in this forum.terrypin wrote: ↑Mon May 31, 2021 10:51 pmYour screenshot is tantalising! Can you amplify on what steps I have to take to reproduce it please? Or point me to a guide or tutorial? I don’t want to spend a month or three learning how to use QCAD’s entire feature set. Just those parts that will let me achieve the modest objective I described.
Then get familiar with a handful of QCAD tools like:
Vertical Line LV
Horizontal Line LH
Line from 2 Points LI
Parallel (with Distance) LP
Round RN
Trim Both TM
I used them for this example but there is always more than one way to skin a cat ...
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: Novice: Drawing around an imported image?
Thanks Husky, understood. I plainly do need to grasp those few basics before I can hope to confidently use Inkspace, even for my limited objective. And I hope to do that soon, despite my impatience!
But after the help here and elsewhere I have at least now managed to make some progress, thanks.
Starting from my edited profile photo opened in Inkspace...
... I played with various settings of Trace Bitmap...
... and saved it as an SVG
(I don't yet understand how to view and position things in Inkspace. Sometimes my image appeared inside the 'box', sometimes not. Anyway, I assume it needs to fill that box? So that's high on the 'to learn' agenda.)
But after the help here and elsewhere I have at least now managed to make some progress, thanks.
Starting from my edited profile photo opened in Inkspace...
... I played with various settings of Trace Bitmap...
... and saved it as an SVG
(I don't yet understand how to view and position things in Inkspace. Sometimes my image appeared inside the 'box', sometimes not. Anyway, I assume it needs to fill that box? So that's high on the 'to learn' agenda.)