diff --git a/src/Mod/Part/App/BRepOffsetAPI_MakePipeShell.pyi b/src/Mod/Part/App/BRepOffsetAPI_MakePipeShell.pyi index ad875527a8..37f58198cb 100644 --- a/src/Mod/Part/App/BRepOffsetAPI_MakePipeShell.pyi +++ b/src/Mod/Part/App/BRepOffsetAPI_MakePipeShell.pyi @@ -72,10 +72,10 @@ class BRepOffsetAPI_MakePipeShell(PyObjectBase): @overload def add(self, Profile: TopoShape, *, WithContact: bool = False, WithCorrection: bool = False) -> None: ... - + @overload def add(self, Profile: TopoShape, Location: TopoShape, *, WithContact: bool = False, WithCorrection: bool = False) -> None: ... - + def add(self, **kwargs) -> None: """ add(shape Profile, bool WithContact=False, bool WithCorrection=False) diff --git a/src/Mod/Part/App/BSplineSurface.pyi b/src/Mod/Part/App/BSplineSurface.pyi index 1772556793..18a4f36b5f 100644 --- a/src/Mod/Part/App/BSplineSurface.pyi +++ b/src/Mod/Part/App/BSplineSurface.pyi @@ -50,10 +50,10 @@ class BSplineSurface(GeometrySurface): Returns the index in the knot array associated with the u parametric direction, which corresponds to the first parameter of this B-Spline surface in the specified parametric direction. - + The isoparametric curves corresponding to these values are the boundary curves of this surface. - + Note: The index does not correspond to the first knot of the surface in the specified parametric direction unless the multiplicity of the first knot is equal to Degree + 1, where Degree is the degree of this surface in the corresponding parametric direction. @@ -64,10 +64,10 @@ class BSplineSurface(GeometrySurface): Returns the index in the knot array associated with the u parametric direction, which corresponds to the last parameter of this B-Spline surface in the specified parametric direction. - + The isoparametric curves corresponding to these values are the boundary curves of this surface. - + Note: The index does not correspond to the first knot of the surface in the specified parametric direction unless the multiplicity of the last knot is equal to Degree + 1, where Degree is the degree of this surface in the corresponding parametric direction. @@ -78,10 +78,10 @@ class BSplineSurface(GeometrySurface): Returns the index in the knot array associated with the v parametric direction, which corresponds to the first parameter of this B-Spline surface in the specified parametric direction. - + The isoparametric curves corresponding to these values are the boundary curves of this surface. - + Note: The index does not correspond to the first knot of the surface in the specified parametric direction unless the multiplicity of the first knot is equal to Degree + 1, where Degree is the degree of this surface in the corresponding parametric direction. @@ -92,10 +92,10 @@ class BSplineSurface(GeometrySurface): Returns the index in the knot array associated with the v parametric direction, which corresponds to the last parameter of this B-Spline surface in the specified parametric direction. - + The isoparametric curves corresponding to these values are the boundary curves of this surface. - + Note: The index does not correspond to the first knot of the surface in the specified parametric direction unless the multiplicity of the last knot is equal to Degree + 1, where Degree is the degree of this surface in the corresponding parametric direction. diff --git a/src/Mod/Part/App/BezierSurface.pyi b/src/Mod/Part/App/BezierSurface.pyi index fd899c6379..e4d0db0c1a 100644 --- a/src/Mod/Part/App/BezierSurface.pyi +++ b/src/Mod/Part/App/BezierSurface.pyi @@ -35,7 +35,7 @@ class BezierSurface(GeometrySurface): Returns the polynomial degree in v direction of this Bezier surface, which is equal to the number of poles minus 1. """ - + MaxDegree: Final[int] """ Returns the value of the maximum polynomial degree of any diff --git a/src/Mod/Part/App/FCBRepAlgoAPI_BooleanOperation.cpp b/src/Mod/Part/App/FCBRepAlgoAPI_BooleanOperation.cpp index 3a5e6bd879..7068225c41 100644 --- a/src/Mod/Part/App/FCBRepAlgoAPI_BooleanOperation.cpp +++ b/src/Mod/Part/App/FCBRepAlgoAPI_BooleanOperation.cpp @@ -100,13 +100,13 @@ void FCBRepAlgoAPI_BooleanOperation::Build(const Message_ProgressRange& progress RecursiveCutFusedTools(myOriginalArguments, myOriginalTools.First()); myArguments = myOriginalArguments; myTools = myOriginalTools; - + } else if (myOperation==BOPAlgo_CUT && myArguments.Size()==1 && myArguments.First().ShapeType() == TopAbs_COMPOUND) { // cut compound argument TopTools_ListOfShape myOriginalArguments = myArguments; RecursiveCutCompound(myOriginalArguments.First()); myArguments = myOriginalArguments; - + } else { #if OCC_VERSION_HEX >= 0x070600 BRepAlgoAPI_BooleanOperation::Build(progressRange); @@ -135,7 +135,7 @@ void FCBRepAlgoAPI_BooleanOperation::RecursiveCutFusedTools(const TopTools_ListO // get a list of shapes in the tool compound myTools.Clear(); RecursiveAddTools(theTool); - + // if tool consists of two or more shapes, fuse them together if (myTools.Size() >= 2) { myArguments.Clear(); @@ -143,23 +143,23 @@ void FCBRepAlgoAPI_BooleanOperation::RecursiveCutFusedTools(const TopTools_ListO myTools.RemoveFirst(); myOperation = BOPAlgo_FUSE; Build(); - + // restore original state myOperation = BOPAlgo_CUT; myArguments = theOriginalArguments; - + if (!IsDone()) { myShape = {}; return; } - + // use fused shape as new tool // if the original tools didn't all touch, the fused shape will be a compound // which we convert into a list of shapes so we don't attempt to fuse them again myTools.Clear(); RecursiveAddTools(myShape); } - + // do the cut Build(); } @@ -168,22 +168,22 @@ void FCBRepAlgoAPI_BooleanOperation::RecursiveCutCompound(const TopoDS_Shape& th BRep_Builder builder; TopoDS_Compound comp; builder.MakeCompound(comp); - + // iterate through shapes in argument compound and cut each one with the tool TopoDS_Iterator it(theArgument); for (; it.More(); it.Next()) { myArguments.Clear(); myArguments.Append(it.Value()); Build(); - + if (!IsDone()) { myShape = {}; return; } - + builder.Add(comp, myShape); } - + // result is a compound of individual cuts myShape = comp; } diff --git a/src/Mod/Part/App/Geom2d/BSplineCurve2d.pyi b/src/Mod/Part/App/Geom2d/BSplineCurve2d.pyi index 5c452b8e0d..0b3448af6a 100644 --- a/src/Mod/Part/App/Geom2d/BSplineCurve2d.pyi +++ b/src/Mod/Part/App/Geom2d/BSplineCurve2d.pyi @@ -85,11 +85,11 @@ class BSplineCurve2d(Curve2d): @overload def increaseMultiplicity(self, index: int, mult: int) -> None: ... - + @overload def increaseMultiplicity(self, start: int, end: int, mult: int) -> None: ... - + def increaseMultiplicity(self, *args, **kwargs) -> None: """ increaseMultiplicity(int index, int mult) @@ -370,11 +370,11 @@ class BSplineCurve2d(Curve2d): @overload def buildFromPolesMultsKnots(self, poles: list[Vector], mults: tuple[int, ...], knots: tuple[float, ...], periodic: bool, degree: int) -> None: ... - + @overload def buildFromPolesMultsKnots(self, poles: list[Vector], mults: tuple[int, ...], knots: tuple[float, ...], periodic: bool, degree: int, weights: tuple[float, ...], CheckRational: bool) -> None: ... - + def buildFromPolesMultsKnots(self, **kwargs) -> None: """ Builds a B-Spline by a lists of Poles, Mults, Knots. diff --git a/src/Mod/Part/App/Geom2d/BezierCurve2d.pyi b/src/Mod/Part/App/Geom2d/BezierCurve2d.pyi index dd80a1a75c..684044a2eb 100644 --- a/src/Mod/Part/App/Geom2d/BezierCurve2d.pyi +++ b/src/Mod/Part/App/Geom2d/BezierCurve2d.pyi @@ -15,7 +15,7 @@ class BezierCurve2d(Curve2d): Describes a rational or non-rational Bezier curve in 2d space: -- a non-rational Bezier curve is defined by a table of poles (also called control points) -- a rational Bezier curve is defined by a table of poles with varying weights - + Author: Werner Mayer (wmayer@users.sourceforge.net) Licence: LGPL """ diff --git a/src/Mod/Part/App/Geom2d/Circle2d.pyi b/src/Mod/Part/App/Geom2d/Circle2d.pyi index 8b661f3565..4effcc51e7 100644 --- a/src/Mod/Part/App/Geom2d/Circle2d.pyi +++ b/src/Mod/Part/App/Geom2d/Circle2d.pyi @@ -38,16 +38,16 @@ class Circle2d(Conic2d): @overload def __init__(self) -> None: ... - + @overload def __init__(self, circle: "Circle2d") -> None: ... - + @overload def __init__(self, circle: "Circle2d", Distance: float) -> None: ... - + @overload def __init__(self, Center: Tuple[float, float], Radius: float) -> None: ... - + @overload def __init__(self, Point1: Tuple[float, float], Point2: Tuple[float, float], Point3: Tuple[float, float]) -> None: ... diff --git a/src/Mod/Part/App/Geom2d/Curve2d.pyi b/src/Mod/Part/App/Geom2d/Curve2d.pyi index e80da55efb..a3b3914d7b 100644 --- a/src/Mod/Part/App/Geom2d/Curve2d.pyi +++ b/src/Mod/Part/App/Geom2d/Curve2d.pyi @@ -51,32 +51,32 @@ class Curve2d(Geometry2d): @constmethod def discretize(self, *, Number: int) -> List[Vector]: ... - + @overload @constmethod def discretize(self, *, QuasiNumber: int) -> List[Vector]: ... - + @overload @constmethod def discretize(self, *, Distance: float) -> List[Vector]: ... - + @overload @constmethod def discretize(self, *, Deflection: float) -> List[Vector]: ... - + @overload @constmethod def discretize(self, *, QuasiDeflection: float) -> List[Vector]: ... - + @overload @constmethod def discretize(self, *, Angular: float, Curvature: float, Minimum: int = 2) -> List[Vector]: ... - + @constmethod def discretize(self, **kwargs) -> List[Vector]: """ @@ -117,19 +117,19 @@ class Curve2d(Geometry2d): @overload def length(self) -> float: ... - + @overload def length(self, uMin: float) -> float: ... - + @overload def length(self, uMin: float, uMax: float) -> float: ... - + @overload def length(self, uMin: float, uMax: float, Tol: float) -> float: ... - + def length(self, *args: float) -> float: """ Computes the length of a curve @@ -140,11 +140,11 @@ class Curve2d(Geometry2d): @overload def parameterAtDistance(self, abscissa: float) -> float: ... - + @overload def parameterAtDistance(self, abscissa: float, startingParameter: float) -> float: ... - + def parameterAtDistance(self, *args: float) -> float: """ Returns the parameter on the curve of a point at @@ -203,11 +203,11 @@ class Curve2d(Geometry2d): @overload def toBSpline(self) -> BSplineCurve: ... - + @overload def toBSpline(self, First: float, Last: float) -> BSplineCurve: ... - + def toBSpline(self, *args: float) -> BSplineCurve: """ Converts a curve of any type (only part from First to Last) diff --git a/src/Mod/Part/App/Geom2d/Ellipse2d.pyi b/src/Mod/Part/App/Geom2d/Ellipse2d.pyi index 6375b76656..8ea0792086 100644 --- a/src/Mod/Part/App/Geom2d/Ellipse2d.pyi +++ b/src/Mod/Part/App/Geom2d/Ellipse2d.pyi @@ -52,16 +52,16 @@ class Ellipse2d(Conic2d): @overload def __init__(self) -> None: ... - + @overload def __init__(self, Ellipse: "Ellipse2d") -> None: ... - + @overload def __init__(self, S1: object, S2: object, Center: object) -> None: ... - + @overload def __init__(self, Center: object, MajorRadius: float, MinorRadius: float) -> None: ... - + @overload def __init__(self, *args, **kwargs) -> None: ... diff --git a/src/Mod/Part/App/Geom2d/Line2dSegment.pyi b/src/Mod/Part/App/Geom2d/Line2dSegment.pyi index bf193170c7..6e04f1c092 100644 --- a/src/Mod/Part/App/Geom2d/Line2dSegment.pyi +++ b/src/Mod/Part/App/Geom2d/Line2dSegment.pyi @@ -27,16 +27,16 @@ Part.Geom2d.Line2dSegment(Point1,Point2) StartPoint: object = ... """Returns the start point of this line segment.""" - + EndPoint: object = ... """Returns the end point of this line segment.""" @overload def __init__(self) -> None: ... - + @overload def __init__(self, Line: "Line2dSegment") -> None: ... - + @overload def __init__(self, Point1: object, Point2: object) -> None: ... diff --git a/src/Mod/Part/App/MeasureClient.cpp b/src/Mod/Part/App/MeasureClient.cpp index 52d6ace3fe..970de18996 100644 --- a/src/Mod/Part/App/MeasureClient.cpp +++ b/src/Mod/Part/App/MeasureClient.cpp @@ -105,7 +105,7 @@ TopoDS_Shape getLocatedShape(const App::SubObjectT& subject, Base::Matrix4D* mat Part::TopoShape shape = Part::Feature::getTopoShape( obj, - Part::ShapeOption::ResolveLink + Part::ShapeOption::ResolveLink | Part::ShapeOption::Transform, subject.getElementName(), mat); diff --git a/src/Mod/Part/App/ShapeFix/ShapeFix_EdgeConnect.pyi b/src/Mod/Part/App/ShapeFix/ShapeFix_EdgeConnect.pyi index de5ca5a732..b1154908c1 100644 --- a/src/Mod/Part/App/ShapeFix/ShapeFix_EdgeConnect.pyi +++ b/src/Mod/Part/App/ShapeFix/ShapeFix_EdgeConnect.pyi @@ -20,7 +20,7 @@ class ShapeFix_EdgeConnect(PyObjectBase): @overload def add(self, edge1: TopoShapeEdge, edge2: TopoShapeEdge) -> None: ... - + @overload def add(self, shape: TopoShape) -> None: ... diff --git a/src/Mod/Part/App/ShapeFix/ShapeFix_FixSmallFace.pyi b/src/Mod/Part/App/ShapeFix/ShapeFix_FixSmallFace.pyi index cd9e7d0748..a52039e695 100644 --- a/src/Mod/Part/App/ShapeFix/ShapeFix_FixSmallFace.pyi +++ b/src/Mod/Part/App/ShapeFix/ShapeFix_FixSmallFace.pyi @@ -52,7 +52,7 @@ class ShapeFix_FixSmallFace(ShapeFix_Root): Fixing case of strip face, if tol = -1 used local tolerance """ ... - + def removeFacesInCaseOfStrip(self) -> None: """ Remove strip face from compound diff --git a/src/Mod/Part/App/ShapeFix/ShapeFix_FreeBounds.pyi b/src/Mod/Part/App/ShapeFix/ShapeFix_FreeBounds.pyi index 588f26ab04..dee021db9f 100644 --- a/src/Mod/Part/App/ShapeFix/ShapeFix_FreeBounds.pyi +++ b/src/Mod/Part/App/ShapeFix/ShapeFix_FreeBounds.pyi @@ -16,7 +16,7 @@ class ShapeFix_FreeBounds(PyObjectBase): Author: Werner Mayer (wmayer@users.sourceforge.net) Licence: LGPL """ - + def closedWires(self) -> TopoShapeCompound: """ Returns compound of closed wires out of free edges diff --git a/src/Mod/Part/App/ShapeFix/ShapeFix_ShapeTolerance.pyi b/src/Mod/Part/App/ShapeFix/ShapeFix_ShapeTolerance.pyi index ef0c0adf06..8670b15b27 100644 --- a/src/Mod/Part/App/ShapeFix/ShapeFix_ShapeTolerance.pyi +++ b/src/Mod/Part/App/ShapeFix/ShapeFix_ShapeTolerance.pyi @@ -19,10 +19,10 @@ class ShapeFix_ShapeTolerance(PyObjectBase): @overload def limitTolerance(self, shape: TopoShape, tmin: float) -> None: ... - + @overload def limitTolerance(self, shape: TopoShape, tmin: float, tmax: float, ShapeEnum: str = None) -> None: ... - + def limitTolerance(self, shape: TopoShape, tmin: float, tmax: float = 0, ShapeEnum: str = None) -> None: """ limitTolerance(shape, tmin, [tmax=0, ShapeEnum=SHAPE]) @@ -31,10 +31,10 @@ class ShapeFix_ShapeTolerance(PyObjectBase): @overload def setTolerance(self, shape: TopoShape, precision: float) -> None: ... - + @overload def setTolerance(self, shape: TopoShape, precision: float, ShapeEnum: str = None) -> None: ... - + def setTolerance(self, shape: TopoShape, precision: float, ShapeEnum: str = None) -> None: """ setTolerance(shape, precision, [ShapeEnum=SHAPE]) diff --git a/src/Mod/Part/App/ShapeUpgrade/UnifySameDomain.pyi b/src/Mod/Part/App/ShapeUpgrade/UnifySameDomain.pyi index ae42ef0a47..50b9850eb2 100644 --- a/src/Mod/Part/App/ShapeUpgrade/UnifySameDomain.pyi +++ b/src/Mod/Part/App/ShapeUpgrade/UnifySameDomain.pyi @@ -13,17 +13,17 @@ from typing import overload class UnifySameDomain(PyObjectBase): """ This tool tries to unify faces and edges of the shape which lie on the same geometry. - + Author: Werner Mayer (wmayer@users.sourceforge.net) Licence: LGPL """ - + def initialize(self, **kwargs) -> None: """ Initializes with a shape and necessary flags """ ... - + def allowInternalEdges(self) -> None: """ Sets the flag defining whether it is allowed to create @@ -32,19 +32,19 @@ class UnifySameDomain(PyObjectBase): is forbidden. Default value is false. """ ... - + def keepShape(self) -> None: """ Sets the shape for avoid merging of the faces/edges. """ ... - + def keepShapes(self) -> None: """ Sets the map of shapes for avoid merging of the faces/edges. """ ... - + def setSafeInputMode(self) -> None: """ Sets the flag defining the behavior of the algorithm regarding @@ -53,25 +53,25 @@ class UnifySameDomain(PyObjectBase): modified during modification process. Default value is true. """ ... - + def setLinearTolerance(self) -> None: """ Sets the linear tolerance """ ... - + def setAngularTolerance(self) -> None: """ Sets the angular tolerance """ ... - + def build(self) -> None: """ Performs unification and builds the resulting shape """ ... - + @constmethod def shape(self) -> None: """ diff --git a/src/Mod/Part/App/TopoShape.pyi b/src/Mod/Part/App/TopoShape.pyi index c44772ab8b..a009c03f50 100644 --- a/src/Mod/Part/App/TopoShape.pyi +++ b/src/Mod/Part/App/TopoShape.pyi @@ -958,7 +958,7 @@ class TopoShape(ComplexGeoData): """ Returns a SubElement getElement(elementName, [silent = False]) -> Face | Edge | Vertex - elementName: SubElement name - i.e. 'Edge1', 'Face3' etc. + elementName: SubElement name - i.e. 'Edge1', 'Face3' etc. Accepts TNP mitigation mapped names as well silent: True to suppress the exception throw if the shape isn't found. """ diff --git a/src/Mod/Part/App/TopoShapeEdge.pyi b/src/Mod/Part/App/TopoShapeEdge.pyi index 5c1ec95199..53d298d101 100644 --- a/src/Mod/Part/App/TopoShapeEdge.pyi +++ b/src/Mod/Part/App/TopoShapeEdge.pyi @@ -32,13 +32,13 @@ class TopoShapeEdge(TopoShape): Returns a 2 tuple with the range of the primary parameter defining the curve. This is the same as would be returned by the FirstParameter and LastParameter properties, i.e. - + (LastParameter,FirstParameter) - + What the parameter is depends on what type of edge it is. For a Line the parameter is simply its cartesian length. Some other examples are shown below: - + Type Parameter --------------------------------------------------------------- Circle Angle swept by circle (or arc) in radians @@ -50,11 +50,11 @@ class TopoShapeEdge(TopoShape): """ Returns the start value of the range of the primary parameter defining the curve. - + What the parameter is depends on what type of edge it is. For a Line the parameter is simply its cartesian length. Some other examples are shown below: - + Type Parameter ----------------------------------------------------------- Circle Angle swept by circle (or arc) in radians @@ -66,11 +66,11 @@ class TopoShapeEdge(TopoShape): """ Returns the end value of the range of the primary parameter defining the curve. - + What the parameter is depends on what type of edge it is. For a Line the parameter is simply its cartesian length. Some other examples are shown below: - + Type Parameter ----------------------------------------------------------- Circle Angle swept by circle (or arc) in radians diff --git a/src/Mod/Part/App/TopoShapeFace.pyi b/src/Mod/Part/App/TopoShapeFace.pyi index 06e9672412..18444c2800 100644 --- a/src/Mod/Part/App/TopoShapeFace.pyi +++ b/src/Mod/Part/App/TopoShapeFace.pyi @@ -53,12 +53,12 @@ class TopoShapeFace(TopoShape): Returns the matrix of inertia. It is a symmetrical matrix. The coefficients of the matrix are the quadratic moments of inertia. - + | Ixx Ixy Ixz 0 | | Ixy Iyy Iyz 0 | | Ixz Iyz Izz 0 | | 0 0 0 1 | - + The moments of inertia are denoted by Ixx, Iyy, Izz. The products of inertia are denoted by Ixy, Ixz, Iyz. The matrix of inertia is returned in the central coordinate diff --git a/src/Mod/Part/App/TopoShapeShell.pyi b/src/Mod/Part/App/TopoShapeShell.pyi index 770caeafe6..1a43ba2fbf 100644 --- a/src/Mod/Part/App/TopoShapeShell.pyi +++ b/src/Mod/Part/App/TopoShapeShell.pyi @@ -34,12 +34,12 @@ class TopoShapeShell(TopoShape): Returns the matrix of inertia. It is a symmetrical matrix. The coefficients of the matrix are the quadratic moments of inertia. - + | Ixx Ixy Ixz 0 | | Ixy Iyy Iyz 0 | | Ixz Iyz Izz 0 | | 0 0 0 1 | - + The moments of inertia are denoted by Ixx, Iyy, Izz. The products of inertia are denoted by Ixy, Ixz, Iyz. The matrix of inertia is returned in the central coordinate diff --git a/src/Mod/Part/App/TopoShapeSolid.pyi b/src/Mod/Part/App/TopoShapeSolid.pyi index bb6f2dc558..4402988cbe 100644 --- a/src/Mod/Part/App/TopoShapeSolid.pyi +++ b/src/Mod/Part/App/TopoShapeSolid.pyi @@ -36,12 +36,12 @@ class TopoShapeSolid(TopoShape): Returns the matrix of inertia. It is a symmetrical matrix. The coefficients of the matrix are the quadratic moments of inertia. - + | Ixx Ixy Ixz 0 | | Ixy Iyy Iyz 0 | | Ixz Iyz Izz 0 | | 0 0 0 1 | - + The moments of inertia are denoted by Ixx, Iyy, Izz. The products of inertia are denoted by Ixy, Ixz, Iyz. The matrix of inertia is returned in the central coordinate @@ -104,7 +104,7 @@ class TopoShapeSolid(TopoShape): def offsetFaces(self, facesDict: Dict[TopoShape, float]) -> TopoShape: ... @constmethod - def offsetFaces(self, *args, **kwargs) -> TopoShape: + def offsetFaces(self, *args, **kwargs) -> TopoShape: """ Extrude single faces of the solid. offsetFaces(facesTuple, offset) -> Solid @@ -114,6 +114,6 @@ class TopoShapeSolid(TopoShape): Example: solid.offsetFaces((solid.Faces[0],solid.Faces[1]), 1.5) - solid.offsetFaces({solid.Faces[0]:1.0,solid.Faces[1]:2.0}) + solid.offsetFaces({solid.Faces[0]:1.0,solid.Faces[1]:2.0}) """ ... diff --git a/src/Mod/Part/App/TopoShapeWire.pyi b/src/Mod/Part/App/TopoShapeWire.pyi index 1f6b5fc349..15df853c78 100644 --- a/src/Mod/Part/App/TopoShapeWire.pyi +++ b/src/Mod/Part/App/TopoShapeWire.pyi @@ -35,12 +35,12 @@ class TopoShapeWire(TopoShape): Returns the matrix of inertia. It is a symmetrical matrix. The coefficients of the matrix are the quadratic moments of inertia. - + | Ixx Ixy Ixz 0 | | Ixy Iyy Iyz 0 | | Ixz Iyz Izz 0 | | 0 0 0 1 | - + The moments of inertia are denoted by Ixx, Iyy, Izz. The products of inertia are denoted by Ixy, Ixz, Iyz. The matrix of inertia is returned in the central coordinate diff --git a/src/Mod/Part/Gui/TaskCheckGeometry.cpp b/src/Mod/Part/Gui/TaskCheckGeometry.cpp index f53ffe43ba..11ad27edef 100644 --- a/src/Mod/Part/Gui/TaskCheckGeometry.cpp +++ b/src/Mod/Part/Gui/TaskCheckGeometry.cpp @@ -445,11 +445,11 @@ void TaskCheckGeometryResults::goCheck() TopoDS_Shape shape = Part::Feature::getShape( sel.pObject, - Part::ShapeOption::NeedSubElement + Part::ShapeOption::NeedSubElement | Part::ShapeOption::ResolveLink | Part::ShapeOption::Transform, sel.SubName); - + if (shape.IsNull()) { ResultEntry *entry = new ResultEntry(); entry->parent = theRoot; diff --git a/src/Mod/Part/Gui/TaskThickness.cpp b/src/Mod/Part/Gui/TaskThickness.cpp index f59b0fff45..da891c6f43 100644 --- a/src/Mod/Part/Gui/TaskThickness.cpp +++ b/src/Mod/Part/Gui/TaskThickness.cpp @@ -349,7 +349,7 @@ void ThicknessWidget::setGizmoPositions() DraggerPlacementProps props = getDraggerPlacementFromEdgeAndFace(edges[0], face); // The part thickness operation by default goes creates towards outside - // so -props.dir is taken + // so -props.dir is taken linearGizmo->Gizmo::setDraggerPlacement(props.position, -props.dir); gizmoContainer->visible = true; diff --git a/src/Mod/Part/Gui/ViewProviderPartExt.pyi b/src/Mod/Part/Gui/ViewProviderPartExt.pyi index 8ef9d945f4..a085ce40e0 100644 --- a/src/Mod/Part/Gui/ViewProviderPartExt.pyi +++ b/src/Mod/Part/Gui/ViewProviderPartExt.pyi @@ -14,4 +14,3 @@ class ViewProviderPartExt(ViewProviderGeometryObject): Licence: LGPL """ ... - \ No newline at end of file