Skip to main content

Refactoring Sketcher in FreeCAD

H.1309 (Van Rijn) | Day 2 | 14:10 - 14:30 | Speakers: Ajinkya Dahale

Refactoring Sketcher in FreeCAD
A picture of a devroom at FOSDEM 2024
Open in browser
Get involved in the conversation!Join the chat

Notes

Abstract

Sketcher is the 2D constrained drawing workbench in FreeCAD. While a powerful tool making the backbone for more complex 3D workbenches, all the years of development has added a significant bloat to the code-base. This includes 10,000+ line files and 1000+ line functions with little to no testing.

In this talk I will present the method and progress in the ongoing effort to refactor the Sketcher workbench in FreeCAD, such that it is more maintainable and extensible for the future. Topics covered include identifying places for improvement in the first place, adding tests, and finally* methods of refactoring.

Attachments

Speakers

Ajinkya Dahale

Notice: The placeholder video image is licensed under CC BY-SA 4.0. The original image can be found hereChanges made to the image are: Cropped the image to a new ratio, part of the image was cut off.