FreeCAD
1# ***************************************************************************
2# * *
3# * Copyright (c) 2021 Werner Mayer <wmayer[at]users.sourceforge.net> *
4# * *
5# * This program is free software; you can redistribute it and/or modify *
6# * it under the terms of the GNU Lesser General Public License (LGPL) *
7# * as published by the Free Software Foundation; either version 2 of *
8# * the License, or (at your option) any later version. *
9# * for detail see the LICENCE text file. *
10# * *
11# * This program is distributed in the hope that it will be useful, *
12# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14# * GNU Library General Public License for more details. *
15# * *
16# * You should have received a copy of the GNU Library General Public *
17# * License along with this program; if not, write to the Free Software *
18# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
19# * USA *
20# * *
21# ***************************************************************************
22
23__title__ = "PartEnums module"24__author__ = "Werner Mayer"25__url__ = "https://www.freecad.org"26__doc__ = "Enum types"27
28from enum import IntEnum29
30class JoinType(IntEnum):31Arc = 032Tangent = 133Intersection = 234
35class Shape(IntEnum):36C0 = 037G1 = 138C1 = 239G2 = 340C2 = 441C3 = 542CN = 643
44class FillingStyle(IntEnum):45StretchStyle = 046CoonsStyle = 147CurvedStyle = 248
49class Orientation(IntEnum):50FORWARD = 051REVERSED = 152INTERNAL = 253EXTERNAL = 354
55class ShapeEnum(IntEnum):56COMPOUND = 057COMPSOLID = 158SOLID = 259SHELL= 360FACE = 461WIRE = 562EDGE = 663VERTEX = 764SHAPE = 865
66class HLRBRep_TypeOfResultingEdge(IntEnum):67Undefined = 068IsoLine = 169OutLine = 270Rg1Line = 371RgNLine = 472Sharp = 573
74class SingleShapeCompoundCreationPolicy(IntEnum):75ReturnShape = 076ForceCompound = 177
78