From bea058d2806ee090dc231771c86a4e953cef685c Mon Sep 17 00:00:00 2001 From: Kim Kirwan Date: Tue, 9 Jul 2024 00:47:12 -0500 Subject: [PATCH] Repair XML Files - fixes #10730 In ../src/Mod/Part/App/Geom2d/ sixteen out of seventeen XML files needed repair as per the GitHub issue. Tabbing in those sixteen files set to 4-spaces no-tab-chars. Other minor changes as needed. --- src/Mod/Part/App/Geom2d/ArcOfCircle2dPy.xml | 56 ++++----- src/Mod/Part/App/Geom2d/ArcOfConic2dPy.xml | 88 ++++++------- src/Mod/Part/App/Geom2d/ArcOfEllipse2dPy.xml | 68 +++++----- .../Part/App/Geom2d/ArcOfHyperbola2dPy.xml | 68 +++++----- src/Mod/Part/App/Geom2d/ArcOfParabola2dPy.xml | 56 ++++----- src/Mod/Part/App/Geom2d/BSplineCurve2dPy.xml | 119 +++++++++--------- src/Mod/Part/App/Geom2d/BezierCurve2dPy.xml | 18 +-- src/Mod/Part/App/Geom2d/Circle2dPy.xml | 56 ++++----- src/Mod/Part/App/Geom2d/Conic2dPy.xml | 88 ++++++------- src/Mod/Part/App/Geom2d/Curve2dPy.xml | 77 +++++++----- src/Mod/Part/App/Geom2d/Ellipse2dPy.xml | 11 +- src/Mod/Part/App/Geom2d/Geometry2dPy.xml | 100 +++++++-------- src/Mod/Part/App/Geom2d/Hyperbola2dPy.xml | 4 +- src/Mod/Part/App/Geom2d/Line2dPy.xml | 70 +++++------ src/Mod/Part/App/Geom2d/Line2dSegmentPy.xml | 81 ++++++------ src/Mod/Part/App/Geom2d/Parabola2dPy.xml | 8 +- 16 files changed, 495 insertions(+), 473 deletions(-) diff --git a/src/Mod/Part/App/Geom2d/ArcOfCircle2dPy.xml b/src/Mod/Part/App/Geom2d/ArcOfCircle2dPy.xml index feb6257f82..670eaf5346 100644 --- a/src/Mod/Part/App/Geom2d/ArcOfCircle2dPy.xml +++ b/src/Mod/Part/App/Geom2d/ArcOfCircle2dPy.xml @@ -1,31 +1,31 @@ - - - - Describes a portion of a circle - - - - The radius of the circle. - - - - - - The internal circle representation - - - - + + + + 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 index 27c438d22c..aeceac6e0a 100644 --- a/src/Mod/Part/App/Geom2d/ArcOfConic2dPy.xml +++ b/src/Mod/Part/App/Geom2d/ArcOfConic2dPy.xml @@ -1,49 +1,49 @@ - - - - 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 - + + Describes an abstract arc of conic in 2d space. - - - - - The X axis direction of the circle - - - - - - The Y axis direction of the circle - - - - + + + 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 index 96692418eb..6a9773a683 100644 --- a/src/Mod/Part/App/Geom2d/ArcOfEllipse2dPy.xml +++ b/src/Mod/Part/App/Geom2d/ArcOfEllipse2dPy.xml @@ -1,37 +1,37 @@ - - - - Describes a portion of an ellipse - - - - The major radius of the ellipse. - - - - - - The minor radius of the ellipse. - - - - - - The internal ellipse representation - - - - + + + + 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 index 0b16e03fcf..25755bae6e 100644 --- a/src/Mod/Part/App/Geom2d/ArcOfHyperbola2dPy.xml +++ b/src/Mod/Part/App/Geom2d/ArcOfHyperbola2dPy.xml @@ -1,37 +1,37 @@ - - - - Describes a portion of an hyperbola - - - - The major radius of the hyperbola. - - - - - - The minor radius of the hyperbola. - - - - - - The internal hyperbola representation - - - - + + + + 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 index d45a81f7ee..9cb9d752a0 100644 --- a/src/Mod/Part/App/Geom2d/ArcOfParabola2dPy.xml +++ b/src/Mod/Part/App/Geom2d/ArcOfParabola2dPy.xml @@ -1,31 +1,31 @@ - - - - Describes a portion of a parabola - - - - The focal length of the parabola. - - - - - - The internal parabola representation - - - - + + + + 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 index 2a6a3e48f1..9901aacdbd 100644 --- a/src/Mod/Part/App/Geom2d/BSplineCurve2dPy.xml +++ b/src/Mod/Part/App/Geom2d/BSplineCurve2dPy.xml @@ -24,7 +24,7 @@ Returns the value of the maximum polynomial degree of any -B-Spline curve curve. This value is 25. + B-Spline curve curve. This value is 25. @@ -55,16 +55,16 @@ B-Spline curve curve. This value is 25. Returns the index in the knot array of the knot -corresponding to the first or last parameter -of this B-Spline curve. + 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. + corresponding to the first or last parameter + of this B-Spline curve. @@ -95,54 +95,56 @@ of this B-Spline curve. 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. + 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. + 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. + 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. + Raises multiplicity of knots by mult. - start, end: index range of knots to modify. + 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. + 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] + Inserts a set of knots values in the sequence of knots. - If u is an existing knot the multiplicity is increased by mult if bool_add is - True, otherwise increased to mult. + For each u = list_of_floats[i], mult = list_of_ints[i] - If u is not on the parameter range nothing is done. + If u is an existing knot the multiplicity is increased by mult if bool_add is + True, otherwise increased to mult. - If the multiplicity is negative or null nothing is done. The new multiplicity - is limited to the degree. + If u is not on the parameter range nothing is done. - The tolerance criterion for knots equality is the max of Epsilon(U) and ParametricTolerance. + 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. @@ -192,7 +194,7 @@ done if Degree is less than or equal to the current degree. Modifies this B-Spline curve by assigning P -to the pole of index Index in the poles table. + to the pole of index Index in the poles table. @@ -228,27 +230,27 @@ to the pole of index Index in the poles table. 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 + 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. + 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. + 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. + If this curve is already non-periodic, it is not modified. @@ -259,14 +261,14 @@ If this curve is already non-periodic, it is not modified. 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. + 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. + from the knots table of this B-Spline curve. @@ -353,28 +355,29 @@ from the knots table of this B-Spline curve. 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] + 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)] + 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()) + # 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 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()) + # 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()) diff --git a/src/Mod/Part/App/Geom2d/BezierCurve2dPy.xml b/src/Mod/Part/App/Geom2d/BezierCurve2dPy.xml index d18bb4f841..55869d5553 100644 --- a/src/Mod/Part/App/Geom2d/BezierCurve2dPy.xml +++ b/src/Mod/Part/App/Geom2d/BezierCurve2dPy.xml @@ -20,14 +20,14 @@ Returns the polynomial degree of this Bezier curve, -which is equal to the number of poles minus 1. + 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. + Bezier curve curve. This value is 25. @@ -68,8 +68,8 @@ Bezier curve curve. This value is 25. increase(Int=Degree) -Increases the degree of this Bezier curve to Degree. -As a result, the poles and weights tables are modified. + Increases the degree of this Bezier curve to Degree. + As a result, the poles and weights tables are modified. @@ -85,7 +85,7 @@ As a result, the poles and weights tables are modified. 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. + If this Bezier curve is rational, it can become non-rational. @@ -131,10 +131,10 @@ If this Bezier curve is rational, it can become non-rational. 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 + 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 index 66bb6176f5..11d6c8d525 100644 --- a/src/Mod/Part/App/Geom2d/Circle2dPy.xml +++ b/src/Mod/Part/App/Geom2d/Circle2dPy.xml @@ -1,19 +1,19 @@ - - - - Describes a circle in 3D space + + + + 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 @@ -29,18 +29,18 @@ Part.Geom2d.Circle2d(Center,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. - - - - + + + + + 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 index a02c16844e..f86e5f12ea 100644 --- a/src/Mod/Part/App/Geom2d/Conic2dPy.xml +++ b/src/Mod/Part/App/Geom2d/Conic2dPy.xml @@ -1,49 +1,49 @@ - - - - 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 - + + Describes an abstract conic in 2d space - - - - - The X axis direction of the circle - - - - - - The Y axis direction of the circle - - - - + + + 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 index 2594d2264f..33f5050ec1 100644 --- a/src/Mod/Part/App/Geom2d/Curve2dPy.xml +++ b/src/Mod/Part/App/Geom2d/Curve2dPy.xml @@ -27,23 +27,24 @@ - Discretizes the curve and returns a list of points. + +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(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. + 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. +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'. +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: @@ -57,19 +58,25 @@ 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) +Part.show(s) + - Computes the length of a curve -length([uMin,uMax,Tol]) -> Float + + 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 the + + Returns the parameter on the curve of a point at + the given distance from a starting parameter. + parameterAtDistance([abscissa, startingParameter]) -> Float + @@ -84,40 +91,54 @@ parameterAtDistance([abscissa, startingParameter]) -> Float the - Returns the parameter on the curve -of the nearest orthogonal projection of the point. + + 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 + + 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 + + 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 + + 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. + + 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 + + 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 + + Approximates a curve of any type to a B-Spline curve + approximateBSpline(Tolerance, MaxSegments, MaxDegree, [Order='C2']) -> B-Spline curve + diff --git a/src/Mod/Part/App/Geom2d/Ellipse2dPy.xml b/src/Mod/Part/App/Geom2d/Ellipse2dPy.xml index ee60019a0e..2412cdd68b 100644 --- a/src/Mod/Part/App/Geom2d/Ellipse2dPy.xml +++ b/src/Mod/Part/App/Geom2d/Ellipse2dPy.xml @@ -13,7 +13,8 @@ Constructor="true"> - Describes an ellipse in 2D space + + 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 @@ -52,17 +53,13 @@ - The first focus is on the positive side of the major axis of the ellipse; -the second focus is on the negative side. + The first focus is on the positive side of the major axis 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. - + 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 index 2526fca098..743b2f3c80 100644 --- a/src/Mod/Part/App/Geom2d/Geometry2dPy.xml +++ b/src/Mod/Part/App/Geom2d/Geometry2dPy.xml @@ -1,53 +1,53 @@ - - - - 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 - - - + + + + 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 index a8c60e0b63..24c8bfcf1e 100644 --- a/src/Mod/Part/App/Geom2d/Hyperbola2dPy.xml +++ b/src/Mod/Part/App/Geom2d/Hyperbola2dPy.xml @@ -53,7 +53,7 @@ The first focus is on the positive side of the major axis of the hyperbola; -the second focus is on the negative side. + the second focus is on the negative side. @@ -61,7 +61,7 @@ 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. + 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 index d210d14b46..90b5ac87f5 100644 --- a/src/Mod/Part/App/Geom2d/Line2dPy.xml +++ b/src/Mod/Part/App/Geom2d/Line2dPy.xml @@ -1,40 +1,40 @@ - - - - Describes an infinite line in 2D space -To create a line there are several ways: -Part.Geom2d.Line2d() - Creates a default line + + + + 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(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. - - - - + 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 index 55fa3f495c..b915ca80fc 100644 --- a/src/Mod/Part/App/Geom2d/Line2dSegmentPy.xml +++ b/src/Mod/Part/App/Geom2d/Line2dSegmentPy.xml @@ -1,45 +1,46 @@ - - - - Describes a line segment in 2D space -To create a line there are several ways: -Part.Geom2d.Line2dSegment() - Creates a default line + + + + Describes a line segment in 2D space. -Part.Geom2d.Line2dSegment(Line) - Creates a copy of the given line + To create a line there are several ways: + Part.Geom2d.Line2dSegment() + Creates a default 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. - - - - + 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/Parabola2dPy.xml b/src/Mod/Part/App/Geom2d/Parabola2dPy.xml index fe98c758fe..32cb935c06 100644 --- a/src/Mod/Part/App/Geom2d/Parabola2dPy.xml +++ b/src/Mod/Part/App/Geom2d/Parabola2dPy.xml @@ -18,22 +18,22 @@ The focal distance is the distance between -the apex and the focus of the parabola. + 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. + '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. + which is the distance between its focus + and its directrix. This distance is twice the focal length.