diff --git a/src/Mod/Part/App/ArcOfCirclePy.xml b/src/Mod/Part/App/ArcOfCirclePy.xml
deleted file mode 100644
index 1416c68f34..0000000000
--- a/src/Mod/Part/App/ArcOfCirclePy.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
- Describes a portion of a circle
-
-
-
- The radius of the circle.
-
-
-
-
-
- The internal circle representation
-
-
-
-
-
diff --git a/src/Mod/Part/App/ArcOfConicPy.xml b/src/Mod/Part/App/ArcOfConicPy.xml
deleted file mode 100644
index 43745ba0fe..0000000000
--- a/src/Mod/Part/App/ArcOfConicPy.xml
+++ /dev/null
@@ -1,55 +0,0 @@
-
-
-
-
-
- Describes a portion of a conic
-
-
-
- Center of the conic.
-
-
-
-
-
- Deprecated -- use Location.
-
-
-
-
-
- The angle between the X axis and the major axis of the conic.
-
-
-
-
-
- The axis direction of the conic
-
-
-
-
-
- The X axis direction of the circle
-
-
-
-
-
- The Y axis direction of the circle
-
-
-
-
-
diff --git a/src/Mod/Part/App/ArcOfEllipsePy.xml b/src/Mod/Part/App/ArcOfEllipsePy.xml
deleted file mode 100644
index 58b79fa0bb..0000000000
--- a/src/Mod/Part/App/ArcOfEllipsePy.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-
-
-
-
-
- Describes a portion of an ellipse
-
-
-
- The major radius of the ellipse.
-
-
-
-
-
- The minor radius of the ellipse.
-
-
-
-
-
- The internal ellipse representation
-
-
-
-
-
diff --git a/src/Mod/Part/App/ArcOfHyperbolaPy.xml b/src/Mod/Part/App/ArcOfHyperbolaPy.xml
deleted file mode 100644
index 4b7cc14c97..0000000000
--- a/src/Mod/Part/App/ArcOfHyperbolaPy.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-
-
-
-
-
- Describes a portion of an hyperbola
-
-
-
- The major radius of the hyperbola.
-
-
-
-
-
- The minor radius of the hyperbola.
-
-
-
-
-
- The internal hyperbola representation
-
-
-
-
-
diff --git a/src/Mod/Part/App/ArcOfParabolaPy.xml b/src/Mod/Part/App/ArcOfParabolaPy.xml
deleted file mode 100644
index 23c980f010..0000000000
--- a/src/Mod/Part/App/ArcOfParabolaPy.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
- Describes a portion of a parabola
-
-
-
- The focal length of the parabola.
-
-
-
-
-
- The internal parabola representation
-
-
-
-
-
diff --git a/src/Mod/Part/App/ArcPy.xml b/src/Mod/Part/App/ArcPy.xml
deleted file mode 100644
index 32948233c9..0000000000
--- a/src/Mod/Part/App/ArcPy.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
-
-
- Describes a portion of a curve
-
-
-
-
-
diff --git a/src/Mod/Part/App/AttachEnginePy.xml b/src/Mod/Part/App/AttachEnginePy.xml
deleted file mode 100644
index e0ddc60795..0000000000
--- a/src/Mod/Part/App/AttachEnginePy.xml
+++ /dev/null
@@ -1,168 +0,0 @@
-
-
-
-
-
- AttachEngine abstract class
- AttachEngine abstract class - the functionality of AttachableObject, but outside of DocumentObject
-
-
-
- Type of engine: 3d, plane, line, or point.
-
-
-
-
-
- Current attachment mode.
-
-
-
-
-
- Current attachment mode.
-
-
-
-
-
- Current attachment mode.
-
-
-
-
-
- If True, Z axis of attached placement is flipped. X axis is flipped in addition (CS has to remain right-handed).
-
-
-
-
-
- Value of parameter for some curve attachment modes. Range of 0..1 spans the length of the edge (parameter value can be outside of the range for curves that allow extrapolation.
-
-
-
-
-
-
- List of all attachment modes of all AttachEngines. This is the list of modes in MapMode enum properties of AttachableObjects.
-
-
-
-
-
- List of all attachment modes of all AttachEngines. This is the list of modes in MapMode enum properties of AttachableObjects.
-
-
-
-
-
- List of all reference shape types recognized by AttachEngine.
-
-
-
-
-
-
- getModeInfo(mode): returns supported reference combinations, user-friendly name, and so on.
-
-
-
-
- getRefTypeOfShape(shape): returns shape type as interpreted by AttachEngine. Returns a string.
-
-
-
-
- isFittingRefType(type_shape, type_needed): tests if shape type, specified by type_shape (string), fits a type required by attachment mode type_needed (string). e.g. 'Circle' fits a requirement of 'Edge', and 'Curve' doesn't fit if a 'Circle' is required.
-
-
-
-
- downgradeRefType(type): returns next more general type. E.g. downgradeType('Circle') yields 'Curve'.
-
-
-
-
- getRefTypeInfo(type): returns information (dict) on shape type. Keys:'UserFriendlyName', 'TypeIndex', 'Rank'. Rank is the number of times reftype can be downgraded, before it becomes 'Any'.
-
-
-
-
- copy(): returns a new instance of AttachEngine.
-
-
-
-
- calculateAttachedPlacement(orig_placement): returns result of attachment, based
-on current Mode, References, etc. AttachmentOffset is included.
-
-original_placement is the previous placement of the object being attached. It
-is used to preserve orientation for Translate attachment mode. For other modes,
-it is ignored.
-
-Returns the new placement. If not attached, returns None. If attachment fails,
-an exception is raised.
-
-
-
-
-
-suggestModes(): runs mode suggestion routine and returns a dictionary with
-results and supplementary information.
-
-Keys:
-'allApplicableModes': list of modes that can accept current references. Note
-that it is only a check by types, and does not guarantee the modes will
-actually work.
-
-'bestFitMode': mode that fits current references best. Note that the mode may
-not be valid for the set of references; check for if 'message' is 'OK'.
-
-'error': error message for when 'message' is 'UnexpectedError' or
-'LinkBroken'.
-
-'message': general result of suggestion. 'IncompatibleGeometry', 'NoModesFit':
-no modes accept current set of references; 'OK': some modes do accept current
-set of references (though it's not guarantted the modes will work - surrestor
-only checks for correct types); 'UnexpectedError': should never happen.
-
-'nextRefTypeHint': what more can be added to references to reach other modes
-('reachableModes' provide more extended information on this)
-
-'reachableModes': a dict, where key is mode, and value is a list of sequences
-of references that can be added to fit that mode.
-
-'references_Types': a list of types of geometry linked by references (that's
-the input information for suggestor, actually).
-
-
-
-
- readParametersFromFeature(document_object): sets AttachEngine parameters (References, Mode, etc.) by reading out properties of AttachableObject-derived feature.
-
-
-
-
-
-writeParametersToFeature(document_object): updates properties of
-AttachableObject-derived feature with current AttachEngine parameters
-(References, Mode, etc.).
-
-Warning: if a feature linked by AttachEngine.References was deleted, this method
-will crash FreeCAD.
-
-
-
-
-
diff --git a/src/Mod/Part/App/AttachExtensionPy.xml b/src/Mod/Part/App/AttachExtensionPy.xml
deleted file mode 100644
index d47cc4fb5b..0000000000
--- a/src/Mod/Part/App/AttachExtensionPy.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
-
- This object represents an attachable object with OCC shape.
-
-
-
- positionBySupport() -> bool
-
-Reposition object based on AttachmentSupport, MapMode and MapPathParameter properties.
-Returns True if attachment calculation was successful, false if object is not attached and Placement wasn't updated,
-and raises an exception if attachment calculation fails.
-
-
-
-
- changeAttacherType(typename) -> None
-
-Changes Attacher class of this object.
-typename: string. The following are accepted so far:
-'Attacher::AttachEngine3D'
-'Attacher::AttachEnginePlane'
-'Attacher::AttachEngineLine'
-'Attacher::AttachEnginePoint'
-
-
-
-
-
- AttachEngine object driving this AttachableObject. Returns a copy.
-
-
-
-
-
diff --git a/src/Mod/Part/App/BRepFeat/MakePrismPy.xml b/src/Mod/Part/App/BRepFeat/MakePrismPy.xml
deleted file mode 100644
index 817285ba83..0000000000
--- a/src/Mod/Part/App/BRepFeat/MakePrismPy.xml
+++ /dev/null
@@ -1,105 +0,0 @@
-
-
-
-
-
- Describes functions to build prism features.
-
-
-
-
-Initializes this algorithm for building prisms along surfaces.
-A face Pbase is selected in the shape Sbase
-to serve as the basis for the prism. The orientation
-of the prism will be defined by the vector Direction.
-
-Fuse offers a choice between:
-- removing matter with a Boolean cut using the setting 0
-- adding matter with Boolean fusion using the setting 1.
-The sketch face Skface serves to determine
-the type of operation. If it is inside the basis
-shape, a local operation such as glueing can be performed.
-
-
-
-
-
-
-Indicates that the edge will slide on the face.
-Raises ConstructionError if the face does not belong to the
-basis shape, or the edge to the prismed shape.
-
-
-
-
-
-
-Assigns one of the following semantics.
-1. to a height Length
-2. to a face Until
-3. from a face From to a height Until. Reconstructs the feature topologically according to the semantic option chosen.
-
-
-
-
-
-
-Realizes a semi-infinite prism, limited by the
-position of the prism base. All other faces extend infinitely.
-
-
-
-
-
-
-Realizes a semi-infinite prism, limited by the face Funtil.
-
-
-
-
-
-
-Builds an infinite prism. The infinite descendants will not be kept in the result.
-
-
-
-
-
-
-Assigns both a limiting shape, Until from TopoDS_Shape
-and a height, Length at which to stop generation of the prism feature.
-
-
-
-
-
-
-Returns the list of curves S parallel to the axis of the prism.
-
-
-
-
-
-
-Generates a curve along the center of mass of the primitive.
-
-
-
-
-
- Returns a shape built by the shape construction algorithm.
-
-
-
-
diff --git a/src/Mod/Part/App/BRepOffsetAPI_MakeFillingPy.xml b/src/Mod/Part/App/BRepOffsetAPI_MakeFillingPy.xml
deleted file mode 100644
index 1377b98522..0000000000
--- a/src/Mod/Part/App/BRepOffsetAPI_MakeFillingPy.xml
+++ /dev/null
@@ -1,106 +0,0 @@
-
-
-
-
-
- N-Side Filling
-
-
-
-
-setConstrParam(Tol2d=0.00001, Tol3d=0.0001, TolAng=0.01, TolCurv=0.1)
-Sets the values of Tolerances used to control the constraint.
-
-
-
-
-
-
-setResolParam(Degree=3, NbPtsOnCur=15, NbIter=2, Anisotropy=False)
-Sets the parameters used for resolution.
-
-
-
-
-
-
-setApproxParam(MaxDeg=8, MaxSegments=9)
-Sets the parameters used to approximate the filling the surface
-
-
-
-
-
-
-loadInitSurface(face)
-Loads the initial surface.
-
-
-
-
-
-
-add(Edge, Order, IsBound=True)
-add(Edge, Support, Order, IsBound=True)
-add(Support, Order)
-add(Point)
-add(U, V, Support, Order)
-Adds a new constraint.
-
-
-
-
-
- Builds the resulting faces.
-
-
-
-
- Tests whether computation of the filling plate has been completed.
-
-
-
-
-
-G0Error([int])
-Returns the maximum distance between the result and the constraints.
-
-
-
-
-
-
-G1Error([int])
-Returns the maximum angle between the result and the constraints.
-
-
-
-
-
-
-G2Error([int])
-Returns the greatest difference in curvature between the result and the constraints.
-
-
-
-
-
-
-shape()
-Returns the resulting shape.
-
-
-
-
-
diff --git a/src/Mod/Part/App/BRepOffsetAPI_MakePipeShellPy.xml b/src/Mod/Part/App/BRepOffsetAPI_MakePipeShellPy.xml
deleted file mode 100644
index cbf0276268..0000000000
--- a/src/Mod/Part/App/BRepOffsetAPI_MakePipeShellPy.xml
+++ /dev/null
@@ -1,171 +0,0 @@
-
-
-
-
-
- Low level API to create a PipeShell using OCC API
-
-Ref: https://dev.opencascade.org/doc/refman/html/class_b_rep_offset_a_p_i___make_pipe_shell.html
-
-
-
-
- setFrenetMode(True|False)
-Sets a Frenet or a CorrectedFrenet trihedron to perform the sweeping.
-True = Frenet
-False = CorrectedFrenet
-
-
-
-
- setTrihedronMode(point,direction)
-Sets a fixed trihedron to perform the sweeping.
-All sections will be parallel.
-
-
-
-
- setBiNormalMode(direction)
-Sets a fixed BiNormal direction to perform the sweeping.
-Angular relations between the section(s) and the BiNormal direction will be constant.
-
-
-
-
- setSpineSupport(shape)
-Sets support to the spine to define the BiNormal of the trihedron, like the normal to the surfaces.
-Warning: To be effective, Each edge of the spine must have an representation on one face of SpineSupport.
-
-
-
-
- setAuxiliarySpine(wire, CurvilinearEquivalence, TypeOfContact)
-Sets an auxiliary spine to define the Normal.
-
-CurvilinearEquivalence = bool
-For each Point of the Spine P, an Point Q is evalued on AuxiliarySpine.
-If CurvilinearEquivalence=True Q split AuxiliarySpine with the same length ratio than P split Spine.
-
-* OCC >= 6.7
-TypeOfContact = long
-0: No contact
-1: Contact
-2: Contact On Border (The auxiliary spine becomes a boundary of the swept surface)
-
-
-
-
- add(shape Profile, bool WithContact=False, bool WithCorrection=False)
-add(shape Profile, vertex Location, bool WithContact=False, bool WithCorrection=False)
-Adds the section Profile to this framework.
-First and last sections may be punctual, so the shape Profile may be both wire and vertex.
-If WithContact is true, the section is translated to be in contact with the spine.
-If WithCorrection is true, the section is rotated to be orthogonal to the spine tangent in the correspondent point.
-
-
-
-
- remove(shape Profile)
-Removes the section Profile from this framework.
-
-
-
-
- isReady()
-Returns true if this tool object is ready to build the shape.
-
-
-
-
- getStatus()
-Get a status, when Simulate or Build failed.
-
-
-
-
- makeSolid()
-Transforms the sweeping Shell in Solid. If a propfile is not closed returns False.
-
-
-
-
- setTolerance( tol3d, boundTol, tolAngular)
-Tol3d = 3D tolerance
-BoundTol = boundary tolerance
-TolAngular = angular tolerance
-
-
-
-
- 0: BRepBuilderAPI_Transformed
-1: BRepBuilderAPI_RightCorner
-2: BRepBuilderAPI_RoundCorner
-
-
-
-
- firstShape()
-Returns the Shape of the bottom of the sweep.
-
-
-
-
- lastShape()
-Returns the Shape of the top of the sweep.
-
-
-
-
- build()
-Builds the resulting shape.
-
-
-
-
- shape()
-Returns the resulting shape.
-
-
-
-
- generated(shape S)
-Returns a list of new shapes generated from the shape S by the shell-generating algorithm.
-
-
-
-
- setMaxDegree(int degree)
-Define the maximum V degree of resulting surface.
-
-
-
-
- setMaxSegments(int num)
-Define the maximum number of spans in V-direction on resulting surface.
-
-
-
-
- setForceApproxC1(bool)
-Set the flag that indicates attempt to approximate a C1-continuous surface if a swept surface proved to be C0.
-
-
-
-
- simulate(int nbsec)
-Simulates the resulting shape by calculating the given number of cross-sections.
-
-
-
-
diff --git a/src/Mod/Part/App/BSplineCurvePy.xml b/src/Mod/Part/App/BSplineCurvePy.xml
deleted file mode 100644
index 393213c205..0000000000
--- a/src/Mod/Part/App/BSplineCurvePy.xml
+++ /dev/null
@@ -1,469 +0,0 @@
-
-
-
-
-
- Describes a B-Spline curve in 3D space
-
-
-
- __reduce__()
-Serialization of Part.BSplineCurve objects
-
-
-
-
-
- Returns the polynomial degree of this B-Spline curve.
-
-
-
-
-
- Returns the value of the maximum polynomial degree of any
-B-Spline curve curve. This value is 25.
-
-
-
-
-
- Returns the number of poles of this B-Spline curve.
-
-
-
-
-
-
-
- Returns the number of knots of this B-Spline curve.
-
-
-
-
-
-
- Returns the start point of this B-Spline curve.
-
-
-
-
-
- Returns the end point of this B-Spline curve.
-
-
-
-
-
- Returns the index in the knot array of the knot
-corresponding to the first or last parameter
-of this B-Spline curve.
-
-
-
-
-
- Returns the index in the knot array of the knot
-corresponding to the first or last parameter
-of this B-Spline curve.
-
-
-
-
-
- Returns the knots sequence of this B-Spline curve.
-
-
-
-
-
- Returns true if this B-Spline curve is rational.
-A B-Spline curve is rational if, at the time of construction,
-the weight table has been initialized.
-
-
-
-
-
- Returns true if this BSpline curve is periodic.
-
-
-
-
- Returns true if the distance between the start point and end point of
-this B-Spline curve is less than or equal to gp::Resolution().
-
-
-
-
-
- increase(Int=Degree)
-Increases the degree of this B-Spline curve to Degree.
-As a result, the poles, weights and multiplicities tables
-are modified; the knots table is not changed. Nothing is
-done if Degree is less than or equal to the current degree.
-
-
-
-
- increaseMultiplicity(int index, int mult)
-increaseMultiplicity(int start, int end, int mult)
-Increases multiplicity of knots up to mult.
-
-index: the index of a knot to modify (1-based)
-start, end: index range of knots to modify.
-If mult is lower or equal to the current multiplicity nothing is done.
-If mult is higher than the degree the degree is used.
-
-
-
-
-
- incrementMultiplicity(int start, int end, int mult)
-
-Raises multiplicity of knots by mult.
-
-start, end: index range of knots to modify.
-
-
-
-
-
- insertKnot(u, mult = 1, tol = 0.0)
-
-Inserts a knot value in the sequence of knots. If u is an existing knot the
-multiplicity is increased by mult.
-
-
-
-
- insertKnots(list_of_floats, list_of_ints, tol = 0.0, bool_add = True)
-
-Inserts a set of knots values in the sequence of knots.
-
-For each u = list_of_floats[i], mult = list_of_ints[i]
-
-If u is an existing knot the multiplicity is increased by mult if bool_add is
-True, otherwise increased to mult.
-
-If u is not on the parameter range nothing is done.
-
-If the multiplicity is negative or null nothing is done. The new multiplicity
-is limited to the degree.
-
-The tolerance criterion for knots equality is the max of Epsilon(U) and ParametricTolerance.
-
-
-
-
-
- removeKnot(Index, M, tol)
-
-Reduces the multiplicity of the knot of index Index to M.
-If M is equal to 0, the knot is removed.
-With a modification of this type, the array of poles is also modified.
-Two different algorithms are systematically used to compute the new
-poles of the curve. If, for each pole, the distance between the pole
-calculated using the first algorithm and the same pole calculated using
-the second algorithm, is less than Tolerance, this ensures that the curve
-is not modified by more than Tolerance. Under these conditions, true is
-returned; otherwise, false is returned.
-
-A low tolerance is used to prevent modification of the curve.
-A high tolerance is used to 'smooth' the curve.
-
-
-
-
-
- segment(u1,u2)
-
-Modifies this B-Spline curve by segmenting it.
-
-
-
-
- Set a knot of the B-Spline curve.
-
-
-
-
- Get a knot of the B-Spline curve.
-
-
-
-
- Set knots of the B-Spline curve.
-
-
-
-
- Get all knots of the B-Spline curve.
-
-
-
-
- Modifies this B-Spline curve by assigning P
-to the pole of index Index in the poles table.
-
-
-
-
- Get a pole of the B-Spline curve.
-
-
-
-
- Get all poles of the B-Spline curve.
-
-
-
-
- Set a weight of the B-Spline curve.
-
-
-
-
- Get a weight of the B-Spline curve.
-
-
-
-
- Get all weights of the B-Spline curve.
-
-
-
-
- Returns the table of poles and weights in homogeneous coordinates.
-
-
-
-
- Computes for this B-Spline curve the parametric tolerance (UTolerance)
-for a given 3D tolerance (Tolerance3D).
-If f(t) is the equation of this B-Spline curve, the parametric tolerance
-ensures that:
-|t1-t0| < UTolerance =""==> |f(t1)-f(t0)| < Tolerance3D
-
-
-
-
- movePoint(U, P, Index1, Index2)
-
-Moves the point of parameter U of this B-Spline curve to P.
-Index1 and Index2 are the indexes in the table of poles of this B-Spline curve
-of the first and last poles designated to be moved.
-
-Returns: (FirstModifiedPole, LastModifiedPole). They are the indexes of the
-first and last poles which are effectively modified.
-
-
-
-
- Changes this B-Spline curve into a non-periodic curve.
-If this curve is already non-periodic, it is not modified.
-
-
-
-
- Changes this B-Spline curve into a periodic curve.
-
-
-
-
- Assigns the knot of index Index in the knots table
-as the origin of this periodic B-Spline curve. As a consequence,
-the knots and poles tables are modified.
-
-
-
-
- Returns the multiplicity of the knot of index
-from the knots table of this B-Spline curve.
-
-
-
-
-
- Returns the multiplicities table M of the knots of this B-Spline curve.
-
-
-
-
-
- Replaces this B-Spline curve by approximating a set of points.
-
-The function accepts keywords as arguments.
-
-approximate(Points = list_of_points)
-
-Optional arguments :
-
-DegMin = integer (3) : Minimum degree of the curve.
-DegMax = integer (8) : Maximum degree of the curve.
-Tolerance = float (1e-3) : approximating tolerance.
-Continuity = string ('C2') : Desired continuity of the curve.
-Possible values : 'C0','G1','C1','G2','C2','C3','CN'
-
-LengthWeight = float, CurvatureWeight = float, TorsionWeight = float
-If one of these arguments is not null, the functions approximates the
-points using variational smoothing algorithm, which tries to minimize
-additional criterium:
-LengthWeight*CurveLength + CurvatureWeight*Curvature + TorsionWeight*Torsion
- Continuity must be C0, C1(with DegMax >= 3) or C2(with DegMax >= 5).
-
-Parameters = list of floats : knot sequence of the approximated points.
-This argument is only used if the weights above are all null.
-
-ParamType = string ('Uniform','Centripetal' or 'ChordLength')
-Parameterization type. Only used if weights and Parameters above aren't specified.
-
-Note : Continuity of the spline defaults to C2. However, it may not be applied if
-it conflicts with other parameters ( especially DegMax ).
-
-
-
-
-
- Compute the tangents for a Cardinal spline
-
-
-
-
- Replaces this B-Spline curve by interpolating a set of points.
-
-The function accepts keywords as arguments.
-
-interpolate(Points = list_of_points)
-
-Optional arguments :
-
-PeriodicFlag = bool (False) : Sets the curve closed or opened.
-Tolerance = float (1e-6) : interpolating tolerance
-
-Parameters : knot sequence of the interpolated points.
-If not supplied, the function defaults to chord-length parameterization.
-If PeriodicFlag == True, one extra parameter must be appended.
-
-EndPoint Tangent constraints :
-
-InitialTangent = vector, FinalTangent = vector
-specify tangent vectors for starting and ending points
-of the BSpline. Either none, or both must be specified.
-
-Full Tangent constraints :
-
-Tangents = list_of_vectors, TangentFlags = list_of_bools
-Both lists must have the same length as Points list.
-Tangents specifies the tangent vector of each point in Points list.
-TangentFlags (bool) activates or deactivates the corresponding tangent.
-These arguments will be ignored if EndPoint Tangents (above) are also defined.
-
-Note : Continuity of the spline defaults to C2. However, if periodic, or tangents
-are supplied, the continuity will drop to C1.
-
-
-
-
-
- Builds a B-Spline by a list of poles.
-arguments: poles (sequence of Base.Vector), [periodic (default is False), degree (default is 3), interpolate (default is False)]
-
-Examples:
-from FreeCAD import Base
-import Part
-V = Base.Vector
-poles = [V(-2, 2, 0),V(0, 2, 1),V(2, 2, 0),V(2, -2, 0),V(0, -2, 1),V(-2, -2, 0)]
-
-# non-periodic spline
-n=Part.BSplineCurve()
-n.buildFromPoles(poles)
-Part.show(n.toShape())
-
-# periodic spline
-n=Part.BSplineCurve()
-n.buildFromPoles(poles, True)
-Part.show(n.toShape())
-
-
-
-
-
- Builds a B-Spline by a lists of Poles, Mults, Knots.
-arguments: poles (sequence of Base.Vector), [mults , knots, periodic, degree, weights (sequence of float), CheckRational]
-
-Examples:
-from FreeCAD import Base
-import Part
-V=Base.Vector
-poles=[V(-10,-10),V(10,-10),V(10,10),V(-10,10)]
-
-# non-periodic spline
-n=Part.BSplineCurve()
-n.buildFromPolesMultsKnots(poles,(3,1,3),(0,0.5,1),False,2)
-Part.show(n.toShape())
-
-# periodic spline
-p=Part.BSplineCurve()
-p.buildFromPolesMultsKnots(poles,(1,1,1,1,1),(0,0.25,0.5,0.75,1),True,2)
-Part.show(p.toShape())
-
-# periodic and rational spline
-r=Part.BSplineCurve()
-r.buildFromPolesMultsKnots(poles,(1,1,1,1,1),(0,0.25,0.5,0.75,1),True,2,(1,0.8,0.7,0.2))
-Part.show(r.toShape())
-
-
-
-
-
- Build a list of Bezier splines.
-
-
-
-
-
- Build a list of arcs and lines to approximate the B-spline.
-toBiArcs(tolerance) -> list.
-
-
-
-
-
- Build a new spline by joining this and a second spline.
-
-
-
-
-
- makeC1Continuous(tol = 1e-6, ang_tol = 1e-7)
-Reduces as far as possible the multiplicities of the knots of this BSpline
-(keeping the geometry). It returns a new BSpline, which could still be C0.
-tol is a geometrical tolerance.
-The tol_ang is angular tolerance, in radians. It sets tolerable angle mismatch
-of the tangents on the left and on the right to decide if the curve is G1 or
-not at a given point.
-
-
-
-
-
-
-Scales the knots list to fit the specified bounds.
-The shape of the curve is not modified.
-bspline_curve.scaleKnotsToBounds(u0, u1)
-Default arguments are (0.0, 1.0)
-
-
-
-
-
diff --git a/src/Mod/Part/App/BSplineSurfacePy.xml b/src/Mod/Part/App/BSplineSurfacePy.xml
deleted file mode 100644
index ad2b031310..0000000000
--- a/src/Mod/Part/App/BSplineSurfacePy.xml
+++ /dev/null
@@ -1,743 +0,0 @@
-
-
-
-
-
- Describes a B-Spline surface in 3D space
-
-
-
-
- Returns the degree of this B-Spline surface in the u parametric direction.
-
-
-
-
-
-
-
- Returns the degree of this B-Spline surface in the v parametric direction.
-
-
-
-
-
-
-
-Returns the value of the maximum polynomial degree of any
-B-Spline surface surface in either parametric directions.
-This value is 25.
-
-
-
-
-
-
-
-Returns the number of poles of this B-Spline surface in the u parametric direction.
-
-
-
-
-
-
-
-Returns the number of poles of this B-Spline surface in the v parametric direction.
-
-
-
-
-
-
-
-Returns the number of knots of this B-Spline surface in the u parametric direction.
-
-
-
-
-
-
-
-Returns the number of knots of this B-Spline surface in the v parametric direction.
-
-
-
-
-
-
-
-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.
-
-
-
-
-
-
-
-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.
-
-
-
-
-
-
-
-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.
-
-
-
-
-
-
-
-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.
-
-
-
-
-
-
-
-Returns the knots sequence of this B-Spline surface in
-the u direction.
-
-
-
-
-
-
-
-Returns the knots sequence of this B-Spline surface in
-the v direction.
-
-
-
-
-
-
-
-Returns the parametric bounds (U1, U2, V1, V2) of this B-Spline surface.
-
-
-
-
-
-
-Returns false if the equation of this B-Spline surface is polynomial
-(e.g. non-rational) in the u or v parametric direction.
-In other words, returns false if for each row of poles, the associated
-weights are identical
-
-
-
-
-
-
-Returns false if the equation of this B-Spline surface is polynomial
-(e.g. non-rational) in the u or v parametric direction.
-In other words, returns false if for each column of poles, the associated
-weights are identical
-
-
-
-
-
- Returns true if this surface is periodic in the u parametric direction.
-
-
-
-
- Returns true if this surface is periodic in the v parametric direction.
-
-
-
-
-
-Checks if this surface is closed in the u parametric direction.
-Returns true if, in the table of poles the first row and the last
-row are identical.
-
-
-
-
-
-
-Checks if this surface is closed in the v parametric direction.
-Returns true if, in the table of poles the first column and the
-last column are identical.
-
-
-
-
-
-
-increase(Int=UDegree, int=VDegree)
-Increases the degrees of this B-Spline surface to UDegree and VDegree
-in the u and v parametric directions respectively.
-As a result, the tables of poles, weights and multiplicities are modified.
-The tables of knots is not changed.
-
-Note: Nothing is done if the given degree is less than or equal to the
-current degree in the corresponding parametric direction.
-
-
-
-
-
- Increases the multiplicity in the u direction.
-
-
-
-
- Increases the multiplicity in the v direction.
-
-
-
-
- Increment the multiplicity in the u direction
-
-
-
-
- Increment the multiplicity in the v direction
-
-
-
-
- insertUKnote(float U, int Index, float Tolerance) - Insert or override a knot
-
-
-
-
- insertUKnote(List of float U, List of float Mult, float Tolerance) - Inserts knots.
-
-
-
-
- insertUKnote(float V, int Index, float Tolerance) - Insert or override a knot.
-
-
-
-
- insertUKnote(List of float V, List of float Mult, float Tolerance) - Inserts knots.
-
-
-
-
-
-Reduces to M the multiplicity of the knot of index Index in the given
-parametric direction. If M is 0, the knot is removed.
-With a modification of this type, the table of poles is also modified.
-Two different algorithms are used systematically to compute the new
-poles of the surface. For each pole, the distance between the pole
-calculated using the first algorithm and the same pole calculated using
-the second algorithm, is checked. If this distance is less than Tolerance
-it ensures that the surface is not modified by more than Tolerance.
-Under these conditions, the function returns true; otherwise, it returns
-false.
-
-A low tolerance prevents modification of the surface. A high tolerance
-'smoothes' the surface.
-
-
-
-
-
-
-Reduces to M the multiplicity of the knot of index Index in the given
-parametric direction. If M is 0, the knot is removed.
-With a modification of this type, the table of poles is also modified.
-Two different algorithms are used systematically to compute the new
-poles of the surface. For each pole, the distance between the pole
-calculated using the first algorithm and the same pole calculated using
-the second algorithm, is checked. If this distance is less than Tolerance
-it ensures that the surface is not modified by more than Tolerance.
-Under these conditions, the function returns true; otherwise, it returns
-false.
-
-A low tolerance prevents modification of the surface. A high tolerance
-'smoothes' the surface.
-
-
-
-
-
-
-Modifies this B-Spline surface by segmenting it between U1 and U2 in the
-u parametric direction and between V1 and V2 in the v parametric direction.
-Any of these values can be outside the bounds of this surface, but U2 must
-be greater than U1 and V2 must be greater than V1.
-
-All the data structure tables of this B-Spline surface are modified but the
-knots located between U1 and U2 in the u parametric direction, and between
-V1 and V2 in the v parametric direction are retained.
-The degree of the surface in each parametric direction is not modified.
-
-
-
-
-
-
-Modifies this B-Spline surface by assigning the value K to the knot of index
-UIndex of the knots table corresponding to the u parametric direction.
-This modification remains relatively local, since K must lie between the values
-of the knots which frame the modified knot.
-
-You can also increase the multiplicity of the modified knot to M. Note however
-that it is not possible to decrease the multiplicity of a knot with this function.
-
-
-
-
-
-
-Modifies this B-Spline surface by assigning the value K to the knot of index
-VIndex of the knots table corresponding to the v parametric direction.
-This modification remains relatively local, since K must lie between the values
-of the knots which frame the modified knot.
-
-You can also increase the multiplicity of the modified knot to M. Note however
-that it is not possible to decrease the multiplicity of a knot with this function.
-
-
-
-
-
-
-Returns, for this B-Spline surface, in the u parametric direction
-the knot of index UIndex of the knots table.
-
-
-
-
-
-
-Returns, for this B-Spline surface, in the v parametric direction
-the knot of index VIndex of the knots table.
-
-
-
-
-
-
-Changes all knots of this B-Spline surface in the u parametric
-direction. The multiplicity of the knots is not modified.
-
-
-
-
-
-
-Changes all knots of this B-Spline surface in the v parametric
-direction. The multiplicity of the knots is not modified.
-
-
-
-
-
-
-Returns, for this B-Spline surface, the knots table
-in the u parametric direction
-
-
-
-
-
-
-Returns, for this B-Spline surface, the knots table
-in the v parametric direction
-
-
-
-
-
-
-Modifies this B-Spline surface by assigning P to the pole of
-index (UIndex, VIndex) in the poles table.
-The second syntax allows you also to change the weight of the
-modified pole. The weight is set to Weight. This syntax must
-only be used for rational surfaces.
-Modifies this B-Spline curve by assigning P to the pole of
-index Index in the poles table.
-
-
-
-
-
-
-Modifies this B-Spline surface by assigning values to all or part
-of the column of poles of index VIndex, of this B-Spline surface.
-You can also change the weights of the modified poles. The weights
-are set to the corresponding values of CPoleWeights.
-These syntaxes must only be used for rational surfaces.
-
-
-
-
-
-
-Modifies this B-Spline surface by assigning values to all or part
-of the row of poles of index UIndex, of this B-Spline surface.
-You can also change the weights of the modified poles. The weights
-are set to the corresponding values of CPoleWeights.
-These syntaxes must only be used for rational surfaces.
-
-
-
-
-
-
- Returns the pole of index (UIndex,VIndex) of this B-Spline surface.
-
-
-
-
-
- Returns the table of poles of this B-Spline surface.
-
-
-
-
-
-Modifies this B-Spline surface by assigning the value Weight to the weight
-of the pole of index (UIndex, VIndex) in the poles tables of this B-Spline
-surface.
-
-This function must only be used for rational surfaces.
-
-
-
-
-
-
-Modifies this B-Spline surface by assigning values to all or part of the
-weights of the column of poles of index VIndex of this B-Spline surface.
-
-The modified part of the column of weights is defined by the bounds
-of the array CPoleWeights.
-
-This function must only be used for rational surfaces.
-
-
-
-
-
-
-Modifies this B-Spline surface by assigning values to all or part of the
-weights of the row of poles of index UIndex of this B-Spline surface.
-
-The modified part of the row of weights is defined by the bounds of the
-array CPoleWeights.
-
-This function must only be used for rational surfaces.
-
-
-
-
-
-
-Return the weight of the pole of index (UIndex,VIndex)
-in the poles table for this B-Spline surface.
-
-
-
-
-
- Returns the table of weights of the poles for this B-Spline surface.
-
-
-
-
- Returns the table of poles and weights in homogeneous coordinates.
-
-
-
-
-
-Computes two tolerance values for this B-Spline surface, based on the
-given tolerance in 3D space Tolerance3D. The tolerances computed are:
--- UTolerance in the u parametric direction and
--- VTolerance in the v parametric direction.
-
-If f(u,v) is the equation of this B-Spline surface, UTolerance and
-VTolerance guarantee that:
-|u1 - u0| < UTolerance
-|v1 - v0| < VTolerance
-====> ||f(u1, v1) - f(u2, v2)|| < Tolerance3D
-
-
-
-
-
-
-Moves the point of parameters (U, V) of this B-Spline surface to P.
-UIndex1, UIndex2, VIndex1 and VIndex2 are the indexes in the poles
-table of this B-Spline surface, of the first and last poles which
-can be moved in each parametric direction.
-The returned indexes UFirstIndex, ULastIndex, VFirstIndex and
-VLastIndex are the indexes of the first and last poles effectively
-modified in each parametric direction.
-In the event of incompatibility between UIndex1, UIndex2, VIndex1,
-VIndex2 and the values U and V:
--- no change is made to this B-Spline surface, and
--- UFirstIndex, ULastIndex, VFirstIndex and VLastIndex are set to
- null.
-
-
-
-
-
-
-Changes this B-Spline surface into a non-periodic one in the u parametric direction.
-If this B-Spline surface is already non-periodic in the given parametric direction,
-it is not modified.
-If this B-Spline surface is periodic in the given parametric direction, the boundaries
-of the surface are not given by the first and last rows (or columns) of poles (because
-the multiplicity of the first knot and of the last knot in the given parametric direction
-are not modified, nor are they equal to Degree+1, where Degree is the degree of this
-B-Spline surface in the given parametric direction). Only the function Segment ensures
-this property.
-
-Note: the poles and knots tables are modified.
-
-
-
-
-
-
-Changes this B-Spline surface into a non-periodic one in the v parametric direction.
-If this B-Spline surface is already non-periodic in the given parametric direction,
-it is not modified.
-If this B-Spline surface is periodic in the given parametric direction, the boundaries
-of the surface are not given by the first and last rows (or columns) of poles (because
-the multiplicity of the first knot and of the last knot in the given parametric direction
-are not modified, nor are they equal to Degree+1, where Degree is the degree of this
-B-Spline surface in the given parametric direction). Only the function Segment ensures
-this property.
-
-Note: the poles and knots tables are modified.
-
-
-
-
-
-
-Modifies this surface to be periodic in the u parametric direction.
-To become periodic in a given parametric direction a surface must
-be closed in that parametric direction, and the knot sequence relative
-to that direction must be periodic.
-To generate this periodic sequence of knots, the functions FirstUKnotIndex
-and LastUKnotIndex are used to compute I1 and I2. These are the indexes,
-in the knot array associated with the given parametric direction, of the
-knots that correspond to the first and last parameters of this B-Spline
-surface in the given parametric direction. Hence the period is:
-
-Knots(I1) - Knots(I2)
-
-As a result, the knots and poles tables are modified.
-
-
-
-
-
-
-Modifies this surface to be periodic in the v parametric direction.
-To become periodic in a given parametric direction a surface must
-be closed in that parametric direction, and the knot sequence relative
-to that direction must be periodic.
-To generate this periodic sequence of knots, the functions FirstUKnotIndex
-and LastUKnotIndex are used to compute I1 and I2. These are the indexes,
-in the knot array associated with the given parametric direction, of the
-knots that correspond to the first and last parameters of this B-Spline
-surface in the given parametric direction. Hence the period is:
-
-Knots(I1) - Knots(I2)
-
-As a result, the knots and poles tables are modified.
-
-
-
-
-
-
-Assigns the knot of index Index in the knots table
-in the u parametric direction to be the origin of
-this periodic B-Spline surface. As a consequence,
-the knots and poles tables are modified.
-
-
-
-
-
-
-Assigns the knot of index Index in the knots table
-in the v parametric direction to be the origin of
-this periodic B-Spline surface. As a consequence,
-the knots and poles tables are modified.
-
-
-
-
-
-
-Returns, for this B-Spline surface, the multiplicity of
-the knot of index UIndex in the u parametric direction.
-
-
-
-
-
-
-Returns, for this B-Spline surface, the multiplicity of
-the knot of index VIndex in the v parametric direction.
-
-
-
-
-
-
-Returns, for this B-Spline surface, the table of
-multiplicities in the u parametric direction
-
-
-
-
-
-
-Returns, for this B-Spline surface, the table of
-multiplicities in the v parametric direction
-
-
-
-
-
-
-Exchanges the u and v parametric directions on this B-Spline surface.
-As a consequence:
--- the poles and weights tables are transposed,
--- the knots and multiplicities tables are exchanged,
--- degrees of continuity and rational, periodic and uniform
- characteristics are exchanged and
--- the orientation of the surface is reversed.
-
-
-
-
-
- Returns a reparametrized copy of this surface
-
-
-
-
-
-Replaces this B-Spline surface by approximating a set of points.
-This method uses keywords :
-- Points = 2Darray of points (or floats, in combination with X0, dX, Y0, dY)
-- DegMin (int), DegMax (int)
-- Continuity = 0,1 or 2 (for C0, C1, C2)
-- Tolerance (float)
-- X0, dX, Y0, dY (floats) with Points = 2Darray of floats
-- ParamType = 'Uniform','Centripetal' or 'ChordLength'
-- LengthWeight, CurvatureWeight, TorsionWeight (floats)
-(with this smoothing algorithm, continuity C1 requires DegMax >= 3 and C2, DegMax >=5)
-
-Possible combinations :
-- approximate(Points, DegMin, DegMax, Continuity, Tolerance)
-- approximate(Points, DegMin, DegMax, Continuity, Tolerance, X0, dX, Y0, dY)
-With explicit keywords :
-- approximate(Points, DegMin, DegMax, Continuity, Tolerance, ParamType)
-- approximate(Points, DegMax, Continuity, Tolerance, LengthWeight, CurvatureWeight, TorsionWeight)
-
-
-
-
-
-
-interpolate(points)
-interpolate(zpoints, X0, dX, Y0, dY)
-
-Replaces this B-Spline surface by interpolating a set of points.
-The resulting surface is of degree 3 and continuity C2.
-Arguments:
-a 2 dimensional array of vectors, that the surface passes through
-or
-a 2 dimensional array of floats with the z values,
-the x starting point X0 (float),
-the x increment dX (float),
-the y starting point Y0 and increment dY
-
-
-
-
-
-
-Builds a B-Spline by a lists of Poles, Mults and Knots
-arguments: poles (sequence of sequence of Base.Vector), umults, vmults, [uknots, vknots, uperiodic, vperiodic, udegree, vdegree, weights (sequence of sequence of float)]
-
-
-
-
-
-
-Builds a B-Spline from a list of control curves
-
-
-
-
-
-
-Scales the U and V knots lists to fit the specified bounds.
-The shape of the surface is not modified.
-bspline_surf.scaleKnotsToBounds(u0, u1, v0, v1)
-Default arguments are 0.0, 1.0, 0.0, 1.0
-
-
-
-
-
diff --git a/src/Mod/Part/App/BezierCurvePy.xml b/src/Mod/Part/App/BezierCurvePy.xml
deleted file mode 100644
index d496c8d946..0000000000
--- a/src/Mod/Part/App/BezierCurvePy.xml
+++ /dev/null
@@ -1,165 +0,0 @@
-
-
-
-
-
- Describes a rational or non-rational Bezier curve:
--- 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
-
-Constructor takes no arguments.
-
-Example usage:
- p1 = Base.Vector(-1, 0, 0)
- p2 = Base.Vector(0, 1, 0.2)
- p3 = Base.Vector(1, 0, 0.4)
- p4 = Base.Vector(0, -1, 1)
-
- bc = BezierCurve()
- bc.setPoles([p1, p2, p3, p4])
- curveShape = bc.toShape()
-
-
-
-
- Returns the polynomial degree of this Bezier curve,
-which is equal to the number of poles minus 1.
-
-
-
-
-
- Returns the value of the maximum polynomial degree of any
-Bezier curve curve. This value is 25.
-
-
-
-
-
- Returns the number of poles of this Bezier curve.
-
-
-
-
-
- Returns the start point of this Bezier curve.
-
-
-
-
-
- Returns the end point of this Bezier curve.
-
-
-
-
-
- Returns false if the weights of all the poles of this Bezier curve are equal.
-
-
-
-
- Returns false.
-
-
-
-
- Returns true if the distance between the start point and end point of
-this Bezier curve is less than or equal to gp::Resolution().
-
-
-
-
- Increases the degree of this Bezier curve to Degree.
-As a result, the poles and weights tables are modified.
-
-
-
-
- Inserts after the pole of index.
-
-
-
-
- Inserts before the pole of index.
-
-
-
-
- Removes the pole of index Index from the table of poles of this Bezier curve.
-If this Bezier curve is rational, it can become non-rational.
-
-
-
-
- Modifies this Bezier curve by segmenting it.
-
-
-
-
- Set a pole of the Bezier curve.
-
-
-
-
- Get a pole of the Bezier curve.
-
-
-
-
- Get all poles of the Bezier curve.
-
-
-
-
- Set the poles of the Bezier curve.
-
-Takes a list of 3D Base.Vector objects.
-
-
-
-
- (id, weight) Set a weight of the Bezier curve.
-
-
-
-
- Get a weight of the Bezier curve.
-
-
-
-
- Get all weights of the Bezier curve.
-
-
-
-
- Computes for this Bezier curve the parametric tolerance (UTolerance)
-for a given 3D tolerance (Tolerance3D).
-If f(t) is the equation of this Bezier curve, the parametric tolerance
-ensures that:
-|t1-t0| < UTolerance =""==> |f(t1)-f(t0)| < Tolerance3D
-
-
-
-
- Interpolates a list of constraints.
-Each constraint is a list of a point and some optional derivatives
-An optional list of parameters can be passed. It must be of same size as constraint list.
-Otherwise, a simple uniform parametrization is used.
-Example :
-bezier.interpolate([[pt1, deriv11, deriv12], [pt2,], [pt3, deriv31]], [0, 0.4, 1.0])
-
-
-
-
diff --git a/src/Mod/Part/App/BezierSurfacePy.xml b/src/Mod/Part/App/BezierSurfacePy.xml
deleted file mode 100644
index 798e9a3135..0000000000
--- a/src/Mod/Part/App/BezierSurfacePy.xml
+++ /dev/null
@@ -1,263 +0,0 @@
-
-
-
-
-
- Describes a rational or non-rational Bezier surface
--- A non-rational Bezier surface is defined by a table of poles (also known as control points).
--- A rational Bezier surface is defined by a table of poles with varying associated weights.
-
-
-
- Returns the polynomial degree in u direction of this Bezier surface,
-which is equal to the number of poles minus 1.
-
-
-
-
-
- Returns the polynomial degree in v direction of this Bezier surface,
-which is equal to the number of poles minus 1.
-
-
-
-
-
- Returns the value of the maximum polynomial degree of any
-Bezier surface. This value is 25.
-
-
-
-
-
- Returns the number of poles in u direction of this Bezier surface.
-
-
-
-
-
- Returns the number of poles in v direction of this Bezier surface.
-
-
-
-
-
- Returns the parametric bounds (U1, U2, V1, V2) of this Bezier surface.
-
-
-
-
- Returns false if the equation of this Bezier surface is polynomial
-(e.g. non-rational) in the u or v parametric direction.
-In other words, returns false if for each row of poles, the associated
-weights are identical.
-
-
-
-
- Returns false if the equation of this Bezier surface is polynomial
-(e.g. non-rational) in the u or v parametric direction.
-In other words, returns false if for each column of poles, the associated
-weights are identical.
-
-
-
-
- Returns false.
-
-
-
-
- Returns false.
-
-
-
-
- Checks if this surface is closed in the u parametric direction.
-Returns true if, in the table of poles the first row and the last
-row are identical.
-
-
-
-
- Checks if this surface is closed in the v parametric direction.
-Returns true if, in the table of poles the first column and the
-last column are identical.
-
-
-
-
- increase(DegreeU: int, DegreeV: int)
-Increases the degree of this Bezier surface in the two
-parametric directions.
-
-
-
-
- Inserts into the table of poles of this surface, after the column
-of poles of index.
-If this Bezier surface is non-rational, it can become rational if
-the weights associated with the new poles are different from each
-other, or collectively different from the existing weights in the
-table.
-
-
-
-
- Inserts into the table of poles of this surface, after the row
-of poles of index.
-If this Bezier surface is non-rational, it can become rational if
-the weights associated with the new poles are different from each
-other, or collectively different from the existing weights in the
-table.
-
-
-
-
- Inserts into the table of poles of this surface, before the column
-of poles of index.
-If this Bezier surface is non-rational, it can become rational if
-the weights associated with the new poles are different from each
-other, or collectively different from the existing weights in the
-table.
-
-
-
-
- Inserts into the table of poles of this surface, before the row
-of poles of index.
-If this Bezier surface is non-rational, it can become rational if
-the weights associated with the new poles are different from each
-other, or collectively different from the existing weights in the
-table.
-
-
-
-
- removePoleRow(VIndex: int)
-Removes the column of poles of index VIndex from the table of
-poles of this Bezier surface.
-If this Bezier curve is rational, it can become non-rational.
-
-
-
-
- removePoleRow(UIndex: int)
-Removes the row of poles of index UIndex from the table of
-poles of this Bezier surface.
-If this Bezier curve is rational, it can become non-rational.
-
-
-
-
- segment(U1: double, U2: double, V1: double, V2: double)
-Modifies this Bezier surface by segmenting it between U1 and U2
-in the u parametric direction, and between V1 and V2 in the v
-parametric direction.
-U1, U2, V1, and V2 can be outside the bounds of this surface.
-
--- U1 and U2 isoparametric Bezier curves, segmented between
- V1 and V2, become the two bounds of the surface in the v
- parametric direction (0. and 1. u isoparametric curves).
--- V1 and V2 isoparametric Bezier curves, segmented between
- U1 and U2, become the two bounds of the surface in the u
- parametric direction (0. and 1. v isoparametric curves).
-
-The poles and weights tables are modified, but the degree of
-this surface in the u and v parametric directions does not
-change.U1 can be greater than U2, and V1 can be greater than V2.
-In these cases, the corresponding parametric direction is inverted.
-The orientation of the surface is inverted if one (and only one)
-parametric direction is inverted.
-
-
-
-
- Set a pole of the Bezier surface.
-
-
-
-
- Set the column of poles of the Bezier surface.
-
-
-
-
- Set the row of poles of the Bezier surface.
-
-
-
-
- Get a pole of index (UIndex, VIndex) of the Bezier surface.
-
-
-
-
- Get all poles of the Bezier surface.
-
-
-
-
- Set the weight of pole of the index (UIndex, VIndex)
-for the Bezier surface.
-
-
-
-
- Set the weights of the poles in the column of poles
-of index VIndex of the Bezier surface.
-
-
-
-
- Set the weights of the poles in the row of poles
-of index UIndex of the Bezier surface.
-
-
-
-
- Get a weight of the pole of index (UIndex, VIndex)
-of the Bezier surface.
-
-
-
-
- Get all weights of the Bezier surface.
-
-
-
-
- Computes two tolerance values for this Bezier surface, based on the
-given tolerance in 3D space Tolerance3D. The tolerances computed are:
--- UTolerance in the u parametric direction and
--- VTolerance in the v parametric direction.
-
-If f(u,v) is the equation of this Bezier surface, UTolerance and VTolerance
-guarantee that:
-|u1 - u0| < UTolerance
-|v1 - v0| < VTolerance
-====> ||f(u1, v1) - f(u2, v2)|| < Tolerance3D
-
-
-
-
- Exchanges the u and v parametric directions on this Bezier surface.
-As a consequence:
--- the poles and weights tables are transposed,
--- degrees, rational characteristics and so on are exchanged between
- the two parametric directions, and
--- the orientation of the surface is reversed.
-
-
-
-
diff --git a/src/Mod/Part/App/BodyBasePy.xml b/src/Mod/Part/App/BodyBasePy.xml
deleted file mode 100644
index 5f7f9f0487..0000000000
--- a/src/Mod/Part/App/BodyBasePy.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
-
- Base class of all Body objects
-
-
-
diff --git a/src/Mod/Part/App/BoundedCurvePy.xml b/src/Mod/Part/App/BoundedCurvePy.xml
deleted file mode 100644
index 3cf02df0fb..0000000000
--- a/src/Mod/Part/App/BoundedCurvePy.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
- The abstract class BoundedCurve is the root class of all bounded curve objects.
-
-
-
- Returns the starting point of the bounded curve.
-
-
-
-
-
- Returns the end point of the bounded curve.
-
-
-
-
-
diff --git a/src/Mod/Part/App/CMakeLists.txt b/src/Mod/Part/App/CMakeLists.txt
index d718cb7084..47bb011512 100644
--- a/src/Mod/Part/App/CMakeLists.txt
+++ b/src/Mod/Part/App/CMakeLists.txt
@@ -36,115 +36,60 @@ if(FREETYPE_FOUND)
)
endif(FREETYPE_FOUND)
-generate_from_xml(ArcPy)
generate_from_py(Arc)
-generate_from_xml(ArcOfConicPy)
generate_from_py(ArcOfConic)
-generate_from_xml(ArcOfCirclePy)
generate_from_py(ArcOfCircle)
-generate_from_xml(ArcOfParabolaPy)
generate_from_py(ArcOfParabola)
-generate_from_xml(BodyBasePy)
generate_from_py(BodyBase)
-generate_from_xml(ConicPy)
generate_from_py(Conic)
-generate_from_xml(CirclePy)
generate_from_py(Circle)
-generate_from_xml(ArcOfEllipsePy)
generate_from_py(ArcOfEllipse)
-generate_from_xml(EllipsePy)
generate_from_py(Ellipse)
-generate_from_xml(HyperbolaPy)
generate_from_py(Hyperbola)
-generate_from_xml(ArcOfHyperbolaPy)
generate_from_py(ArcOfHyperbola)
-generate_from_xml(ParabolaPy)
generate_from_py(Parabola)
-generate_from_xml(OffsetCurvePy)
generate_from_py(OffsetCurve)
-generate_from_xml(GeometryPy)
generate_from_py(Geometry)
-generate_from_xml(GeometryExtensionPy)
generate_from_py(GeometryExtension)
-generate_from_xml(GeometryIntExtensionPy)
generate_from_py(GeometryIntExtension)
-generate_from_xml(GeometryStringExtensionPy)
generate_from_py(GeometryStringExtension)
-generate_from_xml(GeometryBoolExtensionPy)
generate_from_py(GeometryBoolExtension)
-generate_from_xml(GeometryDoubleExtensionPy)
generate_from_py(GeometryDoubleExtension)
-generate_from_xml(GeometryCurvePy)
generate_from_py(GeometryCurve)
-generate_from_xml(BoundedCurvePy)
generate_from_py(BoundedCurve)
-generate_from_xml(TrimmedCurvePy)
generate_from_py(TrimmedCurve)
-generate_from_xml(GeometrySurfacePy)
generate_from_py(GeometrySurface)
-generate_from_xml(LinePy)
generate_from_py(Line)
-generate_from_xml(LineSegmentPy)
generate_from_py(LineSegment)
-generate_from_xml(PointPy)
generate_from_py(Point)
-generate_from_xml(BezierCurvePy)
generate_from_py(BezierCurve)
-generate_from_xml(BSplineCurvePy)
generate_from_py(BSplineCurve)
-generate_from_xml(PlanePy)
generate_from_py(Plane)
-generate_from_xml(ConePy)
generate_from_py(Cone)
-generate_from_xml(CylinderPy)
generate_from_py(Cylinder)
-generate_from_xml(SpherePy)
generate_from_py(Sphere)
-generate_from_xml(ToroidPy)
generate_from_py(Toroid)
-generate_from_xml(BezierSurfacePy)
generate_from_py(BezierSurface)
-generate_from_xml(BSplineSurfacePy)
generate_from_py(BSplineSurface)
-generate_from_xml(OffsetSurfacePy)
generate_from_py(OffsetSurface)
-generate_from_xml(PlateSurfacePy)
generate_from_py(PlateSurface)
-generate_from_xml(RectangularTrimmedSurfacePy)
generate_from_py(RectangularTrimmedSurface)
-generate_from_xml(SurfaceOfExtrusionPy)
generate_from_py(SurfaceOfExtrusion)
-generate_from_xml(SurfaceOfRevolutionPy)
generate_from_py(SurfaceOfRevolution)
-generate_from_xml(PartFeaturePy)
generate_from_py(PartFeature)
-generate_from_xml(AttachExtensionPy)
generate_from_py(AttachExtension)
-generate_from_xml(Part2DObjectPy)
generate_from_py(Part2DObject)
-generate_from_xml(AttachEnginePy)
generate_from_py(AttachEngine)
-generate_from_xml(TopoShapePy)
generate_from_py(TopoShape)
-generate_from_xml(TopoShapeCompoundPy)
generate_from_py(TopoShapeCompound)
-generate_from_xml(TopoShapeCompSolidPy)
generate_from_py(TopoShapeCompSolid)
-generate_from_xml(TopoShapeEdgePy)
generate_from_py(TopoShapeEdge)
-generate_from_xml(TopoShapeFacePy)
generate_from_py(TopoShapeFace)
-generate_from_xml(TopoShapeShellPy)
generate_from_py(TopoShapeShell)
-generate_from_xml(TopoShapeSolidPy)
generate_from_py(TopoShapeSolid)
-generate_from_xml(TopoShapeVertexPy)
generate_from_py(TopoShapeVertex)
-generate_from_xml(TopoShapeWirePy)
generate_from_py(TopoShapeWire)
-generate_from_xml(BRepOffsetAPI_MakePipeShellPy)
generate_from_py(BRepOffsetAPI_MakePipeShell)
-generate_from_xml(BRepOffsetAPI_MakeFillingPy)
generate_from_py(BRepOffsetAPI_MakeFilling)
@@ -157,105 +102,58 @@ file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/HLRBRep)
file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/ShapeFix)
file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/ShapeUpgrade)
-generate_from_xml(BRepFeat/MakePrismPy)
generate_from_py(BRepFeat/MakePrism)
-generate_from_xml(ChFi2d/ChFi2d_AnaFilletAlgoPy)
generate_from_py(ChFi2d/ChFi2d_AnaFilletAlgo)
-generate_from_xml(ChFi2d/ChFi2d_FilletAlgoPy)
generate_from_py(ChFi2d/ChFi2d_FilletAlgo)
-generate_from_xml(ChFi2d/ChFi2d_ChamferAPIPy)
generate_from_py(ChFi2d/ChFi2d_ChamferAPI)
-generate_from_xml(ChFi2d/ChFi2d_FilletAPIPy)
generate_from_py(ChFi2d/ChFi2d_FilletAPI)
-generate_from_xml(Geom2d/ArcOfCircle2dPy)
generate_from_py(Geom2d/ArcOfCircle2d)
-generate_from_xml(Geom2d/ArcOfConic2dPy)
generate_from_py(Geom2d/ArcOfConic2d)
-generate_from_xml(Geom2d/ArcOfEllipse2dPy)
generate_from_py(Geom2d/ArcOfEllipse2d)
-generate_from_xml(Geom2d/ArcOfHyperbola2dPy)
generate_from_py(Geom2d/ArcOfHyperbola2d)
-generate_from_xml(Geom2d/ArcOfParabola2dPy)
generate_from_py(Geom2d/ArcOfParabola2d)
-generate_from_xml(Geom2d/BezierCurve2dPy)
generate_from_py(Geom2d/BezierCurve2d)
-generate_from_xml(Geom2d/BSplineCurve2dPy)
generate_from_py(Geom2d/BSplineCurve2d)
-generate_from_xml(Geom2d/Circle2dPy)
generate_from_py(Geom2d/Circle2d)
-generate_from_xml(Geom2d/Conic2dPy)
generate_from_py(Geom2d/Conic2d)
-generate_from_xml(Geom2d/Ellipse2dPy)
generate_from_py(Geom2d/Ellipse2d)
-generate_from_xml(Geom2d/Geometry2dPy)
generate_from_py(Geom2d/Geometry2d)
-generate_from_xml(Geom2d/Hyperbola2dPy)
generate_from_py(Geom2d/Hyperbola2d)
-generate_from_xml(Geom2d/Curve2dPy)
generate_from_py(Geom2d/Curve2d)
-generate_from_xml(Geom2d/Line2dSegmentPy)
generate_from_py(Geom2d/Line2dSegment)
-generate_from_xml(Geom2d/Line2dPy)
generate_from_py(Geom2d/Line2d)
-generate_from_xml(Geom2d/OffsetCurve2dPy)
generate_from_py(Geom2d/OffsetCurve2d)
-generate_from_xml(Geom2d/Parabola2dPy)
generate_from_py(Geom2d/Parabola2d)
-generate_from_xml(GeomPlate/BuildPlateSurfacePy)
generate_from_py(GeomPlate/BuildPlateSurface)
-generate_from_xml(GeomPlate/CurveConstraintPy)
generate_from_py(GeomPlate/CurveConstraint)
-generate_from_xml(GeomPlate/PointConstraintPy)
generate_from_py(GeomPlate/PointConstraint)
-generate_from_xml(HLRBRep/HLRBRep_AlgoPy)
generate_from_py(HLRBRep/HLRBRep_Algo)
-generate_from_xml(HLRBRep/HLRToShapePy)
generate_from_py(HLRBRep/HLRToShape)
-generate_from_xml(HLRBRep/HLRBRep_PolyAlgoPy)
generate_from_py(HLRBRep/HLRBRep_PolyAlgo)
-generate_from_xml(HLRBRep/PolyHLRToShapePy)
generate_from_py(HLRBRep/PolyHLRToShape)
-generate_from_xml(ShapeFix/ShapeFix_RootPy)
generate_from_py(ShapeFix/ShapeFix_Root)
-generate_from_xml(ShapeFix/ShapeFix_EdgePy)
generate_from_py(ShapeFix/ShapeFix_Edge)
-generate_from_xml(ShapeFix/ShapeFix_FacePy)
generate_from_py(ShapeFix/ShapeFix_Face)
-generate_from_xml(ShapeFix/ShapeFix_ShapePy)
generate_from_py(ShapeFix/ShapeFix_Shape)
-generate_from_xml(ShapeFix/ShapeFix_ShellPy)
generate_from_py(ShapeFix/ShapeFix_Shell)
-generate_from_xml(ShapeFix/ShapeFix_SolidPy)
generate_from_py(ShapeFix/ShapeFix_Solid)
-generate_from_xml(ShapeFix/ShapeFix_WirePy)
generate_from_py(ShapeFix/ShapeFix_Wire)
-generate_from_xml(ShapeFix/ShapeFix_WireframePy)
generate_from_py(ShapeFix/ShapeFix_Wireframe)
-generate_from_xml(ShapeFix/ShapeFix_WireVertexPy)
generate_from_py(ShapeFix/ShapeFix_WireVertex)
-generate_from_xml(ShapeFix/ShapeFix_EdgeConnectPy)
generate_from_py(ShapeFix/ShapeFix_EdgeConnect)
-generate_from_xml(ShapeFix/ShapeFix_FaceConnectPy)
generate_from_py(ShapeFix/ShapeFix_FaceConnect)
-generate_from_xml(ShapeFix/ShapeFix_FixSmallFacePy)
generate_from_py(ShapeFix/ShapeFix_FixSmallFace)
-generate_from_xml(ShapeFix/ShapeFix_FixSmallSolidPy)
generate_from_py(ShapeFix/ShapeFix_FixSmallSolid)
-generate_from_xml(ShapeFix/ShapeFix_FreeBoundsPy)
generate_from_py(ShapeFix/ShapeFix_FreeBounds)
-generate_from_xml(ShapeFix/ShapeFix_ShapeTolerancePy)
generate_from_py(ShapeFix/ShapeFix_ShapeTolerance)
-generate_from_xml(ShapeFix/ShapeFix_SplitCommonVertexPy)
generate_from_py(ShapeFix/ShapeFix_SplitCommonVertex)
-generate_from_xml(ShapeFix/ShapeFix_SplitToolPy)
generate_from_py(ShapeFix/ShapeFix_SplitTool)
-generate_from_xml(ShapeUpgrade/UnifySameDomainPy)
generate_from_py(ShapeUpgrade/UnifySameDomain)
SET(Features_SRCS
@@ -359,115 +257,115 @@ SET(FCBRepAlgoAPI_SRCS
SOURCE_GROUP("FCBRepAlgoAPI-wrapper" FILES ${FCBRepAlgoAPI_SRCS})
SET(Python_SRCS
- ArcPy.xml
+ Arc.pyi
ArcPyImp.cpp
- ArcOfConicPy.xml
+ ArcOfConic.pyi
ArcOfConicPyImp.cpp
- ArcOfCirclePy.xml
+ ArcOfCircle.pyi
ArcOfCirclePyImp.cpp
- ArcOfParabolaPy.xml
+ ArcOfParabola.pyi
ArcOfParabolaPyImp.cpp
- BodyBasePy.xml
+ BodyBase.pyi
BodyBasePyImp.cpp
- ConicPy.xml
+ Conic.pyi
ConicPyImp.cpp
- CirclePy.xml
+ Circle.pyi
CirclePyImp.cpp
- ArcOfEllipsePy.xml
+ ArcOfEllipse.pyi
ArcOfEllipsePyImp.cpp
- EllipsePy.xml
+ Ellipse.pyi
EllipsePyImp.cpp
- HyperbolaPy.xml
+ Hyperbola.pyi
HyperbolaPyImp.cpp
- ArcOfHyperbolaPy.xml
+ ArcOfHyperbola.pyi
ArcOfHyperbolaPyImp.cpp
- ParabolaPy.xml
+ Parabola.pyi
ParabolaPyImp.cpp
- OffsetCurvePy.xml
+ OffsetCurve.pyi
OffsetCurvePyImp.cpp
- GeometryPy.xml
+ Geometry.pyi
GeometryPyImp.cpp
- GeometryExtensionPy.xml
+ GeometryExtension.pyi
GeometryExtensionPyImp.cpp
- GeometryIntExtensionPy.xml
+ GeometryIntExtension.pyi
GeometryIntExtensionPyImp.cpp
- GeometryStringExtensionPy.xml
+ GeometryStringExtension.pyi
GeometryStringExtensionPyImp.cpp
- GeometryBoolExtensionPy.xml
+ GeometryBoolExtension.pyi
GeometryBoolExtensionPyImp.cpp
- GeometryDoubleExtensionPy.xml
+ GeometryDoubleExtension.pyi
GeometryDoubleExtensionPyImp.cpp
- GeometryCurvePy.xml
+ GeometryCurve.pyi
GeometryCurvePyImp.cpp
- BoundedCurvePy.xml
+ BoundedCurve.pyi
BoundedCurvePyImp.cpp
- TrimmedCurvePy.xml
+ TrimmedCurve.pyi
TrimmedCurvePyImp.cpp
- GeometrySurfacePy.xml
+ GeometrySurface.pyi
GeometrySurfacePyImp.cpp
- LinePy.xml
+ Line.pyi
LinePyImp.cpp
- LineSegmentPy.xml
+ LineSegment.pyi
LineSegmentPyImp.cpp
- PointPy.xml
+ Point.pyi
PointPyImp.cpp
- BezierCurvePy.xml
+ BezierCurve.pyi
BezierCurvePyImp.cpp
- BSplineCurvePy.xml
+ BSplineCurve.pyi
BSplineCurvePyImp.cpp
- PlanePy.xml
+ Plane.pyi
PlanePyImp.cpp
- ConePy.xml
+ Cone.pyi
ConePyImp.cpp
- CylinderPy.xml
+ Cylinder.pyi
CylinderPyImp.cpp
- SpherePy.xml
+ Sphere.pyi
SpherePyImp.cpp
- ToroidPy.xml
+ Toroid.pyi
ToroidPyImp.cpp
- BezierSurfacePy.xml
+ BezierSurface.pyi
BezierSurfacePyImp.cpp
- BSplineSurfacePy.xml
+ BSplineSurface.pyi
BSplineSurfacePyImp.cpp
- OffsetSurfacePy.xml
+ OffsetSurface.pyi
OffsetSurfacePyImp.cpp
- PlateSurfacePy.xml
+ PlateSurface.pyi
PlateSurfacePyImp.cpp
- RectangularTrimmedSurfacePy.xml
+ RectangularTrimmedSurface.pyi
RectangularTrimmedSurfacePyImp.cpp
- SurfaceOfExtrusionPy.xml
+ SurfaceOfExtrusion.pyi
SurfaceOfExtrusionPyImp.cpp
- SurfaceOfRevolutionPy.xml
+ SurfaceOfRevolution.pyi
SurfaceOfRevolutionPyImp.cpp
- PartFeaturePy.xml
+ PartFeature.pyi
PartFeaturePyImp.cpp
- AttachExtensionPy.xml
+ AttachExtension.pyi
AttachExtensionPyImp.cpp
- Part2DObjectPy.xml
+ Part2DObject.pyi
Part2DObjectPyImp.cpp
- AttachEnginePy.xml
+ AttachEngine.pyi
AttachEnginePyImp.cpp
- TopoShapePy.xml
+ TopoShape.pyi
TopoShapePyImp.cpp
- TopoShapeCompSolidPy.xml
+ TopoShapeCompSolid.pyi
TopoShapeCompSolidPyImp.cpp
- TopoShapeCompoundPy.xml
+ TopoShapeCompound.pyi
TopoShapeCompoundPyImp.cpp
- TopoShapeEdgePy.xml
+ TopoShapeEdge.pyi
TopoShapeEdgePyImp.cpp
- TopoShapeFacePy.xml
+ TopoShapeFace.pyi
TopoShapeFacePyImp.cpp
- TopoShapeShellPy.xml
+ TopoShapeShell.pyi
TopoShapeShellPyImp.cpp
- TopoShapeSolidPy.xml
+ TopoShapeSolid.pyi
TopoShapeSolidPyImp.cpp
- TopoShapeVertexPy.xml
+ TopoShapeVertex.pyi
TopoShapeVertexPyImp.cpp
- TopoShapeWirePy.xml
+ TopoShapeWire.pyi
TopoShapeWirePyImp.cpp
- BRepOffsetAPI_MakePipeShellPy.xml
+ BRepOffsetAPI_MakePipeShell.pyi
BRepOffsetAPI_MakePipeShellPyImp.cpp
- BRepOffsetAPI_MakeFillingPy.xml
+ BRepOffsetAPI_MakeFilling.pyi
BRepOffsetAPI_MakeFillingPyImp.cpp
PartPyCXX.cpp
PartPyCXX.h
@@ -476,59 +374,59 @@ SOURCE_GROUP("Python" FILES ${Python_SRCS})
# BRepFeat wrappers
SET(BRepFeatPy_SRCS
- BRepFeat/MakePrismPy.xml
+ BRepFeat/MakePrism.pyi
BRepFeat/MakePrismPyImp.cpp
)
SOURCE_GROUP("BRepFeat" FILES ${BRepFeatPy_SRCS})
# ChFi2d wrappers
SET(ChFi2dPy_SRCS
- ChFi2d/ChFi2d_AnaFilletAlgoPy.xml
+ ChFi2d/ChFi2d_AnaFilletAlgo.pyi
ChFi2d/ChFi2d_AnaFilletAlgoPyImp.cpp
- ChFi2d/ChFi2d_FilletAlgoPy.xml
+ ChFi2d/ChFi2d_FilletAlgo.pyi
ChFi2d/ChFi2d_FilletAlgoPyImp.cpp
- ChFi2d/ChFi2d_ChamferAPIPy.xml
+ ChFi2d/ChFi2d_ChamferAPI.pyi
ChFi2d/ChFi2d_ChamferAPIPyImp.cpp
- ChFi2d/ChFi2d_FilletAPIPy.xml
+ ChFi2d/ChFi2d_FilletAPI.pyi
ChFi2d/ChFi2d_FilletAPIPyImp.cpp
)
SOURCE_GROUP("ChFi2d" FILES ${ChFi2dPy_SRCS})
# Geom2d wrappers
SET(Geom2dPy_SRCS
- Geom2d/ArcOfCircle2dPy.xml
+ Geom2d/ArcOfCircle2d.pyi
Geom2d/ArcOfCircle2dPyImp.cpp
- Geom2d/ArcOfConic2dPy.xml
+ Geom2d/ArcOfConic2d.pyi
Geom2d/ArcOfConic2dPyImp.cpp
- Geom2d/ArcOfEllipse2dPy.xml
+ Geom2d/ArcOfEllipse2d.pyi
Geom2d/ArcOfEllipse2dPyImp.cpp
- Geom2d/ArcOfHyperbola2dPy.xml
+ Geom2d/ArcOfHyperbola2d.pyi
Geom2d/ArcOfHyperbola2dPyImp.cpp
- Geom2d/ArcOfParabola2dPy.xml
+ Geom2d/ArcOfParabola2d.pyi
Geom2d/ArcOfParabola2dPyImp.cpp
- Geom2d/BezierCurve2dPy.xml
+ Geom2d/BezierCurve2d.pyi
Geom2d/BezierCurve2dPyImp.cpp
- Geom2d/BSplineCurve2dPy.xml
+ Geom2d/BSplineCurve2d.pyi
Geom2d/BSplineCurve2dPyImp.cpp
- Geom2d/Circle2dPy.xml
+ Geom2d/Circle2d.pyi
Geom2d/Circle2dPyImp.cpp
- Geom2d/Conic2dPy.xml
+ Geom2d/Conic2d.pyi
Geom2d/Conic2dPyImp.cpp
- Geom2d/Ellipse2dPy.xml
+ Geom2d/Ellipse2d.pyi
Geom2d/Ellipse2dPyImp.cpp
- Geom2d/Geometry2dPy.xml
+ Geom2d/Geometry2d.pyi
Geom2d/Geometry2dPyImp.cpp
- Geom2d/Curve2dPy.xml
+ Geom2d/Curve2d.pyi
Geom2d/Curve2dPyImp.cpp
- Geom2d/Hyperbola2dPy.xml
+ Geom2d/Hyperbola2d.pyi
Geom2d/Hyperbola2dPyImp.cpp
- Geom2d/Line2dPy.xml
+ Geom2d/Line2d.pyi
Geom2d/Line2dPyImp.cpp
- Geom2d/Line2dSegmentPy.xml
+ Geom2d/Line2dSegment.pyi
Geom2d/Line2dSegmentPyImp.cpp
- Geom2d/OffsetCurve2dPy.xml
+ Geom2d/OffsetCurve2d.pyi
Geom2d/OffsetCurve2dPyImp.cpp
- Geom2d/Parabola2dPy.xml
+ Geom2d/Parabola2d.pyi
Geom2d/Parabola2dPyImp.cpp
)
@@ -536,11 +434,11 @@ SOURCE_GROUP("Geom2d" FILES ${Geom2dPy_SRCS})
# GeomPlate wrappers
SET(GeomPlatePy_SRCS
- GeomPlate/BuildPlateSurfacePy.xml
+ GeomPlate/BuildPlateSurface.pyi
GeomPlate/BuildPlateSurfacePyImp.cpp
- GeomPlate/CurveConstraintPy.xml
+ GeomPlate/CurveConstraint.pyi
GeomPlate/CurveConstraintPyImp.cpp
- GeomPlate/PointConstraintPy.xml
+ GeomPlate/PointConstraint.pyi
GeomPlate/PointConstraintPyImp.cpp
)
@@ -548,53 +446,53 @@ SOURCE_GROUP("GeomPlate" FILES ${GeomPlatePy_SRCS})
# HLRBRep wrappers
SET(HLRBRepPy_SRCS
- HLRBRep/HLRBRep_AlgoPy.xml
+ HLRBRep/HLRBRep_Algo.pyi
HLRBRep/HLRBRep_AlgoPyImp.cpp
- HLRBRep/HLRToShapePy.xml
+ HLRBRep/HLRToShape.pyi
HLRBRep/HLRToShapePyImp.cpp
- HLRBRep/HLRBRep_PolyAlgoPy.xml
+ HLRBRep/HLRBRep_PolyAlgo.pyi
HLRBRep/HLRBRep_PolyAlgoPyImp.cpp
- HLRBRep/PolyHLRToShapePy.xml
+ HLRBRep/PolyHLRToShape.pyi
HLRBRep/PolyHLRToShapePyImp.cpp
)
SOURCE_GROUP("HLRBRep" FILES ${HLRBRepPy_SRCS})
# ShapeFix wrappers
SET(ShapeFixPy_SRCS
- ShapeFix/ShapeFix_RootPy.xml
+ ShapeFix/ShapeFix_Root.pyi
ShapeFix/ShapeFix_RootPyImp.cpp
- ShapeFix/ShapeFix_EdgePy.xml
+ ShapeFix/ShapeFix_Edge.pyi
ShapeFix/ShapeFix_EdgePyImp.cpp
- ShapeFix/ShapeFix_FacePy.xml
+ ShapeFix/ShapeFix_Face.pyi
ShapeFix/ShapeFix_FacePyImp.cpp
- ShapeFix/ShapeFix_ShapePy.xml
+ ShapeFix/ShapeFix_Shape.pyi
ShapeFix/ShapeFix_ShapePyImp.cpp
- ShapeFix/ShapeFix_ShellPy.xml
+ ShapeFix/ShapeFix_Shell.pyi
ShapeFix/ShapeFix_ShellPyImp.cpp
- ShapeFix/ShapeFix_SolidPy.xml
+ ShapeFix/ShapeFix_Solid.pyi
ShapeFix/ShapeFix_SolidPyImp.cpp
- ShapeFix/ShapeFix_WirePy.xml
+ ShapeFix/ShapeFix_Wire.pyi
ShapeFix/ShapeFix_WirePyImp.cpp
- ShapeFix/ShapeFix_WireframePy.xml
+ ShapeFix/ShapeFix_Wireframe.pyi
ShapeFix/ShapeFix_WireframePyImp.cpp
- ShapeFix/ShapeFix_WireVertexPy.xml
+ ShapeFix/ShapeFix_WireVertex.pyi
ShapeFix/ShapeFix_WireVertexPyImp.cpp
- ShapeFix/ShapeFix_EdgeConnectPy.xml
+ ShapeFix/ShapeFix_EdgeConnect.pyi
ShapeFix/ShapeFix_EdgeConnectPyImp.cpp
- ShapeFix/ShapeFix_FaceConnectPy.xml
+ ShapeFix/ShapeFix_FaceConnect.pyi
ShapeFix/ShapeFix_FaceConnectPyImp.cpp
- ShapeFix/ShapeFix_FixSmallFacePy.xml
+ ShapeFix/ShapeFix_FixSmallFace.pyi
ShapeFix/ShapeFix_FixSmallFacePyImp.cpp
- ShapeFix/ShapeFix_FixSmallSolidPy.xml
+ ShapeFix/ShapeFix_FixSmallSolid.pyi
ShapeFix/ShapeFix_FixSmallSolidPyImp.cpp
- ShapeFix/ShapeFix_FreeBoundsPy.xml
+ ShapeFix/ShapeFix_FreeBounds.pyi
ShapeFix/ShapeFix_FreeBoundsPyImp.cpp
- ShapeFix/ShapeFix_ShapeTolerancePy.xml
+ ShapeFix/ShapeFix_ShapeTolerance.pyi
ShapeFix/ShapeFix_ShapeTolerancePyImp.cpp
- ShapeFix/ShapeFix_SplitCommonVertexPy.xml
+ ShapeFix/ShapeFix_SplitCommonVertex.pyi
ShapeFix/ShapeFix_SplitCommonVertexPyImp.cpp
- ShapeFix/ShapeFix_SplitToolPy.xml
+ ShapeFix/ShapeFix_SplitTool.pyi
ShapeFix/ShapeFix_SplitToolPyImp.cpp
)
@@ -602,7 +500,7 @@ SOURCE_GROUP("ShapeFix" FILES ${ShapeFixPy_SRCS})
# ShapeUpgrade wrappers
SET(ShapeUpgradePy_SRCS
- ShapeUpgrade/UnifySameDomainPy.xml
+ ShapeUpgrade/UnifySameDomain.pyi
ShapeUpgrade/UnifySameDomainPyImp.cpp
)
diff --git a/src/Mod/Part/App/ChFi2d/ChFi2d_AnaFilletAlgoPy.xml b/src/Mod/Part/App/ChFi2d/ChFi2d_AnaFilletAlgoPy.xml
deleted file mode 100644
index dd1e79ee9f..0000000000
--- a/src/Mod/Part/App/ChFi2d/ChFi2d_AnaFilletAlgoPy.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-
-
- An analytical algorithm for calculation of the fillets.
-It is implemented for segments and arcs of circle only.
-
-
-
- Initializes a fillet algorithm: accepts a wire consisting of two edges in a plane
-
-
-
-
- perform(radius) -> bool
-
-Constructs a fillet edge
-
-
-
-
- result()
-
-Returns result (fillet edge, modified edge1, modified edge2)
-
-
-
-
diff --git a/src/Mod/Part/App/ChFi2d/ChFi2d_ChamferAPIPy.xml b/src/Mod/Part/App/ChFi2d/ChFi2d_ChamferAPIPy.xml
deleted file mode 100644
index 83322d70c6..0000000000
--- a/src/Mod/Part/App/ChFi2d/ChFi2d_ChamferAPIPy.xml
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-
-
- Algorithm that creates a chamfer between two linear edges
-
-
-
- Initializes a chamfer algorithm: accepts a wire consisting of two edges in a plane
-
-
-
-
- perform(radius) -> bool
-
-Constructs a chamfer edge
-
-
-
-
- result(point, solution=-1)
-
-Returns result (chamfer edge, modified edge1, modified edge2)
-
-
-
-
diff --git a/src/Mod/Part/App/ChFi2d/ChFi2d_FilletAPIPy.xml b/src/Mod/Part/App/ChFi2d/ChFi2d_FilletAPIPy.xml
deleted file mode 100644
index 3b1781c119..0000000000
--- a/src/Mod/Part/App/ChFi2d/ChFi2d_FilletAPIPy.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
-
- Algorithm that creates fillet edge
-
-
-
- Initializes a fillet algorithm: accepts a wire consisting of two edges in a plane
-
-
-
-
- perform(radius) -> bool
-
-Constructs a fillet edge
-
-
-
-
- Returns number of possible solutions
-
-
-
-
- result(point, solution=-1)
-
-Returns result (fillet edge, modified edge1, modified edge2)
-
-
-
-
diff --git a/src/Mod/Part/App/ChFi2d/ChFi2d_FilletAlgoPy.xml b/src/Mod/Part/App/ChFi2d/ChFi2d_FilletAlgoPy.xml
deleted file mode 100644
index 770660852c..0000000000
--- a/src/Mod/Part/App/ChFi2d/ChFi2d_FilletAlgoPy.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
-
- Algorithm that creates fillet edge
-
-
-
- Initializes a fillet algorithm: accepts a wire consisting of two edges in a plane
-
-
-
-
- perform(radius) -> bool
-
-Constructs a fillet edge
-
-
-
-
- Returns number of possible solutions
-
-
-
-
- result(point, solution=-1)
-
-Returns result (fillet edge, modified edge1, modified edge2)
-
-
-
-
diff --git a/src/Mod/Part/App/CirclePy.xml b/src/Mod/Part/App/CirclePy.xml
deleted file mode 100644
index 488734b7b7..0000000000
--- a/src/Mod/Part/App/CirclePy.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
- Describes a circle in 3D space
-To create a circle there are several ways:
-Part.Circle()
- Creates a default circle with center (0,0,0) and radius 1
-
-Part.Circle(Circle)
- Creates a copy of the given circle
-
-Part.Circle(Circle, Distance)
- Creates a circle parallel to given circle at a certain distance
-
-Part.Circle(Center,Normal,Radius)
- Creates a circle defined by center, normal direction and radius
-
-Part.Circle(Point1,Point2,Point3)
- Creates a circle defined by three non-linear points
-
-
-
-
- The radius of the circle.
-
-
-
-
-
diff --git a/src/Mod/Part/App/ConePy.xml b/src/Mod/Part/App/ConePy.xml
deleted file mode 100644
index 5e5151a08a..0000000000
--- a/src/Mod/Part/App/ConePy.xml
+++ /dev/null
@@ -1,77 +0,0 @@
-
-
-
-
-
- Describes a cone in 3D space
-
-To create a cone there are several ways:
-
-Part.Cone()
- Creates a default cone with radius 1
-
-Part.Cone(Cone)
- Creates a copy of the given cone
-
-Part.Cone(Cone, Distance)
- Creates a cone parallel to given cone at a certain distance
-
-Part.Cone(Point1,Point2,Radius1,Radius2)
- Creates a cone defined by two points and two radii
- The axis of the cone is the line passing through
- Point1 and Poin2.
- Radius1 is the radius of the section passing through
- Point1 and Radius2 the radius of the section passing
- through Point2.
-
-Part.Cone(Point1,Point2,Point3,Point4)
- Creates a cone passing through three points Point1,
- Point2 and Point3.
- Its axis is defined by Point1 and Point2 and the radius of
- its base is the distance between Point3 and its axis.
- The distance between Point and the axis is the radius of
- the section passing through Point4.
-
-
-
-
- Compute the apex of the cone.
-
-
-
-
-
- The radius of the cone.
-
-
-
-
-
- The semi-angle of the cone.
-
-
-
-
-
- Center of the cone.
-
-
-
-
-
- The axis direction of the cone
-
-
-
-
-
diff --git a/src/Mod/Part/App/ConicPy.xml b/src/Mod/Part/App/ConicPy.xml
deleted file mode 100644
index 675c5310ff..0000000000
--- a/src/Mod/Part/App/ConicPy.xml
+++ /dev/null
@@ -1,66 +0,0 @@
-
-
-
-
-
- Describes an abstract conic in 3d space
-
-
-
- Location of the conic.
-
-
-
-
-
- Deprecated -- use Location.
-
-
-
-
-
- Returns the eccentricity value of the conic e.
-e = 0 for a circle
-0 < e < 1 for an ellipse (e = 0 if MajorRadius = MinorRadius)
-e > 1 for a hyperbola
-e = 1 for a parabola
-
-
-
-
-
-
- The angle between the X axis and the major axis of the conic.
-
-
-
-
-
- The axis direction of the circle
-
-
-
-
-
- The X axis direction of the circle
-
-
-
-
-
- The Y axis direction of the circle
-
-
-
-
-
diff --git a/src/Mod/Part/App/CylinderPy.xml b/src/Mod/Part/App/CylinderPy.xml
deleted file mode 100644
index 499e22f5e1..0000000000
--- a/src/Mod/Part/App/CylinderPy.xml
+++ /dev/null
@@ -1,54 +0,0 @@
-
-
-
-
-
- Describes a cylinder in 3D space
-
-To create a cylinder there are several ways:
-
-Part.Cylinder()
- Creates a default cylinder with center (0,0,0) and radius 1
-
-Part.Cylinder(Cylinder)
- Creates a copy of the given cylinder
-
-Part.Cylinder(Cylinder, Distance)
- Creates a cylinder parallel to given cylinder at a certain distance
-
-Part.Cylinder(Point1, Point2, Point2)
- Creates a cylinder defined by three non-linear points
-
-Part.Cylinder(Circle)
- Creates a cylinder by a circular base
-
-
-
- The radius of the cylinder.
-
-
-
-
-
- Center of the cylinder.
-
-
-
-
-
- The axis direction of the cylinder
-
-
-
-
-
diff --git a/src/Mod/Part/App/EllipsePy.xml b/src/Mod/Part/App/EllipsePy.xml
deleted file mode 100644
index 9dea884aa1..0000000000
--- a/src/Mod/Part/App/EllipsePy.xml
+++ /dev/null
@@ -1,71 +0,0 @@
-
-
-
-
-
- Describes an ellipse in 3D space
-
-To create an ellipse there are several ways:
-
-Part.Ellipse()
- Creates an ellipse with major radius 2 and minor radius 1 with the
- center in (0,0,0)
-
-Part.Ellipse(Ellipse)
- Create a copy of the given ellipse
-
-Part.Ellipse(S1,S2,Center)
- Creates an ellipse centered on the point Center, where
- the plane of the ellipse is defined by Center, S1 and S2,
- its major axis is defined by Center and S1,
- its major radius is the distance between Center and S1, and
- its minor radius is the distance between S2 and the major axis.
-
-Part.Ellipse(Center,MajorRadius,MinorRadius)
- Creates an ellipse with major and minor radii MajorRadius and
- MinorRadius, and located in the plane defined by Center and
- the normal (0,0,1)
-
-
-
-
- The major radius of the ellipse.
-
-
-
-
-
- The minor radius of the ellipse.
-
-
-
-
-
- The focal distance of the ellipse.
-
-
-
-
-
- The first focus is on the positive side of the major axis of the ellipse.
-
-
-
-
-
- The second focus is on the negative side of the major axis of the ellipse.
-
-
-
-
-
diff --git a/src/Mod/Part/App/Geom2d/ArcOfCircle2dPy.xml b/src/Mod/Part/App/Geom2d/ArcOfCircle2dPy.xml
deleted file mode 100644
index 670eaf5346..0000000000
--- a/src/Mod/Part/App/Geom2d/ArcOfCircle2dPy.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
- Describes a portion of a circle
-
-
-
- The radius of the circle.
-
-
-
-
-
- The internal circle representation
-
-
-
-
-
diff --git a/src/Mod/Part/App/Geom2d/ArcOfConic2dPy.xml b/src/Mod/Part/App/Geom2d/ArcOfConic2dPy.xml
deleted file mode 100644
index 6d3fe7b65d..0000000000
--- a/src/Mod/Part/App/Geom2d/ArcOfConic2dPy.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
-
- Describes an abstract arc of conic in 2d space.
-
-
-
- Location of the conic.
-
-
-
-
-
-
-returns the eccentricity value of the conic e.
-e = 0 for a circle
-0 < e < 1 for an ellipse (e = 0 if MajorRadius = MinorRadius)
-e > 1 for a hyperbola
-e = 1 for a parabola
-
-
-
-
-
-
- The X axis direction of the circle.
-
-
-
-
-
- The Y axis direction of the circle.
-
-
-
-
-
diff --git a/src/Mod/Part/App/Geom2d/ArcOfEllipse2dPy.xml b/src/Mod/Part/App/Geom2d/ArcOfEllipse2dPy.xml
deleted file mode 100644
index 6a9773a683..0000000000
--- a/src/Mod/Part/App/Geom2d/ArcOfEllipse2dPy.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-
-
-
-
-
- Describes a portion of an ellipse
-
-
-
- The major radius of the ellipse.
-
-
-
-
-
- The minor radius of the ellipse.
-
-
-
-
-
- The internal ellipse representation
-
-
-
-
-
diff --git a/src/Mod/Part/App/Geom2d/ArcOfHyperbola2dPy.xml b/src/Mod/Part/App/Geom2d/ArcOfHyperbola2dPy.xml
deleted file mode 100644
index 25755bae6e..0000000000
--- a/src/Mod/Part/App/Geom2d/ArcOfHyperbola2dPy.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-
-
-
-
-
- Describes a portion of an hyperbola
-
-
-
- The major radius of the hyperbola.
-
-
-
-
-
- The minor radius of the hyperbola.
-
-
-
-
-
- The internal hyperbola representation
-
-
-
-
-
diff --git a/src/Mod/Part/App/Geom2d/ArcOfParabola2dPy.xml b/src/Mod/Part/App/Geom2d/ArcOfParabola2dPy.xml
deleted file mode 100644
index 9cb9d752a0..0000000000
--- a/src/Mod/Part/App/Geom2d/ArcOfParabola2dPy.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
- Describes a portion of a parabola.
-
-
-
- The focal length of the parabola.
-
-
-
-
-
- The internal parabola representation.
-
-
-
-
-
diff --git a/src/Mod/Part/App/Geom2d/BSplineCurve2dPy.xml b/src/Mod/Part/App/Geom2d/BSplineCurve2dPy.xml
deleted file mode 100644
index a567c133e4..0000000000
--- a/src/Mod/Part/App/Geom2d/BSplineCurve2dPy.xml
+++ /dev/null
@@ -1,410 +0,0 @@
-
-
-
-
-
- Describes a B-Spline curve in 3D space
-
-
-
- Returns the polynomial degree of this B-Spline curve.
-
-
-
-
-
- Returns the value of the maximum polynomial degree of any
- B-Spline curve curve. This value is 25.
-
-
-
-
-
- Returns the number of poles of this B-Spline curve.
-
-
-
-
-
- Returns the number of knots of this B-Spline curve.
-
-
-
-
-
- Returns the start point of this B-Spline curve.
-
-
-
-
-
- Returns the end point of this B-Spline curve.
-
-
-
-
-
- Returns the index in the knot array of the knot
- corresponding to the first or last parameter
- of this B-Spline curve.
-
-
-
-
-
- Returns the index in the knot array of the knot
- corresponding to the first or last parameter
- of this B-Spline curve.
-
-
-
-
-
- Returns the knots sequence of this B-Spline curve.
-
-
-
-
-
- Returns true if this B-Spline curve is rational.
-A B-Spline curve is rational if, at the time of construction, the weight table has been initialized.
-
-
-
-
- Returns true if this BSpline curve is periodic.
-
-
-
-
- Returns true if the distance between the start point and end point of
-this B-Spline curve is less than or equal to gp::Resolution().
-
-
-
-
- increaseDegree(Int=Degree)
-
-Increases the degree of this B-Spline curve to Degree.
-As a result, the poles, weights and multiplicities tables
-are modified; the knots table is not changed. Nothing is
-done if Degree is less than or equal to the current degree.
-
-
-
-
- increaseMultiplicity(int index, int mult)
-increaseMultiplicity(int start, int end, int mult)
-Increases multiplicity of knots up to mult.
-
-index: the index of a knot to modify (1-based)
-start, end: index range of knots to modify.
-If mult is lower or equal to the current multiplicity nothing is done.
-If mult is higher than the degree the degree is used.
-
-
-
-
- incrementMultiplicity(int start, int end, int mult)
-Raises multiplicity of knots by mult.
-
-start, end: index range of knots to modify.
-
-
-
-
- insertKnot(u, mult = 1, tol = 0.0)
-
-Inserts a knot value in the sequence of knots. If u is an existing knot the multiplicity is increased by mult.
-
-
-
-
- insertKnots(list_of_floats, list_of_ints, tol = 0.0, bool_add = True)
-
-Inserts a set of knots values in the sequence of knots.
-
-For each u = list_of_floats[i], mult = list_of_ints[i]
-
-If u is an existing knot the multiplicity is increased by mult if bool_add is
-True, otherwise increased to mult.
-
-If u is not on the parameter range nothing is done.
-
-If the multiplicity is negative or null nothing is done. The new multiplicity
-is limited to the degree.
-
-The tolerance criterion for knots equality is the max of Epsilon(U) and ParametricTolerance.
-
-
-
-
- removeKnot(Index, M, tol)
-
-Reduces the multiplicity of the knot of index Index to M.
-If M is equal to 0, the knot is removed.
-With a modification of this type, the array of poles is also modified.
-Two different algorithms are systematically used to compute the new
-poles of the curve. If, for each pole, the distance between the pole
-calculated using the first algorithm and the same pole calculated using
-the second algorithm, is less than Tolerance, this ensures that the curve
-is not modified by more than Tolerance. Under these conditions, true is
-returned; otherwise, false is returned.
-
-A low tolerance is used to prevent modification of the curve.
-A high tolerance is used to 'smooth' the curve.
-
-
-
-
- segment(u1,u2)
-Modifies this B-Spline curve by segmenting it.
-
-
-
-
- Set a knot of the B-Spline curve.
-
-
-
-
- Get a knot of the B-Spline curve.
-
-
-
-
- Set knots of the B-Spline curve.
-
-
-
-
- Get all knots of the B-Spline curve.
-
-
-
-
- Modifies this B-Spline curve by assigning P to the pole of index Index in the poles table.
-
-
-
-
- Get a pole of the B-Spline curve.
-
-
-
-
- Get all poles of the B-Spline curve.
-
-
-
-
- Set a weight of the B-Spline curve.
-
-
-
-
- Get a weight of the B-Spline curve.
-
-
-
-
- Get all weights of the B-Spline curve.
-
-
-
-
- Returns the table of poles and weights in homogeneous coordinates.
-
-
-
-
- Computes for this B-Spline curve the parametric tolerance (UTolerance)
-for a given 3D tolerance (Tolerance3D).
-If f(t) is the equation of this B-Spline curve, the parametric tolerance ensures that:
-|t1-t0| < UTolerance =""==> |f(t1)-f(t0)| < Tolerance3D
-
-
-
-
- movePoint(U, P, Index1, Index2)
-
-Moves the point of parameter U of this B-Spline curve to P.
-Index1 and Index2 are the indexes in the table of poles of this B-Spline curve
-of the first and last poles designated to be moved.
-
-Returns: (FirstModifiedPole, LastModifiedPole). They are the indexes of the
-first and last poles which are effectively modified.
-
-
-
-
- Changes this B-Spline curve into a non-periodic curve.
-If this curve is already non-periodic, it is not modified.
-
-
-
-
- Changes this B-Spline curve into a periodic curve.
-
-
-
-
- Assigns the knot of index Index in the knots table as the origin of this periodic B-Spline curve.
-As a consequence, the knots and poles tables are modified.
-
-
-
-
- Returns the multiplicity of the knot of index from the knots table of this B-Spline curve.
-
-
-
-
- Returns the multiplicities table M of the knots of this B-Spline curve.
-
-
-
-
- Replaces this B-Spline curve by approximating a set of points.
-The function accepts keywords as arguments.
-
-approximate2(Points = list_of_points)
-
-Optional arguments :
-
-DegMin = integer (3) : Minimum degree of the curve.
-DegMax = integer (8) : Maximum degree of the curve.
-Tolerance = float (1e-3) : approximating tolerance.
-Continuity = string ('C2') : Desired continuity of the curve.
-Possible values : 'C0','G1','C1','G2','C2','C3','CN'
-
-LengthWeight = float, CurvatureWeight = float, TorsionWeight = float
-If one of these arguments is not null, the functions approximates the
-points using variational smoothing algorithm, which tries to minimize
-additional criterium:
-LengthWeight*CurveLength + CurvatureWeight*Curvature + TorsionWeight*Torsion
-Continuity must be C0, C1 or C2, else defaults to C2.
-
-Parameters = list of floats : knot sequence of the approximated points.
-This argument is only used if the weights above are all null.
-
-ParamType = string ('Uniform','Centripetal' or 'ChordLength')
-Parameterization type. Only used if weights and Parameters above aren't specified.
-
-Note : Continuity of the spline defaults to C2. However, it may not be applied if
-it conflicts with other parameters ( especially DegMax ).
-
-
-
-
- Compute the tangents for a Cardinal spline
-
-
-
-
- Replaces this B-Spline curve by interpolating a set of points.
-The function accepts keywords as arguments.
-
-interpolate(Points = list_of_points)
-
-Optional arguments :
-
-PeriodicFlag = bool (False) : Sets the curve closed or opened.
-Tolerance = float (1e-6) : interpolating tolerance
-
-Parameters : knot sequence of the interpolated points.
-If not supplied, the function defaults to chord-length parameterization.
-If PeriodicFlag == True, one extra parameter must be appended.
-
-EndPoint Tangent constraints :
-
-InitialTangent = vector, FinalTangent = vector
-specify tangent vectors for starting and ending points
-of the BSpline. Either none, or both must be specified.
-
-Full Tangent constraints :
-
-Tangents = list_of_vectors, TangentFlags = list_of_bools
-Both lists must have the same length as Points list.
-Tangents specifies the tangent vector of each point in Points list.
-TangentFlags (bool) activates or deactivates the corresponding tangent.
-These arguments will be ignored if EndPoint Tangents (above) are also defined.
-
-Note : Continuity of the spline defaults to C2. However, if periodic, or tangents
-are supplied, the continuity will drop to C1.
-
-
-
-
- Builds a B-Spline by a list of poles.
-
-
-
-
- Builds a B-Spline by a lists of Poles, Mults, Knots.
-arguments: poles (sequence of Base.Vector),
-[mults , knots, periodic, degree, weights (sequence of float), CheckRational]
-
-Examples:
-from FreeCAD import Base
-import Part
-V=Base.Vector
-poles=[V(-10,-10),V(10,-10),V(10,10),V(-10,10)]
-
-# non-periodic spline
-n=Part.BSplineCurve()
-n.buildFromPolesMultsKnots(poles,(3,1,3),(0,0.5,1),False,2)
-Part.show(n.toShape())
-
-# periodic spline
-p=Part.BSplineCurve()
-p.buildFromPolesMultsKnots(poles,(1,1,1,1,1),(0,0.25,0.5,0.75,1),True,2)
-Part.show(p.toShape())
-
-# periodic and rational spline
-r=Part.BSplineCurve()
-r.buildFromPolesMultsKnots(poles,(1,1,1,1,1),(0,0.25,0.5,0.75,1),True,2,(1,0.8,0.7,0.2))
-Part.show(r.toShape())
-
-
-
-
- Build a list of Bezier splines.
-
-
-
-
- toBiArcs(tolerance) -> list.
-Build a list of arcs and lines to approximate the B-spline.
-
-
-
-
-
- Build a new spline by joining this and a second spline.
-
-
-
-
- makeC1Continuous(tol = 1e-6, ang_tol = 1e-7)
-
-Reduces as far as possible the multiplicities of the knots of this BSpline
-(keeping the geometry). It returns a new BSpline, which could still be C0.
-tol is a geometrical tolerance.
-The tol_ang is angular tolerance, in radians. It sets tolerable angle mismatch
-of the tangents on the left and on the right to decide if the curve is G1 or
-not at a given point.
-
-
-
-
diff --git a/src/Mod/Part/App/Geom2d/BezierCurve2dPy.xml b/src/Mod/Part/App/Geom2d/BezierCurve2dPy.xml
deleted file mode 100644
index 13af7f008a..0000000000
--- a/src/Mod/Part/App/Geom2d/BezierCurve2dPy.xml
+++ /dev/null
@@ -1,139 +0,0 @@
-
-
-
-
-
- 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
-
-
-
- Returns the polynomial degree of this Bezier curve, which is equal to the number of poles minus 1.
-
-
-
-
-
- Returns the value of the maximum polynomial degree of any Bezier curve curve. This value is 25.
-
-
-
-
-
- Returns the number of poles of this Bezier curve.
-
-
-
-
-
- Returns the start point of this Bezier curve.
-
-
-
-
-
- Returns the end point of this Bezier curve.
-
-
-
-
-
- Returns false if the weights of all the poles of this Bezier curve are equal.
-
-
-
-
- Returns false.
-
-
-
-
- Returns true if the distance between the start point and end point of this Bezier curve
-is less than or equal to gp::Resolution().
-
-
-
-
- increase(Int=Degree)
-Increases the degree of this Bezier curve to Degree.
-As a result, the poles and weights tables are modified.
-
-
-
-
- Inserts after the pole of index.
-
-
-
-
- Inserts before the pole of index.
-
-
-
-
- Removes the pole of index Index from the table of poles of this Bezier curve.
-If this Bezier curve is rational, it can become non-rational.
-
-
-
-
- Modifies this Bezier curve by segmenting it.
-
-
-
-
- Set a pole of the Bezier curve.
-
-
-
-
- Get a pole of the Bezier curve.
-
-
-
-
- Get all poles of the Bezier curve.
-
-
-
-
- Set the poles of the Bezier curve.
-
-
-
-
- Set a weight of the Bezier curve.
-
-
-
-
- Get a weight of the Bezier curve.
-
-
-
-
- Get all weights of the Bezier curve.
-
-
-
-
- Computes for this Bezier curve the parametric tolerance (UTolerance)
-for a given 3D tolerance (Tolerance3D).
-If f(t) is the equation of this Bezier curve,
-the parametric tolerance ensures that:
-|t1-t0| < UTolerance =""==> |f(t1)-f(t0)| < Tolerance3D
-
-
-
-
diff --git a/src/Mod/Part/App/Geom2d/Circle2dPy.xml b/src/Mod/Part/App/Geom2d/Circle2dPy.xml
deleted file mode 100644
index 11d6c8d525..0000000000
--- a/src/Mod/Part/App/Geom2d/Circle2dPy.xml
+++ /dev/null
@@ -1,46 +0,0 @@
-
-
-
-
-
- Describes a circle in 3D space
-To create a circle there are several ways:
-Part.Geom2d.Circle2d()
- Creates a default circle with center (0,0) and radius 1
-
-Part.Geom2d.Circle2d(circle)
- Creates a copy of the given circle
-
-Part.Geom2d.Circle2d(circle, Distance)
- Creates a circle parallel to given circle at a certain distance
-
-Part.Geom2d.Circle2d(Center,Radius)
- Creates a circle defined by center and radius
-
-Part.Geom2d.Circle2d(Point1,Point2,Point3)
- Creates a circle defined by three non-linear points
-
-
-
-
- Get the circle center defined by three points
-
-
-
-
- The radius of the circle.
-
-
-
-
-
diff --git a/src/Mod/Part/App/Geom2d/Conic2dPy.xml b/src/Mod/Part/App/Geom2d/Conic2dPy.xml
deleted file mode 100644
index 8c08cecdf5..0000000000
--- a/src/Mod/Part/App/Geom2d/Conic2dPy.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
-
- Describes an abstract conic in 2d space
-
-
-
- Location of the conic.
-
-
-
-
-
-
-returns the eccentricity value of the conic e.
- e = 0 for a circle
- 0 < e < 1 for an ellipse (e = 0 if MajorRadius = MinorRadius)
- e > 1 for a hyperbola
- e = 1 for a parabola
-
-
-
-
-
-
- The X axis direction of the circle
-
-
-
-
-
- The Y axis direction of the circle
-
-
-
-
-
diff --git a/src/Mod/Part/App/Geom2d/Curve2dPy.xml b/src/Mod/Part/App/Geom2d/Curve2dPy.xml
deleted file mode 100644
index 7e2989e411..0000000000
--- a/src/Mod/Part/App/Geom2d/Curve2dPy.xml
+++ /dev/null
@@ -1,175 +0,0 @@
-
-
-
-
-
- The abstract class Geom2dCurve is the root class of all curve objects.
-
-
-
- Changes the direction of parametrization of the curve.
-
-
-
-
- Return the shape for the geometry.
-
-
-
-
-
-Discretizes the curve and returns a list of points.
-The function accepts keywords as argument:
-discretize(Number=n) => gives a list of 'n' equidistant points.
-discretize(QuasiNumber=n) => gives a list of 'n' quasi-equidistant points (is faster than the method above).
-discretize(Distance=d) => gives a list of equidistant points with distance 'd'.
-discretize(Deflection=d) => gives a list of points with a maximum deflection 'd' to the curve.
-discretize(QuasiDeflection=d) => gives a list of points with a maximum deflection 'd' to the curve (faster).
-discretize(Angular=a,Curvature=c,[Minimum=m]) => gives a list of points with an angular deflection of 'a'
- and a curvature deflection of 'c'. Optionally a minimum number of points
- can be set, which by default is set to 2.
-
-Optionally you can set the keywords 'First' and 'Last' to define
- a sub-range of the parameter range of the curve.
-
-If no keyword is given, then it depends on whether the argument is an int or float.
-If it's an int then the behaviour is as if using the keyword 'Number',
-if it's a float then the behaviour is as if using the keyword 'Distance'.
-
-Example:
-
-import Part
-c=PartGeom2d.Circle2d()
-c.Radius=5
-p=c.discretize(Number=50,First=3.14)
-s=Part.Compound([Part.Vertex(i) for i in p])
-Part.show(s)
-
-
-p=c.discretize(Angular=0.09,Curvature=0.01,Last=3.14,Minimum=100)
-s=Part.Compound([Part.Vertex(i) for i in p])
-Part.show(s)
-
-
-
-
-
-
-Computes the length of a curve
-length([uMin,uMax,Tol]) -> Float
-
-
-
-
-
-
-Returns the parameter on the curve of a point at
-the given distance from a starting parameter.
-parameterAtDistance([abscissa, startingParameter]) -> Float
-
-
-
-
-
- Computes the point of parameter u on this curve
-
-
-
-
- Computes the tangent of parameter u on this curve
-
-
-
-
-
-Returns the parameter on the curve of the
-nearest orthogonal projection of the point.
-
-
-
-
-
-
-Vector = normal(pos) - Get the normal vector at the given parameter [First|Last] if defined.
-
-
-
-
-
-
-Float = curvature(pos) - Get the curvature at the given parameter [First|Last] if defined.
-
-
-
-
-
-
-Vector = centerOfCurvature(float pos) - Get the center of curvature at the given parameter [First|Last] if defined.
-
-
-
-
-
-
-Returns all intersection points between this curve and the given curve.
-
-
-
-
-
-
-Converts a curve of any type (only part from First to Last)
-toBSpline([Float=First, Float=Last]) -> B-Spline curve
-
-
-
-
-
-
-Approximates a curve of any type to a B-Spline curve
-approximateBSpline(Tolerance, MaxSegments, MaxDegree, [Order='C2']) -> B-Spline curve
-
-
-
-
-
- Returns the global continuity of the curve.
-
-
-
-
-
- Returns true if the curve is closed.
-
-
-
-
-
- Returns true if the curve is periodic.
-
-
-
-
-
- Returns the value of the first parameter.
-
-
-
-
-
- Returns the value of the last parameter.
-
-
-
-
-
diff --git a/src/Mod/Part/App/Geom2d/Ellipse2dPy.xml b/src/Mod/Part/App/Geom2d/Ellipse2dPy.xml
deleted file mode 100644
index fa177ab03b..0000000000
--- a/src/Mod/Part/App/Geom2d/Ellipse2dPy.xml
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
-
-
-
-Describes an ellipse in 2D space
-To create an ellipse there are several ways:
-Part.Geom2d.Ellipse2d()
- Creates an ellipse with major radius 2 and minor radius 1 with the
- center in (0,0)
-
-Part.Geom2d.Ellipse2d(Ellipse)
- Create a copy of the given ellipse
-
-Part.Geom2d.Ellipse2d(S1,S2,Center)
- Creates an ellipse centered on the point Center,
- its major axis is defined by Center and S1,
- its major radius is the distance between Center and S1, and
- its minor radius is the distance between S2 and the major axis.
-
-Part.Geom2d.Ellipse2d(Center,MajorRadius,MinorRadius)
- Creates an ellipse with major and minor radii MajorRadius and
- MinorRadius
-
-
-
- The major radius of the ellipse.
-
-
-
-
-
- The minor radius of the ellipse.
-
-
-
-
-
- The focal distance of the ellipse.
-
-
-
-
-
- The first focus is on the positive side of the major axis of the ellipse.
-
-
-
-
-
- The second focus is on the negative side of the major axis of the ellipse.
-
-
-
-
-
diff --git a/src/Mod/Part/App/Geom2d/Geometry2dPy.xml b/src/Mod/Part/App/Geom2d/Geometry2dPy.xml
deleted file mode 100644
index 543efdc6a4..0000000000
--- a/src/Mod/Part/App/Geom2d/Geometry2dPy.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
-
-
- The abstract class Geometry for 2D space is the root class of all geometric objects.
-It describes the common behavior of these objects when:
-- applying geometric transformations to objects, and
-- constructing objects by geometric transformation (including copying).
-
-
-
- Performs the symmetrical transformation of this geometric object.
-
-
-
-
- Rotates this geometric object at angle Ang (in radians) around a point.
-
-
-
-
- Applies a scaling transformation on this geometric object with a center and scaling factor.
-
-
-
-
- Applies a transformation to this geometric object.
-
-
-
-
- Translates this geometric object.
-
-
-
-
- Create a copy of this geometry.
-
-
-
-
diff --git a/src/Mod/Part/App/Geom2d/Hyperbola2dPy.xml b/src/Mod/Part/App/Geom2d/Hyperbola2dPy.xml
deleted file mode 100644
index 545828fc3b..0000000000
--- a/src/Mod/Part/App/Geom2d/Hyperbola2dPy.xml
+++ /dev/null
@@ -1,68 +0,0 @@
-
-
-
-
-
- Describes a hyperbola in 2D space
-To create a hyperbola there are several ways:
-Part.Geom2d.Hyperbola2d()
- Creates a hyperbola with major radius 2 and minor radius 1 with the
- center in (0,0)
-
-Part.Geom2d.Hyperbola2d(Hyperbola)
- Create a copy of the given hyperbola
-
-Part.Geom2d.Hyperbola2d(S1,S2,Center)
- Creates a hyperbola centered on the point Center, S1 and S2,
- its major axis is defined by Center and S1,
- its major radius is the distance between Center and S1, and
- its minor radius is the distance between S2 and the major axis.
-
-Part.Geom2d.Hyperbola2d(Center,MajorRadius,MinorRadius)
- Creates a hyperbola with major and minor radii MajorRadius and
- MinorRadius and located at Center
-
-
-
- The major radius of the hyperbola.
-
-
-
-
-
- The minor radius of the hyperbola.
-
-
-
-
-
- The focal distance of the hyperbola.
-
-
-
-
-
- The first focus is on the positive side of the major axis of the hyperbola;
-the second focus is on the negative side.
-
-
-
-
-
- The first focus is on the positive side of the major axis of the hyperbola;
-the second focus is on the negative side.
-
-
-
-
-
diff --git a/src/Mod/Part/App/Geom2d/Line2dPy.xml b/src/Mod/Part/App/Geom2d/Line2dPy.xml
deleted file mode 100644
index ce2f91e955..0000000000
--- a/src/Mod/Part/App/Geom2d/Line2dPy.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-
-
- Describes an infinite line in 2D space
-To create a line there are several ways:
-Part.Geom2d.Line2d()
- Creates a default line.
-
-Part.Geom2d.Line2d(Line)
- Creates a copy of the given line.
-
-Part.Geom2d.Line2d(Point,Dir)
- Creates a line that goes through two given points.
-
-
-
- Returns the location of this line.
-
-
-
-
-
- Returns the direction of this line.
-
-
-
-
-
diff --git a/src/Mod/Part/App/Geom2d/Line2dSegmentPy.xml b/src/Mod/Part/App/Geom2d/Line2dSegmentPy.xml
deleted file mode 100644
index 13738d3750..0000000000
--- a/src/Mod/Part/App/Geom2d/Line2dSegmentPy.xml
+++ /dev/null
@@ -1,46 +0,0 @@
-
-
-
-
-
- Describes a line segment in 2D space.
-
-To create a line there are several ways:
-Part.Geom2d.Line2dSegment()
- Creates a default line
-
-Part.Geom2d.Line2dSegment(Line)
- Creates a copy of the given line
-
-Part.Geom2d.Line2dSegment(Point1,Point2)
- Creates a line that goes through two given points.
-
-
-
- Set the parameter range of the underlying line segment geometry.
-
-
-
-
- Returns the start point of this line segment.
-
-
-
-
-
- Returns the end point of this line segment.
-
-
-
-
-
diff --git a/src/Mod/Part/App/Geom2d/OffsetCurve2dPy.xml b/src/Mod/Part/App/Geom2d/OffsetCurve2dPy.xml
deleted file mode 100644
index 6b33e20d76..0000000000
--- a/src/Mod/Part/App/Geom2d/OffsetCurve2dPy.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
-
-
-
-
- Sets or gets the offset value to offset the underlying curve.
-
-
-
-
-
- Sets or gets the basic curve.
-
-
-
-
-
diff --git a/src/Mod/Part/App/Geom2d/Parabola2dPy.xml b/src/Mod/Part/App/Geom2d/Parabola2dPy.xml
deleted file mode 100644
index 416b75332b..0000000000
--- a/src/Mod/Part/App/Geom2d/Parabola2dPy.xml
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-
-
- Describes a parabola in 2D space
-
-
-
- The focal distance is the distance between the apex and the focus of the parabola.
-
-
-
-
-
- The focus is on the positive side of the
-'X Axis' of the local coordinate system of the parabola.
-
-
-
-
-
- Compute the parameter of this parabola which is the distance between its focus
-and its directrix. This distance is twice the focal length.
-
-
-
-
-
diff --git a/src/Mod/Part/App/GeomPlate/BuildPlateSurfacePy.xml b/src/Mod/Part/App/GeomPlate/BuildPlateSurfacePy.xml
deleted file mode 100644
index 61d650532b..0000000000
--- a/src/Mod/Part/App/GeomPlate/BuildPlateSurfacePy.xml
+++ /dev/null
@@ -1,112 +0,0 @@
-
-
-
-
-
- This class provides an algorithm for constructing such a plate surface.
-
-
-
- Resets all constraints
-
-
-
-
- Sets the number of bounds
-
-
-
-
- Loads the initial surface
-
-
-
-
- Returns the initial surface
-
-
-
-
- Returns the plate surface
-
-
-
-
- Adds a linear or point constraint
-
-
-
-
- Calls the algorithm and computes the plate surface
-
-
-
-
- Tests whether computation of the plate has been completed
-
-
-
-
- Returns the orientation of the curves in the array returned by curves2d
-
-
-
-
- Returns the order of the curves in the array returned by curves2d
-
-
-
-
- Extracts the array of curves on the plate surface which
-correspond to the curve constraints set in add()
-
-
-
-
-
- Returns the curve constraint of order
-
-
-
-
- Returns the point constraint of order
-
-
-
-
- Returns the 2D contour of the plate surface
-
-
-
-
- Returns the 3D contour of the plate surface
-
-
-
-
- Returns the max distance between the result and the constraints
-
-
-
-
- Returns the max angle between the result and the constraints
-
-
-
-
- Returns the max difference of curvature between the result and the constraints
-
-
-
-
diff --git a/src/Mod/Part/App/GeomPlate/CurveConstraintPy.xml b/src/Mod/Part/App/GeomPlate/CurveConstraintPy.xml
deleted file mode 100644
index 19826a86da..0000000000
--- a/src/Mod/Part/App/GeomPlate/CurveConstraintPy.xml
+++ /dev/null
@@ -1,144 +0,0 @@
-
-
-
-
-
- Defines curves as constraints to be used to deform a surface
-
-
-
- Allows you to set the order of continuity required for the constraints: G0, G1, and G2, controlled
-respectively by G0Criterion G1Criterion and G2Criterion.
-
-
-
-
-
- Returns the order of constraint, one of G0, G1 or G2
-
-
-
-
- Returns the G0 criterion at the parametric point U on the curve.
-This is the greatest distance allowed between the constraint and the target surface at U.
-
-
-
-
-
- Returns the G1 criterion at the parametric point U on the curve.
-This is the greatest angle allowed between the constraint and the target surface at U.
-Raises an exception if the curve is not on a surface.
-
-
-
-
-
- Returns the G2 criterion at the parametric point U on the curve.
-This is the greatest difference in curvature allowed between the constraint and the target surface at U.
-Raises an exception if the curve is not on a surface.
-
-
-
-
-
- Allows you to set the G0 criterion. This is the law
-defining the greatest distance allowed between the
-constraint and the target surface for each point of the
-constraint. If this criterion is not set, TolDist, the
-distance tolerance from the constructor, is used.
-
-
-
-
-
- Allows you to set the G1 criterion. This is the law
-defining the greatest angle allowed between the
-constraint and the target surface. If this criterion is not
-set, TolAng, the angular tolerance from the constructor, is used.
-Raises an exception if the curve is not on a surface.
-
-
-
-
-
- Allows you to set the G2 criterion. This is the law
-defining the greatest difference in curvature allowed
-between the constraint and the target surface. If this
-criterion is not set, TolCurv, the curvature tolerance from
-the constructor, is used.
-Raises ConstructionError if the point is not on the surface.
-
-
-
-
-
- Returns a 3d curve associated the surface resulting of the constraints
-
-
-
-
- Loads a 2d curve associated the surface resulting of the constraints
-
-
-
-
-
- Returns a 2d curve associated the surface resulting of the constraints
-
-
-
-
- Loads a 2d curve resulting from the normal projection of
-the curve on the initial surface
-
-
-
-
- Returns the projected curve resulting from the normal projection of the
-curve on the initial surface
-
-
-
-
- The number of points on the curve used as a
-constraint. The default setting is 10. This parameter
-affects computation time, which increases by the cube of
-the number of points.
-
-
-
-
-
- This function returns the first parameter of the curve.
-The first parameter is the lowest parametric value for the curve, which defines the starting point of the curve.
-
-
-
-
-
- This function returns the last parameter of the curve.
-The last parameter is the highest parametric value for the curve, which defines the ending point of the curve.
-
-
-
-
-
- This function returns the length of the curve.
-The length of the curve is a geometric property that indicates how long the curve is in the space.
-
-
-
-
-
diff --git a/src/Mod/Part/App/GeomPlate/PointConstraintPy.xml b/src/Mod/Part/App/GeomPlate/PointConstraintPy.xml
deleted file mode 100644
index fba487c4aa..0000000000
--- a/src/Mod/Part/App/GeomPlate/PointConstraintPy.xml
+++ /dev/null
@@ -1,103 +0,0 @@
-
-
-
-
-
- Defines points as constraints to be used to deform a surface
-
-
-
- Allows you to set the order of continuity required for
-the constraints: G0, G1, and G2, controlled
-respectively by G0Criterion G1Criterion and G2Criterion.
-
-
-
-
-
- Returns the order of constraint, one of G0, G1 or G2
-
-
-
-
- Returns the G0 criterion at the parametric point U on
-the curve. This is the greatest distance allowed between
-the constraint and the target surface at U.
-
-
-
-
-
- Returns the G1 criterion at the parametric point U on
-the curve. This is the greatest angle allowed between
-the constraint and the target surface at U.
-Raises an exception if the curve is not on a surface.
-
-
-
-
-
- Returns the G2 criterion at the parametric point U on
-the curve. This is the greatest difference in curvature
-allowed between the constraint and the target surface at U.
-Raises an exception if the curve is not on a surface.
-
-
-
-
-
- Allows you to set the G0 criterion. This is the law
-defining the greatest distance allowed between the
-constraint and the target surface for each point of the
-constraint. If this criterion is not set, TolDist, the
-distance tolerance from the constructor, is used.
-
-
-
-
-
- Allows you to set the G1 criterion. This is the law
-defining the greatest angle allowed between the
-constraint and the target surface. If this criterion is not
-set, TolAng, the angular tolerance from the constructor, is used.
-Raises an exception if the curve is not on a surface
-
-
-
-
-
- Allows you to set the G2 criterion. This is the law
-defining the greatest difference in curvature allowed between the
-constraint and the target surface. If this criterion is not
-set, TolCurv, the curvature tolerance from the constructor, is used.
-Raises ConstructionError if the curve is not on a surface
-
-
-
-
- Checks if there is a 2D point associated with the surface. It returns a boolean indicating whether such a point exists.
-
-
-
-
- Allows you to set a 2D point on the surface. It takes a gp_Pnt2d as an argument, representing the 2D point to be associated with the surface.
-
-
-
-
- Returns the 2D point on the surface. It returns a gp_Pnt2d representing the associated 2D point.
-
-
-
-
diff --git a/src/Mod/Part/App/GeometryBoolExtensionPy.xml b/src/Mod/Part/App/GeometryBoolExtensionPy.xml
deleted file mode 100644
index 5cfb7fa71c..0000000000
--- a/src/Mod/Part/App/GeometryBoolExtensionPy.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
-
- A GeometryExtension extending geometry objects with a boolean.
-
-
-
-
- Returns the value of the GeometryBoolExtension.
-
-
-
-
-
-
diff --git a/src/Mod/Part/App/GeometryCurvePy.xml b/src/Mod/Part/App/GeometryCurvePy.xml
deleted file mode 100644
index 63a5ca126e..0000000000
--- a/src/Mod/Part/App/GeometryCurvePy.xml
+++ /dev/null
@@ -1,246 +0,0 @@
-
-
-
-
-
- The abstract class GeometryCurve is the root class of all curve objects.
-
-
-
- Return the shape for the geometry.
-
-
-
-
- Discretizes the curve and returns a list of points.
-
-The function accepts keywords as argument:
-
-discretize(Number=n) => gives a list of 'n' equidistant points
-discretize(QuasiNumber=n) => gives a list of 'n' quasi equidistant points (is faster than the method above)
-discretize(Distance=d) => gives a list of equidistant points with distance 'd'
-discretize(Deflection=d) => gives a list of points with a maximum deflection 'd' to the curve
-discretize(QuasiDeflection=d) => gives a list of points with a maximum deflection 'd' to the curve (faster)
-discretize(Angular=a,Curvature=c,[Minimum=m]) => gives a list of points with an angular deflection of 'a'
- and a curvature deflection of 'c'. Optionally a minimum number of points
- can be set which by default is set to 2.
-
-Optionally you can set the keywords 'First' and 'Last' to define a sub-range of the parameter range
-of the curve.
-
-If no keyword is given then it depends on whether the argument is an int or float.
-If it's an int then the behaviour is as if using the keyword 'Number', if it's float
-then the behaviour is as if using the keyword 'Distance'.
-
-Example:
-
-import Part
-c=Part.Circle()
-c.Radius=5
-p=c.discretize(Number=50,First=3.14)
-s=Part.Compound([Part.Vertex(i) for i in p])
-Part.show(s)
-
-
-p=c.discretize(Angular=0.09,Curvature=0.01,Last=3.14,Minimum=100)
-s=Part.Compound([Part.Vertex(i) for i in p])
-Part.show(s)
-
-
-
-
- Returns the point of given parameter
-
-
-
-
- Returns the point and first derivative of given parameter
-
-
-
-
- Returns the point, first and second derivatives
-
-
-
-
- Returns the point, first, second and third derivatives
-
-
-
-
- Returns the n-th derivative
-
-
-
-
- Computes the length of a curve
-length([uMin, uMax, Tol]) -> float
-
-
-
-
- Returns the parameter on the curve of a point at the given distance from a starting parameter.
-parameterAtDistance([abscissa, startingParameter]) -> float
-
-
-
-
- Computes the point of parameter u on this curve
-
-
-
-
- Computes the tangent of parameter u on this curve
-
-
-
-
- Make a ruled surface of this and the given curves
-
-
-
-
- Get intersection points with another curve lying on a plane.
-
-
-
-
- Computes the continuity of two curves
-
-
-
-
- Returns the parameter on the curve of the nearest orthogonal projection of the point.
-
-
-
-
- Vector = normal(pos) - Get the normal vector at the given parameter [First|Last] if defined
-
-
-
-
- Computes the projection of a point on the curve
-
-projectPoint(Point=Vector,[Method="NearestPoint"])
-projectPoint(Vector,"NearestPoint") -> Vector
-projectPoint(Vector,"LowerDistance") -> float
-projectPoint(Vector,"LowerDistanceParameter") -> float
-projectPoint(Vector,"Distance") -> list of floats
-projectPoint(Vector,"Parameter") -> list of floats
-projectPoint(Vector,"Point") -> list of points
-
-
-
-
- Float = curvature(pos) - Get the curvature at the given parameter [First|Last] if defined
-
-
-
-
- Vector = centerOfCurvature(float pos) - Get the center of curvature at the given parameter [First|Last] if defined
-
-
-
-
- Returns all intersection points and curve segments between the curve and the curve/surface.
-
-arguments: curve/surface (for the intersection), precision (float)
-
-
-
-
- Returns all intersection points and curve segments between the curve and the surface.
-
-
-
-
- Returns all intersection points between this curve and the given curve.
-
-
-
-
- Converts a curve of any type (only part from First to Last) to BSpline curve.
-toBSpline((first: float, last: float)) -> BSplineCurve
-
-
-
-
- Converts a curve of any type (only part from First to Last) to NURBS curve.
-toNurbs((first: float, last: float)) -> NurbsCurve
-
-
-
-
- Returns a trimmed curve defined in the given parameter range.
-trim((first: float, last: float)) -> TrimmedCurve
-
-
-
-
- Approximates a curve of any type to a B-Spline curve.
-approximateBSpline(Tolerance, MaxSegments, MaxDegree, [Order='C2']) -> BSplineCurve
-
-
-
-
- Changes the direction of parametrization of the curve.
-
-
-
-
- Returns the parameter on the reversed curve for the point of parameter U on this curve.
-
-
-
-
- Returns true if this curve is periodic.
-
-
-
-
- Returns the period of this curve or raises an exception if it is not periodic.
-
-
-
-
- Returns true if the curve is closed.
-
-
-
-
- Returns the global continuity of the curve.
-
-
-
-
-
- Returns the value of the first parameter.
-
-
-
-
-
- Returns the value of the last parameter.
-
-
-
-
-
- Returns a rotation object to describe the orientation for curve that supports it
-
-
-
-
-
diff --git a/src/Mod/Part/App/GeometryDoubleExtensionPy.xml b/src/Mod/Part/App/GeometryDoubleExtensionPy.xml
deleted file mode 100644
index b11ae02798..0000000000
--- a/src/Mod/Part/App/GeometryDoubleExtensionPy.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
-
- A GeometryExtension extending geometry objects with a double.
-
-
-
-
- Returns the value of the GeometryDoubleExtension.
-
-
-
-
-
-
diff --git a/src/Mod/Part/App/GeometryExtensionPy.xml b/src/Mod/Part/App/GeometryExtensionPy.xml
deleted file mode 100644
index 3e17b9f680..0000000000
--- a/src/Mod/Part/App/GeometryExtensionPy.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
-
- The abstract class GeometryExtension enables to extend geometry objects with application specific data.
-
-
-
- Create a copy of this geometry extension.
-
-
-
-
- Sets/returns the name of this extension.
-
-
-
-
-
diff --git a/src/Mod/Part/App/GeometryIntExtensionPy.xml b/src/Mod/Part/App/GeometryIntExtensionPy.xml
deleted file mode 100644
index 694f1c2659..0000000000
--- a/src/Mod/Part/App/GeometryIntExtensionPy.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
-
- A GeometryExtension extending geometry objects with an int.
-
-
-
-
- returns the value of the GeometryIntExtension.
-
-
-
-
-
-
diff --git a/src/Mod/Part/App/GeometryPy.xml b/src/Mod/Part/App/GeometryPy.xml
deleted file mode 100644
index e56c95fe88..0000000000
--- a/src/Mod/Part/App/GeometryPy.xml
+++ /dev/null
@@ -1,110 +0,0 @@
-
-
-
-
-
- The abstract class Geometry for 3D space is the root class of all geometric objects.
-It describes the common behavior of these objects when:
-- applying geometric transformations to objects, and
-- constructing objects by geometric transformation (including copying).
-
-
-
- Performs the symmetrical transformation of this geometric object
-
-
-
-
- Rotates this geometric object at angle Ang (in radians) about axis
-
-
-
-
- Applies a scaling transformation on this geometric object with a center and scaling factor
-
-
-
-
- Applies a transformation to this geometric object
-
-
-
-
- Translates this geometric object
-
-
-
-
- Create a copy of this geometry
-
-
-
-
- Create a clone of this geometry with the same Tag
-
-
-
-
- isSame(geom, tol, angulartol) -> boolean
-
-Compare this geometry to another one
-
-
-
-
- Returns a boolean indicating whether a geometry extension of the type indicated as a string exists.
-
-
-
-
- Returns a boolean indicating whether a geometry extension with the name indicated as a string exists.
-
-
-
-
- Gets the first geometry extension of the type indicated by the string.
-
-
-
-
- Gets the first geometry extension of the name indicated by the string.
-
-
-
-
- Sets a geometry extension of the indicated type.
-
-
-
-
- Deletes all extensions of the indicated type.
-
-
-
-
- Deletes all extensions of the indicated name.
-
-
-
-
- Returns a list with information about the geometry extensions.
-
-
-
-
- Gives the tag of the geometry as string.
-
-
-
-
-
diff --git a/src/Mod/Part/App/GeometryStringExtensionPy.xml b/src/Mod/Part/App/GeometryStringExtensionPy.xml
deleted file mode 100644
index 0f371b9401..0000000000
--- a/src/Mod/Part/App/GeometryStringExtensionPy.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
-
- A GeometryExtension extending geometry objects with a string.
-
-
-
-
- returns the value of the GeometryStringExtension.
-
-
-
-
-
-
diff --git a/src/Mod/Part/App/GeometrySurfacePy.xml b/src/Mod/Part/App/GeometrySurfacePy.xml
deleted file mode 100644
index 45c8a4022d..0000000000
--- a/src/Mod/Part/App/GeometrySurfacePy.xml
+++ /dev/null
@@ -1,189 +0,0 @@
-
-
-
-
-
- The abstract class GeometrySurface is the root class of all surface objects.
-
-
-
- Return the shape for the geometry.
-
-
-
-
- Make a shell of the surface.
-
-
-
-
- Returns the point of given parameter
-
-
-
-
- Returns the n-th derivative
-
-
-
-
- value(u,v) -> Point
-Computes the point of parameter (u,v) on this surface
-
-
-
-
- tangent(u,v) -> (Vector,Vector)
-Computes the tangent of parameter (u,v) on this geometry
-
-
-
-
- normal(u,v) -> Vector
-Computes the normal of parameter (u,v) on this geometry
-
-
-
-
- Computes the projection of a point on the surface
-
-projectPoint(Point=Vector,[Method="NearestPoint"])
-projectPoint(Vector,"NearestPoint") -> Vector
-projectPoint(Vector,"LowerDistance") -> float
-projectPoint(Vector,"LowerDistanceParameters") -> tuple of floats (u,v)
-projectPoint(Vector,"Distance") -> list of floats
-projectPoint(Vector,"Parameters") -> list of tuples of floats
-projectPoint(Vector,"Point") -> list of points
-
-
-
-
- isUmbillic(u,v) -> bool
-Check if the geometry on parameter is an umbillic point,
-i.e. maximum and minimum curvature are equal.
-
-
-
-
- curvature(u,v,type) -> float
-The value of type must be one of this: Max, Min, Mean or Gauss
-Computes the curvature of parameter (u,v) on this geometry
-
-
-
-
- curvatureDirections(u,v) -> (Vector,Vector)
-Computes the directions of maximum and minimum curvature
-of parameter (u,v) on this geometry.
-The first vector corresponds to the maximum curvature,
-the second vector corresponds to the minimum curvature.
-
-
-
-
- Returns the parametric bounds (U1, U2, V1, V2) of this trimmed surface.
-
-
-
-
- isPlanar([float]) -> Bool
-Checks if the surface is planar within a certain tolerance.
-
-
-
-
- Returns the global continuity of the surface.
-
-
-
-
-
- Returns a rotation object to describe the orientation for surface that supports it
-
-
-
-
-
- Builds the U isoparametric curve
-
-
-
-
- Builds the V isoparametric curve
-
-
-
-
- Returns true if this patch is periodic in the given parametric direction.
-
-
-
-
- Returns true if this patch is periodic in the given parametric direction.
-
-
-
-
- Checks if this surface is closed in the u parametric direction.
-
-
-
-
- Checks if this surface is closed in the v parametric direction.
-
-
-
-
- Returns the period of this patch in the u parametric direction.
-
-
-
-
- Returns the period of this patch in the v parametric direction.
-
-
-
-
- Returns the parameter on the curve
-of the nearest orthogonal projection of the point.
-
-
-
-
- Returns a B-Spline representation of this surface.
-The optional arguments are:
-* tolerance (default=1e-7)
-* continuity in u (as string e.g. C0, G0, G1, C1, G2, C3, CN) (default='C1')
-* continuity in v (as string e.g. C0, G0, G1, C1, G2, C3, CN) (default='C1')
-* maximum degree in u (default=25)
-* maximum degree in v (default=25)
-* maximum number of segments (default=1000)
-* precision code (default=0)
-Will raise an exception if surface is infinite in U or V (like planes, cones or cylinders)
-
-
-
-
- Returns all intersection points/curves between the surface and the curve/surface.
-
-
-
-
- Returns all intersection curves of this surface and the given surface.
-The required arguments are:
-* Second surface
-* precision code (optional, default=0)
-
-
-
-
diff --git a/src/Mod/Part/App/HLRBRep/HLRBRep_AlgoPy.xml b/src/Mod/Part/App/HLRBRep/HLRBRep_AlgoPy.xml
deleted file mode 100644
index 6dea227744..0000000000
--- a/src/Mod/Part/App/HLRBRep/HLRBRep_AlgoPy.xml
+++ /dev/null
@@ -1,195 +0,0 @@
-
-
-
-
-
- Algo() -> HLRBRep_Algo
-
-A framework to compute a shape as seen in a projection
-plane. This is done by calculating the visible and the hidden parts
-of the shape. HLRBRep_Algo works with three types of entity:
-
-- shapes to be visualized
-- edges in these shapes (these edges are the basic entities which will be
- visualized or hidden), and
-- faces in these shapes which hide the edges.
-
-HLRBRep_Algo is based on the principle of comparing each edge of the shape to
-be visualized with each of its faces, and calculating the visible and the
-hidden parts of each edge. For a given projection, HLRBRep_Algo calculates a
-set of lines characteristic of the object being represented. It is also used in
-conjunction with the HLRBRep_HLRToShape extraction utilities, which reconstruct
-a new, simplified shape from a selection of calculation results. This new shape
-is made up of edges, which represent the shape visualized in the
-projection. HLRBRep_Algo takes the shape itself into account whereas
-HLRBRep_PolyAlgo works with a polyhedral simplification of the shape. When you
-use HLRBRep_Algo, you obtain an exact result, whereas, when you use
-HLRBRep_PolyAlgo, you reduce computation time but obtain polygonal segments. In
-the case of complicated shapes, HLRBRep_Algo may be time-consuming. An
-HLRBRep_Algo object provides a framework for:
-
-- defining the point of view
-- identifying the shape or shapes to be visualized
-- calculating the outlines
-- calculating the visible and hidden lines of the shape. Warning
-- Superimposed lines are not eliminated by this algorithm.
-- There must be no unfinished objects inside the shape you wish to visualize.
-- Points are not treated.
-- Note that this is not the sort of algorithm used in generating shading, which
- calculates the visible and hidden parts of each face in a shape to be
- visualized by comparing each face in the shape with every other face in the
- same shape.
-
-
-
-
- add(S, nbIso=0)
-
-Adds the shape S to this framework, and specifies the number of isoparameters
-nbiso desired in visualizing S. You may add as many shapes as you wish. Use
-the function add once for each shape.
-
-
-
-
-
- remove(i)
-
-Remove the shape of index i from this framework.
-
-
-
-
-
- index(S) -> int
-
-Return the index of the Shape S and return 0 if the Shape S is not found.
-
-
-
-
-
- outlinedShapeNullify()
-
-Nullify all the results of OutLiner from HLRTopoBRep.
-
-
-
-
-
- setProjector(Origin=(0, 0, 0), ZDir=(0,0,0), XDir=(0,0,0), focus=NaN)
-
-Set the projector. With focus left to NaN, an axonometric projector is
-created. Otherwise, a perspective projector is created with focus focus.
-
-
-
-
-
- nbShapes()
-
-Returns the number of shapes in the collection. It does not modify the
-object's state and is used to retrieve the count of shapes.
-
-
-
-
-
- showAll(i=-1)
-
-If i < 1, then set all the edges to visible.
-Otherwise, set to visible all the edges of the shape of index i.
-
-
-
-
-
- hide(i=-1, j=-1)
-
-If i < 1, hide all of the datastructure.
-Otherwise, if j < 1, hide the shape of index i.
-Otherwise, hide the shape of index i by the shape of index j.
-
-
-
-
-
- hideAll(i=-1)
-
-If i < 1, hide all the edges.
-Otherwise, hide all the edges of shape of index i.
-
-
-
-
-
- partialHide()
-
-Own hiding of all the shapes of the DataStructure without hiding by each other.
-
-
-
-
-
- select(i=-1)
-
-If i < 1, select all the DataStructure.
-Otherwise, only select the shape of index i.
-
-
-
-
-
- selectEdge(i)
-
-Select only the edges of the shape of index i.
-
-
-
-
-
- selectFace(i)
-
-Select only the faces of the shape of index i.
-
-
-
-
-
- initEdgeStatus()
-
-Init the status of the selected edges depending of the back faces of a closed
-shell.
-
-
-
-
-
- update()
-
-Update the DataStructure.
-
-
-
-
-private:
- Handle(HLRBRep_Algo) hAlgo;
-
-public:
- Handle(HLRBRep_Algo) handle() {
- return hAlgo;
- }
-
-
-
diff --git a/src/Mod/Part/App/HLRBRep/HLRBRep_PolyAlgoPy.xml b/src/Mod/Part/App/HLRBRep/HLRBRep_PolyAlgoPy.xml
deleted file mode 100644
index 0b56efc494..0000000000
--- a/src/Mod/Part/App/HLRBRep/HLRBRep_PolyAlgoPy.xml
+++ /dev/null
@@ -1,183 +0,0 @@
-
-
-
-
-
- PolyAlgo() -> HLRBRep_PolyAlgo
-
-A framework to compute the shape as seen in a projection
-plane. This is done by calculating the visible and the hidden parts of the
-shape. HLRBRep_PolyAlgo works with three types of entity:
-
-- shapes to be visualized (these shapes must have already been triangulated.)
-- edges in these shapes (these edges are defined as polygonal lines on the
- triangulation of the shape, and are the basic entities which will be visualized
- or hidden), and
-- triangles in these shapes which hide the edges.
-
-HLRBRep_PolyAlgo is based on the principle of comparing each edge of the shape
-to be visualized with each of the triangles produced by the triangulation of
-the shape, and calculating the visible and the hidden parts of each edge. For a
-given projection, HLRBRep_PolyAlgo calculates a set of lines characteristic of
-the object being represented. It is also used in conjunction with the
-HLRBRep_PolyHLRToShape extraction utilities, which reconstruct a new,
-simplified shape from a selection of calculation results. This new shape is
-made up of edges, which represent the shape visualized in the
-projection. HLRBRep_PolyAlgo works with a polyhedral simplification of the
-shape whereas HLRBRep_Algo takes the shape itself into account. When you use
-HLRBRep_Algo, you obtain an exact result, whereas, when you use
-HLRBRep_PolyAlgo, you reduce computation time but obtain polygonal segments. An
-HLRBRep_PolyAlgo object provides a framework for:
-
-- defining the point of view
-- identifying the shape or shapes to be visualized
-- calculating the outlines
-- calculating the visible and hidden lines of the shape. Warning
-- Superimposed lines are not eliminated by this algorithm.
-- There must be no unfinished objects inside the shape you wish to visualize.
-- Points are not treated.
-- Note that this is not the sort of algorithm used in generating shading, which
- calculates the visible and hidden parts of each face in a shape to be
- visualized by comparing each face in the shape with every other face in the
- same shape.
-
-
-
-
-
- load(S)
-
-Loads the shape S into this framework. Warning S must have already been triangulated.
-
-
-
-
-
- remove(i)
-
-Remove the shape of index i from this framework.
-
-
-
-
-
- nbShapes()
-
-Returns the number of shapes in the collection. It does not modify the
-object's state and is used to retrieve the count of shapes.
-
-
-
-
-
- shape(i) -> TopoShape
-
-Return the shape of index i.
-
-
-
-
-
- index(S) -> int
-
-Return the index of the Shape S.
-
-
-
-
-
- setProjector(Origin=(0, 0, 0), ZDir=(0,0,0), XDir=(0,0,0), focus=NaN)
-
-Set the projector. With focus left to NaN, an axonometric projector is
-created. Otherwise, a perspective projector is created with focus focus.
-
-
-
-
-
- update()
-
-Launches calculation of outlines of the shape visualized by this
-framework. Used after setting the point of view and defining the shape or
-shapes to be visualized.
-
-
-
-
-
- initHide()
-
-
-
-
-
- moreHide()
-
-
-
-
-
- nextHide()
-
-
-
-
-
- initShow()
-
-
-
-
-
- moreShow()
-
-
-
-
-
- nextShow()
-
-
-
-
-
- outLinedShape(S) -> TopoShape
-
-Make a shape with the internal outlines in each face of shape S.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-private:
- Handle(HLRBRep_PolyAlgo) hAlgo;
-
-public:
- Handle(HLRBRep_PolyAlgo) handle() {
- return hAlgo;
- }
-
-
-
diff --git a/src/Mod/Part/App/HLRBRep/HLRToShapePy.xml b/src/Mod/Part/App/HLRBRep/HLRToShapePy.xml
deleted file mode 100644
index 994d0084d0..0000000000
--- a/src/Mod/Part/App/HLRBRep/HLRToShapePy.xml
+++ /dev/null
@@ -1,155 +0,0 @@
-
-
-
-
-
- HLRToShape(algo: HLRBRep_Algo) -> HLRBRep_HLRToShape
-
-A framework for filtering the computation results of an HLRBRep_Algo algorithm
-by extraction. From the results calculated by the algorithm on a shape, a
-filter returns the type of edge you want to identify. You can choose any of the
-following types of output:
-- visible sharp edges
-- hidden sharp edges
-- visible smooth edges
-- hidden smooth edges
-- visible sewn edges
-- hidden sewn edges
-- visible outline edges
-- hidden outline edges
-- visible isoparameters and
-- hidden isoparameters.
-
-Sharp edges present a C0 continuity (non G1). Smooth edges present a G1
-continuity (non G2). Sewn edges present a C2 continuity. The result is composed
-of 2D edges in the projection plane of the view which the algorithm has worked
-with. These 2D edges are not included in the data structure of the visualized
-shape. In order to obtain a complete image, you must combine the shapes given
-by each of the chosen filters. The construction of the shape does not call a
-new computation of the algorithm, but only reads its internal results. The
-methods of this shape are almost identic to those of the HLRBrep_PolyHLRToShape
-class.
-
-
-
-
- vCompound(Shape=None) -> TopoShape
-
-Sets the extraction filter for visible sharp edges for either shape Shape or
-for all added shapes (Shape=None).
-
-
-
-
-
- Rg1LineVCompound(Shape=None) -> TopoShape
-
-Sets the extraction filter for visible smooth edges for either shape Shape or
-for all added shapes (Shape=None).
-
-
-
-
-
- RgNLineVCompound(Shape=None) -> TopoShape
-
-Sets the extraction filter for visible sewn edges for either shape Shape or for
-all added shapes (Shape=None).
-
-
-
-
-
- outLineVCompound(Shape=None) -> TopoShape
-
-Sets the extraction filter for visible outline edges for either shape Shape or
-for all added shapes (Shape=None).
-
-
-
-
-
- outLineVCompound(Shape=None) -> TopoShape
-
-Sets the extraction filter for visible outline edges in 3D for either shape
-Shape or for all added shapes (Shape=None).
-
-
-
-
-
- isoLineVCompound(Shape=None) -> TopoShape
-
-Sets the extraction filter for visible isoparameters for either shape Shape or
-for all added shapes (Shape=None).
-
-
-
-
-
- hCompound(Shape=None) -> TopoShape
-
-Sets the extraction filter for hidden sharp edges for either shape Shape or for
-all added shapes (Shape=None).
-
-
-
-
-
- Rg1LineHCompound(Shape=None) -> TopoShape
-
-Sets the extraction filter for hidden smooth edges for either shape Shape or
-for all added shapes (Shape=None).
-
-
-
-
-
- RgNLineHCompound(Shape=None) -> TopoShape
-
-Sets the extraction filter for hidden sewn edges for either shape Shape or for
-all added shapes (Shape=None).
-
-
-
-
-
- outLineHCompound(Shape=None) -> TopoShape
-
-Sets the extraction filter for hidden outline edges for either shape Shape or
-for all added shapes (Shape=None).
-
-
-
-
-
- isoLineHCompound(Shape=None) -> TopoShape
-
-Sets the extraction filter for hidden isoparameters for either shape Shape or
-for all added shapes (Shape=None).
-
-
-
-
-
- compoundOfEdges(Type: int, Visible: bool, In3D: bool, Shape=None) -> TopoShape
-
-Returns compound of resulting edges of required type and visibility, taking
-into account the kind of space (2d or 3d). If Shape=None, return it for all
-added shapes, otherwise return it for shape Shape.
-
-
-
-
-
diff --git a/src/Mod/Part/App/HLRBRep/PolyHLRToShapePy.xml b/src/Mod/Part/App/HLRBRep/PolyHLRToShapePy.xml
deleted file mode 100644
index 021f71e5a3..0000000000
--- a/src/Mod/Part/App/HLRBRep/PolyHLRToShapePy.xml
+++ /dev/null
@@ -1,134 +0,0 @@
-
-
-
-
-
- PolyHLRToShape(algo: HLRBRep_PolyAlgo) -> HLRBRep_PolyHLRToShape
-
-A framework for filtering the computation results of an HLRBRep_PolyAlgo
-algorithm by extraction. From the results calculated by the algorithm on a
-shape, a filter returns the type of edge you want to identify. You can choose
-any of the following types of output:
-- visible sharp edges
-- hidden sharp edges
-- visible smooth edges
-- hidden smooth edges
-- visible sewn edges
-- hidden sewn edges
-- visible outline edges
-- hidden outline edges
-- visible isoparameters and
-- hidden isoparameters.
-
-Sharp edges present a C0 continuity (non G1). Smooth edges present a G1
-continuity (non G2). Sewn edges present a C2 continuity. The result is composed
-of 2D edges in the projection plane of the view which the algorithm has worked
-with. These 2D edges are not included in the data structure of the visualized
-shape. In order to obtain a complete image, you must combine the shapes given
-by each of the chosen filters. The construction of the shape does not call a
-new computation of the algorithm, but only reads its internal results.
-
-
-
-
- update(algo: HLRBRep_PolyAlgo)
-
-
-
-
-
- show()
-
-
-
-
-
- hide()
-
-
-
-
-
- vCompound(Shape=None) -> TopoShape
-
-Sets the extraction filter for visible sharp edges for either shape Shape or
-for all added shapes (Shape=None).
-
-
-
-
-
- Rg1LineVCompound(Shape=None) -> TopoShape
-
-Sets the extraction filter for visible smooth edges for either shape Shape or
-for all added shapes (Shape=None).
-
-
-
-
-
- RgNLineVCompound(Shape=None) -> TopoShape
-
-Sets the extraction filter for visible sewn edges for either shape Shape or for
-all added shapes (Shape=None).
-
-
-
-
-
- outLineVCompound(Shape=None) -> TopoShape
-
-Sets the extraction filter for visible outline edges for either shape Shape or
-for all added shapes (Shape=None).
-
-
-
-
-
- hCompound(Shape=None) -> TopoShape
-
-Sets the extraction filter for hidden sharp edges for either shape Shape or for
-all added shapes (Shape=None).
-
-
-
-
-
- Rg1LineHCompound(Shape=None) -> TopoShape
-
-Sets the extraction filter for hidden smooth edges for either shape Shape or
-for all added shapes (Shape=None).
-
-
-
-
-
- RgNLineHCompound(Shape=None) -> TopoShape
-
-Sets the extraction filter for hidden sewn edges for either shape Shape or for
-all added shapes (Shape=None).
-
-
-
-
-
- outLineHCompound(Shape=None) -> TopoShape
-
-Sets the extraction filter for hidden outline edges for either shape Shape or
-for all added shapes (Shape=None).
-
-
-
-
-
diff --git a/src/Mod/Part/App/HyperbolaPy.xml b/src/Mod/Part/App/HyperbolaPy.xml
deleted file mode 100644
index abc76b9a4c..0000000000
--- a/src/Mod/Part/App/HyperbolaPy.xml
+++ /dev/null
@@ -1,71 +0,0 @@
-
-
-
-
-
- Describes an hyperbola in 3D space
-
-To create a hyperbola there are several ways:
-
-Part.Hyperbola()
- Creates an hyperbola with major radius 2 and minor radius 1 with the
- center in (0,0,0)
-
-Part.Hyperbola(Hyperbola)
- Create a copy of the given hyperbola
-
-Part.Hyperbola(S1,S2,Center)
- Creates an hyperbola centered on the point Center, where
- the plane of the hyperbola is defined by Center, S1 and S2,
- its major axis is defined by Center and S1,
- its major radius is the distance between Center and S1, and
- its minor radius is the distance between S2 and the major axis.
-
-Part.Hyperbola(Center,MajorRadius,MinorRadius)
- Creates an hyperbola with major and minor radii MajorRadius and
- MinorRadius, and located in the plane defined by Center and
- the normal (0,0,1)
-
-
-
-
- The major radius of the hyperbola.
-
-
-
-
-
- The minor radius of the hyperbola.
-
-
-
-
-
- The focal distance of the hyperbola.
-
-
-
-
-
- The first focus is on the positive side of the major axis of the hyperbola.
-
-
-
-
-
- The second focus is on the negative side of the major axis of the hyperbola.
-
-
-
-
-
diff --git a/src/Mod/Part/App/LinePy.xml b/src/Mod/Part/App/LinePy.xml
deleted file mode 100644
index 279d6e3e19..0000000000
--- a/src/Mod/Part/App/LinePy.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-
-
- Describes an infinite line
-To create a line there are several ways:
-Part.Line()
- Creates a default line
-
-Part.Line(Line)
- Creates a copy of the given line
-
-Part.Line(Point1,Point2)
- Creates a line that goes through two given points
-
-
-
- Returns the location of this line.
-
-
-
-
-
- Returns the direction of this line.
-
-
-
-
-
diff --git a/src/Mod/Part/App/LineSegmentPy.xml b/src/Mod/Part/App/LineSegmentPy.xml
deleted file mode 100644
index 4408592c6f..0000000000
--- a/src/Mod/Part/App/LineSegmentPy.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
-
- Describes a line segment
-To create a line segment there are several ways:
-Part.LineSegment()
- Creates a default line segment
-
-Part.LineSegment(LineSegment)
- Creates a copy of the given line segment
-
-Part.LineSegment(Point1,Point2)
- Creates a line segment that goes through two given points
-
-
-
- Set the parameter range of the underlying line geometry
-
-
-
-
- Returns the start point of this line.
-
-
-
-
-
- Returns the end point point of this line.
-
-
-
-
-
diff --git a/src/Mod/Part/App/OffsetCurvePy.xml b/src/Mod/Part/App/OffsetCurvePy.xml
deleted file mode 100644
index b4b8357ce7..0000000000
--- a/src/Mod/Part/App/OffsetCurvePy.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-
-
-
-
-
-
-
-
-
- Sets or gets the offset value to offset the underlying curve.
-
-
-
-
-
- Sets or gets the offset direction to offset the underlying curve.
-
-
-
-
-
- Sets or gets the basic curve.
-
-
-
-
-
diff --git a/src/Mod/Part/App/OffsetSurfacePy.xml b/src/Mod/Part/App/OffsetSurfacePy.xml
deleted file mode 100644
index 4618984db5..0000000000
--- a/src/Mod/Part/App/OffsetSurfacePy.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
-
-
-
-
- Sets or gets the offset value to offset the underlying surface.
-
-
-
-
-
- Sets or gets the basic surface.
-
-
-
-
-
diff --git a/src/Mod/Part/App/ParabolaPy.xml b/src/Mod/Part/App/ParabolaPy.xml
deleted file mode 100644
index e59f6f6160..0000000000
--- a/src/Mod/Part/App/ParabolaPy.xml
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
-
-
-
- Describes a parabola in 3D space
-
-
-
- compute(p1,p2,p3) -> None
-
-The three points must lie on a plane parallel to xy plane and must not be collinear
-
-
-
-
- The focal distance is the distance between
-the apex and the focus of the parabola.
-
-
-
-
-
- The focus is on the positive side of the
-'X Axis' of the local coordinate system of the parabola.
-
-
-
-
-
- Compute the parameter of this parabola
-which is the distance between its focus
-and its directrix. This distance is twice the focal length.
-
-
-
-
-
diff --git a/src/Mod/Part/App/Part2DObjectPy.xml b/src/Mod/Part/App/Part2DObjectPy.xml
deleted file mode 100644
index a08fbfd1c6..0000000000
--- a/src/Mod/Part/App/Part2DObjectPy.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
-
- This object represents a 2D Shape in a 3D World
-
-
-
diff --git a/src/Mod/Part/App/PartFeaturePy.xml b/src/Mod/Part/App/PartFeaturePy.xml
deleted file mode 100644
index 34a67570c6..0000000000
--- a/src/Mod/Part/App/PartFeaturePy.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
-
- This is the father of all shape object classes
-
-
-
-
-getElementHistory(name,recursive=True,sameType=False,showName=False) - returns the element mapped name history
-
-name: mapped element name belonging to this shape
-recursive: if True, then track back the history through other objects till the origin
-sameType: if True, then stop trace back when element type changes
-showName: if False, return the owner object, or else return a tuple of object name and label
-
-If not recursive, then return tuple(sourceObject, sourceElementName, [intermediateNames...]),
-otherwise return a list of tuple.
-
-
-
-
-
diff --git a/src/Mod/Part/App/PlanePy.xml b/src/Mod/Part/App/PlanePy.xml
deleted file mode 100644
index 29d5ce4dd7..0000000000
--- a/src/Mod/Part/App/PlanePy.xml
+++ /dev/null
@@ -1,51 +0,0 @@
-
-
-
-
-
- Describes an infinite plane
-To create a plane there are several ways:
-Part.Plane()
- Creates a default plane with base (0,0,0) and normal (0,0,1)
-
-Part.Plane(Plane)
- Creates a copy of the given plane
-
-Part.Plane(Plane, Distance)
- Creates a plane parallel to given plane at a certain distance
-
-Part.Plane(Location,Normal)
- Creates a plane with a given location and normal
-
-Part.Plane(Point1,Point2,Point3)
- Creates a plane defined by three non-linear points
-
-Part.Plane(A,B,C,D)
- Creates a plane from its cartesian equation
- Ax+By+Cz+D=0
-
-
-
-
- Returns the position point of this plane.
-
-
-
-
-
- Returns the axis of this plane.
-
-
-
-
-
diff --git a/src/Mod/Part/App/PlateSurfacePy.xml b/src/Mod/Part/App/PlateSurfacePy.xml
deleted file mode 100644
index 97480092ec..0000000000
--- a/src/Mod/Part/App/PlateSurfacePy.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
-
- Represents a plate surface in FreeCAD. Plate surfaces can be defined by specifying points or curves as constraints, and they can also be approximated to B-spline surfaces using the makeApprox method. This class is commonly used in CAD modeling for creating surfaces that represent flat or curved plates, such as sheet metal components or structural elements.
-
-
-
- Approximate the plate surface to a B-Spline surface
-
-
-
-
diff --git a/src/Mod/Part/App/PointPy.xml b/src/Mod/Part/App/PointPy.xml
deleted file mode 100644
index 6a3ece5adf..0000000000
--- a/src/Mod/Part/App/PointPy.xml
+++ /dev/null
@@ -1,51 +0,0 @@
-
-
-
-
-
- Describes a point
-To create a point there are several ways:
-Part.Point()
- Creates a default point
-
-Part.Point(Point)
- Creates a copy of the given point
-
-Part.Point(Vector)
- Creates a line for the given coordinates
-
-
-
- Create a vertex from this point.
-
-
-
-
- X component of this point.
-
-
-
-
-
- Y component of this point.
-
-
-
-
-
- Z component of this point.
-
-
-
-
-
diff --git a/src/Mod/Part/App/RectangularTrimmedSurfacePy.xml b/src/Mod/Part/App/RectangularTrimmedSurfacePy.xml
deleted file mode 100644
index 060cd78cf9..0000000000
--- a/src/Mod/Part/App/RectangularTrimmedSurfacePy.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
-
- Describes a portion of a surface (a patch) limited by two values of the
-u parameter in the u parametric direction, and two values of the v parameter in the v parametric
-direction. The domain of the trimmed surface must be within the domain of the surface being trimmed.
-
-The trimmed surface is defined by:
-- the basis surface, and
-- the values (umin, umax) and (vmin, vmax) which limit it in the u and v parametric directions.
-
-The trimmed surface is built from a copy of the basis surface. Therefore, when the basis surface
-is modified the trimmed surface is not changed. Consequently, the trimmed surface does not
-necessarily have the same orientation as the basis surface.
-
-
-
-
-setTrim(self, params: (u1, u2, v1, v2)) -> None
-
-Modifies this patch by changing the trim values applied to the original surface
-
-
-
-
-
- Represents the basis surface from which the trimmed surface is derived.
-
-
-
-
-
diff --git a/src/Mod/Part/App/ShapeFix/ShapeFix_EdgeConnectPy.xml b/src/Mod/Part/App/ShapeFix/ShapeFix_EdgeConnectPy.xml
deleted file mode 100644
index 0b9267faba..0000000000
--- a/src/Mod/Part/App/ShapeFix/ShapeFix_EdgeConnectPy.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
-
-
-
- Root class for fixing operations
-
-
-
- add(edge, edge)
-Adds information on connectivity between start vertex
-of second edge and end vertex of first edge taking
-edges orientation into account
-
-add(shape)
-Adds connectivity information for the whole shape.
-
-
-
-
-
- Builds shared vertices, updates their positions and tolerances
-
-
-
-
- Clears internal data structure
-
-
-
-
diff --git a/src/Mod/Part/App/ShapeFix/ShapeFix_EdgePy.xml b/src/Mod/Part/App/ShapeFix/ShapeFix_EdgePy.xml
deleted file mode 100644
index aa50f22307..0000000000
--- a/src/Mod/Part/App/ShapeFix/ShapeFix_EdgePy.xml
+++ /dev/null
@@ -1,146 +0,0 @@
-
-
-
-
-
- Fixing invalid edge
-
-
-
- Removes the pcurve(s) of the edge if it does not match the
-vertices
-Check is done
-Use : It is to be called when pcurve of an edge can be wrong
-(e.g., after import from IGES)
-Returns: True, if does not match, removed (status DONE)
-False, (status OK) if matches or (status FAIL) if no pcurve,
-nothing done.
-
-
-
-
- Removes 3d curve of the edge if it does not match the vertices
-Returns: True, if does not match, removed (status DONE)
-False, (status OK) if matches or (status FAIL) if no 3d curve,
-nothing done.
-
-
-
-
- Adds pcurve(s) of the edge if missing (by projecting 3d curve)
-Parameter isSeam indicates if the edge is a seam.
-The parameter 'prec' defines the precision for calculations.
-If it is 0 (default), the tolerance of the edge is taken.
-Remark : This method is rather for internal use since it accepts parameter
-'surfana' for optimization of computations
-Use : It is to be called after FixRemovePCurve (if removed) or in any
-case when edge can have no pcurve
-Returns: True if pcurve was added, else False
-Status :
-OK : Pcurve exists
-FAIL1: No 3d curve
-FAIL2: fail during projecting
-DONE1: Pcurve was added
-DONE2: specific case of pcurve going through degenerated point on
-sphere encountered during projection (see class
-ShapeConstruct_ProjectCurveOnSurface for more info).
-
-
-
-
- Tries to build 3d curve of the edge if missing
-Use : It is to be called after FixRemoveCurve3d (if removed) or in any
-case when edge can have no 3d curve
-Returns: True if 3d curve was added, else False
-Status :
-OK : 3d curve exists
-FAIL1: BRepLib::BuildCurve3d() has failed
-DONE1: 3d curve was added.
-
-
-
-
- Increases the tolerances of the edge vertices to comprise
-the ends of 3d curve and pcurve on the given face
-(first method) or all pcurves stored in an edge (second one)
-Returns: True, if tolerances have been increased, otherwise False
-Status:
-OK : the original tolerances have not been changed
-DONE1: the tolerance of first vertex has been increased
-DONE2: the tolerance of last vertex has been increased.
-
-
-
-
- Fixes edge if pcurve is directed opposite to 3d curve
-Check is done by call to the function
-ShapeAnalysis_Edge::CheckCurve3dWithPCurve()
-Warning: For seam edge this method will check and fix the pcurve in only
-one direction. Hence, it should be called twice for seam edge:
-once with edge orientation FORWARD and once with REVERSED.
-Returns: False if nothing done, True if reversed (status DONE)
-Status: OK - pcurve OK, nothing done
-FAIL1 - no pcurve
-FAIL2 - no 3d curve
-DONE1 - pcurve was reversed.
-
-
-
-
- Tries to make edge SameParameter and sets corresponding
-tolerance and SameParameter flag.
-First, it makes edge same range if SameRange flag is not set.
-If flag SameParameter is set, this method calls the
-function ShapeAnalysis_Edge::CheckSameParameter() that
-calculates the maximal deviation of pcurves of the edge from
-its 3d curve. If deviation > tolerance, the tolerance of edge
-is increased to a value of deviation. If deviation < tolerance
-nothing happens.
-
-If flag SameParameter is not set, this method chooses the best
-variant (one that has minimal tolerance), either
-a. only after computing deviation (as above) or
-b. after calling standard procedure BRepLib::SameParameter
-and computing deviation (as above). If 'tolerance' > 0, it is
-used as parameter for BRepLib::SameParameter, otherwise,
-tolerance of the edge is used.
-
-Use : Is to be called after all pcurves and 3d curve of the edge are
-correctly computed
-Remark : SameParameter flag is always set to True after this method
-Returns: True, if something done, else False
-Status : OK - edge was initially SameParameter, nothing is done
-FAIL1 - computation of deviation of pcurves from 3d curve has failed
-FAIL2 - BRepLib::SameParameter() has failed
-DONE1 - tolerance of the edge was increased
-DONE2 - flag SameParameter was set to True (only if
-BRepLib::SameParameter() did not set it)
-DONE3 - edge was modified by BRepLib::SameParameter() to SameParameter
-DONE4 - not used anymore
-DONE5 - if the edge resulting from BRepLib has been chosen, i.e. variant b. above
-(only for edges with not set SameParameter).
-
-
-
-private:
- Handle(ShapeFix_Edge) hEdge;
-
-public:
- void setHandle(Handle(ShapeFix_Edge) handle) {
- setTwinPointer(handle.get());
- hEdge = handle;
- }
-
-
-
diff --git a/src/Mod/Part/App/ShapeFix/ShapeFix_FaceConnectPy.xml b/src/Mod/Part/App/ShapeFix/ShapeFix_FaceConnectPy.xml
deleted file mode 100644
index a646a06d53..0000000000
--- a/src/Mod/Part/App/ShapeFix/ShapeFix_FaceConnectPy.xml
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
-
-
-
- Rebuilds connectivity between faces in shell
-
-
-
- add(face, face)
-
-
-
-
- build(shell, sewtolerance, fixtolerance)
-
-
-
-
- Clears internal data structure
-
-
-
-
diff --git a/src/Mod/Part/App/ShapeFix/ShapeFix_FacePy.xml b/src/Mod/Part/App/ShapeFix/ShapeFix_FacePy.xml
deleted file mode 100644
index 6721767837..0000000000
--- a/src/Mod/Part/App/ShapeFix/ShapeFix_FacePy.xml
+++ /dev/null
@@ -1,208 +0,0 @@
-
-
-
-
-
- Class for fixing operations on faces
-
-
-
- Initializes by face
-
-
-
-
- Returns tool for fixing wires
-
-
-
-
- Sets all modes to default
-
-
-
-
- Add a wire to current face using BRep_Builder.
-Wire is added without taking into account orientation of face
-(as if face were FORWARD)
-
-
-
-
-
-
-Fixes orientation of wires on the face
-It tries to make all wires lie outside all others (according
-to orientation) by reversing orientation of some of them.
-If face lying on sphere or torus has single wire and
-AddNaturalBoundMode is True, that wire is not reversed in
-any case (supposing that natural bound will be added).
-Returns True if wires were reversed
-
-
-
-
-
-
-Adds natural boundary on face if it is missing.
-Two cases are supported:
- - face has no wires
- - face lies on geometrically double-closed surface
-(sphere or torus) and none of wires is left-oriented
-Returns True if natural boundary was added
-
-
-
-
-
-
-Detects and fixes the special case when face on a closed
-surface is given by two wires closed in 3d but with gap in 2d.
-In that case it creates a new wire from the two, and adds a
-missing seam edge
-Returns True if missing seam was added
-
-
-
-
-
-
-Detects wires with small area (that is less than
-100*Precision.PConfusion(). Removes these wires if they are internal.
-Returns True if at least one small wire removed, False nothing is done.
-
-
-
-
-
-
-Detects if wire has a loop and fixes this situation by splitting on the few parts.
-
-
-
-
-
-
-Detects and fixes the special case when face has more than one wire
-and this wires have intersection point
-
-
-
-
-
-
-If wire contains two coincidence edges it must be removed
-
-
-
-
-
-
-Fixes topology for a specific case when face is composed
-by a single wire belting a periodic surface. In that case
-a degenerated edge is reconstructed in the degenerated pole
-of the surface. Initial wire gets consistent orientation.
-Must be used in couple and before FixMissingSeam routine
-
-
-
-
-
- Iterates on subshapes and performs fixes
-
-
-
-
- Returns a face which corresponds to the current state
-
-
-
-
- Returns resulting shape (Face or Shell if split)
-To be used instead of face() if FixMissingSeam involved
-
-
-
-
-
- Mode for applying fixes of ShapeFix_Wire
-
-
-
-
-
- Mode for applying fixes of orientation
-If True, wires oriented to border limited square
-
-
-
-
-
-
- If true, natural boundary is added on faces that miss them.
-Default is False for faces with single wire (they are
-handled by FixOrientation in that case) and True for others.
-
-
-
-
-
-
- If True, tries to insert seam if missing
-
-
-
-
-
- If True, drops small wires
-
-
-
-
-
- If True, drops small wires
-
-
-
-
-
- Mode for applying fixes of intersecting wires
-
-
-
-
-
- Mode for applying fixes of loop wires
-
-
-
-
-
- Mode for applying fixes of split face
-
-
-
-
-
- Mode for applying auto-corrected precision
-
-
-
-
-
- Mode for applying periodic degeneration
-
-
-
-
-
diff --git a/src/Mod/Part/App/ShapeFix/ShapeFix_FixSmallFacePy.xml b/src/Mod/Part/App/ShapeFix/ShapeFix_FixSmallFacePy.xml
deleted file mode 100644
index f0053e4ce6..0000000000
--- a/src/Mod/Part/App/ShapeFix/ShapeFix_FixSmallFacePy.xml
+++ /dev/null
@@ -1,96 +0,0 @@
-
-
-
-
-
- Class for fixing operations on faces
-
-
-
- Initializes by shape
-
-
-
-
- Fixing case of spot face
-
-
-
-
- Fixing case of spot face, if tol = -1 used local tolerance
-
-
-
-
- Compute average vertex and replacing vertices by new one
-
-
-
-
- Remove spot face from compound
-
-
-
-
- Fixing case of strip face, if tol = -1 used local tolerance
-
-
-
-
-
- Remove strip face from compound
-
-
-
-
-
- Fixes cases related to split faces within the given shape.
-It may return a modified shape after fixing the issues.
-
-
-
-
-
- Fixes issues related to the specified face and returns the modified face.
-
-
-
-
- Fixes issues in the overall geometric shape.
-This function likely encapsulates higher-level fixes that involve multiple faces or elements.
-
-
-
-
- Returns the current state of the geometric shape after potential modifications.
-
-
-
-
-
diff --git a/src/Mod/Part/App/ShapeFix/ShapeFix_FixSmallSolidPy.xml b/src/Mod/Part/App/ShapeFix/ShapeFix_FixSmallSolidPy.xml
deleted file mode 100644
index 7c71b2ac58..0000000000
--- a/src/Mod/Part/App/ShapeFix/ShapeFix_FixSmallSolidPy.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
-
- Fixing solids with small size
-
-
-
-
-Set working mode for operator:
-- theMode = 0 use both WidthFactorThreshold and VolumeThreshold parameters
-- theMode = 1 use only WidthFactorThreshold parameter
-- theMode = 2 use only VolumeThreshold parameter
-
-
-
-
-
- Set or clear volume threshold for small solids
-
-
-
-
- Set or clear width factor threshold for small solids
-
-
-
-
- Remove small solids from the given shape
-
-
-
-
- Merge small solids in the given shape to adjacent non-small ones
-
-
-
-
diff --git a/src/Mod/Part/App/ShapeFix/ShapeFix_FreeBoundsPy.xml b/src/Mod/Part/App/ShapeFix/ShapeFix_FreeBoundsPy.xml
deleted file mode 100644
index 35d5fac04f..0000000000
--- a/src/Mod/Part/App/ShapeFix/ShapeFix_FreeBoundsPy.xml
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
-
-
-
- This class is intended to output free bounds of the shape
-
-
-
- Returns compound of closed wires out of free edges
-
-
-
-
- Returns compound of open wires out of free edges
-
-
-
-
- Returns modified source shape
-
-
-
-
diff --git a/src/Mod/Part/App/ShapeFix/ShapeFix_RootPy.xml b/src/Mod/Part/App/ShapeFix/ShapeFix_RootPy.xml
deleted file mode 100644
index c29fc692d7..0000000000
--- a/src/Mod/Part/App/ShapeFix/ShapeFix_RootPy.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
-
-
- Root class for fixing operations
-
-
-
- Returns tolerance limited by [MinTolerance,MaxTolerance]
-
-
-
-
- Basic precision value
-
-
-
-
-
- Minimal allowed tolerance
-
-
-
-
-
- Maximal allowed tolerance
-
-
-
-
-private:
- Handle(ShapeFix_Root) hRoot;
-
-public:
- void setHandle(Handle(ShapeFix_Root) handle) {
- setTwinPointer(handle.get());
- hRoot = handle;
- }
-
-
-
diff --git a/src/Mod/Part/App/ShapeFix/ShapeFix_ShapePy.xml b/src/Mod/Part/App/ShapeFix/ShapeFix_ShapePy.xml
deleted file mode 100644
index 158dfbea35..0000000000
--- a/src/Mod/Part/App/ShapeFix/ShapeFix_ShapePy.xml
+++ /dev/null
@@ -1,101 +0,0 @@
-
-
-
-
-
- Class for fixing operations on shapes
-
-
-
- Initializes by shape
-
-
-
-
- Iterates on sub- shape and performs fixes
-
-
-
-
- Returns resulting shape
-
-
-
-
- Returns tool for fixing solids
-
-
-
-
- Returns tool for fixing shells
-
-
-
-
- Returns tool for fixing faces
-
-
-
-
- Returns tool for fixing wires
-
-
-
-
- Returns tool for fixing edges
-
-
-
-
- Mode for applying fixes of ShapeFix_Solid
-
-
-
-
-
- Mode for applying fixes of ShapeFix_Shell
-
-
-
-
-
- Mode for applying fixes of ShapeFix_Face
-
-
-
-
-
- Mode for applying fixes of ShapeFix_Wire
-
-
-
-
-
- Mode for applying ShapeFix::SameParameter after all fixes
-
-
-
-
-
- Mode for applying ShapeFix::FixVertexPosition before all fixes
-
-
-
-
-
- Mode for fixing tolerances of vertices on whole shape
-
-
-
-
-
diff --git a/src/Mod/Part/App/ShapeFix/ShapeFix_ShapeTolerancePy.xml b/src/Mod/Part/App/ShapeFix/ShapeFix_ShapeTolerancePy.xml
deleted file mode 100644
index 08f09c8489..0000000000
--- a/src/Mod/Part/App/ShapeFix/ShapeFix_ShapeTolerancePy.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
-
- Modifies tolerances of sub-shapes (vertices, edges, faces)
-
-
-
- limitTolerance(shape, tmin, [tmax=0, ShapeEnum=SHAPE])
-
-
-
-
- setTolerance(shape, precision, [ShapeEnum=SHAPE])
-
-
-
-
diff --git a/src/Mod/Part/App/ShapeFix/ShapeFix_ShellPy.xml b/src/Mod/Part/App/ShapeFix/ShapeFix_ShellPy.xml
deleted file mode 100644
index 76159957e0..0000000000
--- a/src/Mod/Part/App/ShapeFix/ShapeFix_ShellPy.xml
+++ /dev/null
@@ -1,91 +0,0 @@
-
-
-
-
-
- Root class for fixing operations
-
-
-
- Initializes by shell
-
-
-
-
- Returns tool for fixing faces
-
-
-
-
- Iterates on subshapes and performs fixes
-
-
-
-
- Returns fixed shell (or subset of oriented faces)
-
-
-
-
- Returns the number of obtained shells
-
-
-
-
- In case of multiconnexity returns compound of fixed shells and one shell otherwise
-
-
-
-
- Returns not oriented subset of faces
-
-
-
-
-
-Fixes orientation of faces in shell.
-Changes orientation of face in the shell, if it is oriented opposite
-to neighbouring faces. If it is not possible to orient all faces in the
-shell (like in case of mebious band), this method orients only subset
-of faces. Other faces are stored in Error compound.
-Modes :
-isAccountMultiConex - mode for account cases of multiconnexity.
-If this mode is equal to Standard_True, separate shells will be created
-in the cases of multiconnexity. If this mode is equal to Standard_False,
-one shell will be created without account of multiconnexity. By default - Standard_True;
-NonManifold - mode for creation of non-manifold shells.
-If this mode is equal to Standard_True one non-manifold will be created from shell
-contains multishared edges. Else if this mode is equal to Standard_False only
-manifold shells will be created. By default - Standard_False.
-
-
-
-
-
- Sets NonManifold flag
-
-
-
-
- Mode for applying fixes of orientation of faces
-
-
-
-
-
- Mode for applying fixes using ShapeFix_Face
-
-
-
-
-
diff --git a/src/Mod/Part/App/ShapeFix/ShapeFix_SolidPy.xml b/src/Mod/Part/App/ShapeFix/ShapeFix_SolidPy.xml
deleted file mode 100644
index 18cafdb36f..0000000000
--- a/src/Mod/Part/App/ShapeFix/ShapeFix_SolidPy.xml
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-
-
-
- Root class for fixing operations
-
-
-
- Initializes by solid
-
-
-
-
- Iterates on subshapes and performs fixes
-
-
-
-
- Calls MakeSolid and orients the solid to be not infinite
-
-
-
-
- Returns resulting solid
-
-
-
-
- In case of multiconnexity returns compound of fixed solids
-else returns one solid
-
-
-
-
- Returns tool for fixing shells
-
-
-
-
- Mode for applying fixes of ShapeFix_Shell
-
-
-
-
-
- Mode for applying analysis and fixes of
-orientation of shells in the solid
-
-
-
-
-
- Mode for creation of solids
-
-
-
-
-
diff --git a/src/Mod/Part/App/ShapeFix/ShapeFix_SplitCommonVertexPy.xml b/src/Mod/Part/App/ShapeFix/ShapeFix_SplitCommonVertexPy.xml
deleted file mode 100644
index 3470f55e25..0000000000
--- a/src/Mod/Part/App/ShapeFix/ShapeFix_SplitCommonVertexPy.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
-
-
-
- Class for fixing operations on shapes
-
-
-
- Initializes by shape
-
-
-
-
- Iterates on sub- shape and performs fixes
-
-
-
-
- Returns resulting shape
-
-
-
-
diff --git a/src/Mod/Part/App/ShapeFix/ShapeFix_SplitToolPy.xml b/src/Mod/Part/App/ShapeFix/ShapeFix_SplitToolPy.xml
deleted file mode 100644
index dd347e32d9..0000000000
--- a/src/Mod/Part/App/ShapeFix/ShapeFix_SplitToolPy.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
-
- Tool for splitting and cutting edges
-
-
-
- Split edge on two new edges using new vertex
-
-
-
-
- Cut edge by parameters pend and cut
-
-
-
-
diff --git a/src/Mod/Part/App/ShapeFix/ShapeFix_WirePy.xml b/src/Mod/Part/App/ShapeFix/ShapeFix_WirePy.xml
deleted file mode 100644
index 944370edc3..0000000000
--- a/src/Mod/Part/App/ShapeFix/ShapeFix_WirePy.xml
+++ /dev/null
@@ -1,403 +0,0 @@
-
-
-
-
-
- Class for fixing operations on wires
-
-
-
- Initializes by wire, face, precision
-
-
-
-
- Returns tool for fixing wires
-
-
-
-
- Sets all modes to default
-
-
-
-
- Clears all statuses
-
-
-
-
- Load data for the wire, and drops all fixing statuses
-
-
-
-
- Set working face for the wire
-
-
-
-
- setSurface(surface, [Placement])
-Set surface for the wire
-
-
-
-
- Sets the maximal allowed angle of the tails in radians
-
-
-
-
- Sets the maximal allowed width of the tails
-
-
-
-
- Tells if the wire is loaded
-
-
-
-
- Tells if the wire and face are loaded
-
-
-
-
- Returns number of edges in the working wire
-
-
-
-
- Makes the resulting Wire (by basic Brep_Builder)
-
-
-
-
- Makes the resulting Wire (by BRepAPI_MakeWire)
-
-
-
-
- Returns working face
-
-
-
-
- Iterates on subshapes and performs fixes
-
-
-
-
- Performs an analysis and reorders edges in the wire
-
-
-
-
- Applies fixSmall(...) to all edges in the wire
-
-
-
-
- Applies fixConnected(num) to all edges in the wire
-Connection between first and last edges is treated only if
-flag ClosedMode is True
-If prec is -1 then maxTolerance() is taken.
-
-
-
-
- Groups the fixes dealing with 3d and pcurves of the edges
-
-
-
-
- Applies fixDegenerated(...) to all edges in the wire
-
-
-
-
- Applies FixSelfIntersectingEdge(num) and
- FixIntersectingEdges(num) to all edges in the wire and
- FixIntersectingEdges(num1, num2) for all pairs num1 and num2
- and removes wrong edges if any
-
-
-
-
- Applies FixLacking(num) to all edges in the wire
-Connection between first and last edges is treated only if
-flag ClosedMode is True
-If 'force' is False (default), test for connectness is done with
-precision of vertex between edges, else it is done with minimal
-value of vertex tolerance and Analyzer.Precision().
-Hence, 'force' will lead to inserting lacking edges in replacement
-of vertices which have big tolerances.
-
-
-
-
- Fixes a wire to be well closed
-
-
-
-
- Fixes gaps between ends of 3d curves on adjacent edges
-
-
-
-
- Fixes gaps between ends of pcurves on adjacent edges
-
-
-
-
- Fixes seam edges
-
-
-
-
- Fixes edges which have pcurves shifted by whole parameter
-range on the closed surface
-
-
-
-
- Fixes Notch edges.Check if there are notch edges in 2d and fix it
-
-
-
-
- Fixes gap between ends of 3d curves on num-1 and num-th edges
-
-
-
-
- Fixes gap between ends of pcurves on num-1 and num-th edges
-
-
-
-
- Fixes issues related to 'tails' in the geometry.
-Tails are typically small, undesired protrusions or deviations in the curves or edges that need correction.
-This method examines the geometry and applies corrective actions to eliminate or reduce the presence of tails.
-
-
-
-
- Mode for modifying topology of the wire
-
-
-
-
-
- Mode for modifying geometry of vertexes and edges
-
-
-
-
-
- Mode for modifying edges
-
-
-
-
-
- Mode which defines whether the wire
-is to be closed (by calling methods like fixDegenerated()
-and fixConnected() for last and first edges)
-
-
-
-
-
- Mode which defines whether the 2d 'True'
-representation of the wire is preferable over 3d one in the
-case of ambiguity in FixEdgeCurves
-
-
-
-
-
- Mode which defines whether tool
-tries to fix gaps first by changing curves ranges (i.e.
-using intersection, extrema, projections) or not
-
-
-
-
-
- Mode which performs an analysis and reorders edges in the wire using class WireOrder.
-Flag 'theModeBoth' determines the use of miscible mode if necessary.
-
-
-
-
-
- Mode which applies FixSmall(num) to all edges in the wire
-
-
-
-
-
- Mode which applies FixConnected(num) to all edges in the wire
-Connection between first and last edges is treated only if
-flag ClosedMode is True
-If 'prec' is -1 then MaxTolerance() is taken.
-
-
-
-
-
- Mode which groups the fixes dealing with 3d and pcurves of the edges.
-The order of the fixes and the default behaviour are:
-ShapeFix_Edge::FixReversed2d
-ShapeFix_Edge::FixRemovePCurve (only if forced)
-ShapeFix_Edge::FixAddPCurve
-ShapeFix_Edge::FixRemoveCurve3d (only if forced)
-ShapeFix_Edge::FixAddCurve3d
-FixSeam,
-FixShifted,
-ShapeFix_Edge::FixSameParameter
-
-
-
-
-
- Mode which applies FixDegenerated(num) to all edges in the wire
-Connection between first and last edges is treated only if
-flag ClosedMode is True
-
-
-
-
-
- Mode which applies FixSelfIntersectingEdge(num) and
-FixIntersectingEdges(num) to all edges in the wire and
-FixIntersectingEdges(num1, num2) for all pairs num1 and num2
-and removes wrong edges if any
-
-
-
-
-
- Mode which applies FixLacking(num) to all edges in the wire
-Connection between first and last edges is treated only if
-flag ClosedMode is True
-If 'force' is False (default), test for connectness is done with
-precision of vertex between edges, else it is done with minimal
-value of vertex tolerance and Analyzer.Precision().
-Hence, 'force' will lead to inserting lacking edges in replacement
-of vertices which have big tolerances.
-
-
-
-
-
- Mode which fixes gaps between ends of 3d curves on adjacent edges
-myPrecision is used to detect the gaps.
-
-
-
-
-
- Mode whixh fixes gaps between ends of pcurves on adjacent edges
-myPrecision is used to detect the gaps.
-
-
-
-
-
- Mode which fixes the reversed in 2d
-
-
-
-
-
- Mode which removePCurve in 2d
-
-
-
-
-
- Mode which fixes addCurve in 2d
-
-
-
-
-
- Mode which fixes removeCurve in 3d
-
-
-
-
-
- Mode which fixes addCurve in 3d
-
-
-
-
-
- Mode which fixes Seam
-
-
-
-
-
- Mode which fixes Shifted
-
-
-
-
-
- Mode which fixes sameParameter in 2d
-
-
-
-
-
- Mode which fixes VertexTolerence in 2d
-
-
-
-
-
- Mode which fixes NotchedEdges in 2d
-
-
-
-
-
- Mode which fixes SelfIntersectionEdge in 2d
-
-
-
-
-
- Mode which fixes IntersectingEdges in 2d
-
-
-
-
-
- Mode which fixes NonAdjacentIntersectingEdges in 2d
-
-
-
-
-
- Mode which fixes Tails in 2d
-
-
-
-
-
diff --git a/src/Mod/Part/App/ShapeFix/ShapeFix_WireVertexPy.xml b/src/Mod/Part/App/ShapeFix/ShapeFix_WireVertexPy.xml
deleted file mode 100644
index a6af305339..0000000000
--- a/src/Mod/Part/App/ShapeFix/ShapeFix_WireVertexPy.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
-
-
-
- Fixing disconnected edges in the wire
-
-
-
- Loads the wire, ininializes internal analyzer with the given precision
-
-
-
-
- Returns resulting wire
-
-
-
-
- Returns the count of fixed vertices, 0 if none
-
-
-
-
- Fixes all statuses except Disjoined, i.e. the cases in which a
-common value has been set, with or without changing parameters
-Returns the count of fixed vertices, 0 if none
-
-
-
-
diff --git a/src/Mod/Part/App/ShapeFix/ShapeFix_WireframePy.xml b/src/Mod/Part/App/ShapeFix/ShapeFix_WireframePy.xml
deleted file mode 100644
index 756d242ef0..0000000000
--- a/src/Mod/Part/App/ShapeFix/ShapeFix_WireframePy.xml
+++ /dev/null
@@ -1,56 +0,0 @@
-
-
-
-
-
- Provides methods for fixing wireframe of shape
-
-
-
- Clears all statuses
-
-
-
-
- Loads a shape, resets statuses
-
-
-
-
- Fixes gaps between ends of curves of adjacent edges
-
-
-
-
- Fixes small edges in shape by merging adjacent edges
-
-
-
-
-
-
-
-
-
- Returns mode managing removing small edges
-
-
-
-
-
- Limit angle for merging edges
-
-
-
-
-
diff --git a/src/Mod/Part/App/ShapeUpgrade/UnifySameDomainPy.xml b/src/Mod/Part/App/ShapeUpgrade/UnifySameDomainPy.xml
deleted file mode 100644
index c5cb04e921..0000000000
--- a/src/Mod/Part/App/ShapeUpgrade/UnifySameDomainPy.xml
+++ /dev/null
@@ -1,71 +0,0 @@
-
-
-
-
-
- This tool tries to unify faces and edges of the shape which lie on the same geometry.
-
-
-
- Initializes with a shape and necessary flags
-
-
-
-
- Sets the flag defining whether it is allowed to create
-internal edges inside merged faces in the case of non-manifold
-topology. Without this flag merging through multi connected edge
-is forbidden. Default value is false.
-
-
-
-
- Sets the shape for avoid merging of the faces/edges.
-
-
-
-
- Sets the map of shapes for avoid merging of the faces/edges.
-
-
-
-
- Sets the flag defining the behavior of the algorithm regarding
-modification of input shape.
-If this flag is equal to True then the input (original) shape can't be
-modified during modification process. Default value is true.
-
-
-
-
- Sets the linear tolerance
-
-
-
-
- Sets the angular tolerance
-
-
-
-
- Performs unification and builds the resulting shape
-
-
-
-
- Gives the resulting shape
-
-
-
-
diff --git a/src/Mod/Part/App/SpherePy.xml b/src/Mod/Part/App/SpherePy.xml
deleted file mode 100644
index adb4e13e87..0000000000
--- a/src/Mod/Part/App/SpherePy.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
-
- Describes a sphere in 3D space
-
-
-
- The radius of the sphere.
-
-
-
-
-
- Compute the area of the sphere.
-
-
-
-
-
- Compute the volume of the sphere.
-
-
-
-
-
- Center of the sphere.
-
-
-
-
-
- The axis direction of the circle
-
-
-
-
-
diff --git a/src/Mod/Part/App/SurfaceOfExtrusionPy.xml b/src/Mod/Part/App/SurfaceOfExtrusionPy.xml
deleted file mode 100644
index d7951b7b68..0000000000
--- a/src/Mod/Part/App/SurfaceOfExtrusionPy.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
- Describes a surface of linear extrusion
-
-
-
- Sets or gets the direction of revolution.
-
-
-
-
-
- Sets or gets the basic curve.
-
-
-
-
-
diff --git a/src/Mod/Part/App/SurfaceOfRevolutionPy.xml b/src/Mod/Part/App/SurfaceOfRevolutionPy.xml
deleted file mode 100644
index 5eb0de87a8..0000000000
--- a/src/Mod/Part/App/SurfaceOfRevolutionPy.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-
-
-
-
-
- Describes a surface of revolution
-
-
-
- Sets or gets the location of revolution.
-
-
-
-
-
- Sets or gets the direction of revolution.
-
-
-
-
-
- Sets or gets the basic curve.
-
-
-
-
-
diff --git a/src/Mod/Part/App/TopoShapeCompSolidPy.xml b/src/Mod/Part/App/TopoShapeCompSolidPy.xml
deleted file mode 100644
index 569bfe2d9a..0000000000
--- a/src/Mod/Part/App/TopoShapeCompSolidPy.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
-
-
- TopoShapeCompSolid is the OpenCasCade topological compound solid wrapper
-
-
-
- Add a solid to the compound.
-add(solid)
-
-
-
-
-
diff --git a/src/Mod/Part/App/TopoShapeCompoundPy.xml b/src/Mod/Part/App/TopoShapeCompoundPy.xml
deleted file mode 100644
index 19b61cbcd8..0000000000
--- a/src/Mod/Part/App/TopoShapeCompoundPy.xml
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-
-
- Create a compound out of a list of shapes
-
-
-
- Add a shape to the compound.
-add(shape)
-
-
-
-
-
- Build a compound of wires out of the edges of this compound.
-connectEdgesToWires([Shared = True, Tolerance = 1e-7]) -> Compound
---
-If Shared is True connection is performed only when adjacent edges share the same vertex.
-If Shared is False connection is performed only when ends of adjacent edges are at distance less than Tolerance.
-
-
-
-
- A shape is created from points and triangles and set to this object
-
-
-
-
diff --git a/src/Mod/Part/App/TopoShapeEdgePy.xml b/src/Mod/Part/App/TopoShapeEdgePy.xml
deleted file mode 100644
index 3d46d83d76..0000000000
--- a/src/Mod/Part/App/TopoShapeEdgePy.xml
+++ /dev/null
@@ -1,543 +0,0 @@
-
-
-
-
-
- TopoShapeEdge is the OpenCasCade topological edge wrapper
-
-
-
- Get the value of the primary parameter at the given distance along the cartesian length of the edge.
-getParameterByLength(pos, [tolerance = 1e-7]) -> Float
---
-Args:
- pos (float or int): The distance along the length of the edge at which to
- determine the primary parameter value. See help for the FirstParameter or
- LastParameter properties for more information on the primary parameter.
- If the given value is positive, the distance from edge start is used.
- If the given value is negative, the distance from edge end is used.
- tol (float): Computing tolerance. Optional, defaults to 1e-7.
-
-Returns:
- paramval (float): the value of the primary parameter defining the edge at the
- given position along its cartesian length.
-
-
-
-
-
- Get the tangent direction at the given primary parameter value along the Edge if it is defined
-tangentAt(paramval) -> Vector
---
-Args:
- paramval (float or int): The parameter value along the Edge at which to
- determine the tangent direction e.g:
-
- x = Part.makeCircle(1, FreeCAD.Vector(0,0,0), FreeCAD.Vector(0,0,1), 0, 90)
- y = x.tangentAt(x.FirstParameter + 0.5 * (x.LastParameter - x.FirstParameter))
-
- y is the Vector (-0.7071067811865475, 0.7071067811865476, 0.0)
-
- Values with magnitude greater than the Edge length return
- values of the tangent on the curve extrapolated beyond its
- length. This may not be valid for all Edges. Negative values
- similarly return a tangent on the curve extrapolated backwards
- (before the start point of the Edge). For example, using the
- same shape as above:
-
- >>> x.tangentAt(x.FirstParameter + 3.5*(x.LastParameter - x.FirstParameter))
- Vector (0.7071067811865477, 0.7071067811865474, 0.0)
-
- Which gives the same result as
-
- >>> x.tangentAt(x.FirstParameter -0.5*(x.LastParameter - x.FirstParameter))
- Vector (0.7071067811865475, 0.7071067811865476, 0.0)
-
- Since it is a circle
-
-Returns:
- Vector: representing the tangent to the Edge at the given
- location along its length (or extrapolated length)
-
-
-
-
-
- Get the value of the cartesian parameter value at the given parameter value along the Edge
-valueAt(paramval) -> Vector
---
-Args:
- paramval (float or int): The parameter value along the Edge at which to
- determine the value in terms of the main parameter defining
- the edge, what the parameter value is depends on the type of
- edge. See e.g:
-
- For a circle value
-
- x = Part.makeCircle(1, FreeCAD.Vector(0,0,0), FreeCAD.Vector(0,0,1), 0, 90)
- y = x.valueAt(x.FirstParameter + 0.5 * (x.LastParameter - x.FirstParameter))
-
- y is theVector (0.7071067811865476, 0.7071067811865475, 0.0)
-
- Values with magnitude greater than the Edge length return
- values on the curve extrapolated beyond its length. This may
- not be valid for all Edges. Negative values similarly return
- a parameter value on the curve extrapolated backwards (before the
- start point of the Edge). For example, using the same shape
- as above:
-
- >>> x.valueAt(x.FirstParameter + 3.5*(x.LastParameter - x.FirstParameter))
- Vector (0.7071067811865474, -0.7071067811865477, 0.0)
-
- Which gives the same result as
-
- >>> x.valueAt(x.FirstParameter -0.5*(x.LastParameter - x.FirstParameter))
- Vector (0.7071067811865476, -0.7071067811865475, 0.0)
-
- Since it is a circle
-
-Returns:
- Vector: representing the cartesian location on the Edge at the given
- distance along its length (or extrapolated length)
-
-
-
-
-
- Get the list of parameters of the tessellation of an edge.
-parameters([face]) -> list
---
-If the edge is part of a face then this face is required as argument.
-An exception is raised if the edge has no polygon.
-
-
-
-
-
- Get the parameter at the given vertex if lying on the edge
-parameterAt(Vertex) -> Float
-
-
-
-
-
- Get the normal direction at the given parameter value along the Edge if it is defined
-normalAt(paramval) -> Vector
---
-Args:
- paramval (float or int): The parameter value along the Edge at which to
- determine the normal direction e.g:
-
- x = Part.makeCircle(1, FreeCAD.Vector(0,0,0), FreeCAD.Vector(0,0,1), 0, 90)
- y = x.normalAt(x.FirstParameter + 0.5 * (x.LastParameter - x.FirstParameter))
-
- y is the Vector (-0.7071067811865476, -0.7071067811865475, 0.0)
-
- Values with magnitude greater than the Edge length return
- values of the normal on the curve extrapolated beyond its
- length. This may not be valid for all Edges. Negative values
- similarly return a normal on the curve extrapolated backwards
- (before the start point of the Edge). For example, using the
- same shape as above:
-
- >>> x.normalAt(x.FirstParameter + 3.5*(x.LastParameter - x.FirstParameter))
- Vector (-0.7071067811865474, 0.7071067811865477, 0.0)
-
- Which gives the same result as
-
- >>> x.normalAt(x.FirstParameter -0.5*(x.LastParameter - x.FirstParameter))
- Vector (-0.7071067811865476, 0.7071067811865475, 0.0)
-
- Since it is a circle
-
-Returns:
- Vector: representing the normal to the Edge at the given
- location along its length (or extrapolated length)
-
-
-
-
-
- Get the first derivative at the given parameter value along the Edge if it is defined
-derivative1At(paramval) -> Vector
---
-Args:
- paramval (float or int): The parameter value along the Edge at which to
- determine the first derivative e.g:
-
- x = Part.makeCircle(1, FreeCAD.Vector(0,0,0), FreeCAD.Vector(0,0,1), 0, 90)
- y = x.derivative1At(x.FirstParameter + 0.5 * (x.LastParameter - x.FirstParameter))
-
- y is the Vector (-0.7071067811865475, 0.7071067811865476, 0.0)
-
- Values with magnitude greater than the Edge length return
- values of the first derivative on the curve extrapolated
- beyond its length. This may not be valid for all Edges.
- Negative values similarly return a first derivative on the
- curve extrapolated backwards (before the start point of the
- Edge). For example, using the same shape as above:
-
- >>> x.derivative1At(x.FirstParameter + 3.5*(x.LastParameter - x.FirstParameter))
- Vector (0.7071067811865477, 0.7071067811865474, 0.0)
-
- Which gives the same result as
-
- >>> x.derivative1At(x.FirstParameter -0.5*(x.LastParameter - x.FirstParameter))
- Vector (0.7071067811865475, 0.7071067811865476, 0.0)
-
- Since it is a circle
-
-Returns:
- Vector: representing the first derivative to the Edge at the
- given location along its length (or extrapolated length)
-
-
-
-
-
- Get the second derivative at the given parameter value along the Edge if it is defined
-derivative2At(paramval) -> Vector
---
-Args:
- paramval (float or int): The parameter value along the Edge at which to
- determine the second derivative e.g:
-
- x = Part.makeCircle(1, FreeCAD.Vector(0,0,0), FreeCAD.Vector(0,0,1), 0, 90)
- y = x.derivative2At(x.FirstParameter + 0.5 * (x.LastParameter - x.FirstParameter))
-
- y is the Vector (-0.7071067811865476, -0.7071067811865475, 0.0)
-
- Values with magnitude greater than the Edge length return
- values of the second derivative on the curve extrapolated
- beyond its length. This may not be valid for all Edges.
- Negative values similarly return a second derivative on the
- curve extrapolated backwards (before the start point of the
- Edge). For example, using the same shape as above:
-
- >>> x.derivative2At(x.FirstParameter + 3.5*(x.LastParameter - x.FirstParameter))
- Vector (-0.7071067811865474, 0.7071067811865477, 0.0)
-
- Which gives the same result as
-
- >>> x.derivative2At(x.FirstParameter -0.5*(x.LastParameter - x.FirstParameter))
- Vector (-0.7071067811865476, 0.7071067811865475, 0.0)
-
- Since it is a circle
-
-Returns:
- Vector: representing the second derivative to the Edge at the
- given location along its length (or extrapolated length)
-
-
-
-
-
- Get the third derivative at the given parameter value along the Edge if it is defined
-derivative3At(paramval) -> Vector
---
-Args:
- paramval (float or int): The parameter value along the Edge at which to
- determine the third derivative e.g:
-
- x = Part.makeCircle(1, FreeCAD.Vector(0,0,0), FreeCAD.Vector(0,0,1), 0, 90)
- y = x.derivative3At(x.FirstParameter + 0.5 * (x.LastParameter - x.FirstParameter))
-
- y is the Vector (0.7071067811865475, -0.7071067811865476, -0.0)
-
- Values with magnitude greater than the Edge length return
- values of the third derivative on the curve extrapolated
- beyond its length. This may not be valid for all Edges.
- Negative values similarly return a third derivative on the
- curve extrapolated backwards (before the start point of the
- Edge). For example, using the same shape as above:
-
- >>> x.derivative3At(x.FirstParameter + 3.5*(x.LastParameter - x.FirstParameter))
- Vector (-0.7071067811865477, -0.7071067811865474, 0.0)
-
- Which gives the same result as
-
- >>> x.derivative3At(x.FirstParameter -0.5*(x.LastParameter - x.FirstParameter))
- Vector (-0.7071067811865475, -0.7071067811865476, 0.0)
-
- Since it is a circle
-
-Returns:
- Vector: representing the third derivative to the Edge at the
- given location along its length (or extrapolated length)
-
-
-
-
-
- Get the curvature at the given parameter [First|Last] if defined
-curvatureAt(paramval) -> Float
-
-
-
-
-
- Get the center of curvature at the given parameter [First|Last] if defined
-centerOfCurvatureAt(paramval) -> Vector
-
-
-
-
-
- Returns the Vertex of orientation FORWARD in this edge.
-firstVertex([Orientation=False]) -> Vertex
---
-If there is none a Null shape is returned.
-Orientation = True : taking into account the edge orientation
-
-
-
-
-
- Returns the Vertex of orientation REVERSED in this edge.
-lastVertex([Orientation=False]) -> Vertex
---
-If there is none a Null shape is returned.
-Orientation = True : taking into account the edge orientation
-
-
-
-
-
- Discretizes the edge and returns a list of points.
-discretize(kwargs) -> list
---
-The function accepts keywords as argument:
-discretize(Number=n) => gives a list of 'n' equidistant points
-discretize(QuasiNumber=n) => gives a list of 'n' quasi equidistant points (is faster than the method above)
-discretize(Distance=d) => gives a list of equidistant points with distance 'd'
-discretize(Deflection=d) => gives a list of points with a maximum deflection 'd' to the edge
-discretize(QuasiDeflection=d) => gives a list of points with a maximum deflection 'd' to the edge (faster)
-discretize(Angular=a,Curvature=c,[Minimum=m]) => gives a list of points with an angular deflection of 'a'
- and a curvature deflection of 'c'. Optionally a minimum number of points
- can be set which by default is set to 2.
-
-Optionally you can set the keywords 'First' and 'Last' to define a sub-range of the parameter range
-of the edge.
-
-If no keyword is given then it depends on whether the argument is an int or float.
-If it's an int then the behaviour is as if using the keyword 'Number', if it's float
-then the behaviour is as if using the keyword 'Distance'.
-
-Example:
-
-import Part
-e=Part.makeCircle(5)
-p=e.discretize(Number=50,First=3.14)
-s=Part.Compound([Part.Vertex(i) for i in p])
-Part.show(s)
-
-p=e.discretize(Angular=0.09,Curvature=0.01,Last=3.14,Minimum=100)
-s=Part.Compound([Part.Vertex(i) for i in p])
-Part.show(s)
-
-
-
-
-
- Returns the number of nodes of the 3D polygon of the edge.
-
-
-
-
- Splits the edge at the given parameter values and builds a wire out of it
-split(paramval) -> Wire
---
-Args:
- paramval (float or list_of_floats): The parameter values along the Edge at which to
- split it e.g:
-
- edge = Part.makeCircle(1, FreeCAD.Vector(0,0,0), FreeCAD.Vector(0,0,1), 0, 90)
- wire = edge.split([0.5, 1.0])
-
-Returns:
- Wire: wire made up of two Edges
-
-
-
-
-
- Checks whether the edge is a seam edge.
-isSeam(Face)
-
-
-
-
-
- Returns the 2D curve, the surface, the placement and the parameter range of index idx.
-curveOnSurface(idx) -> None or tuple
---
-Returns None if index idx is out of range.
-Returns a 5-items tuple of a curve, a surface, a placement, first parameter and last parameter.
-
-
-
-
-
- Set or get the tolerance of the vertex
-
-
-
-
-
- Returns the cartesian length of the curve
-
-
-
-
-
-
-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
-BezierCurve Unitless number in the range 0.0 to 1.0
-Helix Angle swept by helical turns in radians
-
-
-
-
-
-
-
-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
-BezierCurve Unitless number in the range 0.0 to 1.0
-Helix Angle swept by helical turns in radians
-
-
-
-
-
-
-
-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
-BezierCurve Unitless number in the range 0.0 to 1.0
-Helix Angle swept by helical turns in radians
-
-
-
-
-
-
- Returns the 3D curve of the edge
-
-
-
-
-
- Returns true if the edge is closed
-
-
-
-
-
- Returns true if the edge is degenerated
-
-
-
-
-
- Returns the mass of the current system.
-
-
-
-
-
- Returns the center of mass of the current system.
-If the gravitational field is uniform, it is the center of gravity.
-The coordinates returned for the center of mass are expressed in the
-absolute Cartesian coordinate system.
-
-
-
-
-
- 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
-system (G, Gx, Gy, Gz) where G is the centre of mass of the
-system and Gx, Gy, Gz the directions parallel to the X(1,0,0)
-Y(0,1,0) Z(0,0,1) directions of the absolute cartesian
-coordinate system.
-
-
-
-
-
- Returns Ix, Iy, Iz, the static moments of inertia of the
-current system; i.e. the moments of inertia about the
-three axes of the Cartesian coordinate system.
-
-
-
-
-
- Computes the principal properties of inertia of the current system.
-There is always a set of axes for which the products
-of inertia of a geometric system are equal to 0; i.e. the
-matrix of inertia of the system is diagonal. These axes
-are the principal axes of inertia. Their origin is
-coincident with the center of mass of the system. The
-associated moments are called the principal moments of inertia.
-This function computes the eigen values and the
-eigen vectors of the matrix of inertia of the system.
-
-
-
-
-
- Returns the continuity
-
-
-
-
-
diff --git a/src/Mod/Part/App/TopoShapeFacePy.xml b/src/Mod/Part/App/TopoShapeFacePy.xml
deleted file mode 100644
index 146ddec275..0000000000
--- a/src/Mod/Part/App/TopoShapeFacePy.xml
+++ /dev/null
@@ -1,227 +0,0 @@
-
-
-
-
-
- TopoShapeFace is the OpenCasCade topological face wrapper
-
-
-
- Adds a wire to the face.
-addWire(wire)
-
-
-
-
-
- Offset the face by a given amount.
-makeOffset(dist) -> Face
---
-Returns Compound of Wires. Deprecated - use makeOffset2D instead.
-
-
-
-
-
- Profile along the spine
-
-
-
-
- Get the list of (u,v) nodes of the tessellation
-getUVNodes() -> list
---
-An exception is raised if the face is not triangulated.
-
-
-
-
-
- Get the tangent in u and v isoparametric at the given point if defined
-tangentAt(u,v) -> Vector
-
-
-
-
-
- Get the point at the given parameter [0|Length] if defined
-valueAt(u,v) -> Vector
-
-
-
-
-
- Get the normal vector at the given parameter [0|Length] if defined
-normalAt(pos) -> Vector
-
-
-
-
-
- Get the first derivative at the given parameter [0|Length] if defined
-derivative1At(u,v) -> (vectorU,vectorV)
-
-
-
-
-
- Vector = d2At(pos) - Get the second derivative at the given parameter [0|Length] if defined
-derivative2At(u,v) -> (vectorU,vectorV)
-
-
-
-
-
- Get the curvature at the given parameter [0|Length] if defined
-curvatureAt(u,v) -> Float
-
-
-
-
-
- Check if a given (u,v) pair is inside the domain of a face
-isPartOfDomain(u,v) -> bool
-
-
-
-
-
- Make a half-space solid by this face and a reference point.
-makeHalfSpace(pos) -> Shape
-
-
-
-
-
- Validate the face.
-validate()
-
-
-
-
-
- Returns the number of nodes of the triangulation.
-
-
-
-
- Returns the number of triangles of the triangulation.
-
-
-
-
- Returns the curve associated to the edge in the parametric space of the face.
-curveOnSurface(Edge) -> (curve, min, max) or None
---
-If this curve exists then a tuple of curve and parameter range is returned.
-Returns None if this curve does not exist.
-
-
-
-
-
- Cut holes in the face.
-cutHoles(list_of_wires)
-
-
-
-
-
- Set or get the tolerance of the vertex
-
-
-
-
-
- Returns a 4 tuple with the parameter range
-
-
-
-
-
- Returns the geometric surface of the face
-
-
-
-
-
- The outer wire of this face
-deprecated -- please use OuterWire
-
-
-
-
-
- The outer wire of this face
-
-
-
-
-
- Returns the mass of the current system.
-
-
-
-
-
- Returns the center of mass of the current system.
-If the gravitational field is uniform, it is the center of gravity.
-The coordinates returned for the center of mass are expressed in the
-absolute Cartesian coordinate system.
-
-
-
-
-
- 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
-system (G, Gx, Gy, Gz) where G is the centre of mass of the
-system and Gx, Gy, Gz the directions parallel to the X(1,0,0)
-Y(0,1,0) Z(0,0,1) directions of the absolute cartesian
-coordinate system.
-
-
-
-
-
- Returns Ix, Iy, Iz, the static moments of inertia of the
-current system; i.e. the moments of inertia about the
-three axes of the Cartesian coordinate system.
-
-
-
-
-
- Computes the principal properties of inertia of the current system.
-There is always a set of axes for which the products
-of inertia of a geometric system are equal to 0; i.e. the
-matrix of inertia of the system is diagonal. These axes
-are the principal axes of inertia. Their origin is
-coincident with the center of mass of the system. The
-associated moments are called the principal moments of inertia.
-This function computes the eigen values and the
-eigen vectors of the matrix of inertia of the system.
-
-
-
-
-
diff --git a/src/Mod/Part/App/TopoShapePy.xml b/src/Mod/Part/App/TopoShapePy.xml
deleted file mode 100644
index ef104074b5..0000000000
--- a/src/Mod/Part/App/TopoShapePy.xml
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
- TopoShape is the OpenCasCade topological shape wrapper.
-Sub-elements such as vertices, edges or faces are accessible as:
-* Vertex#, where # is in range(1, number of vertices)
-* Edge#, where # is in range(1, number of edges)
-* Face#, where # is in range(1, number of faces)
-
-
-
- Serialize the content of this shape to a string in BREP format.
-
-
-
-
- Deserialize the content of this shape from a string in BREP format.
-
-
-
-
- Read in an IGES, STEP or BREP file.
-read(filename)
-
-
-
-
-
- Write the mesh in OpenInventor format to a string.
-writeInventor() -> string
-
-
-
-
-
- Export the content of this shape to an IGES file.
-exportIges(filename)
-
-
-
-
-
- Export the content of this shape to an STEP file.
-exportStep(filename)
-
-
-
-
-
- Export the content of this shape to an BREP file.
-exportBrep(filename)
---
-BREP is an OpenCasCade native format.
-
-
-
-
-
- Export the content of this shape in binary format to a file.
-exportBinary(filename)
-
-
-
-
-
- Export the content of this shape to a string in BREP format.
-exportBrepToString() -> string
---
-BREP is an OpenCasCade native format.
-
-
-
-
- Dump information about the shape to a string.
-dumpToString() -> string
-
-
-
-
- Export the content of this shape to an STL mesh file.
-exportStl(filename)
-
-
-
-
- Load the shape from a file in BREP format.
-importBrep(filename)
-
-
-
-
- Import the content to this shape of a string in BREP format.
-importBinary(filename)
-
-
-
-
- Load the shape from a string that keeps the content in BREP format.
-importBrepFromString(string, [displayProgressBar=True])
---
-importBrepFromString(str, False) to not display a progress bar.
-
-
-
-
-
- Extrude the shape along a vector.
-extrude(vector) -> Shape
---
-Shp2 = Shp1.extrude(App.Vector(0,0,10)) - extrude the shape 10 mm in the +Z direction.
-
-
-
-
- Revolve the shape around an Axis to a given degree.
-revolve(base, direction, angle)
---
-Part.revolve(App.Vector(0,0,0),App.Vector(0,0,1),360) - revolves the shape around the Z Axis 360 degree.
-
-Hints: Sometimes you want to create a rotation body out of a closed edge or wire.
-Example:
-from FreeCAD import Base
-import Part
-V=Base.Vector
-
-e=Part.Ellipse()
-s=e.toShape()
-r=s.revolve(V(0,0,0),V(0,1,0), 360)
-Part.show(r)
-
-However, you may possibly realize some rendering artifacts or that the mesh
-creation seems to hang. This is because this way the surface is created twice.
-Since the curve is a full ellipse it is sufficient to do a rotation of 180 degree
-only, i.e. r=s.revolve(V(0,0,0),V(0,1,0), 180)
-
-Now when rendering this object you may still see some artifacts at the poles. Now the
-problem seems to be that the meshing algorithm doesn't like to rotate around a point
-where there is no vertex.
-
-The idea to fix this issue is that you create only half of the ellipse so that its shape
-representation has vertexes at its start and end point.
-
-from FreeCAD import Base
-import Part
-V=Base.Vector
-
-e=Part.Ellipse()
-s=e.toShape(e.LastParameter/4,3*e.LastParameter/4)
-r=s.revolve(V(0,0,0),V(0,1,0), 360)
-Part.show(r)
-
-
-
-
-
- Checks the shape and report errors in the shape structure.
-check([runBopCheck = False])
---
-This is a more detailed check as done in isValid().
-if runBopCheck is True, a BOPCheck analysis is also performed.
-
-
-
-
- Union of this and a given (list of) topo shape.
-fuse(tool) -> Shape
- or
-fuse((tool1,tool2,...),[tolerance=0.0]) -> Shape
---
-Union of this and a given list of topo shapes.
-
-Supports (OCCT 6.9.0 and above):
-- Fuzzy Boolean operations (global tolerance for a Boolean operation)
-- Support of multiple arguments for a single Boolean operation
-- Parallelization of Boolean Operations algorithm
-
-Beginning from OCCT 6.8.1 a tolerance value can be specified.
-
-
-
-
- Union of this and a given list of topo shapes.
-multiFuse((tool1,tool2,...),[tolerance=0.0]) -> Shape
---
-Supports (OCCT 6.9.0 and above):
-- Fuzzy Boolean operations (global tolerance for a Boolean operation)
-- Support of multiple arguments for a single Boolean operation
-- Parallelization of Boolean Operations algorithm
-
-Beginning from OCCT 6.8.1 a tolerance value can be specified.
-Deprecated: use fuse() instead.
-
-
-
-
- Union of this and a given topo shape (old algorithm).
-oldFuse(tool) -> Shape
-
-
-
-
-
- Intersection of this and a given (list of) topo shape.
-common(tool) -> Shape
- or
-common((tool1,tool2,...),[tolerance=0.0]) -> Shape
---
-Supports:
-- Fuzzy Boolean operations (global tolerance for a Boolean operation)
-- Support of multiple arguments for a single Boolean operation (s1 AND (s2 OR s3))
-- Parallelization of Boolean Operations algorithm
-
-OCC 6.9.0 or later is required.
-
-
-
-
- Section of this with a given (list of) topo shape.
-section(tool,[approximation=False]) -> Shape
- or
-section((tool1,tool2,...),[tolerance=0.0, approximation=False]) -> Shape
---
-If approximation is True, section edges are approximated to a C1-continuous BSpline curve.
-
-Supports:
-- Fuzzy Boolean operations (global tolerance for a Boolean operation)
-- Support of multiple arguments for a single Boolean operation (s1 AND (s2 OR s3))
-- Parallelization of Boolean Operations algorithm
-
-OCC 6.9.0 or later is required.
-
-
-
-
- Make slices of this shape.
-slices(direction, distancesList) --> Wires
-
-
-
-
-
- Make single slice of this shape.
-slice(direction, distance) --> Wires
-
-
-
-
- Difference of this and a given (list of) topo shape
-cut(tool) -> Shape
- or
-cut((tool1,tool2,...),[tolerance=0.0]) -> Shape
---
-Supports:
-- Fuzzy Boolean operations (global tolerance for a Boolean operation)
-- Support of multiple arguments for a single Boolean operation
-- Parallelization of Boolean Operations algorithm
-
-OCC 6.9.0 or later is required.
-
-
-
-
- Run general fuse algorithm (GFA) between this and given shapes.
-generalFuse(list_of_other_shapes, [fuzzy_value = 0.0]) -> (result, map)
---
-list_of_other_shapes: shapes to run the algorithm against (the list is
-effectively prepended by 'self').
-
-fuzzy_value: extra tolerance to apply when searching for interferences, in
-addition to tolerances of the input shapes.
-
-Returns a tuple of 2: (result, map).
-
-result is a compound containing all the pieces generated by the algorithm
-(e.g., for two spheres, the pieces are three touching solids). Pieces that
-touch share elements.
-
-map is a list of lists of shapes, providing the info on which children of
-result came from which argument. The length of list is equal to length of
-list_of_other_shapes + 1. First element is a list of pieces that came from
-shape of this, and the rest are those that come from corresponding shapes in
-list_of_other_shapes.
-hint: use isSame method to test shape equality
-
-Parallelization of Boolean Operations algorithm
-
-OCC 6.9.0 or later is required.
-
-
-
-
-
- Sew the shape if there is a gap.
-sewShape()
-
-
-
-
-
- Return a list of sub-shapes that are direct children of this shape.
-childShapes([cumOri=True, cumLoc=True]) -> list
---
-* If cumOri is true, the function composes all
- sub-shapes with the orientation of this shape.
-* If cumLoc is true, the function multiplies all
- sub-shapes by the location of this shape, i.e. it applies to
- each sub-shape the transformation that is associated with this shape.
-
-
-
-
-
- For a sub-shape of this shape get its ancestors of a type.
-ancestorsOfType(shape, shape type) -> list
-
-
-
-
-
- Removes internal wires (also holes) from the shape.
-removeInternalWires(minimalArea) -> bool
-
-
-
-
-
- Mirror this shape on a given plane.
-mirror(base, norm) -> Shape
---
-The plane is given with its base point and its normal direction.
-
-
-
-
- Apply geometric transformation on this or a copy the shape.
-transformGeometry(matrix) -> Shape
---
-This method returns a new shape.
-The transformation to be applied is defined as a 4x4 matrix.
-The underlying geometry of the following shapes may change:
-- a curve which supports an edge of the shape, or
-- a surface which supports a face of the shape;
-
-For example, a circle may be transformed into an ellipse when
-applying an affinity transformation. It may also happen that
-the circle then is represented as a B-spline curve.
-
-The transformation is applied to:
-- all the curves which support edges of the shape, and
-- all the surfaces which support faces of the shape.
-
-Note: If you want to transform a shape without changing the
-underlying geometry then use the methods translate or rotate.
-
-
-
-
-
- Apply transformation on a shape without changing the underlying geometry.
-transformShape(Matrix, [boolean copy=False, checkScale=False]) -> None
---
-If checkScale is True, it will use transformGeometry if non-uniform
-scaling is detected.
-
-
-
-
- Create a new transformed shape
-transformed(Matrix,copy=False,checkScale=False,op=None) -> shape
-
-
-
-
-
- Apply the translation to the current location of this shape.
-translate(vector)
-
-
-
-
-
- Create a new shape with translation
-translated(vector) -> shape
-
-
-
-
-
- Apply the rotation (base, dir, degree) to the current location of this shape
-rotate(base, dir, degree)
---
-Shp.rotate(App.Vector(0,0,0), App.Vector(0,0,1), 180) - rotate the shape around the Z Axis 180 degrees.
-
-
-
-
-
- Create a new shape with rotation.
-rotated(base, dir, degree) -> shape
-
-
-
-
-
- Apply scaling with point and factor to this shape.
-scale(factor, [base=App.Vector(0,0,0)])
-
-
-
-
-
- Create a new shape with scale.
-scaled(factor, [base=App.Vector(0,0,0)]) -> shape
-
-
-
-
-
- Make fillet.
-makeFillet(radius, edgeList) -> Shape
-or
-makeFillet(radius1, radius2, edgeList) -> Shape
-
-
-
-
-
- Make chamfer.
-makeChamfer(radius, edgeList) -> Shape
-or
-makeChamfer(radius1, radius2, edgeList) -> Shape
-
-
-
-
- Hollow a solid according to given thickness and faces.
-makeThickness(List of faces, Offset (Float), Tolerance (Float)) -> Shape
---
-A hollowed solid is built from an initial solid and a set of faces on this solid,
-which are to be removed. The remaining faces of the solid become the walls of
-the hollowed solid, their thickness defined at the time of construction.
-
-
-
-
- Makes an offset shape (3d offsetting).
-makeOffsetShape(offset, tolerance, [inter=False, self_inter=False, offsetMode=0, join=0, fill=False]) -> Shape
---
-The function supports keyword arguments.
-
-* offset: distance to expand the shape by. Negative value will shrink the shape.
-
-* tolerance: precision of approximation.
-
-* inter: (parameter to OCC routine; not implemented)
-
-* self_inter: (parameter to OCC routine; not implemented)
-
-* offsetMode: 0 = skin; 1 = pipe; 2 = recto-verso
-
-* join: method of offsetting non-tangent joints. 0 = arcs, 1 = tangent, 2 =
-intersection
-
-* fill: if true, offsetting a shell is to yield a solid
-
-Returns: result of offsetting.
-
-
-
-
- Makes an offset shape (2d offsetting).
-makeOffset2D(offset, [join=0, fill=False, openResult=False, intersection=False]) -> Shape
---
-The function supports keyword arguments.
-Input shape (self) can be edge, wire, face, or a compound of those.
-
-* offset: distance to expand the shape by. Negative value will shrink the shape.
-
-* join: method of offsetting non-tangent joints. 0 = arcs, 1 = tangent, 2 = intersection
-
-* fill: if true, the output is a face filling the space covered by offset. If
-false, the output is a wire.
-
-* openResult: affects the way open wires are processed. If False, an open wire
-is made. If True, a closed wire is made from a double-sided offset, with rounds
-around open vertices.
-
-* intersection: affects the way compounds are processed. If False, all children
-are offset independently. If True, and children are edges/wires, the children
-are offset in a collective manner. If compounding is nested, collectiveness
-does not spread across compounds (only direct children of a compound are taken
-collectively).
-
-Returns: result of offsetting (wire or face or compound of those). Compounding
-structure follows that of source shape.
-
-
-
-
- Profile along the spine
-
-
-
-
- Make wire(s) using the edges of this shape
-makeWires([op=None])
---
-The function will sort any edges inside the current shape, and connect them
-into wire. If more than one wire is found, then it will make a compound out of
-all found wires.
-
-This function is element mapping aware. If the input shape has non-zero Tag,
-it will map any edge and vertex element name inside the input shape into the
-itself.
-
-op: an optional string to be appended when auto generates element mapping.
-
-
-
-
-
- Reverses the orientation of this shape.
-reverse()
-
-
-
-
-
- Reverses the orientation of a copy of this shape.
-reversed() -> Shape
-
-
-
-
-
- Computes the complement of the orientation of this shape,
-i.e. reverses the interior/exterior status of boundaries of this shape.
-complement()
-
-
-
-
-
- Destroys the reference to the underlying shape stored in this shape.
-As a result, this shape becomes null.
-nullify()
-
-
-
-
-
- Checks if the shape is closed.
-isClosed() -> bool
---
-If the shape is a shell it returns True if it has no free boundaries (edges).
-If the shape is a wire it returns True if it has no free ends (vertices).
-(Internal and External sub-shapes are ignored in these checks)
-If the shape is an edge it returns True if its vertices are the same.
-
-
-
-
-
- Checks if both shapes share the same geometry.
-Placement and orientation may differ.
-isPartner(shape) -> bool
-
-
-
-
-
- Checks if both shapes share the same geometry
-and placement. Orientation may differ.
-isSame(shape) -> bool
-
-
-
-
-
- Checks if both shapes are equal.
-This means geometry, placement and orientation are equal.
-isEqual(shape) -> bool
-
-
-
-
-
- Checks if the shape is null.
-isNull() -> bool
-
-
-
-
- Checks if the shape is valid, i.e. neither null, nor empty nor corrupted.
-isValid() -> bool
-
-
-
-
-
- Checks if this shape is coplanar with the given shape.
-isCoplanar(shape,tol=None) -> bool
-
-
-
-
-
- Checks if this shape has an infinite expansion.
-isInfinite() -> bool
-
-
-
-
-
- Returns a plane if the shape is planar
-findPlane(tol=None) -> Shape
-
-
-
-
-
- Tries to fix a broken shape.
-fix(working precision, minimum precision, maximum precision) -> bool
---
-True is returned if the operation succeeded, False otherwise.
-
-
-
-
-
- This value is computed from the value of the underlying shape reference and the location.
-hashCode() -> int
---
-Orientation is not taken into account.
-
-
-
-
- Tessellate the shape and return a list of vertices and face indices
-tessellate() -> (vertex,facets)
-
-
-
-
-
- Project a list of shapes on this shape
-project(shapeList) -> Shape
-
-
-
-
-
- Parallel projection of an edge or wire on this shape
-makeParallelProjection(shape, dir) -> Shape
-
-
-
-
-
- Perspective projection of an edge or wire on this shape
-makePerspectiveProjection(shape, pnt) -> Shape
-
-
-
-
-
- Build projection or reflect lines of a shape according to a view direction.
-reflectLines(ViewDir, [ViewPos, UpDir, EdgeType, Visible, OnShape]) -> Shape (Compound of edges)
---
-This algorithm computes the projection of the shape in the ViewDir direction.
-If OnShape is False(default), the returned edges are flat on the XY plane defined by
-ViewPos(origin) and UpDir(up direction).
-If OnShape is True, the returned edges are the corresponding 3D reflect lines located on the shape.
-EdgeType is a string defining the type of result edges :
-- IsoLine : isoparametric line
-- OutLine : outline (silhouette) edge
-- Rg1Line : smooth edge of G1-continuity between two surfaces
-- RgNLine : sewn edge of CN-continuity on one surface
-- Sharp : sharp edge (of C0-continuity)
-If Visible is True (default), only visible edges are returned.
-If Visible is False, only invisible edges are returned.
-
-
-
-
-
- Make a compound shape out of mesh data.
-makeShapeFromMesh((vertex,facets),tolerance) -> Shape
---
-Note: This should be used for rather small meshes only.
-
-
-
-
- Conversion of the complete geometry of a shape into NURBS geometry.
-toNurbs() -> Shape
---
-For example, all curves supporting edges of the basis shape are converted
-into B-spline curves, and all surfaces supporting its faces are converted
-into B-spline surfaces.
-
-
-
-
- Create a copy of this shape
-copy(copyGeom=True, copyMesh=False) -> Shape
---
-If copyMesh is True, triangulation contained in original shape will be
-copied along with geometry.
-If copyGeom is False, only topological objects will be copied, while
-geometry and triangulation will be shared with original shape.
-
-
-
-
-
- This creates a cleaned copy of the shape with the triangulation removed.
-clean()
---
-This can be useful to reduce file size when exporting as a BREP file.
-Warning: Use the cleaned shape with care because certain algorithms may work incorrectly
-if the shape has no internal triangulation any more.
-
-
-
-
-
- Replace a sub-shape with a new shape and return a new shape.
-replaceShape(tupleList) -> Shape
---
-The parameter is in the form list of tuples with the two shapes.
-
-
-
-
- Remove a sub-shape and return a new shape.
-removeShape(shapeList) -> Shape
---
-The parameter is a list of shapes.
-
-
-
-
- Remove a feature defined by supplied faces and return a new shape.
-defeaturing(shapeList) -> Shape
---
-The parameter is a list of faces.
-
-
-
-
- Checks whether a point is inside or outside the shape.
-isInside(point, tolerance, checkFace) => Boolean
---
-checkFace indicates if the point lying directly on a face is considered to be inside or not
-
-
-
-
-
- Removes redundant edges from the B-REP model
-removeSplitter() -> Shape
-
-
-
-
-
- Returns two lists of Face indexes for the Faces involved in the intersection.
-proximity(shape,[tolerance]) -> (selfFaces, shapeFaces)
-
-
-
-
-
- Find the minimum distance to another shape.
-distToShape(shape, tol=1e-7) -> (dist, vectors, infos)
---
-dist is the minimum distance, in mm (float value).
-
-vectors is a list of pairs of App.Vector. Each pair corresponds to solution.
-Example: [(App.Vector(2.0, -1.0, 2.0), App.Vector(2.0, 0.0, 2.0)),
-(App.Vector(2.0, -1.0, 2.0), App.Vector(2.0, -1.0, 3.0))]
-First vector is a point on self, second vector is a point on s.
-
-infos contains additional info on the solutions. It is a list of tuples:
-(topo1, index1, params1, topo2, index2, params2)
-
- topo1, topo2 are strings identifying type of BREP element: 'Vertex',
- 'Edge', or 'Face'.
-
- index1, index2 are indexes of the elements (zero-based).
-
- params1, params2 are parameters of internal space of the elements. For
- vertices, params is None. For edges, params is one float, u. For faces,
- params is a tuple (u,v).
-
-
-
-
-
-Returns a SubElement
-getElement(elementName, [silent = False]) -> Face | Edge | Vertex
-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.
-
-
-
-
-
- Returns the count of a type of element
-countElement(type) -> int
-
-
-
-
-
-
-mapSubElement(shape|[shape...], op='') - maps the sub element of other shape
-
-shape: other shape or sequence of shapes to map the sub-elements
-op: optional string prefix to append before the mapped sub element names
-
-
-
-
-
-
-mapShapes(generated, modified, op='')
-
-generate element names with user defined mapping
-
-generated: a list of tuple(src, dst) that indicating src shape or shapes
-generates dst shape or shapes. Note that the dst shape or shapes
-must be sub-shapes of this shape.
-modified: a list of tuple(src, dst) that indicating src shape or shapes
-modifies into dst shape or shapes. Note that the dst shape or
-shapes must be sub-shapes of this shape.
-op: optional string prefix to append before the mapped sub element names
-
-
-
-
-
-
-getElementHistory(name) - returns the element mapped name history
-
-name: mapped element name belonging to this shape
-
-Returns tuple(sourceShapeTag, sourceName, [intermediateNames...]),
-or None if no history.
-
-
-
-
-
- Determines a tolerance from the ones stored in a shape
-getTolerance(mode, ShapeType=Shape) -> float
---
-mode = 0 : returns the average value between sub-shapes,
-mode > 0 : returns the maximal found,
-mode < 0 : returns the minimal found.
-ShapeType defines what kinds of sub-shapes to consider:
-Shape (default) : all : Vertex, Edge, Face,
-Vertex : only vertices,
-Edge : only edges,
-Face : only faces,
-Shell : combined Shell + Face, for each face (and containing
- shell), also checks edge and Vertex
-
-
-
-
-
- Determines which shapes have a tolerance over the given value
-overTolerance(value, [ShapeType=Shape]) -> ShapeList
---
-ShapeType is interpreted as in the method getTolerance
-
-
-
-
-
- Determines which shapes have a tolerance within a given interval
-inTolerance(valmin, valmax, [ShapeType=Shape]) -> ShapeList
---
-ShapeType is interpreted as in the method getTolerance
-
-
-
-
-
- Returns the computed tolerance according to the mode
-globalTolerance(mode) -> float
---
-mode = 0 : average
-mode > 0 : maximal
-mode < 0 : minimal
-
-
-
-
-
- Sets (enforces) tolerances in a shape to the given value
-fixTolerance(value, [ShapeType=Shape])
---
-ShapeType = Vertex : only vertices are set
-ShapeType = Edge : only edges are set
-ShapeType = Face : only faces are set
-ShapeType = Wire : to have edges and their vertices set
-ShapeType = other value : all (vertices,edges,faces) are set
-
-
-
-
-
- Limits tolerances in a shape
-limitTolerance(tmin, [tmax=0, ShapeType=Shape]) -> bool
---
-tmin = tmax -> as fixTolerance (forces)
-tmin = 0 -> maximum tolerance will be tmax
-tmax = 0 or not given (more generally, tmax < tmin) ->
-tmax ignored, minimum will be tmin
-else, maximum will be max and minimum will be min
-ShapeType = Vertex : only vertices are set
-ShapeType = Edge : only edges are set
-ShapeType = Face : only faces are set
-ShapeType = Wire : to have edges and their vertices set
-ShapeType = other value : all (vertices,edges,faces) are set
-Returns True if at least one tolerance of the sub-shape has been modified
-
-
-
-
-
- Get the optimal bounding box
-optimalBoundingBox([useTriangulation = True, useShapeTolerance = False]) -> bound box
-
-
-
-
-
- Clear internal sub-shape cache
-
-
-
-
-
-findSubShape(shape) -> (type_name, index)
-
-Find sub shape and return the shape type name and index. If not found,
-then return (None, 0)
-
-
-
-
-
-
-findSubShapesWithSharedVertex(shape, needName=False, checkGeometry=True, tol=1e-7, atol=1e-12) -> Shape
-
-shape: input elementary shape, currently only support Face, Edge, or Vertex
-
-needName: if True, return a list of tuple(name, shape), or else return a list
-of shapes.
-
-checkGeometry: whether to compare geometry
-
-tol: distance tolerance
-
-atol: angular tolerance
-
-Search sub shape by checking vertex coordinates and comparing the underlying
-geometries, This can find shapes that are copied. It currently only works with
-elementary shapes, Face, Edge, Vertex.
-
-
-
-
-
-
-getChildShapes(shapetype, avoidtype='') -> list(Shape)
-
-Return a list of child sub-shapes of given type.
-
-shapetype: the type of requesting sub shapes
-avoidtype: optional shape type to skip when exploring
-
-
-
-
-
-
- Returns the type of the shape.
-
-
-
-
-
- Returns the orientation of the shape.
-
-
-
-
-
- List of faces in this shape.
-
-
-
-
-
- List of vertexes in this shape.
-
-
-
-
-
- List of subsequent shapes in this shape.
-
-
-
-
-
- List of subsequent shapes in this shape.
-
-
-
-
-
- List of subsequent shapes in this shape.
-
-
-
-
-
- List of Edges in this shape.
-
-
-
-
-
- List of wires in this shape.
-
-
-
-
-
- List of compounds in this shape.
-
-
-
-
-
- List of sub-shapes in this shape.
-
-
-
-
-
- Total length of the edges of the shape.
-
-
-
-
-
- Total area of the faces of the shape.
-
-
-
-
-
- Total volume of the solids of the shape.
-
-
-
-
-
diff --git a/src/Mod/Part/App/TopoShapeShellPy.xml b/src/Mod/Part/App/TopoShapeShellPy.xml
deleted file mode 100644
index a0b98fb134..0000000000
--- a/src/Mod/Part/App/TopoShapeShellPy.xml
+++ /dev/null
@@ -1,104 +0,0 @@
-
-
-
-
-
- Create a shell out of a list of faces
-
-
-
- Add a face to the shell.
-add(face)
-
-
-
-
-
- Get free edges as compound.
-getFreeEdges() -> compound
-
-
-
-
-
- Get bad edges as compound.
-getBadEdges() -> compound
-
-
-
-
-
- Make a half-space solid by this shell and a reference point.
-makeHalfSpace(point) -> Solid
-
-
-
-
-
- Returns the mass of the current system.
-
-
-
-
-
- Returns the center of mass of the current system.
-If the gravitational field is uniform, it is the center of gravity.
-The coordinates returned for the center of mass are expressed in the
-absolute Cartesian coordinate system.
-
-
-
-
-
- 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
-system (G, Gx, Gy, Gz) where G is the centre of mass of the
-system and Gx, Gy, Gz the directions parallel to the X(1,0,0)
-Y(0,1,0) Z(0,0,1) directions of the absolute cartesian
-coordinate system.
-
-
-
-
-
- Returns Ix, Iy, Iz, the static moments of inertia of the
-current system; i.e. the moments of inertia about the
-three axes of the Cartesian coordinate system.
-
-
-
-
-
- Computes the principal properties of inertia of the current system.
-There is always a set of axes for which the products
-of inertia of a geometric system are equal to 0; i.e. the
-matrix of inertia of the system is diagonal. These axes
-are the principal axes of inertia. Their origin is
-coincident with the center of mass of the system. The
-associated moments are called the principal moments of inertia.
-This function computes the eigen values and the
-eigen vectors of the matrix of inertia of the system.
-
-
-
-
-
diff --git a/src/Mod/Part/App/TopoShapeSolidPy.xml b/src/Mod/Part/App/TopoShapeSolidPy.xml
deleted file mode 100644
index 1f50ab51cf..0000000000
--- a/src/Mod/Part/App/TopoShapeSolidPy.xml
+++ /dev/null
@@ -1,112 +0,0 @@
-
-
-
-
-
- Part.Solid(shape): Create a solid out of shells of shape. If shape is a compsolid, the overall volume solid is created.
-
-
-
- Returns the mass of the current system.
-
-
-
-
-
- Returns the center of mass of the current system.
-If the gravitational field is uniform, it is the center of gravity.
-The coordinates returned for the center of mass are expressed in the
-absolute Cartesian coordinate system.
-
-
-
-
-
- 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
-system (G, Gx, Gy, Gz) where G is the centre of mass of the
-system and Gx, Gy, Gz the directions parallel to the X(1,0,0)
-Y(0,1,0) Z(0,0,1) directions of the absolute cartesian
-coordinate system.
-
-
-
-
-
- Returns Ix, Iy, Iz, the static moments of inertia of the
-current system; i.e. the moments of inertia about the
-three axes of the Cartesian coordinate system.
-
-
-
-
-
- Computes the principal properties of inertia of the current system.
-There is always a set of axes for which the products
-of inertia of a geometric system are equal to 0; i.e. the
-matrix of inertia of the system is diagonal. These axes
-are the principal axes of inertia. Their origin is
-coincident with the center of mass of the system. The
-associated moments are called the principal moments of inertia.
-This function computes the eigen values and the
-eigen vectors of the matrix of inertia of the system.
-
-
-
-
-
-
-Returns the outer most shell of this solid or an null
-shape if the solid has no shells
-
-
-
-
-
- computes the moment of inertia of the material system about the axis A.
-getMomentOfInertia(point,direction) -> Float
-
-
-
-
-
- Returns the radius of gyration of the current system about the axis A.
-getRadiusOfGyration(point,direction) -> Float
-
-
-
-
-
- Extrude single faces of the solid.
-offsetFaces(facesTuple, offset) -> Solid
-or
-offsetFaces(dict) -> Solid
---
-Example:
-solid.offsetFaces((solid.Faces[0],solid.Faces[1]), 1.5)
-
-solid.offsetFaces({solid.Faces[0]:1.0,solid.Faces[1]:2.0})
-
-
-
-
-
diff --git a/src/Mod/Part/App/TopoShapeVertexPy.xml b/src/Mod/Part/App/TopoShapeVertexPy.xml
deleted file mode 100644
index 4dad515505..0000000000
--- a/src/Mod/Part/App/TopoShapeVertexPy.xml
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
-
-
-
- TopoShapeVertex is the OpenCasCade topological vertex wrapper
-
-
-
- X component of this Vertex.
-
-
-
-
-
- Y component of this Vertex.
-
-
-
-
-
- Z component of this Vertex.
-
-
-
-
-
- Position of this Vertex as a Vector
-
-
-
-
-
- Set or get the tolerance of the vertex
-
-
-
-
-
diff --git a/src/Mod/Part/App/TopoShapeWirePy.xml b/src/Mod/Part/App/TopoShapeWirePy.xml
deleted file mode 100644
index f3de0a58c2..0000000000
--- a/src/Mod/Part/App/TopoShapeWirePy.xml
+++ /dev/null
@@ -1,192 +0,0 @@
-
-
-
-
-
- TopoShapeWire is the OpenCasCade topological wire wrapper
-
-
-
- Offset the shape by a given amount. DEPRECATED - use makeOffset2D instead.
-
-
-
-
- Add an edge to the wire
-add(edge)
-
-
-
-
-
- Fix wire
-fixWire([face, tolerance])
---
-A face and a tolerance can optionally be supplied to the algorithm:
-
-
-
-
-
- Make this and the given wire homogeneous to have the same number of edges
-makeHomogenousWires(wire) -> Wire
-
-
-
-
-
- Make a pipe by sweeping along a wire.
-makePipe(profile) -> Shape
-
-
-
-
-
- Make a loft defined by a list of profiles along a wire.
-makePipeShell(shapeList,[isSolid=False,isFrenet=False,transition=0]) -> Shape
---
-Transition can be 0 (default), 1 (right corners) or 2 (rounded corners).
-
-
-
-
-
- Profile along the spine
-
-
-
-
- Approximate B-Spline-curve from this wire
-approximate([Tol2d,Tol3d=1e-4,MaxSegments=10,MaxDegree=3]) -> BSpline
-
-
-
-
-
- Discretizes the wire and returns a list of points.
-discretize(kwargs) -> list
---
-The function accepts keywords as argument:
-discretize(Number=n) => gives a list of 'n' equidistant points
-discretize(QuasiNumber=n) => gives a list of 'n' quasi equidistant points (is faster than the method above)
-discretize(Distance=d) => gives a list of equidistant points with distance 'd'
-discretize(Deflection=d) => gives a list of points with a maximum deflection 'd' to the wire
-discretize(QuasiDeflection=d) => gives a list of points with a maximum deflection 'd' to the wire (faster)
-discretize(Angular=a,Curvature=c,[Minimum=m]) => gives a list of points with an angular deflection of 'a'
- and a curvature deflection of 'c'. Optionally a minimum number of points
- can be set which by default is set to 2.
-
-Optionally you can set the keywords 'First' and 'Last' to define a sub-range of the parameter range
-of the wire.
-
-If no keyword is given then it depends on whether the argument is an int or float.
-If it's an int then the behaviour is as if using the keyword 'Number', if it's float
-then the behaviour is as if using the keyword 'Distance'.
-
-Example:
-
-import Part
-V=App.Vector
-
-e1=Part.makeCircle(5,V(0,0,0),V(0,0,1),0,180)
-e2=Part.makeCircle(5,V(10,0,0),V(0,0,1),180,360)
-w=Part.Wire([e1,e2])
-
-p=w.discretize(Number=50)
-s=Part.Compound([Part.Vertex(i) for i in p])
-Part.show(s)
-
-
-p=w.discretize(Angular=0.09,Curvature=0.01,Minimum=100)
-s=Part.Compound([Part.Vertex(i) for i in p])
-Part.show(s)
-
-
-
-
-
- Returns the mass of the current system.
-
-
-
-
-
- Returns the center of mass of the current system.
-If the gravitational field is uniform, it is the center of gravity.
-The coordinates returned for the center of mass are expressed in the
-absolute Cartesian coordinate system.
-
-
-
-
-
- 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
-system (G, Gx, Gy, Gz) where G is the centre of mass of the
-system and Gx, Gy, Gz the directions parallel to the X(1,0,0)
-Y(0,1,0) Z(0,0,1) directions of the absolute cartesian
-coordinate system.
-
-
-
-
-
- Returns Ix, Iy, Iz, the static moments of inertia of the
-current system; i.e. the moments of inertia about the
-three axes of the Cartesian coordinate system.
-
-
-
-
-
- Computes the principal properties of inertia of the current system.
-There is always a set of axes for which the products
-of inertia of a geometric system are equal to 0; i.e. the
-matrix of inertia of the system is diagonal. These axes
-are the principal axes of inertia. Their origin is
-coincident with the center of mass of the system. The
-associated moments are called the principal moments of inertia.
-This function computes the eigen values and the
-eigen vectors of the matrix of inertia of the system.
-
-
-
-
-
- List of ordered edges in this shape.
-
-
-
-
-
- Returns the continuity
-
-
-
-
-
- List of ordered vertexes in this shape.
-
-
-
-
-
diff --git a/src/Mod/Part/App/ToroidPy.xml b/src/Mod/Part/App/ToroidPy.xml
deleted file mode 100644
index dd0aeb7e65..0000000000
--- a/src/Mod/Part/App/ToroidPy.xml
+++ /dev/null
@@ -1,55 +0,0 @@
-
-
-
-
-
- Describes a toroid in 3D space
-
-
-
- The major radius of the toroid.
-
-
-
-
-
- The minor radius of the toroid.
-
-
-
-
-
- Center of the toroid.
-
-
-
-
-
- The axis direction of the toroid
-
-
-
-
-
- Compute the area of the toroid.
-
-
-
-
-
- Compute the volume of the toroid.
-
-
-
-
-
diff --git a/src/Mod/Part/App/TrimmedCurvePy.xml b/src/Mod/Part/App/TrimmedCurvePy.xml
deleted file mode 100644
index c2032d91e6..0000000000
--- a/src/Mod/Part/App/TrimmedCurvePy.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
-
- The abstract class TrimmedCurve is the root class of all trimmed curve objects.
-
-
-
- Re-trims this curve to the provided parameter range ([Float=First, Float=Last])
-
-
-
-
diff --git a/src/Tools/bindings/templates/templateClassPyExport.py b/src/Tools/bindings/templates/templateClassPyExport.py
index 9c6f9d508e..8da3e7b33e 100644
--- a/src/Tools/bindings/templates/templateClassPyExport.py
+++ b/src/Tools/bindings/templates/templateClassPyExport.py
@@ -37,7 +37,13 @@ def compareFiles(file1, file2):
class TemplateClassPyExport(template.ModelTemplate):
# TODO: This is temporary, once all XML files are migrated, this can be removed.
def getPath(self, path):
- if self.is_python and not self.export.ModuleName in ["Base", "App", "Gui", "PartDesign"]:
+ if self.is_python and not self.export.ModuleName in [
+ "Base",
+ "App",
+ "Gui",
+ "Part",
+ "PartDesign",
+ ]:
root, ext = os.path.splitext(path)
return f"{root}_{ext}"
return path