FreeCAD/C2/Inscribe-a-Polygon/English

From Script | Spoken-Tutorial
Revision as of 18:00, 8 December 2023 by Snehalathak (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Title of script: Inscribe a polygon

Author: Rani Parvathy

Keywords: Freecad,snap tool, annotation tool, inscribe a polygon, equation of a pentagon, format object, color, change line width, annotation, format text, measure distance, video tutorial.


Visual Cue Narration
Slide Number 1

Title Slide

Welcome to the tutorial on Inscribe a Polygon.
Slide Number 2

Learning Objectives


In this tutorial, we will learn to,


  • Inscribe a pentagon inside a circle
  • Format the object with wireframe or flatlines
  • Change color and line width
  • Add annotation


Slide Number 3

Learning Objectives

  • Set global or individual font size
  • Measure the length of an edge and
  • About View toolbar, zoom and reset


Slide Number 4

System and Software Requirement


To record this tutorial, I am using


  • Windows 11 OS and
  • FreeCAD v0.21.1


Slide Number 5

Pre-requisites


https://www.spoken-tutorial.org


To follow this tutorial,
  • Learners must be familiar with the FreeCAD interface.
  • For pre-requisite tutorials, please visit this site.


Open FreeCAD and go to Draft workbench. Open FreeCAD and start a new file.

Select Draft workbench.

Make sure that Orthographic and top view are selected.

Cursor on the polygon tool. Let’s add a pentagon to this drawing.


FreeCAD inscribes a polygon inside of a circle.

Slide Number 6

Inscribing pentagon inside a circle


For inscribing pentagon of a circle

R=0.85 A

A is length of the side of the pentagon

R is the radius of the circle

Equation for inscribing a pentagon of a circle is R is equal to 0.85 times A.


Where A is the length of the side of the pentagon.


And R is the radius of the circle.

Click on the polygon tool in the Draft creation tools menu. Click on the polygon tool as seen.
Cursor on Sides option in Combo view, Model tab.

Change the number of Sides to 5.

Notice the Sides option in Combo view, Model tab.


Change it to 5, since a pentagon has 5 sides.

Move the cursor to the drawing canvas. Move the cursor to the drawing canvas and notice the + crosshair.
Left click hold and drag. Left click hold and drag to form the desired polygon.


First only the circle on which the polygon is inscribed is seen.

Annotation on the Radius panel.


Highlight the radius change in the comboview panel.


Notice the Radius form on the left combo View panel.


As you drag to form a larger circle, the radius in the form also changes.

At ~ r=20, left click on the canvas. I will keep the radius around 20mm and click on the canvas.


This fixes the radius of the circle and the polygon can be seen.


Cursor on the polygon.


Highlight the green outline on the selected object at editing.

To select an object click on it and notice the green outline.

Highlight polygon while editing. The new object is also added in the combo view as polygon.
Click on polygon to select it.


Make sure the polygon is selected in the combo view.


Highlight in video editing.


Cursor on Property in Model tab.

Place the cursor on the edge of the panel.


A two sided arrow appears on the edge.


Click and drag to resize the panel.

Highlight in video editing.


Place the cursor on the edge of the panel as seen.

Click and drag to resize the panel.


Properties of the object can be changed using the Model tab.

For Bounding box, choose true.


Show the green bounding box.

For the first option of the bounding box, choose true.


Notice that a bounding box for the object is displayed.

Cursor near the bounding box. This allows us to encompass the area of selected objects in the canvas.
Toggle the bounding box off from the view menu. We can also toggle this on or off from the view toolbar on the top menu.
Scroll down to object style.


Open the pull down menu for Display mode.(Draw style)


Select Wireframe for Display mode.

Scroll down to object style.


Click on the pull down menu for Display mode as seen here.


Wireframe shows only the edges of the object.

Choose Flat lines. I will choose Flat lines now.


This will enable us to draw a color shaded or color filled object.

Click on the form for line color. Scroll down and click on the form for line color.


A Select color dialog box appears.


Some of you will have to click again for the dialog box to open.

Choose red and click on Ok. I will choose red and click on OK.
Cursor on the selected When the object is selected, the outline is in green color.


Hence the change will not be visible at this point.

Change Line width to 8.

Highlight change in video editing.

Scroll down and change the line width to 8.
Scroll down.


Click on the form for Shape color.


Scroll down to the Shape color.


Click on the form and open the select color option.

Choose orange color and click on Ok.


If the object has multiple faces, we can color the various faces differently.


I will choose an orange color and click on OK.

Cursor on transparency. Notice that we can also change the transparency of the object here.
Cursor on circle tool in Draft tools. Now, pause the video, and draw a circle partially overlapping the pentagon.
Cursor on flat lines and show filled pentagon. Use flat lines for display mode and fill it with a color of your choice.
Cursor on transparency. Then change the transparency level and notice the changes.
Left click on the canvas and notice the changes. The color changes will be visible only when the object is not highlighted.
Click on one of the edges of the pentagon. Next, let’s measure the distance of the side of the pentagon.


First click to select the edge of your choice.

Click on the Dimension tool on the Draft Annotation tools. Next, click on the Dimension tool in the Draft Annotation tools.
Move the line a bit away from the selected line. A line parallel to the selected line appears on the canvas.


Place it a bit away where you want the annotation to be placed.

Left click and notice the measured distance. Left click to notice the measured line and annotation.


For some of you the font size may be very small and not visible.

We can format the annotation globally or individually.
Select the Dimension label in the comboview, model tab. In the combo View, model tab, Select the dimension label.
Open the line color selection dialog box in the graphics section. Scroll down to the graphics section and line color.


Click once or twice depending on your system to open the select color dialog.

Choose red and click on ok. Choose red and click on OK.
Scroll to text section. Then, scroll to the text section in the panel below.
Change font size to 5 mm. Go to the font size section and change it to 5 mm.


Now the text size changes.

Go to Edit, Preferences. To change the default font setting, go to Edit, Preferences.
Select Draft tab on the left and then test and dimensions on the top. Choose the Draft tab on the left.

Then choose the Text and dimensions on top.

Cursor on the text properties. Set the desired parameters here for global setting.


The changes will apply only to the annotations that you will add later on.

Click on Cancel. For now I will click on Cancel as I do not want to change them.
click on the measure distance tool on the View toolbar. Let us measure the distance between two user chosen points.


First click on the measure distance tool on the View toolbar.

Cursor on the report view window. The report view window prompts the user to pick the first point.
Click on a point on the canvas. Click on your desired first point.


I will choose one of the vertex of the pentagon.

Click on another vertex. Then I will click on another vertex.


Notice the distance between them is now shown on the canvas.

Cursor on combo view, model tab and show the added measurement. Delete the measurements using the combo view, model tab.


Select the object and delete it.

Cursor on View toolbar fit all and fit selection tooltip. You may want to readjust the zoom level at any point.


Use the View toolbar options as seen to fit all objects or the selection.

Select an object and right click to open the context menu. Many of these are also available as context menus.


Right click on the canvas with the selected object to access them.

Users must practice to get familiarity with the various tools.
Click on File, hover on save. Save your work if desired.
Use File, Exit to close FreeCAD. Use File, Exit to close FreeCAD.
Slide Number 7

Summary

Now let's summarize.

In this tutorial, we,


  • Inscribed a pentagon
  • Formatted color and line properties
  • Added Annotation
  • Formatted the text properties and
  • Measured distance between two points
Slide Number 8

Assignment

For assignment activity, please do the following.


  • Draw a rectangle
  • Draw a hexagon with A =25 mm.


Hint: For hexagon, A = r to inscribe on a circle.

Slide Number 9

Assignment

Practice to draw and format the properties of objects.


Hint: You may also use the parameters in combo View window to modify.

Slide Number 10

Spoken Tutorial Project


This video summarises the Spoken Tutorial Project .


Please download and watch it.

Slide Number 11

Spoken Tutorial workshops

The Spoken Tutorial Project team,


* conducts workshops and*
* gives certificates.

Please write to us.

Slide Number 12

Forum for specific questions:

Please post your timed queries in this forum.
Slide Number 13

Acknowledgement

The Spoken Tutorial Project was established by the Ministry of Education, Government of India.
Thank you for joining.

Contributors and Content Editors

Madhurig, Snehalathak

Retrieved from "https://script.spoken-tutorial.org/index.php?title=FreeCAD/C2/Inscribe-a-Polygon/English&oldid=56434"