Skip to content

Instantly share code, notes, and snippets.

@5263
5263 / Extrusions.py
Created February 7, 2012 13:51 — forked from thehans/Extrusions.py
Parametric Aluminum Extrusion Module
import math
from FreeCAD import Base
#Main class for general extrusion related methods
class ExtrusionProfile():
def __init__(self, profile):
self.profile = profile
def makeExtrusion(self, p1, p2, rotateAngle=0):
"""Generates an extrusion which connects between two points,