Skip to content

FreeCAD/FreeCAD-render

Repository files navigation

FreeCAD Render Workbench

FreeCAD Addon manager status linting: pylint

A FreeCAD workbench to produce high-quality rendered images from your FreeCAD document, using open-source external rendering engines.

ShowCase

Introduction

The Render Workbench is a replacement for the built-in Raytracing Workbench of FreeCAD. It is based on the same philosophy, but aims to improve certain aspects of Raytracing:

  • The Render Workbench is written fully in Python, which should make it much easier to understand and extend by non-C++ programmers.
  • Exporters to rendering engines are implemented as plugins, which should facilitate the addition of new engines. The Render Workbench already supports several more renderers than Raytracing Workbench, like Appleseed, LuxCoreRender and Cycles.
  • The Render Workbench provides enhanced features, compared to Raytracing:
    • various scene lighting features (point lights, area lights, sunsky etc.) and preconfigured lightings as templates
    • camera enhanced control
    • material support
    • texture support
    • renderers' advanced features handling: denoising, batch mode etc.

Supported rendering engines

At the moment, the following rendering engines are supported:

Installation

Workbench

The Render Workbench is part of the FreeCAD Addons repository, and thus can be installed from menu Tools > Addon Manager in FreeCAD. This is the recommended installation method.
However, alternatively, it can also be installed manually by downloading this repository using the "clone or download" button above. Refer to FreeCAD documentation to learn more.

External rendering engines

In addition to workbench installation, you will also need to install and set up one or more external rendering engines, among the supported ones.

Usage

In quick-start mode, after installation has correctly been done, rendering a FreeCAD model is just a 4-steps process:

  1. Create a rendering project: Press the button in the toolbar corresponding to your renderer and select a template suitable for your renderer
    (you may start with a 'studio' flavour, like appleseed_studio_light.appleseed, cycles_studio_light.xml, luxcore_studio_light.cfg or povray_studio_light.pov)

  2. Add views of your objects to your rendering project: Select both the objects and the project, and press the 'Add view' button

  3. Set your point of view: Navigate in FreeCAD 3D View to the desired position and switch to Perspective mode.

  4. Render: Select your project and press the 'Render' button in toolbar (also available in project's context menu).


...and you should get a first rendering of your model.

You may also find a short tutorial on how to get started here: https://www.youtube.com/watch?v=8wsOnwjKG9M

More features

Optionally, you may tweak some particulars of your scene:

These adjustments should take place between steps 2 and 3.

Contributing

Any contributions are welcome! Please read our Contributing guidelines beforehand.

Feedback

For feedback, bugs, feature requests, and further discussion please use a dedicated FreeCAD forum thread, or open an issue in this Github repo.

Code of Conduct

This project is covered by FreeCAD Code of Conduct. Please comply to this code in all your contributions (issue openings, pull requests...).