This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import division | |
import Part | |
import math as mt | |
from FreeCAD import Base | |
from FreeCAD import Gui | |
def PerfSheet(L,H,W,R,Type="circle", s=1/5): | |
HoleSK=App.ActiveDocument.addObject('Sketcher::SketchObject','SheetPerforationHoles') | |
HoleSK.Placement = App.Placement(App.Vector(0.000000,0.000000,0.000000),App.Rotation(0.000000,0.000000,0.000000,1.000000)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# FreeCAD Work Features | |
# (c) 2014 Javier Martínez García | |
#*************************************************************************** | |
#* (c) Javier Martínez García 2014 * | |
#* * | |
#* This program is free software; you can redistribute it and/or modify * | |
#* it under the terms of the GNU Lesser General Public License (LGPL) * | |
#* as published by the Free Software Foundation; either version 2 of * |