↑top

FreeCAD: How to create character string shape solids?

Update: May 15, 2021
FreeCAD 0.19
  1. First, we prepare the font files. TTF, PFD and OTF format font file can be used.

    If your platform is Windows, you can check installed fonts from [Control Panel]-[Fonts] in start menu. In this example, we use [Times New Roman] that is installed on Windows.

    Fig. Prepares fint file
    Prepares fint files

    Copy following 4 files to your working folder.

    • Times New Roman (times.ttf)
    • Times New Roman Italic (timesi.ttf)
    • Times New Roman Bold (timesbd.ttf)
    • Times New Roman Bold Italic (timesbi.ttf)
  2. Create new documentNew Document icon and switch workbench to Part workbenchDraft workbench.

  3. Select "Shape String"Draft_ShapeString to show Shape String dialog on tasks tab in combo view.

    Fig. Shape String dialog
    Shape String dialog
  4. Enter numerical value into the X, Y, and Z on the dialog, or click on the 3D view with the mouse to set the position of the string. These values can be changed later, so they can be Approximate values.

  5. Enter the string to be created as the shape into "String". The value can be changed later, so it can be any string you like.

  6. Enter the string size into "Height". The value can be changed later, so it can be Approximate value.

  7. Enter the font file into "Font file". Specify the Times New Roman font file "times.ttf" that you have prepared.

  8. Click OK to create the string shape.

    Fig. Created shape string
    Created shape string
  9. The string, position, character spacing, font file to be used, etc. can be changed by editing the string shape properties in the Data tab.

    Fig. Editing the string shape properties
    Editing the string shape properties
  10. Next, we will extrude the shape string to create a solid. Switch workbench to Part workbenchPart workbench.

  11. Select the shape string on model tree and extrudePart_Extrude it to create a solid.

    Fig. Extrudes the shape string
    Extrudes the shape string

References