symcad.core

This module provides a namespace for all shared, basic functionality of the SymCAD library.

Public classes within the module include:

The symcad.core module should not be imported directly; rather, its contained classes should be imported like so:

from symcad.core import Coordinate

 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 all shared, basic functionality of the SymCAD library.
19
20Public classes within the module include:
21
22- `symcad.core.Assembly`
23- `symcad.core.Coordinate`
24- `symcad.core.Geometry`
25- `symcad.core.Rotation`
26- `symcad.core.SymPart`
27
28The `symcad.core` module should not be imported directly; rather, its contained classes should be
29imported like so:
30
31`from symcad.core import Coordinate`
32"""
33
34from .Coordinate import Coordinate
35from .Geometry import Geometry
36from .Rotation import Rotation
37from .SymPart import SymPart
38from .Assembly import Assembly