Difference between revisions of "FreeCAD/C3/Importing-an-Image-into-FreeCAD/English"
Ketkinaina (Talk | contribs) (Created page with "'''Title of the script:''' '''Importing an image into FreeCAD''' '''Author: '''Chitra Balaji, Ketki Bhamble. '''Keywords:''' FreeCAD, Import Image, Calibrate tool, Polyline...") |
(No difference)
|
Revision as of 15:46, 5 August 2025
Title of the script: Importing an image into FreeCAD
Author: Chitra Balaji, Ketki Bhamble.
Keywords: FreeCAD, Import Image, Calibrate tool, Polyline tool, Tracing, 3D Modeling, Pad tool, FCStd File, video tutorial.
Visual Cue | Narration |
Slide 1
Title Slide |
Welcome to this Spoken tutorial on Importing an Image into FreeCAD. |
Slide 2
Learning Objectives |
In this tutorial, we will learn to:
|
Slide 3
System Requirements |
To record this tutorial, I am using:
|
Slide 4
Prerequisite |
To follow this tutorial,
|
Slide 5
Code Files The following code files are required to practice this tutorial.
These files are provided in the Code Files link of this tutorial page. |
The following code files are required to practice this tutorial.
These files are provided in the Code Files link of this tutorial page. |
Right click on the Freecad app image, Select Run. | Let’s open the FreeCAD interface. |
Click on File menu select the new option
Go to File and click New. |
Let us open a new file. |
Click on File menu, select Import. | Now let’s import a 2D image.
Click on File and select Import. |
Import file dialog box opens.
Click on the file dialog box and select supported formats |
Import file dialog box opens.
Choose the Files of Type as Supported formats. |
Select Image File. | Select the Flange-rod.png file and click Open. |
Point to the imported image. | The image is imported. |
Go to navigation gizmo and click on Top view.
Under Model, double click on the Flange-rod. Image plane settings panel opens. |
To view the image properly, go to navigation gizmo and click on Top view.
Under Model, double click on the Flange-rod. Image plane settings panel opens. |
Highlight the position and rotation.
Highlight the width and height Highlight the Calibrate tool. |
The position and rotation of the image can be changed if required.
The image size can be changed by following ways:
|
Click the Calibrate button
Click and drag the cursor from one point to another. Display the textbox where distance is entered. Enter 38mm in the textbox and point to the distance shown in the image. Show the image scaled. Under the Tasks, Click on Ok Button. |
Now click the Calibrate button.
On the image, click and drag the cursor from one point to another. A text box with length in millimeters appears. Enter the actual distance between two points that is 38mm as shown in the image. Press Enter. This will scale the image proportionately, adjusting both width and height. Click on OK to enable the changes. |
Scroll the mouse to zoom out the image. | To see it clearly, scroll the mouse to zoom out the image. |
Point at the image.
Only narration. Click on the Create sketch tool under the Part Design Workbench. |
This image can be used as a reference background for sketching.
Now we will trace the image. Click on the Create sketch tool under the Part Design workbench. |
Under the Tasks panel, Select attachment as XY-plane and click OK. | Under the Tasks panel, Select attachment as XY-plane and click OK. |
Cursor near the image. | Now let’s trace the image. |
Click the Create polyline tool.
Click on all the lines of the image to trace it. Click on the Dimension dropdown, Select Constrain horizontal distance. Click on the horizontal line. An Insert length box appears with the same length. Click OK. Click on the Dimension dropdown, Select Constrain vertical distance. Click on the vertical line. An Insert length box appears with the same length. Click OK. |
Click the Create Polyline tool.
Let’s draw all the lines of the image to trace it. Do you know why we trace images in FreeCAD? By tracing we are recreating the shape of the image. These traced shapes become editable 2D geometry. Now we have traced the image, let's check the dimension. Click on the Dimension dropdown, Select Constrain horizontal distance. Click on the horizontal line. An Insert length box appears with the same length. Click OK. Similarly we will measure the vertical distance. Check the length in the insert length box. Click OK. Notice the dimensions of length and width. They are scaled as per the image. |
Close button on the left panel to complete the sketch. | Click the Close button on the left panel to complete the sketch. |
Click on the eye icon symbol to hide the image.
In the left panel beside the name. Press Space bar to hide or unhide the image. |
Click the eye icon of the image to hide or unhide the image.
You can also press the Spacebar to hide or unhide the image. |
Enter the File menu and select the Save As option.
Enter the name as Flange-rod-trace.FCStd and click on Save. Close the tab at the bottom. |
Let us now save the file.
Click File, and select Save As. Enter the file name as Flange-rod-trace.FCStd and click on Save. Close the File. |
Go to File, click on Open Recent.
Select Flange-rod-trace.FCStd and click on the Open button. Under the Model menu,click on the sketch, and select the Pad tool. |
Let’s now reopen the saved sketch.
Under the Model menu,click on the sketch. Select the Pad tool to convert the sketch into a 3D model. |
Move the navigation gizmo. | The Flange rod is now scaled and traced.
It can be used as a base for building detailed mechanical assemblies. |
Slide 6
Summary In this tutorial we learnt to,
|
With this, we come to the end of this tutorial.
Let us summarize. |
Slide 7
Assignment As an assignment, please do the following:
|
As an assignment, please do the following: |
Slide 8
Thank you |
Thank you for joining. |