Merge branch 'main' into bim-cleanup-license

This commit is contained in:
marcuspollio
2025-04-11 15:13:45 +02:00
committed by GitHub
699 changed files with 6809 additions and 155717 deletions

View File

@@ -22,28 +22,9 @@
# * *
# ***************************************************************************
import math
import ArchComponent
import DraftGeomUtils
import DraftVecUtils
import FreeCAD
import Part
from FreeCAD import Vector
if FreeCAD.GuiUp:
import FreeCADGui
from PySide import QtCore, QtGui
from draftutils.translate import translate
from PySide.QtCore import QT_TRANSLATE_NOOP
else:
# \cond
def translate(ctxt, txt):
return txt
def QT_TRANSLATE_NOOP(ctxt, txt):
return txt
# \endcond
__title__ = "FreeCAD Roof"
__author__ = "Yorik van Havre", "Jonathan Wiedemann"
__url__ = "https://www.freecad.org"
## @package ArchRoof
# \ingroup ARCH
@@ -53,9 +34,28 @@ else:
# Roofs are built from a closed contour and a series of
# slopes.
__title__ = "FreeCAD Roof"
__author__ = "Yorik van Havre", "Jonathan Wiedemann"
__url__ = "https://www.freecad.org"
import math
import FreeCAD
import ArchComponent
import DraftGeomUtils
import DraftVecUtils
import Part
from FreeCAD import Vector
if FreeCAD.GuiUp:
from PySide import QtCore, QtGui
from PySide.QtCore import QT_TRANSLATE_NOOP
import FreeCADGui
from draftutils.translate import translate
else:
# \cond
def translate(ctxt, txt):
return txt
def QT_TRANSLATE_NOOP(ctxt, txt):
return txt
# \endcond
def adjust_list_len (lst, newLn, val):