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

@@ -26,16 +26,26 @@ __title__ = "FreeCAD Precast concrete module"
__author__ = "Yorik van Havre"
__url__ = "https://www.freecad.org"
## @package ArchPrecast
# \ingroup ARCH
# \brief Precast options for ArchStructure
#
# This module provides additional presets for the Arch Structure
# tool, to build a series of precast concrete elements
"""This module contains tools to build basic precast concrete elements:
Beams, pillars, slabs and panels"""
import ArchCommands,ArchComponent,FreeCAD
import FreeCAD
import ArchCommands
import ArchComponent
from FreeCAD import Vector
from draftutils import params
if FreeCAD.GuiUp:
from draftutils.translate import translate
from PySide.QtCore import QT_TRANSLATE_NOOP
from draftutils.translate import translate
else:
# \cond
def translate(ctxt,txt):
@@ -44,12 +54,6 @@ else:
return txt
# \endcond
## @package ArchPrecast
# \ingroup ARCH
# \brief Precast options for ArchStructure
#
# This module provides additional presets for the Arch Structure
# tool, to build a series of precast concrete elements
class _Precast(ArchComponent.Component):
@@ -687,7 +691,8 @@ class _PrecastStairs(_Precast):
if length < tread:
length = tread # minimum
import math,Part
import math
import Part
p = [Vector(0,0,0)] # relative moves
if downlength: