symcad.parts
This module provides a namespace for the built-in parts and shapes of the SymCAD library.
The symcad.parts module should not be imported directly; rather, its subclasses (and
sub-subclasses) should be used as base classes for different types of symcad.core.SymPart. A
concrete SymCAD part may be imported from the module corresponding to its type, or it may be
imported directly from the symcad.parts module like so:
- Type-Based:
from symcad.parts.endcaps import FlangedFlatPlate - Direct:
from symcad.parts import FlangedFlatPlate
1#!/usr/bin/env python3 2# Copyright (C) 2022, Will Hedgecock 3# 4# This program is free software: you can redistribute it and/or modify 5# it under the terms of the GNU General Public License as published by 6# the Free Software Foundation, either version 3 of the License, or 7# (at your option) any later version. 8# 9# This program is distributed in the hope that it will be useful, 10# but WITHOUT ANY WARRANTY; without even the implied warranty of 11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12# GNU General Public License for more details. 13# 14# You should have received a copy of the GNU General Public License 15# along with this program. If not, see <http://www.gnu.org/licenses/>. 16 17""" 18This module provides a namespace for the built-in parts and shapes of the SymCAD library. 19 20The `symcad.parts` module should not be imported directly; rather, its subclasses (and 21sub-subclasses) should be used as base classes for different types of `symcad.core.SymPart`. A 22concrete SymCAD part may be imported from the module corresponding to its type, or it may be 23imported directly from the `symcad.parts` module like so: 24 25 - Type-Based: `from symcad.parts.endcaps import FlangedFlatPlate` 26 - Direct: `from symcad.parts import FlangedFlatPlate` 27""" 28 29from .composite import * 30from .endcaps import * 31from .fairing import * 32from .fixed import * 33from .generic import *