Skip to content

Instantly share code, notes, and snippets.

View CsatiZoltan's full-sized avatar

Zoltan Csati CsatiZoltan

View GitHub Profile
@CsatiZoltan
CsatiZoltan / projection.py
Created September 2, 2021 08:35
Python interface for projection onto a surface in FreeCAD
class Projection:
"""Projection of a curve onto a surface.
This class implements parametric projection, i.e. whenever there is a change in the curve
to be projected, in the surface on which we project, or in direction of the projection,
the projection is redone automatically.
As a typical workflow:
1. The user gives either programmatically or via the GUI the curve and the surface as FreeCAD