Part: remove trailing whitespace
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
"""
|
||||
|
||||
@@ -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: ...
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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:
|
||||
...
|
||||
|
||||
@@ -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: ...
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -20,7 +20,7 @@ class ShapeFix_EdgeConnect(PyObjectBase):
|
||||
|
||||
@overload
|
||||
def add(self, edge1: TopoShapeEdge, edge2: TopoShapeEdge) -> None: ...
|
||||
|
||||
|
||||
@overload
|
||||
def add(self, shape: TopoShape) -> None: ...
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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])
|
||||
|
||||
@@ -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:
|
||||
"""
|
||||
|
||||
@@ -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.
|
||||
"""
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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})
|
||||
"""
|
||||
...
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -14,4 +14,3 @@ class ViewProviderPartExt(ViewProviderGeometryObject):
|
||||
Licence: LGPL
|
||||
"""
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user