PDF: Difference between revisions

From FreeCAD Documentation
(TOCright to top)
(Removed empty paragraph.)
Line 36: Line 36:
* [[Std_Export]]: exports selected objects to a different file format. Many file formats are supported and for some formats multiple export options exist. See [[Import Export]] for more information.
* [[Std_Export]]: exports selected objects to a different file format. Many file formats are supported and for some formats multiple export options exist. See [[Import Export]] for more information.
* [[Std_PrintPdf]]: primarily intended to create PDF files from [[TechDraw Workbench]] pages, but can also be used to create a PDF from what is currently visible in the [[3D view]].
* [[Std_PrintPdf]]: primarily intended to create PDF files from [[TechDraw Workbench]] pages, but can also be used to create a PDF from what is currently visible in the [[3D view]].

==Scripting== <!--T:14-->
{{VeryImportantMessage|TBD}}


<!--T:15-->
<!--T:15-->
For [[Power_users_hub|power users]], there is an option to utilize the [[Python console]] to export a PDF.
For [[Power_users_hub|power users]], there is an option to utilize the [[Python console]] to export a PDF.



</translate>
</translate>

Revision as of 18:06, 28 December 2020

Description

Portable Document Format (PDF) is a file format developed by Adobe in the 1990s to present documents, including text and images.

PDF is based on the PostScript language, which is a vector-based format to describe pages. In this sense it's similar to SVG, as it allows scaling a drawing to any size without losing its shape or amount of details.

Nevertheless, a PDF can contain many things, including text, fonts, vector graphics, and bitmap images. PDF was standardized as an open format in 2008, as ISO 32000.

PDF is commonly used as a sharing format, that is, to share documents, text, or images, that will display and print exactly as the author intended.

Usage

As FreeCAD is based on the Qt graphical toolkit, it can export the 3D view natively to PDF. This can be useful to export carefully created drawings that other users don't need to modify. For example, pages created with the TechDraw Workbench can be exported in this way for sharing or printing. In many cases it is also possible to perform two way conversion between PDF and SVG.

The option to export to PDF is available in the File → Export PDF menu.

Related

Two commands directly related to the PDF format in FreeCAD are:

  • Std_Export: exports selected objects to a different file format. Many file formats are supported and for some formats multiple export options exist. See Import Export for more information.
  • Std_PrintPdf: primarily intended to create PDF files from TechDraw Workbench pages, but can also be used to create a PDF from what is currently visible in the 3D view.

For power users, there is an option to utilize the Python console to export a PDF.