Part: format XML files

This commit is contained in:
wmayer
2023-10-28 22:45:15 +02:00
parent e66113aa44
commit 30723acfa5
28 changed files with 2465 additions and 2720 deletions

View File

@@ -1,210 +1,168 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Father="PyObjectBase"
Name="BRepOffsetAPI_MakePipeShellPy"
PythonName="Part.BRepOffsetAPI_MakePipeShell"
Twin="BRepOffsetAPI_MakePipeShell"
TwinPointer="BRepOffsetAPI_MakePipeShell"
Include="BRepOffsetAPI_MakePipeShell.hxx"
Namespace="Part"
FatherInclude="Base/PyObjectBase.h"
FatherNamespace="Base"
Constructor="true"
Delete="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer[at]users.sourceforge.net" />
<UserDocu>Describes a portion of a circle</UserDocu>
</Documentation>
<Methode Name="setFrenetMode">
<Documentation>
<UserDocu>
setFrenetMode(True|False)
Sets a Frenet or a CorrectedFrenet trihedron to perform the sweeping.
True = Frenet
False = CorrectedFrenet
</UserDocu>
</Documentation>
</Methode>
<Methode Name="setTrihedronMode">
<Documentation>
<UserDocu>
setTrihedronMode(point,direction)
Sets a fixed trihedron to perform the sweeping.
All sections will be parallel.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="setBiNormalMode">
<Documentation>
<UserDocu>
setBiNormalMode(direction)
Sets a fixed BiNormal direction to perform the sweeping.
Angular relations between the section(s) and the BiNormal direction will be constant.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="setSpineSupport">
<Documentation>
<UserDocu>
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.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="setAuxiliarySpine">
<Documentation>
<UserDocu>
setAuxiliarySpine(wire, CurvilinearEquivalence, TypeOfContact)
Sets an auxiliary spine to define the Normal.
<PythonExport
Name="BRepOffsetAPI_MakePipeShellPy"
Namespace="Part"
Twin="BRepOffsetAPI_MakePipeShell"
TwinPointer="BRepOffsetAPI_MakePipeShell"
PythonName="Part.BRepOffsetAPI_MakePipeShell"
FatherInclude="Base/PyObjectBase.h"
Include="BRepOffsetAPI_MakePipeShell.hxx"
Father="PyObjectBase"
FatherNamespace="Base"
Constructor="true"
Delete="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer[at]users.sourceforge.net"/>
<UserDocu>Describes a portion of a circle</UserDocu>
</Documentation>
<Methode Name="setFrenetMode">
<Documentation>
<UserDocu>setFrenetMode(True|False)
Sets a Frenet or a CorrectedFrenet trihedron to perform the sweeping.
True = Frenet
False = CorrectedFrenet</UserDocu>
</Documentation>
</Methode>
<Methode Name="setTrihedronMode">
<Documentation>
<UserDocu>setTrihedronMode(point,direction)
Sets a fixed trihedron to perform the sweeping.
All sections will be parallel.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setBiNormalMode">
<Documentation>
<UserDocu>setBiNormalMode(direction)
Sets a fixed BiNormal direction to perform the sweeping.
Angular relations between the section(s) and the BiNormal direction will be constant.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setSpineSupport">
<Documentation>
<UserDocu>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.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setAuxiliarySpine">
<Documentation>
<UserDocu>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.
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)
</UserDocu>
</Documentation>
</Methode>
<Methode Name="add" Keyword="true">
<Documentation>
<UserDocu>
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.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="remove">
<Documentation>
<UserDocu>
remove(shape Profile)
Removes the section Profile from this framework.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="isReady">
<Documentation>
<UserDocu>
isReady()
Returns true if this tool object is ready to build the shape.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="getStatus">
<Documentation>
<UserDocu>
getStatus()
Get a status, when Simulate or Build failed.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="makeSolid">
<Documentation>
<UserDocu>
makeSolid()
Transforms the sweeping Shell in Solid. If a propfile is not closed returns False.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="setTolerance">
<Documentation>
<UserDocu>
setTolerance( tol3d, boundTol, tolAngular)
Tol3d = 3D tolerance
BoundTol = boundary tolerance
TolAngular = angular tolerance
</UserDocu>
</Documentation>
</Methode>
<Methode Name="setTransitionMode">
<Documentation>
<UserDocu>
0: BRepBuilderAPI_Transformed
1: BRepBuilderAPI_RightCorner
2: BRepBuilderAPI_RoundCorner
</UserDocu>
</Documentation>
</Methode>
<Methode Name="firstShape">
<Documentation>
<UserDocu>
firstShape()
Returns the Shape of the bottom of the sweep.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="lastShape">
<Documentation>
<UserDocu>
lastShape()
Returns the Shape of the top of the sweep.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="build">
<Documentation>
<UserDocu>
build()
Builds the resulting shape.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="shape">
<Documentation>
<UserDocu>
shape()
Returns the resulting shape.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="generated">
<Documentation>
<UserDocu>
generated(shape S)
Returns a list of new shapes generated from the shape S by the shell-generating algorithm.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="setMaxDegree">
<Documentation>
<UserDocu>
setMaxDegree(int degree)
Define the maximum V degree of resulting surface.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="setMaxSegments">
<Documentation>
<UserDocu>
setMaxSegments(int num)
Define the maximum number of spans in V-direction on resulting surface.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="setForceApproxC1">
<Documentation>
<UserDocu>
setForceApproxC1(bool)
Set the flag that indicates attempt to approximate a C1-continuous surface if a swept surface proved to be C0.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="simulate">
<Documentation>
<UserDocu>
simulate(int nbsec)
Simulates the resulting shape by calculating the given number of cross-sections.
</UserDocu>
</Documentation>
</Methode>
</PythonExport>
* OCC &gt;= 6.7
TypeOfContact = long
0: No contact
1: Contact
2: Contact On Border (The auxiliary spine becomes a boundary of the swept surface)</UserDocu>
</Documentation>
</Methode>
<Methode Name="add" Keyword="true">
<Documentation>
<UserDocu>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.</UserDocu>
</Documentation>
</Methode>
<Methode Name="remove">
<Documentation>
<UserDocu>remove(shape Profile)
Removes the section Profile from this framework.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isReady">
<Documentation>
<UserDocu>isReady()
Returns true if this tool object is ready to build the shape.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getStatus">
<Documentation>
<UserDocu>getStatus()
Get a status, when Simulate or Build failed.</UserDocu>
</Documentation>
</Methode>
<Methode Name="makeSolid">
<Documentation>
<UserDocu>makeSolid()
Transforms the sweeping Shell in Solid. If a propfile is not closed returns False.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setTolerance">
<Documentation>
<UserDocu>setTolerance( tol3d, boundTol, tolAngular)
Tol3d = 3D tolerance
BoundTol = boundary tolerance
TolAngular = angular tolerance</UserDocu>
</Documentation>
</Methode>
<Methode Name="setTransitionMode">
<Documentation>
<UserDocu>0: BRepBuilderAPI_Transformed
1: BRepBuilderAPI_RightCorner
2: BRepBuilderAPI_RoundCorner</UserDocu>
</Documentation>
</Methode>
<Methode Name="firstShape">
<Documentation>
<UserDocu>firstShape()
Returns the Shape of the bottom of the sweep.</UserDocu>
</Documentation>
</Methode>
<Methode Name="lastShape">
<Documentation>
<UserDocu>lastShape()
Returns the Shape of the top of the sweep.</UserDocu>
</Documentation>
</Methode>
<Methode Name="build">
<Documentation>
<UserDocu>build()
Builds the resulting shape.</UserDocu>
</Documentation>
</Methode>
<Methode Name="shape">
<Documentation>
<UserDocu>shape()
Returns the resulting shape.</UserDocu>
</Documentation>
</Methode>
<Methode Name="generated">
<Documentation>
<UserDocu>generated(shape S)
Returns a list of new shapes generated from the shape S by the shell-generating algorithm.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setMaxDegree">
<Documentation>
<UserDocu>setMaxDegree(int degree)
Define the maximum V degree of resulting surface.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setMaxSegments">
<Documentation>
<UserDocu>setMaxSegments(int num)
Define the maximum number of spans in V-direction on resulting surface.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setForceApproxC1">
<Documentation>
<UserDocu>setForceApproxC1(bool)
Set the flag that indicates attempt to approximate a C1-continuous surface if a swept surface proved to be C0.</UserDocu>
</Documentation>
</Methode>
<Methode Name="simulate">
<Documentation>
<UserDocu>simulate(int nbsec)
Simulates the resulting shape by calculating the given number of cross-sections.</UserDocu>
</Documentation>
</Methode>
</PythonExport>
</GenerateModel>

View File

@@ -1,170 +1,165 @@
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Father="BoundedCurvePy"
Name="BezierCurvePy"
PythonName="Part.BezierCurve"
Twin="GeomBezierCurve"
TwinPointer="GeomBezierCurve"
Include="Mod/Part/App/Geometry.h"
Namespace="Part"
FatherInclude="Mod/Part/App/BoundedCurvePy.h"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
<UserDocu>
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()
</UserDocu>
</Documentation>
<Attribute Name="Degree" ReadOnly="true">
<Documentation>
<UserDocu>Returns the polynomial degree of this Bezier curve,
which is equal to the number of poles minus 1.</UserDocu>
</Documentation>
<Parameter Name="Degree" Type="Long"/>
</Attribute>
<Attribute Name="MaxDegree" ReadOnly="true">
<Documentation>
<UserDocu>Returns the value of the maximum polynomial degree of any
Bezier curve curve. This value is 25.</UserDocu>
</Documentation>
<Parameter Name="MaxDegree" Type="Long"/>
</Attribute>
<Attribute Name="NbPoles" ReadOnly="true">
<Documentation>
<UserDocu>Returns the number of poles of this Bezier curve.
</UserDocu>
</Documentation>
<Parameter Name="NbPoles" Type="Long"/>
</Attribute>
<Attribute Name="StartPoint" ReadOnly="true">
<Documentation>
<UserDocu>Returns the start point of this Bezier curve.</UserDocu>
</Documentation>
<Parameter Name="StartPoint" Type="Object"/>
</Attribute>
<Attribute Name="EndPoint" ReadOnly="true">
<Documentation>
<UserDocu>Returns the end point of this Bezier curve.</UserDocu>
</Documentation>
<Parameter Name="EndPoint" Type="Object"/>
</Attribute>
<Methode Name="isRational" Const="true">
<Documentation>
<UserDocu>Returns false if the weights of all the poles of this Bezier curve are equal.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isPeriodic" Const="true">
<Documentation>
<UserDocu>Returns false.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isClosed" Const="true">
<Documentation>
<UserDocu>Returns true if the distance between the start point and end point of
this Bezier curve is less than or equal to gp::Resolution().
</UserDocu>
</Documentation>
</Methode>
<Methode Name="increase">
<Documentation>
<UserDocu>increase(Int=Degree)
Increases the degree of this Bezier curve to Degree.
As a result, the poles and weights tables are modified.</UserDocu>
</Documentation>
</Methode>
<Methode Name="insertPoleAfter">
<Documentation>
<UserDocu>Inserts after the pole of index.</UserDocu>
</Documentation>
</Methode>
<Methode Name="insertPoleBefore">
<Documentation>
<UserDocu>Inserts before the pole of index.</UserDocu>
</Documentation>
</Methode>
<Methode Name="removePole">
<Documentation>
<UserDocu>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.</UserDocu>
</Documentation>
</Methode>
<Methode Name="segment">
<Documentation>
<UserDocu>Modifies this Bezier curve by segmenting it.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setPole">
<Documentation>
<UserDocu>Set a pole of the Bezier curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getPole" Const="true">
<Documentation>
<UserDocu>Get a pole of the Bezier curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getPoles" Const="true">
<Documentation>
<UserDocu>Get all poles of the Bezier curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setPoles">
<Documentation>
<UserDocu>Set the poles of the Bezier curve.
Takes a list of 3D Base.Vector objects.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setWeight">
<Documentation>
<UserDocu>(id, weight) Set a weight of the Bezier curve.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="getWeight" Const="true">
<Documentation>
<UserDocu>Get a weight of the Bezier curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getWeights" Const="true">
<Documentation>
<UserDocu>Get all weights of the Bezier curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getResolution" Const="true">
<Documentation>
<UserDocu>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| &lt; UTolerance =""==&gt; |f(t1)-f(t0)| &lt; Tolerance3D</UserDocu>
</Documentation>
</Methode>
<Methode Name="interpolate">
<Documentation>
<UserDocu>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])</UserDocu>
</Documentation>
</Methode>
</PythonExport>
</GenerateModel>
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Name="BezierCurvePy"
Namespace="Part"
Twin="GeomBezierCurve"
TwinPointer="GeomBezierCurve"
PythonName="Part.BezierCurve"
FatherInclude="Mod/Part/App/BoundedCurvePy.h"
Include="Mod/Part/App/Geometry.h"
Father="BoundedCurvePy"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net"/>
<UserDocu>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()</UserDocu>
</Documentation>
<Attribute Name="Degree" ReadOnly="true">
<Documentation>
<UserDocu>Returns the polynomial degree of this Bezier curve,
which is equal to the number of poles minus 1.</UserDocu>
</Documentation>
<Parameter Name="Degree" Type="Long"/>
</Attribute>
<Attribute Name="MaxDegree" ReadOnly="true">
<Documentation>
<UserDocu>Returns the value of the maximum polynomial degree of any
Bezier curve curve. This value is 25.</UserDocu>
</Documentation>
<Parameter Name="MaxDegree" Type="Long"/>
</Attribute>
<Attribute Name="NbPoles" ReadOnly="true">
<Documentation>
<UserDocu>Returns the number of poles of this Bezier curve.</UserDocu>
</Documentation>
<Parameter Name="NbPoles" Type="Long"/>
</Attribute>
<Attribute Name="StartPoint" ReadOnly="true">
<Documentation>
<UserDocu>Returns the start point of this Bezier curve.</UserDocu>
</Documentation>
<Parameter Name="StartPoint" Type="Object"/>
</Attribute>
<Attribute Name="EndPoint" ReadOnly="true">
<Documentation>
<UserDocu>Returns the end point of this Bezier curve.</UserDocu>
</Documentation>
<Parameter Name="EndPoint" Type="Object"/>
</Attribute>
<Methode Name="isRational" Const="true">
<Documentation>
<UserDocu>Returns false if the weights of all the poles of this Bezier curve are equal.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isPeriodic" Const="true">
<Documentation>
<UserDocu>Returns false.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isClosed" Const="true">
<Documentation>
<UserDocu>Returns true if the distance between the start point and end point of
this Bezier curve is less than or equal to gp::Resolution().</UserDocu>
</Documentation>
</Methode>
<Methode Name="increase">
<Documentation>
<UserDocu>increase(Int=Degree)
Increases the degree of this Bezier curve to Degree.
As a result, the poles and weights tables are modified.</UserDocu>
</Documentation>
</Methode>
<Methode Name="insertPoleAfter">
<Documentation>
<UserDocu>Inserts after the pole of index.</UserDocu>
</Documentation>
</Methode>
<Methode Name="insertPoleBefore">
<Documentation>
<UserDocu>Inserts before the pole of index.</UserDocu>
</Documentation>
</Methode>
<Methode Name="removePole">
<Documentation>
<UserDocu>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.</UserDocu>
</Documentation>
</Methode>
<Methode Name="segment">
<Documentation>
<UserDocu>Modifies this Bezier curve by segmenting it.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setPole">
<Documentation>
<UserDocu>Set a pole of the Bezier curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getPole" Const="true">
<Documentation>
<UserDocu>Get a pole of the Bezier curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getPoles" Const="true">
<Documentation>
<UserDocu>Get all poles of the Bezier curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setPoles">
<Documentation>
<UserDocu>Set the poles of the Bezier curve.
Takes a list of 3D Base.Vector objects.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setWeight">
<Documentation>
<UserDocu>(id, weight) Set a weight of the Bezier curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getWeight" Const="true">
<Documentation>
<UserDocu>Get a weight of the Bezier curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getWeights" Const="true">
<Documentation>
<UserDocu>Get all weights of the Bezier curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getResolution" Const="true">
<Documentation>
<UserDocu>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| &lt; UTolerance =&quot;&quot;==&gt; |f(t1)-f(t0)| &lt; Tolerance3D</UserDocu>
</Documentation>
</Methode>
<Methode Name="interpolate">
<Documentation>
<UserDocu>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])</UserDocu>
</Documentation>
</Methode>
</PythonExport>
</GenerateModel>

View File

@@ -1,312 +1,263 @@
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Father="GeometrySurfacePy"
Name="BezierSurfacePy"
PythonName="Part.BezierSurface"
Twin="GeomBezierSurface"
TwinPointer="GeomBezierSurface"
Include="Mod/Part/App/Geometry.h"
Namespace="Part"
FatherInclude="Mod/Part/App/GeometrySurfacePy.h"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
<UserDocu>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.
</UserDocu>
</Documentation>
<Attribute Name="UDegree" ReadOnly="true">
<Documentation>
<UserDocu>
Returns the polynomial degree in u direction of this Bezier surface,
which is equal to the number of poles minus 1.
</UserDocu>
</Documentation>
<Parameter Name="UDegree" Type="Long"/>
</Attribute>
<Attribute Name="VDegree" ReadOnly="true">
<Documentation>
<UserDocu>
Returns the polynomial degree in v direction of this Bezier surface,
which is equal to the number of poles minus 1.
</UserDocu>
</Documentation>
<Parameter Name="VDegree" Type="Long"/>
</Attribute>
<Attribute Name="MaxDegree" ReadOnly="true">
<Documentation>
<UserDocu>
Returns the value of the maximum polynomial degree of any
Bezier surface. This value is 25.
</UserDocu>
</Documentation>
<Parameter Name="MaxDegree" Type="Long"/>
</Attribute>
<Attribute Name="NbUPoles" ReadOnly="true">
<Documentation>
<UserDocu>
Returns the number of poles in u direction of this Bezier surface.
</UserDocu>
</Documentation>
<Parameter Name="NbUPoles" Type="Long"/>
</Attribute>
<Attribute Name="NbVPoles" ReadOnly="true">
<Documentation>
<UserDocu>
Returns the number of poles in v direction of this Bezier surface.
</UserDocu>
</Documentation>
<Parameter Name="NbVPoles" Type="Long"/>
</Attribute>
<Methode Name="bounds" Const="true">
<Documentation>
<UserDocu>
Returns the parametric bounds (U1, U2, V1, V2) of this Bezier surface.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="isURational" Const="true">
<Documentation>
<UserDocu>
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
</UserDocu>
</Documentation>
</Methode>
<Methode Name="isVRational" Const="true">
<Documentation>
<UserDocu>
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
</UserDocu>
</Documentation>
</Methode>
<Methode Name="isUPeriodic" Const="true">
<Documentation>
<UserDocu>Returns false.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isVPeriodic" Const="true">
<Documentation>
<UserDocu>Returns false.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isUClosed" Const="true">
<Documentation>
<UserDocu>
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.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="isVClosed" Const="true">
<Documentation>
<UserDocu>
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.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="increase">
<Documentation>
<UserDocu>
increase(Int=DegreeU,Int=DegreeV)
Increases the degree of this Bezier surface in the two
parametric directions.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="insertPoleColAfter">
<Documentation>
<UserDocu>
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.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="insertPoleRowAfter">
<Documentation>
<UserDocu>
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.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="insertPoleColBefore">
<Documentation>
<UserDocu>
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.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="insertPoleRowBefore">
<Documentation>
<UserDocu>
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.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="removePoleCol">
<Documentation>
<UserDocu>
removePoleRow(int=VIndex)
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.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="removePoleRow">
<Documentation>
<UserDocu>
removePoleRow(int=UIndex)
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.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="segment">
<Documentation>
<UserDocu>
segment(double=U1,double=U2,double=V1,double=V2)
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.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="setPole">
<Documentation>
<UserDocu>Set a pole of the Bezier surface.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setPoleCol">
<Documentation>
<UserDocu>Set the column of poles of the Bezier surface.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setPoleRow">
<Documentation>
<UserDocu>Set the row of poles of the Bezier surface.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getPole" Const="true">
<Documentation>
<UserDocu>Get a pole of index (UIndex,VIndex) of the Bezier surface.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getPoles" Const="true">
<Documentation>
<UserDocu>Get all poles of the Bezier surface.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setWeight">
<Documentation>
<UserDocu>
Set the weight of pole of the index (UIndex, VIndex)
for the Bezier surface.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="setWeightCol">
<Documentation>
<UserDocu>
Set the weights of the poles in the column of poles
of index VIndex of the Bezier surface.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="setWeightRow">
<Documentation>
<UserDocu>
Set the weights of the poles in the row of poles
of index UIndex of the Bezier surface.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="getWeight" Const="true">
<Documentation>
<UserDocu>
Get a weight of the pole of index (UIndex,VIndex)
of the Bezier surface.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="getWeights" Const="true">
<Documentation>
<UserDocu>Get all weights of the Bezier surface.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getResolution" Const="true">
<Documentation>
<UserDocu>
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| &lt; UTolerance
|v1 - v0| &lt; VTolerance
====&gt; ||f(u1, v1) - f(u2, v2)|| &lt; Tolerance3D
</UserDocu>
</Documentation>
</Methode>
<Methode Name="exchangeUV">
<Documentation>
<UserDocu>
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.
</UserDocu>
</Documentation>
</Methode>
</PythonExport>
</GenerateModel>
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Name="BezierSurfacePy"
Namespace="Part"
Twin="GeomBezierSurface"
TwinPointer="GeomBezierSurface"
PythonName="Part.BezierSurface"
FatherInclude="Mod/Part/App/GeometrySurfacePy.h"
Include="Mod/Part/App/Geometry.h"
Father="GeometrySurfacePy"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net"/>
<UserDocu>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.</UserDocu>
</Documentation>
<Attribute Name="UDegree" ReadOnly="true">
<Documentation>
<UserDocu>Returns the polynomial degree in u direction of this Bezier surface,
which is equal to the number of poles minus 1.</UserDocu>
</Documentation>
<Parameter Name="UDegree" Type="Long"/>
</Attribute>
<Attribute Name="VDegree" ReadOnly="true">
<Documentation>
<UserDocu>Returns the polynomial degree in v direction of this Bezier surface,
which is equal to the number of poles minus 1.</UserDocu>
</Documentation>
<Parameter Name="VDegree" Type="Long"/>
</Attribute>
<Attribute Name="MaxDegree" ReadOnly="true">
<Documentation>
<UserDocu>Returns the value of the maximum polynomial degree of any
Bezier surface. This value is 25.</UserDocu>
</Documentation>
<Parameter Name="MaxDegree" Type="Long"/>
</Attribute>
<Attribute Name="NbUPoles" ReadOnly="true">
<Documentation>
<UserDocu>Returns the number of poles in u direction of this Bezier surface.</UserDocu>
</Documentation>
<Parameter Name="NbUPoles" Type="Long"/>
</Attribute>
<Attribute Name="NbVPoles" ReadOnly="true">
<Documentation>
<UserDocu>Returns the number of poles in v direction of this Bezier surface.</UserDocu>
</Documentation>
<Parameter Name="NbVPoles" Type="Long"/>
</Attribute>
<Methode Name="bounds" Const="true">
<Documentation>
<UserDocu>Returns the parametric bounds (U1, U2, V1, V2) of this Bezier surface.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isURational" Const="true">
<Documentation>
<UserDocu>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</UserDocu>
</Documentation>
</Methode>
<Methode Name="isVRational" Const="true">
<Documentation>
<UserDocu>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</UserDocu>
</Documentation>
</Methode>
<Methode Name="isUPeriodic" Const="true">
<Documentation>
<UserDocu>Returns false.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isVPeriodic" Const="true">
<Documentation>
<UserDocu>Returns false.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isUClosed" Const="true">
<Documentation>
<UserDocu>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.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isVClosed" Const="true">
<Documentation>
<UserDocu>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.</UserDocu>
</Documentation>
</Methode>
<Methode Name="increase">
<Documentation>
<UserDocu>increase(Int=DegreeU,Int=DegreeV)
Increases the degree of this Bezier surface in the two
parametric directions.</UserDocu>
</Documentation>
</Methode>
<Methode Name="insertPoleColAfter">
<Documentation>
<UserDocu>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.</UserDocu>
</Documentation>
</Methode>
<Methode Name="insertPoleRowAfter">
<Documentation>
<UserDocu>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.</UserDocu>
</Documentation>
</Methode>
<Methode Name="insertPoleColBefore">
<Documentation>
<UserDocu>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.</UserDocu>
</Documentation>
</Methode>
<Methode Name="insertPoleRowBefore">
<Documentation>
<UserDocu>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.</UserDocu>
</Documentation>
</Methode>
<Methode Name="removePoleCol">
<Documentation>
<UserDocu>removePoleRow(int=VIndex)
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.</UserDocu>
</Documentation>
</Methode>
<Methode Name="removePoleRow">
<Documentation>
<UserDocu>removePoleRow(int=UIndex)
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.</UserDocu>
</Documentation>
</Methode>
<Methode Name="segment">
<Documentation>
<UserDocu>segment(double=U1,double=U2,double=V1,double=V2)
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.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setPole">
<Documentation>
<UserDocu>Set a pole of the Bezier surface.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setPoleCol">
<Documentation>
<UserDocu>Set the column of poles of the Bezier surface.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setPoleRow">
<Documentation>
<UserDocu>Set the row of poles of the Bezier surface.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getPole" Const="true">
<Documentation>
<UserDocu>Get a pole of index (UIndex,VIndex) of the Bezier surface.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getPoles" Const="true">
<Documentation>
<UserDocu>Get all poles of the Bezier surface.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setWeight">
<Documentation>
<UserDocu>Set the weight of pole of the index (UIndex, VIndex)
for the Bezier surface.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setWeightCol">
<Documentation>
<UserDocu>Set the weights of the poles in the column of poles
of index VIndex of the Bezier surface.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setWeightRow">
<Documentation>
<UserDocu>Set the weights of the poles in the row of poles
of index UIndex of the Bezier surface.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getWeight" Const="true">
<Documentation>
<UserDocu>Get a weight of the pole of index (UIndex,VIndex)
of the Bezier surface.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getWeights" Const="true">
<Documentation>
<UserDocu>Get all weights of the Bezier surface.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getResolution" Const="true">
<Documentation>
<UserDocu>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| &lt; UTolerance
|v1 - v0| &lt; VTolerance
====&gt; ||f(u1, v1) - f(u2, v2)|| &lt; Tolerance3D</UserDocu>
</Documentation>
</Methode>
<Methode Name="exchangeUV">
<Documentation>
<UserDocu>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.</UserDocu>
</Documentation>
</Methode>
</PythonExport>
</GenerateModel>

View File

@@ -1,37 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Father="GeometryCurvePy"
Name="BoundedCurvePy"
PythonName="Part.BoundedCurve"
Twin="GeomBoundedCurve"
TwinPointer="GeomBoundedCurve"
Include="Mod/Part/App/Geometry.h"
Namespace="Part"
FatherInclude="Mod/Part/App/GeometryCurvePy.h"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Abdullah Tahiri" EMail="abdullah.tahiri.yo@gmail.com" />
<UserDocu>
The abstract class BoundedCurve is the root class of all bounded curve objects.
</UserDocu>
</Documentation>
<Attribute Name="StartPoint" ReadOnly="true">
<Documentation>
<UserDocu>
Returns the starting point of the bounded curve.
</UserDocu>
</Documentation>
<Parameter Name="StartPoint" Type="Object"/>
</Attribute>
<Attribute Name="EndPoint" ReadOnly="true">
<Documentation>
<UserDocu>
Returns the end point of the bounded curve.
</UserDocu>
</Documentation>
<Parameter Name="EndPoint" Type="Object"/>
</Attribute>
</PythonExport>
</GenerateModel>
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Name="BoundedCurvePy"
Namespace="Part"
Twin="GeomBoundedCurve"
TwinPointer="GeomBoundedCurve"
PythonName="Part.BoundedCurve"
FatherInclude="Mod/Part/App/GeometryCurvePy.h"
Include="Mod/Part/App/Geometry.h"
Father="GeometryCurvePy"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Abdullah Tahiri" EMail="abdullah.tahiri.yo@gmail.com"/>
<UserDocu>The abstract class BoundedCurve is the root class of all bounded curve objects.</UserDocu>
</Documentation>
<Attribute Name="StartPoint" ReadOnly="true">
<Documentation>
<UserDocu>Returns the starting point of the bounded curve.</UserDocu>
</Documentation>
<Parameter Name="StartPoint" Type="Object"/>
</Attribute>
<Attribute Name="EndPoint" ReadOnly="true">
<Documentation>
<UserDocu>Returns the end point of the bounded curve.</UserDocu>
</Documentation>
<Parameter Name="EndPoint" Type="Object"/>
</Attribute>
</PythonExport>
</GenerateModel>

View File

@@ -1,75 +1,74 @@
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Father="GeometrySurfacePy"
Name="ConePy"
PythonName="Part.Cone"
Twin="GeomCone"
TwinPointer="GeomCone"
Include="Mod/Part/App/Geometry.h"
Namespace="Part"
FatherInclude="Mod/Part/App/GeometrySurfacePy.h"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
<UserDocu>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.
</UserDocu>
</Documentation>
<Attribute Name="Apex" ReadOnly="true">
<Documentation>
<UserDocu>Compute the apex of the cone.</UserDocu>
</Documentation>
<Parameter Name="Apex" Type="Object"/>
</Attribute>
<Attribute Name="Radius" ReadOnly="false">
<Documentation>
<UserDocu>The radius of the cone.</UserDocu>
</Documentation>
<Parameter Name="Radius" Type="Float"/>
</Attribute>
<Attribute Name="SemiAngle" ReadOnly="false">
<Documentation>
<UserDocu>The semi-angle of the cone.</UserDocu>
</Documentation>
<Parameter Name="SemiAngle" Type="Float"/>
</Attribute>
<Attribute Name="Center" ReadOnly="false">
<Documentation>
<UserDocu>Center of the cone.</UserDocu>
</Documentation>
<Parameter Name="Center" Type="Object"/>
</Attribute>
<Attribute Name="Axis" ReadOnly="false">
<Documentation>
<UserDocu>The axis direction of the cone</UserDocu>
</Documentation>
<Parameter Name="Axis" Type="Object"/>
</Attribute>
</PythonExport>
</GenerateModel>
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Name="ConePy"
Namespace="Part"
Twin="GeomCone"
TwinPointer="GeomCone"
PythonName="Part.Cone"
FatherInclude="Mod/Part/App/GeometrySurfacePy.h"
Include="Mod/Part/App/Geometry.h"
Father="GeometrySurfacePy"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net"/>
<UserDocu>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.</UserDocu>
</Documentation>
<Attribute Name="Apex" ReadOnly="true">
<Documentation>
<UserDocu>Compute the apex of the cone.</UserDocu>
</Documentation>
<Parameter Name="Apex" Type="Object"/>
</Attribute>
<Attribute Name="Radius" ReadOnly="false">
<Documentation>
<UserDocu>The radius of the cone.</UserDocu>
</Documentation>
<Parameter Name="Radius" Type="Float"/>
</Attribute>
<Attribute Name="SemiAngle" ReadOnly="false">
<Documentation>
<UserDocu>The semi-angle of the cone.</UserDocu>
</Documentation>
<Parameter Name="SemiAngle" Type="Float"/>
</Attribute>
<Attribute Name="Center" ReadOnly="false">
<Documentation>
<UserDocu>Center of the cone.</UserDocu>
</Documentation>
<Parameter Name="Center" Type="Object"/>
</Attribute>
<Attribute Name="Axis" ReadOnly="false">
<Documentation>
<UserDocu>The axis direction of the cone</UserDocu>
</Documentation>
<Parameter Name="Axis" Type="Object"/>
</Attribute>
</PythonExport>
</GenerateModel>

View File

@@ -1,53 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Father="GeometrySurfacePy"
Name="CylinderPy"
PythonName="Part.Cylinder"
Twin="GeomCylinder"
TwinPointer="GeomCylinder"
Include="Mod/Part/App/Geometry.h"
Namespace="Part"
FatherInclude="Mod/Part/App/GeometrySurfacePy.h"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
<UserDocu>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
</UserDocu>
</Documentation>
<Attribute Name="Radius" ReadOnly="false">
<Documentation>
<UserDocu>The radius of the cylinder.</UserDocu>
</Documentation>
<Parameter Name="Radius" Type="Float"/>
</Attribute>
<Attribute Name="Center" ReadOnly="false">
<Documentation>
<UserDocu>Center of the cylinder.</UserDocu>
</Documentation>
<Parameter Name="Center" Type="Object"/>
</Attribute>
<Attribute Name="Axis" ReadOnly="false">
<Documentation>
<UserDocu>The axis direction of the cylinder</UserDocu>
</Documentation>
<Parameter Name="Axis" Type="Object"/>
</Attribute>
</PythonExport>
</GenerateModel>
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Name="CylinderPy"
Namespace="Part"
Twin="GeomCylinder"
TwinPointer="GeomCylinder"
PythonName="Part.Cylinder"
FatherInclude="Mod/Part/App/GeometrySurfacePy.h"
Include="Mod/Part/App/Geometry.h"
Father="GeometrySurfacePy"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net"/>
<UserDocu>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</UserDocu>
</Documentation>
<Attribute Name="Radius" ReadOnly="false">
<Documentation>
<UserDocu>The radius of the cylinder.</UserDocu>
</Documentation>
<Parameter Name="Radius" Type="Float"/>
</Attribute>
<Attribute Name="Center" ReadOnly="false">
<Documentation>
<UserDocu>Center of the cylinder.</UserDocu>
</Documentation>
<Parameter Name="Center" Type="Object"/>
</Attribute>
<Attribute Name="Axis" ReadOnly="false">
<Documentation>
<UserDocu>The axis direction of the cylinder</UserDocu>
</Documentation>
<Parameter Name="Axis" Type="Object"/>
</Attribute>
</PythonExport>
</GenerateModel>

View File

@@ -1,74 +1,72 @@
<?xml version="1.0" encoding="utf-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Father="ConicPy"
Name="EllipsePy"
PythonName="Part.Ellipse"
Twin="GeomEllipse"
TwinPointer="GeomEllipse"
Include="Mod/Part/App/Geometry.h"
Namespace="Part"
FatherInclude="Mod/Part/App/ConicPy.h"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
<UserDocu>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)
</UserDocu>
</Documentation>
<Attribute Name="MajorRadius" ReadOnly="false">
<Documentation>
<UserDocu>The major radius of the ellipse.</UserDocu>
</Documentation>
<Parameter Name="MajorRadius" Type="Float"/>
</Attribute>
<Attribute Name="MinorRadius" ReadOnly="false">
<Documentation>
<UserDocu>The minor radius of the ellipse.</UserDocu>
</Documentation>
<Parameter Name="MinorRadius" Type="Float"/>
</Attribute>
<Attribute Name="Focal" ReadOnly="true">
<Documentation>
<UserDocu>The focal distance of the ellipse.</UserDocu>
</Documentation>
<Parameter Name="Focal" Type="Float"/>
</Attribute>
<Attribute Name="Focus1" ReadOnly="true">
<Documentation>
<UserDocu>The first focus is on the positive side of the major axis of the ellipse;
the second focus is on the negative side.</UserDocu>
</Documentation>
<Parameter Name="Focus1" Type="Object"/>
</Attribute>
<Attribute Name="Focus2" ReadOnly="true">
<Documentation>
<Documentation>
<UserDocu>The first focus is on the positive side of the major axis of the ellipse;
the second focus is on the negative side.
</UserDocu>
</Documentation>
</Documentation>
<Parameter Name="Focus2" Type="Object"/>
</Attribute>
</PythonExport>
</GenerateModel>
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Name="EllipsePy"
Namespace="Part"
Twin="GeomEllipse"
TwinPointer="GeomEllipse"
PythonName="Part.Ellipse"
FatherInclude="Mod/Part/App/ConicPy.h"
Include="Mod/Part/App/Geometry.h"
Father="ConicPy"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net"/>
<UserDocu>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)</UserDocu>
</Documentation>
<Attribute Name="MajorRadius" ReadOnly="false">
<Documentation>
<UserDocu>The major radius of the ellipse.</UserDocu>
</Documentation>
<Parameter Name="MajorRadius" Type="Float"/>
</Attribute>
<Attribute Name="MinorRadius" ReadOnly="false">
<Documentation>
<UserDocu>The minor radius of the ellipse.</UserDocu>
</Documentation>
<Parameter Name="MinorRadius" Type="Float"/>
</Attribute>
<Attribute Name="Focal" ReadOnly="true">
<Documentation>
<UserDocu>The focal distance of the ellipse.</UserDocu>
</Documentation>
<Parameter Name="Focal" Type="Float"/>
</Attribute>
<Attribute Name="Focus1" ReadOnly="true">
<Documentation>
<UserDocu>The first focus is on the positive side of the major axis of the ellipse;
the second focus is on the negative side.</UserDocu>
</Documentation>
<Parameter Name="Focus1" Type="Object"/>
</Attribute>
<Attribute Name="Focus2" ReadOnly="true">
<Documentation>
<Documentation>
<UserDocu>The first focus is on the positive side of the major axis of the ellipse;
the second focus is on the negative side.</UserDocu>
</Documentation>
</Documentation>
<Parameter Name="Focus2" Type="Object"/>
</Attribute>
</PythonExport>
</GenerateModel>

View File

@@ -1,444 +1,408 @@
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Father="Curve2dPy"
<PythonExport
Name="BSplineCurve2dPy"
PythonName="Part.Geom2d.BSplineCurve2d"
Namespace="Part"
Twin="Geom2dBSplineCurve"
TwinPointer="Geom2dBSplineCurve"
Include="Mod/Part/App/Geometry2d.h"
Namespace="Part"
PythonName="Part.Geom2d.BSplineCurve2d"
FatherInclude="Mod/Part/App/Geom2d/Curve2dPy.h"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
<UserDocu>Describes a B-Spline curve in 3D space</UserDocu>
</Documentation>
<Attribute Name="Degree" ReadOnly="true">
<Documentation>
<UserDocu>Returns the polynomial degree of this B-Spline curve.</UserDocu>
</Documentation>
<Parameter Name="Degree" Type="Long"/>
</Attribute>
<Attribute Name="MaxDegree" ReadOnly="true">
<Documentation>
<UserDocu>Returns the value of the maximum polynomial degree of any
Include="Mod/Part/App/Geometry2d.h"
Father="Curve2dPy"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net"/>
<UserDocu>Describes a B-Spline curve in 3D space</UserDocu>
</Documentation>
<Attribute Name="Degree" ReadOnly="true">
<Documentation>
<UserDocu>Returns the polynomial degree of this B-Spline curve.</UserDocu>
</Documentation>
<Parameter Name="Degree" Type="Long"/>
</Attribute>
<Attribute Name="MaxDegree" ReadOnly="true">
<Documentation>
<UserDocu>Returns the value of the maximum polynomial degree of any
B-Spline curve curve. This value is 25.</UserDocu>
</Documentation>
<Parameter Name="MaxDegree" Type="Long"/>
</Attribute>
<Attribute Name="NbPoles" ReadOnly="true">
<Documentation>
<UserDocu>Returns the number of poles of this B-Spline curve.
</UserDocu>
</Documentation>
<Parameter Name="NbPoles" Type="Long"/>
</Attribute>
<Attribute Name="NbKnots" ReadOnly="true">
<Documentation>
<UserDocu>
Returns the number of knots of this B-Spline curve.
</UserDocu>
</Documentation>
<Parameter Name="NbPoles" Type="Long"/>
</Attribute>
<Attribute Name="StartPoint" ReadOnly="true">
<Documentation>
<UserDocu>Returns the start point of this B-Spline curve.</UserDocu>
</Documentation>
<Parameter Name="StartPoint" Type="Object"/>
</Attribute>
<Attribute Name="EndPoint" ReadOnly="true">
<Documentation>
<UserDocu>Returns the end point of this B-Spline curve.</UserDocu>
</Documentation>
<Parameter Name="EndPoint" Type="Object"/>
</Attribute>
<Attribute Name="FirstUKnotIndex" ReadOnly="true">
<Documentation>
<UserDocu>Returns the index in the knot array of the knot
</Documentation>
<Parameter Name="MaxDegree" Type="Long"/>
</Attribute>
<Attribute Name="NbPoles" ReadOnly="true">
<Documentation>
<UserDocu>Returns the number of poles of this B-Spline curve.</UserDocu>
</Documentation>
<Parameter Name="NbPoles" Type="Long"/>
</Attribute>
<Attribute Name="NbKnots" ReadOnly="true">
<Documentation>
<UserDocu>Returns the number of knots of this B-Spline curve.</UserDocu>
</Documentation>
<Parameter Name="NbPoles" Type="Long"/>
</Attribute>
<Attribute Name="StartPoint" ReadOnly="true">
<Documentation>
<UserDocu>Returns the start point of this B-Spline curve.</UserDocu>
</Documentation>
<Parameter Name="StartPoint" Type="Object"/>
</Attribute>
<Attribute Name="EndPoint" ReadOnly="true">
<Documentation>
<UserDocu>Returns the end point of this B-Spline curve.</UserDocu>
</Documentation>
<Parameter Name="EndPoint" Type="Object"/>
</Attribute>
<Attribute Name="FirstUKnotIndex" ReadOnly="true">
<Documentation>
<UserDocu>Returns the index in the knot array of the knot
corresponding to the first or last parameter
of this B-Spline curve.</UserDocu>
</Documentation>
<Parameter Name="FirstUKnotIndex" Type="Object"/>
</Attribute>
<Attribute Name="LastUKnotIndex" ReadOnly="true">
<Documentation>
<UserDocu>Returns the index in the knot array of the knot
</Documentation>
<Parameter Name="FirstUKnotIndex" Type="Object"/>
</Attribute>
<Attribute Name="LastUKnotIndex" ReadOnly="true">
<Documentation>
<UserDocu>Returns the index in the knot array of the knot
corresponding to the first or last parameter
of this B-Spline curve.</UserDocu>
</Documentation>
<Parameter Name="LastUKnotIndex" Type="Object"/>
</Attribute>
<Attribute Name="KnotSequence" ReadOnly="true">
<Documentation>
<UserDocu>Returns the knots sequence of this B-Spline curve.</UserDocu>
</Documentation>
<Parameter Name="KnotSequence" Type="List"/>
</Attribute>
<Methode Name="isRational">
<Documentation>
<UserDocu>
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.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="isPeriodic">
<Documentation>
<UserDocu>Returns true if this BSpline curve is periodic.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isClosed">
<Documentation>
<UserDocu>
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().
</UserDocu>
</Documentation>
</Methode>
<Methode Name="increaseDegree">
<Documentation>
<UserDocu>increase(Int=Degree)
</Documentation>
<Parameter Name="LastUKnotIndex" Type="Object"/>
</Attribute>
<Attribute Name="KnotSequence" ReadOnly="true">
<Documentation>
<UserDocu>Returns the knots sequence of this B-Spline curve.</UserDocu>
</Documentation>
<Parameter Name="KnotSequence" Type="List"/>
</Attribute>
<Methode Name="isRational">
<Documentation>
<UserDocu>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.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isPeriodic">
<Documentation>
<UserDocu>Returns true if this BSpline curve is periodic.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isClosed">
<Documentation>
<UserDocu>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().</UserDocu>
</Documentation>
</Methode>
<Methode Name="increaseDegree">
<Documentation>
<UserDocu>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.</UserDocu>
</Documentation>
</Methode>
<Methode Name="increaseMultiplicity">
<Documentation>
<UserDocu>
increaseMultiplicity(int index, int mult)
increaseMultiplicity(int start, int end, int mult)
Increases multiplicity of knots up to mult.
</Documentation>
</Methode>
<Methode Name="increaseMultiplicity">
<Documentation>
<UserDocu>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.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="incrementMultiplicity">
<Documentation>
<UserDocu>
incrementMultiplicity(int start, int end, int mult)
Raises multiplicity of knots by 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.</UserDocu>
</Documentation>
</Methode>
<Methode Name="incrementMultiplicity">
<Documentation>
<UserDocu>incrementMultiplicity(int start, int end, int mult)
Raises multiplicity of knots by mult.
start, end: index range of knots to modify.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="insertKnot">
<Documentation>
<UserDocu>
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. </UserDocu>
</Documentation>
</Methode>
<Methode Name="insertKnots">
<Documentation>
<UserDocu>
insertKnots(list_of_floats, list_of_ints, tol = 0.0, bool_add = True)
Inserts a set of knots values in the sequence of knots.
start, end: index range of knots to modify.</UserDocu>
</Documentation>
</Methode>
<Methode Name="insertKnot">
<Documentation>
<UserDocu>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.</UserDocu>
</Documentation>
</Methode>
<Methode Name="insertKnots">
<Documentation>
<UserDocu>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]
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 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 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.
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.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="removeKnot">
<Documentation>
<UserDocu>
removeKnot(Index, M, tol)
The tolerance criterion for knots equality is the max of Epsilon(U) and ParametricTolerance.</UserDocu>
</Documentation>
</Methode>
<Methode Name="removeKnot">
<Documentation>
<UserDocu>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.
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.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="segment">
<Documentation>
<UserDocu>
segment(u1,u2)
Modifies this B-Spline curve by segmenting it.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setKnot">
<Documentation>
<UserDocu>Set a knot of the B-Spline curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getKnot">
<Documentation>
<UserDocu>Get a knot of the B-Spline curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setKnots">
<Documentation>
<UserDocu>Set knots of the B-Spline curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getKnots">
<Documentation>
<UserDocu>Get all knots of the B-Spline curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setPole">
<Documentation>
<UserDocu>Modifies this B-Spline curve by assigning P
A low tolerance is used to prevent modification of the curve.
A high tolerance is used to 'smooth' the curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="segment">
<Documentation>
<UserDocu>segment(u1,u2)
Modifies this B-Spline curve by segmenting it.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setKnot">
<Documentation>
<UserDocu>Set a knot of the B-Spline curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getKnot">
<Documentation>
<UserDocu>Get a knot of the B-Spline curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setKnots">
<Documentation>
<UserDocu>Set knots of the B-Spline curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getKnots">
<Documentation>
<UserDocu>Get all knots of the B-Spline curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setPole">
<Documentation>
<UserDocu>Modifies this B-Spline curve by assigning P
to the pole of index Index in the poles table.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getPole">
<Documentation>
<UserDocu>Get a pole of the B-Spline curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getPoles">
<Documentation>
<UserDocu>Get all poles of the B-Spline curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setWeight">
<Documentation>
<UserDocu>Set a weight of the B-Spline curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getWeight">
<Documentation>
<UserDocu>Get a weight of the B-Spline curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getWeights">
<Documentation>
<UserDocu>Get all weights of the B-Spline curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getPolesAndWeights">
<Documentation>
<UserDocu>Returns the table of poles and weights in homogeneous coordinates.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getResolution" Const="true">
<Documentation>
<UserDocu>Computes for this B-Spline curve the parametric tolerance (UTolerance)
</Documentation>
</Methode>
<Methode Name="getPole">
<Documentation>
<UserDocu>Get a pole of the B-Spline curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getPoles">
<Documentation>
<UserDocu>Get all poles of the B-Spline curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setWeight">
<Documentation>
<UserDocu>Set a weight of the B-Spline curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getWeight">
<Documentation>
<UserDocu>Get a weight of the B-Spline curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getWeights">
<Documentation>
<UserDocu>Get all weights of the B-Spline curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getPolesAndWeights">
<Documentation>
<UserDocu>Returns the table of poles and weights in homogeneous coordinates.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getResolution" Const="true">
<Documentation>
<UserDocu>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| &lt; UTolerance =""==&gt; |f(t1)-f(t0)| &lt; Tolerance3D</UserDocu>
</Documentation>
</Methode>
<Methode Name="movePoint">
<Documentation>
<UserDocu>
movePoint(U, P, Index1, Index2)
Moves the point of parameter U of this B-Spline curve to P.
|t1-t0| &lt; UTolerance =&quot;&quot;==&gt; |f(t1)-f(t0)| &lt; Tolerance3D</UserDocu>
</Documentation>
</Methode>
<Methode Name="movePoint">
<Documentation>
<UserDocu>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.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setNotPeriodic">
<Documentation>
<UserDocu>Changes this B-Spline curve into a non-periodic curve.
</Documentation>
</Methode>
<Methode Name="setNotPeriodic">
<Documentation>
<UserDocu>Changes this B-Spline curve into a non-periodic curve.
If this curve is already non-periodic, it is not modified.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setPeriodic">
<Documentation>
<UserDocu>Changes this B-Spline curve into a periodic curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setOrigin">
<Documentation>
<UserDocu>Assigns the knot of index Index in the knots table
</Documentation>
</Methode>
<Methode Name="setPeriodic">
<Documentation>
<UserDocu>Changes this B-Spline curve into a periodic curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setOrigin">
<Documentation>
<UserDocu>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.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getMultiplicity">
<Documentation>
<UserDocu>Returns the multiplicity of the knot of index
</Documentation>
</Methode>
<Methode Name="getMultiplicity">
<Documentation>
<UserDocu>Returns the multiplicity of the knot of index
from the knots table of this B-Spline curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getMultiplicities">
<Documentation>
<UserDocu>
Returns the multiplicities table M of the knots of this B-Spline curve.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="approximate" Keyword="true">
<Documentation>
<UserDocu>
Replaces this B-Spline curve by approximating a set of points.
The function accepts keywords as arguments.
</Documentation>
</Methode>
<Methode Name="getMultiplicities">
<Documentation>
<UserDocu>Returns the multiplicities table M of the knots of this B-Spline curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="approximate" Keyword="true">
<Documentation>
<UserDocu>Replaces this B-Spline curve by approximating a set of points.
The function accepts keywords as arguments.
approximate2(Points = list_of_points)
approximate2(Points = list_of_points)
Optional arguments :
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'
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.
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.
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.
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 ).
</UserDocu>
</Documentation>
</Methode>
Note : Continuity of the spline defaults to C2. However, it may not be applied if
it conflicts with other parameters ( especially DegMax ).</UserDocu>
</Documentation>
</Methode>
<Methode Name="getCardinalSplineTangents" Keyword="true">
<Documentation>
<UserDocu>Compute the tangents for a Cardinal spline</UserDocu>
</Documentation>
</Methode>
<Methode Name="interpolate" Keyword="true">
<Documentation>
<UserDocu>
Replaces this B-Spline curve by interpolating a set of points.
The function accepts keywords as arguments.
<Documentation>
<UserDocu>Replaces this B-Spline curve by interpolating a set of points.
The function accepts keywords as arguments.
interpolate(Points = list_of_points)
interpolate(Points = list_of_points)
Optional arguments :
Optional arguments :
PeriodicFlag = bool (False) : Sets the curve closed or opened.
Tolerance = float (1e-6) : interpolating tolerance
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.
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 :
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.
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 :
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.
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.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="buildFromPoles">
<Documentation>
<UserDocu>
Builds a B-Spline by a list of poles.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="buildFromPolesMultsKnots" Keyword="true">
<Documentation>
<UserDocu>
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]
Note : Continuity of the spline defaults to C2. However, if periodic, or tangents
are supplied, the continuity will drop to C1.</UserDocu>
</Documentation>
</Methode>
<Methode Name="buildFromPoles">
<Documentation>
<UserDocu>Builds a B-Spline by a list of poles.</UserDocu>
</Documentation>
</Methode>
<Methode Name="buildFromPolesMultsKnots" Keyword="true">
<Documentation>
<UserDocu>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)]
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())
</UserDocu>
</Documentation>
</Methode>
<Methode Name="toBezier">
<Documentation>
<UserDocu>
Build a list of Bezier splines.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="toBiArcs">
<Documentation>
<UserDocu>
Build a list of arcs and lines to approximate the B-spline.
toBiArcs(tolerance) -> list.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="join">
<Documentation>
<UserDocu>
Build a new spline by joining this and a second spline.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="makeC1Continuous">
<Documentation>
<UserDocu>
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.
</UserDocu>
</Documentation>
</Methode>
</PythonExport>
# 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())</UserDocu>
</Documentation>
</Methode>
<Methode Name="toBezier">
<Documentation>
<UserDocu>Build a list of Bezier splines.</UserDocu>
</Documentation>
</Methode>
<Methode Name="toBiArcs">
<Documentation>
<UserDocu>Build a list of arcs and lines to approximate the B-spline.
toBiArcs(tolerance) -&gt; list.</UserDocu>
</Documentation>
</Methode>
<Methode Name="join">
<Documentation>
<UserDocu>Build a new spline by joining this and a second spline.</UserDocu>
</Documentation>
</Methode>
<Methode Name="makeC1Continuous">
<Documentation>
<UserDocu>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.</UserDocu>
</Documentation>
</Methode>
</PythonExport>
</GenerateModel>

View File

@@ -1,145 +1,141 @@
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Father="Curve2dPy"
<PythonExport
Name="BezierCurve2dPy"
PythonName="Part.Geom2d.BezierCurve2d"
Namespace="Part"
Twin="Geom2dBezierCurve"
TwinPointer="Geom2dBezierCurve"
Include="Mod/Part/App/Geometry2d.h"
Namespace="Part"
PythonName="Part.Geom2d.BezierCurve2d"
FatherInclude="Mod/Part/App/Geom2d/Curve2dPy.h"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
<UserDocu>
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
</UserDocu>
</Documentation>
<Attribute Name="Degree" ReadOnly="true">
<Documentation>
<UserDocu>Returns the polynomial degree of this Bezier curve,
Include="Mod/Part/App/Geometry2d.h"
Father="Curve2dPy"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net"/>
<UserDocu>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</UserDocu>
</Documentation>
<Attribute Name="Degree" ReadOnly="true">
<Documentation>
<UserDocu>Returns the polynomial degree of this Bezier curve,
which is equal to the number of poles minus 1.</UserDocu>
</Documentation>
<Parameter Name="Degree" Type="Long"/>
</Attribute>
</Documentation>
<Parameter Name="Degree" Type="Long"/>
</Attribute>
<Attribute Name="MaxDegree" ReadOnly="true">
<Documentation>
<UserDocu>Returns the value of the maximum polynomial degree of any
<Documentation>
<UserDocu>Returns the value of the maximum polynomial degree of any
Bezier curve curve. This value is 25.</UserDocu>
</Documentation>
<Parameter Name="MaxDegree" Type="Long"/>
</Attribute>
<Attribute Name="NbPoles" ReadOnly="true">
<Documentation>
<UserDocu>Returns the number of poles of this Bezier curve.
</UserDocu>
</Documentation>
<Parameter Name="NbPoles" Type="Long"/>
</Attribute>
</Documentation>
<Parameter Name="MaxDegree" Type="Long"/>
</Attribute>
<Attribute Name="NbPoles" ReadOnly="true">
<Documentation>
<UserDocu>Returns the number of poles of this Bezier curve.</UserDocu>
</Documentation>
<Parameter Name="NbPoles" Type="Long"/>
</Attribute>
<Attribute Name="StartPoint" ReadOnly="true">
<Documentation>
<UserDocu>Returns the start point of this Bezier curve.</UserDocu>
</Documentation>
<Parameter Name="StartPoint" Type="Object"/>
</Attribute>
<Attribute Name="EndPoint" ReadOnly="true">
<Documentation>
<UserDocu>Returns the end point of this Bezier curve.</UserDocu>
</Documentation>
<Parameter Name="EndPoint" Type="Object"/>
</Attribute>
<Documentation>
<UserDocu>Returns the start point of this Bezier curve.</UserDocu>
</Documentation>
<Parameter Name="StartPoint" Type="Object"/>
</Attribute>
<Attribute Name="EndPoint" ReadOnly="true">
<Documentation>
<UserDocu>Returns the end point of this Bezier curve.</UserDocu>
</Documentation>
<Parameter Name="EndPoint" Type="Object"/>
</Attribute>
<Methode Name="isRational">
<Documentation>
<UserDocu>Returns false if the weights of all the poles of this Bezier curve are equal.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isPeriodic">
<Documentation>
<UserDocu>Returns false.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isClosed">
<Documentation>
<UserDocu>Returns true if the distance between the start point and end point of
this Bezier curve is less than or equal to gp::Resolution().
</UserDocu>
</Documentation>
</Methode>
<Methode Name="increase">
<Documentation>
<UserDocu>increase(Int=Degree)
<Documentation>
<UserDocu>Returns false if the weights of all the poles of this Bezier curve are equal.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isPeriodic">
<Documentation>
<UserDocu>Returns false.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isClosed">
<Documentation>
<UserDocu>Returns true if the distance between the start point and end point of
this Bezier curve is less than or equal to gp::Resolution().</UserDocu>
</Documentation>
</Methode>
<Methode Name="increase">
<Documentation>
<UserDocu>increase(Int=Degree)
Increases the degree of this Bezier curve to Degree.
As a result, the poles and weights tables are modified.</UserDocu>
</Documentation>
</Methode>
</Documentation>
</Methode>
<Methode Name="insertPoleAfter">
<Documentation>
<UserDocu>Inserts after the pole of index.</UserDocu>
</Documentation>
</Methode>
<Methode Name="insertPoleBefore">
<Documentation>
<UserDocu>Inserts before the pole of index.</UserDocu>
</Documentation>
</Methode>
<Methode Name="removePole">
<Documentation>
<UserDocu>Removes the pole of index Index from the table of poles of this Bezier curve.
<Documentation>
<UserDocu>Inserts after the pole of index.</UserDocu>
</Documentation>
</Methode>
<Methode Name="insertPoleBefore">
<Documentation>
<UserDocu>Inserts before the pole of index.</UserDocu>
</Documentation>
</Methode>
<Methode Name="removePole">
<Documentation>
<UserDocu>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.</UserDocu>
</Documentation>
</Methode>
<Methode Name="segment">
<Documentation>
<UserDocu>Modifies this Bezier curve by segmenting it.</UserDocu>
</Documentation>
</Methode>
</Documentation>
</Methode>
<Methode Name="segment">
<Documentation>
<UserDocu>Modifies this Bezier curve by segmenting it.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setPole">
<Documentation>
<UserDocu>Set a pole of the Bezier curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getPole">
<Documentation>
<UserDocu>Get a pole of the Bezier curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getPoles">
<Documentation>
<UserDocu>Get all poles of the Bezier curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setPoles">
<Documentation>
<UserDocu>Set the poles of the Bezier curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setWeight">
<Documentation>
<UserDocu>Set a weight of the Bezier curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getWeight">
<Documentation>
<UserDocu>Get a weight of the Bezier curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getWeights">
<Documentation>
<UserDocu>Get all weights of the Bezier curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getResolution" Const="true">
<Documentation>
<UserDocu>Computes for this Bezier curve the parametric tolerance (UTolerance)
<Documentation>
<UserDocu>Set a pole of the Bezier curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getPole">
<Documentation>
<UserDocu>Get a pole of the Bezier curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getPoles">
<Documentation>
<UserDocu>Get all poles of the Bezier curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setPoles">
<Documentation>
<UserDocu>Set the poles of the Bezier curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="setWeight">
<Documentation>
<UserDocu>Set a weight of the Bezier curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getWeight">
<Documentation>
<UserDocu>Get a weight of the Bezier curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getWeights">
<Documentation>
<UserDocu>Get all weights of the Bezier curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getResolution" Const="true">
<Documentation>
<UserDocu>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| &lt; UTolerance =""==&gt; |f(t1)-f(t0)| &lt; Tolerance3D</UserDocu>
</Documentation>
</Methode>
</PythonExport>
|t1-t0| &lt; UTolerance =&quot;&quot;==&gt; |f(t1)-f(t0)| &lt; Tolerance3D</UserDocu>
</Documentation>
</Methode>
</PythonExport>
</GenerateModel>

View File

@@ -1,42 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Father="Geometry2dPy"
<PythonExport
Name="Curve2dPy"
PythonName="Part.Geom2d.Curve2d"
Namespace="Part"
Twin="Geom2dCurve"
TwinPointer="Geom2dCurve"
Include="Mod/Part/App/Geometry2d.h"
Namespace="Part"
PythonName="Part.Geom2d.Curve2d"
FatherInclude="Mod/Part/App/Geom2d/Geometry2dPy.h"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
<UserDocu>
The abstract class Geom2dCurve is the root class of all curve objects.
</UserDocu>
</Documentation>
Include="Mod/Part/App/Geometry2d.h"
Father="Geometry2dPy"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net"/>
<UserDocu>The abstract class Geom2dCurve is the root class of all curve objects.</UserDocu>
</Documentation>
<Methode Name="reverse">
<Documentation>
<UserDocu>Changes the direction of parametrization of the curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="toShape" Const="true">
<Documentation>
<UserDocu>Return the shape for the geometry.</UserDocu>
</Documentation>
</Methode>
<Methode Name="toShape" Const="true">
<Documentation>
<UserDocu>Return the shape for the geometry.</UserDocu>
</Documentation>
</Methode>
<Methode Name="discretize" Const="true" Keyword="true">
<Documentation>
<UserDocu>Discretizes the curve and returns a list of points.
<Documentation>
<UserDocu>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'
discretize(Number=n) =&gt; gives a list of 'n' equidistant points
discretize(QuasiNumber=n) =&gt; gives a list of 'n' quasi equidistant points (is faster than the method above)
discretize(Distance=d) =&gt; gives a list of equidistant points with distance 'd'
discretize(Deflection=d) =&gt; gives a list of points with a maximum deflection 'd' to the curve
discretize(QuasiDeflection=d) =&gt; gives a list of points with a maximum deflection 'd' to the curve (faster)
discretize(Angular=a,Curvature=c,[Minimum=m]) =&gt; 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.
@@ -59,115 +57,98 @@ 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)
</UserDocu>
</Documentation>
</Methode>
<Methode Name="length">
<Documentation>
<UserDocu>Computes the length of a curve
length([uMin,uMax,Tol]) -> Float</UserDocu>
</Documentation>
</Methode>
<Methode Name="parameterAtDistance">
<Documentation>
<UserDocu>Returns the parameter on the curve of a point at the given distance from a starting parameter.
parameterAtDistance([abscissa, startingParameter]) -> Float the</UserDocu>
</Documentation>
</Methode>
<Methode Name="value">
<Documentation>
<UserDocu>Computes the point of parameter u on this curve</UserDocu>
</Documentation>
</Methode>
<Methode Name="tangent">
<Documentation>
<UserDocu>Computes the tangent of parameter u on this curve</UserDocu>
</Documentation>
</Methode>
Part.show(s)</UserDocu>
</Documentation>
</Methode>
<Methode Name="length">
<Documentation>
<UserDocu>Computes the length of a curve
length([uMin,uMax,Tol]) -&gt; Float</UserDocu>
</Documentation>
</Methode>
<Methode Name="parameterAtDistance">
<Documentation>
<UserDocu>Returns the parameter on the curve of a point at the given distance from a starting parameter.
parameterAtDistance([abscissa, startingParameter]) -&gt; Float the</UserDocu>
</Documentation>
</Methode>
<Methode Name="value">
<Documentation>
<UserDocu>Computes the point of parameter u on this curve</UserDocu>
</Documentation>
</Methode>
<Methode Name="tangent">
<Documentation>
<UserDocu>Computes the tangent of parameter u on this curve</UserDocu>
</Documentation>
</Methode>
<Methode Name="parameter">
<Documentation>
<UserDocu>Returns the parameter on the curve
<Documentation>
<UserDocu>Returns the parameter on the curve
of the nearest orthogonal projection of the point.</UserDocu>
</Documentation>
</Methode>
</Documentation>
</Methode>
<Methode Name="normal" Const="true">
<Documentation>
<UserDocu>Vector = normal(pos) - Get the normal vector at the given parameter [First|Last] if defined</UserDocu>
</Documentation>
</Methode>
<Methode Name="curvature" Const="true">
<Documentation>
<UserDocu>Float = curvature(pos) - Get the curvature at the given parameter [First|Last] if defined</UserDocu>
</Documentation>
</Methode>
<Methode Name="centerOfCurvature" Const="true">
<Documentation>
<UserDocu>Vector = centerOfCurvature(float pos) - Get the center of curvature at the given parameter [First|Last] if defined</UserDocu>
</Documentation>
</Methode>
<Documentation>
<UserDocu>Vector = normal(pos) - Get the normal vector at the given parameter [First|Last] if defined</UserDocu>
</Documentation>
</Methode>
<Methode Name="curvature" Const="true">
<Documentation>
<UserDocu>Float = curvature(pos) - Get the curvature at the given parameter [First|Last] if defined</UserDocu>
</Documentation>
</Methode>
<Methode Name="centerOfCurvature" Const="true">
<Documentation>
<UserDocu>Vector = centerOfCurvature(float pos) - Get the center of curvature at the given parameter [First|Last] if defined</UserDocu>
</Documentation>
</Methode>
<Methode Name="intersectCC" Const="true">
<Documentation>
<UserDocu>
Returns all intersection points between this curve and the given curve.
</UserDocu>
<UserDocu>Returns all intersection points between this curve and the given curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="toBSpline">
<Documentation>
<UserDocu>
Converts a curve of any type (only part from First to Last)
toBSpline([Float=First, Float=Last]) -> B-Spline curve
</UserDocu>
</Documentation>
</Methode>
<Documentation>
<UserDocu>Converts a curve of any type (only part from First to Last)
toBSpline([Float=First, Float=Last]) -&gt; B-Spline curve</UserDocu>
</Documentation>
</Methode>
<Methode Name="approximateBSpline">
<Documentation>
<UserDocu>
Approximates a curve of any type to a B-Spline curve
approximateBSpline(Tolerance, MaxSegments, MaxDegree, [Order='C2']) -> B-Spline curve
</UserDocu>
</Documentation>
</Methode>
<Documentation>
<UserDocu>Approximates a curve of any type to a B-Spline curve
approximateBSpline(Tolerance, MaxSegments, MaxDegree, [Order='C2']) -&gt; B-Spline curve</UserDocu>
</Documentation>
</Methode>
<Attribute Name="Continuity" ReadOnly="true">
<Documentation>
<UserDocu>
Returns the global continuity of the curve.
</UserDocu>
</Documentation>
<Parameter Name="Continuity" Type="String"/>
</Attribute>
<Documentation>
<UserDocu>Returns the global continuity of the curve.</UserDocu>
</Documentation>
<Parameter Name="Continuity" Type="String"/>
</Attribute>
<Attribute Name="Closed" ReadOnly="true">
<Documentation>
<UserDocu>
Returns true if the curve is closed.
</UserDocu>
<UserDocu>Returns true if the curve is closed.</UserDocu>
</Documentation>
<Parameter Name="Closed" Type="Boolean"/>
</Attribute>
<Attribute Name="Periodic" ReadOnly="true">
<Documentation>
<UserDocu>
Returns true if the curve is periodic.
</UserDocu>
<UserDocu>Returns true if the curve is periodic.</UserDocu>
</Documentation>
<Parameter Name="Periodic" Type="Boolean"/>
</Attribute>
<Attribute Name="FirstParameter" ReadOnly="true">
<Documentation>
<UserDocu>
Returns the value of the first parameter.
</UserDocu>
</Documentation>
<Parameter Name="FirstParameter" Type="Float"/>
</Attribute>
<Attribute Name="LastParameter" ReadOnly="true">
<Documentation>
<UserDocu>
Returns the value of the last parameter.
</UserDocu>
</Documentation>
<Parameter Name="LastParameter" Type="Float"/>
</Attribute>
</PythonExport>
<Documentation>
<UserDocu>Returns the value of the first parameter.</UserDocu>
</Documentation>
<Parameter Name="FirstParameter" Type="Float"/>
</Attribute>
<Attribute Name="LastParameter" ReadOnly="true">
<Documentation>
<UserDocu>Returns the value of the last parameter.</UserDocu>
</Documentation>
<Parameter Name="LastParameter" Type="Float"/>
</Attribute>
</PythonExport>
</GenerateModel>

View File

@@ -1,72 +1,70 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Father="Conic2dPy"
<PythonExport
Name="Ellipse2dPy"
PythonName="Part.Geom2d.Ellipse2d"
Namespace="Part"
Twin="Geom2dEllipse"
TwinPointer="Geom2dEllipse"
Include="Mod/Part/App/Geometry2d.h"
Namespace="Part"
PythonName="Part.Geom2d.Ellipse2d"
FatherInclude="Mod/Part/App/Geom2d/Conic2dPy.h"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
Include="Mod/Part/App/Geometry2d.h"
Father="Conic2dPy"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net"/>
<UserDocu>Describes an ellipse in 2D space
To create an ellipse there are several ways:
To create an ellipse there are several ways:
Part.Geom2d.Ellipse2d()
Creates an ellipse with major radius 2 and minor radius 1 with the
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
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.
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
</UserDocu>
</Documentation>
<Attribute Name="MajorRadius" ReadOnly="false">
<Documentation>
<UserDocu>The major radius of the ellipse.</UserDocu>
</Documentation>
<Parameter Name="MajorRadius" Type="Float"/>
</Attribute>
<Attribute Name="MinorRadius" ReadOnly="false">
<Documentation>
<UserDocu>The minor radius of the ellipse.</UserDocu>
</Documentation>
<Parameter Name="MinorRadius" Type="Float"/>
</Attribute>
<Attribute Name="Focal" ReadOnly="true">
<Documentation>
<UserDocu>The focal distance of the ellipse.</UserDocu>
</Documentation>
<Parameter Name="Focal" Type="Float"/>
</Attribute>
<Attribute Name="Focus1" ReadOnly="true">
<Documentation>
<UserDocu>The first focus is on the positive side of the major axis of the ellipse;
Creates an ellipse with major and minor radii MajorRadius and
MinorRadius</UserDocu>
</Documentation>
<Attribute Name="MajorRadius" ReadOnly="false">
<Documentation>
<UserDocu>The major radius of the ellipse.</UserDocu>
</Documentation>
<Parameter Name="MajorRadius" Type="Float"/>
</Attribute>
<Attribute Name="MinorRadius" ReadOnly="false">
<Documentation>
<UserDocu>The minor radius of the ellipse.</UserDocu>
</Documentation>
<Parameter Name="MinorRadius" Type="Float"/>
</Attribute>
<Attribute Name="Focal" ReadOnly="true">
<Documentation>
<UserDocu>The focal distance of the ellipse.</UserDocu>
</Documentation>
<Parameter Name="Focal" Type="Float"/>
</Attribute>
<Attribute Name="Focus1" ReadOnly="true">
<Documentation>
<UserDocu>The first focus is on the positive side of the major axis of the ellipse;
the second focus is on the negative side.</UserDocu>
</Documentation>
<Parameter Name="Focus1" Type="Object"/>
</Attribute>
<Attribute Name="Focus2" ReadOnly="true">
<Documentation>
<Documentation>
<UserDocu>The first focus is on the positive side of the major axis of the ellipse;
the second focus is on the negative side.
</UserDocu>
</Documentation>
</Documentation>
<Parameter Name="Focus2" Type="Object"/>
</Attribute>
</PythonExport>
</Documentation>
<Parameter Name="Focus1" Type="Object"/>
</Attribute>
<Attribute Name="Focus2" ReadOnly="true">
<Documentation>
<Documentation>
<UserDocu>The first focus is on the positive side of the major axis of the ellipse;
the second focus is on the negative side.</UserDocu>
</Documentation>
</Documentation>
<Parameter Name="Focus2" Type="Object"/>
</Attribute>
</PythonExport>
</GenerateModel>

View File

@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Father="Conic2dPy"
<PythonExport
Name="Hyperbola2dPy"
PythonName="Part.Geom2d.Hyperbola2d"
Namespace="Part"
Twin="Geom2dHyperbola"
TwinPointer="Geom2dHyperbola"
Include="Mod/Part/App/Geometry2d.h"
Namespace="Part"
PythonName="Part.Geom2d.Hyperbola2d"
FatherInclude="Mod/Part/App/Geom2d/Conic2dPy.h"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
Include="Mod/Part/App/Geometry2d.h"
Father="Conic2dPy"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net"/>
<UserDocu>Describes a hyperbola in 2D space
To create a hyperbola there are several ways:
Part.Geom2d.Hyperbola2d()
@@ -20,53 +20,51 @@
center in (0,0)
Part.Geom2d.Hyperbola2d(Hyperbola)
Create a copy of the given 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.
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
</UserDocu>
</Documentation>
<Attribute Name="MajorRadius" ReadOnly="false">
<Documentation>
<UserDocu>The major radius of the hyperbola.</UserDocu>
</Documentation>
<Parameter Name="MajorRadius" Type="Float"/>
</Attribute>
<Attribute Name="MinorRadius" ReadOnly="false">
<Documentation>
<UserDocu>The minor radius of the hyperbola.</UserDocu>
</Documentation>
<Parameter Name="MinorRadius" Type="Float"/>
</Attribute>
<Attribute Name="Focal" ReadOnly="true">
<Documentation>
<UserDocu>The focal distance of the hyperbola.</UserDocu>
</Documentation>
<Parameter Name="Focal" Type="Float"/>
</Attribute>
<Attribute Name="Focus1" ReadOnly="true">
<Documentation>
<UserDocu>The first focus is on the positive side of the major axis of the hyperbola;
MinorRadius and located at Center</UserDocu>
</Documentation>
<Attribute Name="MajorRadius" ReadOnly="false">
<Documentation>
<UserDocu>The major radius of the hyperbola.</UserDocu>
</Documentation>
<Parameter Name="MajorRadius" Type="Float"/>
</Attribute>
<Attribute Name="MinorRadius" ReadOnly="false">
<Documentation>
<UserDocu>The minor radius of the hyperbola.</UserDocu>
</Documentation>
<Parameter Name="MinorRadius" Type="Float"/>
</Attribute>
<Attribute Name="Focal" ReadOnly="true">
<Documentation>
<UserDocu>The focal distance of the hyperbola.</UserDocu>
</Documentation>
<Parameter Name="Focal" Type="Float"/>
</Attribute>
<Attribute Name="Focus1" ReadOnly="true">
<Documentation>
<UserDocu>The first focus is on the positive side of the major axis of the hyperbola;
the second focus is on the negative side.</UserDocu>
</Documentation>
<Parameter Name="Focus1" Type="Object"/>
</Attribute>
<Attribute Name="Focus2" ReadOnly="true">
<Documentation>
<Documentation>
<UserDocu>The first focus is on the positive side of the major axis of the hyperbola;
the second focus is on the negative side.
</UserDocu>
</Documentation>
</Documentation>
<Parameter Name="Focus2" Type="Object"/>
</Attribute>
</PythonExport>
</Documentation>
<Parameter Name="Focus1" Type="Object"/>
</Attribute>
<Attribute Name="Focus2" ReadOnly="true">
<Documentation>
<Documentation>
<UserDocu>The first focus is on the positive side of the major axis of the hyperbola;
the second focus is on the negative side.</UserDocu>
</Documentation>
</Documentation>
<Parameter Name="Focus2" Type="Object"/>
</Attribute>
</PythonExport>
</GenerateModel>

View File

@@ -1,35 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Father="Curve2dPy"
<PythonExport
Name="OffsetCurve2dPy"
PythonName="Part.Geom2d.OffsetCurve2d"
Namespace="Part"
Twin="Geom2dOffsetCurve"
TwinPointer="Geom2dOffsetCurve"
Include="Mod/Part/App/Geometry2d.h"
Namespace="Part"
PythonName="Part.Geom2d.OffsetCurve2d"
FatherInclude="Mod/Part/App/Geom2d/Curve2dPy.h"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
<UserDocu></UserDocu>
</Documentation>
<Attribute Name="OffsetValue">
<Documentation>
<UserDocu>
Sets or gets the offset value to offset the underlying curve.
</UserDocu>
</Documentation>
<Parameter Name="OffsetValue" Type="Float"/>
</Attribute>
<Attribute Name="BasisCurve">
<Documentation>
<UserDocu>
Sets or gets the basic curve.
</UserDocu>
</Documentation>
<Parameter Name="BasisCurve" Type="Object"/>
</Attribute>
</PythonExport>
Include="Mod/Part/App/Geometry2d.h"
Father="Curve2dPy"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net"/>
<UserDocu></UserDocu>
</Documentation>
<Attribute Name="OffsetValue">
<Documentation>
<UserDocu>Sets or gets the offset value to offset the underlying curve.</UserDocu>
</Documentation>
<Parameter Name="OffsetValue" Type="Float"/>
</Attribute>
<Attribute Name="BasisCurve">
<Documentation>
<UserDocu>Sets or gets the basic curve.</UserDocu>
</Documentation>
<Parameter Name="BasisCurve" Type="Object"/>
</Attribute>
</PythonExport>
</GenerateModel>

View File

@@ -1,42 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Father="Conic2dPy"
<PythonExport
Name="Parabola2dPy"
PythonName="Part.Geom2d.Parabola2d"
Namespace="Part"
Twin="Geom2dParabola"
TwinPointer="Geom2dParabola"
Include="Mod/Part/App/Geometry2d.h"
Namespace="Part"
PythonName="Part.Geom2d.Parabola2d"
FatherInclude="Mod/Part/App/Geom2d/Conic2dPy.h"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
Include="Mod/Part/App/Geometry2d.h"
Father="Conic2dPy"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net"/>
<UserDocu>Describes a parabola in 2D space</UserDocu>
</Documentation>
</Documentation>
<Attribute Name="Focal" ReadOnly="false">
<Documentation>
<UserDocu>The focal distance is the distance between
<Documentation>
<UserDocu>The focal distance is the distance between
the apex and the focus of the parabola.</UserDocu>
</Documentation>
<Parameter Name="Focal" Type="Float"/>
</Attribute>
</Documentation>
<Parameter Name="Focal" Type="Float"/>
</Attribute>
<Attribute Name="Focus" ReadOnly="true">
<Documentation>
<UserDocu>The focus is on the positive side of the
<Documentation>
<UserDocu>The focus is on the positive side of the
'X Axis' of the local coordinate system of the parabola.</UserDocu>
</Documentation>
<Parameter Name="Focus" Type="Object"/>
</Attribute>
<Attribute Name="Parameter" ReadOnly="true">
<Documentation>
<UserDocu>Compute the parameter of this parabola
</Documentation>
<Parameter Name="Focus" Type="Object"/>
</Attribute>
<Attribute Name="Parameter" ReadOnly="true">
<Documentation>
<UserDocu>Compute the parameter of this parabola
which is the distance between its focus
and its directrix. This distance is twice the focal length.
</UserDocu>
</Documentation>
<Parameter Name="Parameter" Type="Float"/>
</Attribute>
</PythonExport>
and its directrix. This distance is twice the focal length.</UserDocu>
</Documentation>
<Parameter Name="Parameter" Type="Float"/>
</Attribute>
</PythonExport>
</GenerateModel>

View File

@@ -1,274 +1,247 @@
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Father="GeometryPy"
Name="GeometryCurvePy"
PythonName="Part.Curve"
Twin="GeomCurve"
TwinPointer="GeomCurve"
Include="Mod/Part/App/Geometry.h"
Namespace="Part"
FatherInclude="Mod/Part/App/GeometryPy.h"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
<UserDocu>
The abstract class GeometryCurve is the root class of all curve objects.
</UserDocu>
</Documentation>
<Methode Name="toShape" Const="true">
<Documentation>
<UserDocu>Return the shape for the geometry.</UserDocu>
</Documentation>
</Methode>
<Methode Name="discretize" Const="true" Keyword="true">
<Documentation>
<UserDocu>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)
</UserDocu>
</Documentation>
</Methode>
<Methode Name="getD0" Const="true">
<Documentation>
<UserDocu>Returns the point of given parameter</UserDocu>
</Documentation>
</Methode>
<Methode Name="getD1" Const="true">
<Documentation>
<UserDocu>Returns the point and first derivative of given parameter</UserDocu>
</Documentation>
</Methode>
<Methode Name="getD2" Const="true">
<Documentation>
<UserDocu>Returns the point, first and second derivatives</UserDocu>
</Documentation>
</Methode>
<Methode Name="getD3" Const="true">
<Documentation>
<UserDocu>Returns the point, first, second and third derivatives</UserDocu>
</Documentation>
</Methode>
<Methode Name="getDN" Const="true">
<Documentation>
<UserDocu>Returns the n-th derivative</UserDocu>
</Documentation>
</Methode>
<Methode Name="length" Const="true">
<Documentation>
<UserDocu>Computes the length of a curve
length([uMin,uMax,Tol]) -> Float</UserDocu>
</Documentation>
</Methode>
<Methode Name="parameterAtDistance" Const="true">
<Documentation>
<UserDocu>Returns the parameter on the curve of a point at the given distance from a starting parameter.
parameterAtDistance([abscissa, startingParameter]) -> Float the</UserDocu>
</Documentation>
</Methode>
<Methode Name="value" Const="true">
<Documentation>
<UserDocu>Computes the point of parameter u on this curve</UserDocu>
</Documentation>
</Methode>
<Methode Name="tangent" Const="true">
<Documentation>
<UserDocu>Computes the tangent of parameter u on this curve</UserDocu>
</Documentation>
</Methode>
<Methode Name="makeRuledSurface" Const="true">
<Documentation>
<UserDocu>Make a ruled surface of this and the given curves</UserDocu>
</Documentation>
</Methode>
<Methode Name="intersect2d" Const="true">
<Documentation>
<UserDocu>Get intersection points with another curve lying on a plane.</UserDocu>
</Documentation>
</Methode>
<Methode Name="continuityWith" Const="true">
<Documentation>
<UserDocu>Computes the continuity of two curves</UserDocu>
</Documentation>
</Methode>
<Methode Name="parameter" Const="true">
<Documentation>
<UserDocu>Returns the parameter on the curve
of the nearest orthogonal projection of the point.</UserDocu>
</Documentation>
</Methode>
<Methode Name="normal" Const="true">
<Documentation>
<UserDocu>Vector = normal(pos) - Get the normal vector at the given parameter [First|Last] if defined</UserDocu>
</Documentation>
</Methode>
<Methode Name="projectPoint" Const="true" Keyword="true">
<Documentation>
<UserDocu>
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
</UserDocu>
</Documentation>
</Methode>
<Methode Name="curvature" Const="true">
<Documentation>
<UserDocu>Float = curvature(pos) - Get the curvature at the given parameter [First|Last] if defined</UserDocu>
</Documentation>
</Methode>
<Methode Name="centerOfCurvature" Const="true">
<Documentation>
<UserDocu>Vector = centerOfCurvature(float pos) - Get the center of curvature at the given parameter [First|Last] if defined</UserDocu>
</Documentation>
</Methode>
<Methode Name="intersect" Const="true">
<Documentation>
<UserDocu>
Returns all intersection points and curve segments between the curve and the curve/surface.
arguments: curve/surface (for the intersection), precision (float)
</UserDocu>
</Documentation>
</Methode>
<Methode Name="intersectCS" Const="true">
<Documentation>
<UserDocu>
Returns all intersection points and curve segments between the curve and the surface.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="intersectCC" Const="true">
<Documentation>
<UserDocu>
Returns all intersection points between this curve and the given curve.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="toBSpline" Const="true">
<Documentation>
<UserDocu>
Converts a curve of any type (only part from First to Last)
toBSpline([Float=First, Float=Last]) -> B-Spline curve
</UserDocu>
</Documentation>
</Methode>
<Methode Name="toNurbs" Const="true">
<Documentation>
<UserDocu>
Converts a curve of any type (only part from First to Last)
toNurbs([Float=First, Float=Last]) -> NURBS curve
</UserDocu>
</Documentation>
</Methode>
<Methode Name="trim" Const="true">
<Documentation>
<UserDocu>
Returns a trimmed curve defined in the given parameter range
trim([Float=First, Float=Last]) -> trimmed curve
</UserDocu>
</Documentation>
</Methode>
<Methode Name="approximateBSpline" Const="true">
<Documentation>
<UserDocu>
Approximates a curve of any type to a B-Spline curve
approximateBSpline(Tolerance, MaxSegments, MaxDegree, [Order='C2']) -> B-Spline curve
</UserDocu>
</Documentation>
</Methode>
<Methode Name="reverse">
<Documentation>
<UserDocu>Changes the direction of parametrization of the curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="reversedParameter" Const="true">
<Documentation>
<UserDocu>Returns the parameter on the reversed curve for
the point of parameter U on this curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isPeriodic" Const="true">
<Documentation>
<UserDocu>Returns true if this curve is periodic.</UserDocu>
</Documentation>
</Methode>
<Methode Name="period" Const="true">
<Documentation>
<UserDocu>Returns the period of this curve
or raises an exception if it is not periodic.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isClosed" Const="true">
<Documentation>
<UserDocu>
Returns true if the curve is closed.
</UserDocu>
</Documentation>
</Methode>
<Attribute Name="Continuity" ReadOnly="true">
<Documentation>
<UserDocu>
Returns the global continuity of the curve.
</UserDocu>
</Documentation>
<Parameter Name="Continuity" Type="String"/>
</Attribute>
<Attribute Name="FirstParameter" ReadOnly="true">
<Documentation>
<UserDocu>
Returns the value of the first parameter.
</UserDocu>
</Documentation>
<Parameter Name="FirstParameter" Type="Float"/>
</Attribute>
<Attribute Name="LastParameter" ReadOnly="true">
<Documentation>
<UserDocu>
Returns the value of the last parameter.
</UserDocu>
</Documentation>
<Parameter Name="LastParameter" Type="Float"/>
</Attribute>
<Attribute Name="Rotation" ReadOnly="true">
<Documentation>
<UserDocu>Returns a rotation object to describe the orientation for curve that supports it</UserDocu>
</Documentation>
<Parameter Name="Rotation" Type="Object"/>
</Attribute>
</PythonExport>
</GenerateModel>
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Name="GeometryCurvePy"
Namespace="Part"
Twin="GeomCurve"
TwinPointer="GeomCurve"
PythonName="Part.Curve"
FatherInclude="Mod/Part/App/GeometryPy.h"
Include="Mod/Part/App/Geometry.h"
Father="GeometryPy"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net"/>
<UserDocu>The abstract class GeometryCurve is the root class of all curve objects.</UserDocu>
</Documentation>
<Methode Name="toShape" Const="true">
<Documentation>
<UserDocu>Return the shape for the geometry.</UserDocu>
</Documentation>
</Methode>
<Methode Name="discretize" Const="true" Keyword="true">
<Documentation>
<UserDocu>Discretizes the curve and returns a list of points.
The function accepts keywords as argument:
discretize(Number=n) =&gt; gives a list of 'n' equidistant points
discretize(QuasiNumber=n) =&gt; gives a list of 'n' quasi equidistant points (is faster than the method above)
discretize(Distance=d) =&gt; gives a list of equidistant points with distance 'd'
discretize(Deflection=d) =&gt; gives a list of points with a maximum deflection 'd' to the curve
discretize(QuasiDeflection=d) =&gt; gives a list of points with a maximum deflection 'd' to the curve (faster)
discretize(Angular=a,Curvature=c,[Minimum=m]) =&gt; 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)</UserDocu>
</Documentation>
</Methode>
<Methode Name="getD0" Const="true">
<Documentation>
<UserDocu>Returns the point of given parameter</UserDocu>
</Documentation>
</Methode>
<Methode Name="getD1" Const="true">
<Documentation>
<UserDocu>Returns the point and first derivative of given parameter</UserDocu>
</Documentation>
</Methode>
<Methode Name="getD2" Const="true">
<Documentation>
<UserDocu>Returns the point, first and second derivatives</UserDocu>
</Documentation>
</Methode>
<Methode Name="getD3" Const="true">
<Documentation>
<UserDocu>Returns the point, first, second and third derivatives</UserDocu>
</Documentation>
</Methode>
<Methode Name="getDN" Const="true">
<Documentation>
<UserDocu>Returns the n-th derivative</UserDocu>
</Documentation>
</Methode>
<Methode Name="length" Const="true">
<Documentation>
<UserDocu>Computes the length of a curve
length([uMin,uMax,Tol]) -&gt; Float</UserDocu>
</Documentation>
</Methode>
<Methode Name="parameterAtDistance" Const="true">
<Documentation>
<UserDocu>Returns the parameter on the curve of a point at the given distance from a starting parameter.
parameterAtDistance([abscissa, startingParameter]) -&gt; Float the</UserDocu>
</Documentation>
</Methode>
<Methode Name="value" Const="true">
<Documentation>
<UserDocu>Computes the point of parameter u on this curve</UserDocu>
</Documentation>
</Methode>
<Methode Name="tangent" Const="true">
<Documentation>
<UserDocu>Computes the tangent of parameter u on this curve</UserDocu>
</Documentation>
</Methode>
<Methode Name="makeRuledSurface" Const="true">
<Documentation>
<UserDocu>Make a ruled surface of this and the given curves</UserDocu>
</Documentation>
</Methode>
<Methode Name="intersect2d" Const="true">
<Documentation>
<UserDocu>Get intersection points with another curve lying on a plane.</UserDocu>
</Documentation>
</Methode>
<Methode Name="continuityWith" Const="true">
<Documentation>
<UserDocu>Computes the continuity of two curves</UserDocu>
</Documentation>
</Methode>
<Methode Name="parameter" Const="true">
<Documentation>
<UserDocu>Returns the parameter on the curve
of the nearest orthogonal projection of the point.</UserDocu>
</Documentation>
</Methode>
<Methode Name="normal" Const="true">
<Documentation>
<UserDocu>Vector = normal(pos) - Get the normal vector at the given parameter [First|Last] if defined</UserDocu>
</Documentation>
</Methode>
<Methode Name="projectPoint" Const="true" Keyword="true">
<Documentation>
<UserDocu>Computes the projection of a point on the curve
projectPoint(Point=Vector,[Method=&quot;NearestPoint&quot;])
projectPoint(Vector,&quot;NearestPoint&quot;) -&gt; Vector
projectPoint(Vector,&quot;LowerDistance&quot;) -&gt; float
projectPoint(Vector,&quot;LowerDistanceParameter&quot;) -&gt; float
projectPoint(Vector,&quot;Distance&quot;) -&gt; list of floats
projectPoint(Vector,&quot;Parameter&quot;) -&gt; list of floats
projectPoint(Vector,&quot;Point&quot;) -&gt; list of points</UserDocu>
</Documentation>
</Methode>
<Methode Name="curvature" Const="true">
<Documentation>
<UserDocu>Float = curvature(pos) - Get the curvature at the given parameter [First|Last] if defined</UserDocu>
</Documentation>
</Methode>
<Methode Name="centerOfCurvature" Const="true">
<Documentation>
<UserDocu>Vector = centerOfCurvature(float pos) - Get the center of curvature at the given parameter [First|Last] if defined</UserDocu>
</Documentation>
</Methode>
<Methode Name="intersect" Const="true">
<Documentation>
<UserDocu>Returns all intersection points and curve segments between the curve and the curve/surface.
arguments: curve/surface (for the intersection), precision (float)</UserDocu>
</Documentation>
</Methode>
<Methode Name="intersectCS" Const="true">
<Documentation>
<UserDocu>Returns all intersection points and curve segments between the curve and the surface.</UserDocu>
</Documentation>
</Methode>
<Methode Name="intersectCC" Const="true">
<Documentation>
<UserDocu>Returns all intersection points between this curve and the given curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="toBSpline" Const="true">
<Documentation>
<UserDocu>Converts a curve of any type (only part from First to Last)
toBSpline([Float=First, Float=Last]) -&gt; B-Spline curve</UserDocu>
</Documentation>
</Methode>
<Methode Name="toNurbs" Const="true">
<Documentation>
<UserDocu>Converts a curve of any type (only part from First to Last)
toNurbs([Float=First, Float=Last]) -&gt; NURBS curve</UserDocu>
</Documentation>
</Methode>
<Methode Name="trim" Const="true">
<Documentation>
<UserDocu>Returns a trimmed curve defined in the given parameter range
trim([Float=First, Float=Last]) -&gt; trimmed curve</UserDocu>
</Documentation>
</Methode>
<Methode Name="approximateBSpline" Const="true">
<Documentation>
<UserDocu>Approximates a curve of any type to a B-Spline curve
approximateBSpline(Tolerance, MaxSegments, MaxDegree, [Order='C2']) -&gt; B-Spline curve</UserDocu>
</Documentation>
</Methode>
<Methode Name="reverse">
<Documentation>
<UserDocu>Changes the direction of parametrization of the curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="reversedParameter" Const="true">
<Documentation>
<UserDocu>Returns the parameter on the reversed curve for
the point of parameter U on this curve.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isPeriodic" Const="true">
<Documentation>
<UserDocu>Returns true if this curve is periodic.</UserDocu>
</Documentation>
</Methode>
<Methode Name="period" Const="true">
<Documentation>
<UserDocu>Returns the period of this curve
or raises an exception if it is not periodic.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isClosed" Const="true">
<Documentation>
<UserDocu>Returns true if the curve is closed.</UserDocu>
</Documentation>
</Methode>
<Attribute Name="Continuity" ReadOnly="true">
<Documentation>
<UserDocu>Returns the global continuity of the curve.</UserDocu>
</Documentation>
<Parameter Name="Continuity" Type="String"/>
</Attribute>
<Attribute Name="FirstParameter" ReadOnly="true">
<Documentation>
<UserDocu>Returns the value of the first parameter.</UserDocu>
</Documentation>
<Parameter Name="FirstParameter" Type="Float"/>
</Attribute>
<Attribute Name="LastParameter" ReadOnly="true">
<Documentation>
<UserDocu>Returns the value of the last parameter.</UserDocu>
</Documentation>
<Parameter Name="LastParameter" Type="Float"/>
</Attribute>
<Attribute Name="Rotation" ReadOnly="true">
<Documentation>
<UserDocu>Returns a rotation object to describe the orientation for curve that supports it</UserDocu>
</Documentation>
<Parameter Name="Rotation" Type="Object"/>
</Attribute>
</PythonExport>
</GenerateModel>

View File

@@ -1,214 +1,189 @@
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Father="GeometryPy"
Name="GeometrySurfacePy"
PythonName="Part.GeometrySurface"
Twin="GeomSurface"
TwinPointer="GeomSurface"
Include="Mod/Part/App/Geometry.h"
Namespace="Part"
FatherInclude="Mod/Part/App/GeometryPy.h"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
<UserDocu>
The abstract class GeometrySurface is the root class of all surface objects.
</UserDocu>
</Documentation>
<Methode Name="toShape" Const="true">
<Documentation>
<UserDocu>Return the shape for the geometry.</UserDocu>
</Documentation>
</Methode>
<Methode Name="toShell" Const="true" Keyword="true">
<Documentation>
<UserDocu>Make a shell of the surface.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getD0" Const="true">
<Documentation>
<UserDocu>Returns the point of given parameter</UserDocu>
</Documentation>
</Methode>
<Methode Name="getDN" Const="true">
<Documentation>
<UserDocu>Returns the n-th derivative</UserDocu>
</Documentation>
</Methode>
<Methode Name="value" Const="true">
<Documentation>
<UserDocu>value(u,v) -> Point
Computes the point of parameter (u,v) on this surface</UserDocu>
</Documentation>
</Methode>
<Methode Name="tangent" Const="true">
<Documentation>
<UserDocu>tangent(u,v) -> (Vector,Vector)
Computes the tangent of parameter (u,v) on this geometry</UserDocu>
</Documentation>
</Methode>
<Methode Name="normal" Const="true">
<Documentation>
<UserDocu>normal(u,v) -> Vector
Computes the normal of parameter (u,v) on this geometry</UserDocu>
</Documentation>
</Methode>
<Methode Name="projectPoint" Const="true" Keyword="true">
<Documentation>
<UserDocu>
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
</UserDocu>
</Documentation>
</Methode>
<Methode Name="isUmbillic" Const="true">
<Documentation>
<UserDocu>isUmbillic(u,v) -> bool
Check if the geometry on parameter is an umbillic point,
i.e. maximum and minimum curvature are equal.</UserDocu>
</Documentation>
</Methode>
<Methode Name="curvature" Const="true">
<Documentation>
<UserDocu>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</UserDocu>
</Documentation>
</Methode>
<Methode Name="curvatureDirections" Const="true">
<Documentation>
<UserDocu>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.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="bounds" Const="true">
<Documentation>
<UserDocu>
Returns the parametric bounds (U1, U2, V1, V2) of this trimmed surface.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="isPlanar" Const="true">
<Documentation>
<UserDocu>
isPlanar([float]) -> Bool
Checks if the surface is planar within a certain tolerance.
</UserDocu>
</Documentation>
</Methode>
<Attribute Name="Continuity" ReadOnly="true">
<Documentation>
<UserDocu>
Returns the global continuity of the surface.
</UserDocu>
</Documentation>
<Parameter Name="Continuity" Type="String"/>
</Attribute>
<Attribute Name="Rotation" ReadOnly="true">
<Documentation>
<UserDocu>Returns a rotation object to describe the orientation for surface that supports it</UserDocu>
</Documentation>
<Parameter Name="Rotation" Type="Object"/>
</Attribute>
<Methode Name="uIso" Const="true">
<Documentation>
<UserDocu>Builds the U isoparametric curve</UserDocu>
</Documentation>
</Methode>
<Methode Name="vIso" Const="true">
<Documentation>
<UserDocu>Builds the V isoparametric curve</UserDocu>
</Documentation>
</Methode>
<Methode Name="isUPeriodic" Const="true">
<Documentation>
<UserDocu>Returns true if this patch is periodic in the given parametric direction.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isVPeriodic" Const="true">
<Documentation>
<UserDocu>Returns true if this patch is periodic in the given parametric direction.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isUClosed" Const="true">
<Documentation>
<UserDocu>
Checks if this surface is closed in the u parametric direction.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="isVClosed" Const="true">
<Documentation>
<UserDocu>
Checks if this surface is closed in the v parametric direction.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="UPeriod" Const="true">
<Documentation>
<UserDocu>
Returns the period of this patch in the u parametric direction.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="VPeriod" Const="true">
<Documentation>
<UserDocu>
Returns the period of this patch in the v parametric direction.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="parameter" Const="true">
<Documentation>
<UserDocu>Returns the parameter on the curve
of the nearest orthogonal projection of the point.</UserDocu>
</Documentation>
</Methode>
<Methode Name="toBSpline" Const="true" Keyword="true">
<Documentation>
<UserDocu>
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)
</UserDocu>
</Documentation>
</Methode>
<Methode Name="intersect" Const="true">
<Documentation>
<UserDocu>
Returns all intersection points/curves between the surface and the curve/surface.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="intersectSS" Const="true">
<Documentation>
<UserDocu>
Returns all intersection curves of this surface and the given surface.
The required arguments are:
* Second surface
* precision code (optional, default=0)
</UserDocu>
</Documentation>
</Methode>
</PythonExport>
</GenerateModel>
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Name="GeometrySurfacePy"
Namespace="Part"
Twin="GeomSurface"
TwinPointer="GeomSurface"
PythonName="Part.GeometrySurface"
FatherInclude="Mod/Part/App/GeometryPy.h"
Include="Mod/Part/App/Geometry.h"
Father="GeometryPy"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net"/>
<UserDocu>The abstract class GeometrySurface is the root class of all surface objects.</UserDocu>
</Documentation>
<Methode Name="toShape" Const="true">
<Documentation>
<UserDocu>Return the shape for the geometry.</UserDocu>
</Documentation>
</Methode>
<Methode Name="toShell" Const="true" Keyword="true">
<Documentation>
<UserDocu>Make a shell of the surface.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getD0" Const="true">
<Documentation>
<UserDocu>Returns the point of given parameter</UserDocu>
</Documentation>
</Methode>
<Methode Name="getDN" Const="true">
<Documentation>
<UserDocu>Returns the n-th derivative</UserDocu>
</Documentation>
</Methode>
<Methode Name="value" Const="true">
<Documentation>
<UserDocu>value(u,v) -&gt; Point
Computes the point of parameter (u,v) on this surface</UserDocu>
</Documentation>
</Methode>
<Methode Name="tangent" Const="true">
<Documentation>
<UserDocu>tangent(u,v) -&gt; (Vector,Vector)
Computes the tangent of parameter (u,v) on this geometry</UserDocu>
</Documentation>
</Methode>
<Methode Name="normal" Const="true">
<Documentation>
<UserDocu>normal(u,v) -&gt; Vector
Computes the normal of parameter (u,v) on this geometry</UserDocu>
</Documentation>
</Methode>
<Methode Name="projectPoint" Const="true" Keyword="true">
<Documentation>
<UserDocu>Computes the projection of a point on the surface
projectPoint(Point=Vector,[Method=&quot;NearestPoint&quot;])
projectPoint(Vector,&quot;NearestPoint&quot;) -&gt; Vector
projectPoint(Vector,&quot;LowerDistance&quot;) -&gt; float
projectPoint(Vector,&quot;LowerDistanceParameters&quot;) -&gt; tuple of floats (u,v)
projectPoint(Vector,&quot;Distance&quot;) -&gt; list of floats
projectPoint(Vector,&quot;Parameters&quot;) -&gt; list of tuples of floats
projectPoint(Vector,&quot;Point&quot;) -&gt; list of points</UserDocu>
</Documentation>
</Methode>
<Methode Name="isUmbillic" Const="true">
<Documentation>
<UserDocu>isUmbillic(u,v) -&gt; bool
Check if the geometry on parameter is an umbillic point,
i.e. maximum and minimum curvature are equal.</UserDocu>
</Documentation>
</Methode>
<Methode Name="curvature" Const="true">
<Documentation>
<UserDocu>curvature(u,v,type) -&gt; 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</UserDocu>
</Documentation>
</Methode>
<Methode Name="curvatureDirections" Const="true">
<Documentation>
<UserDocu>curvatureDirections(u,v) -&gt; (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.</UserDocu>
</Documentation>
</Methode>
<Methode Name="bounds" Const="true">
<Documentation>
<UserDocu>Returns the parametric bounds (U1, U2, V1, V2) of this trimmed surface.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isPlanar" Const="true">
<Documentation>
<UserDocu>isPlanar([float]) -&gt; Bool
Checks if the surface is planar within a certain tolerance.</UserDocu>
</Documentation>
</Methode>
<Attribute Name="Continuity" ReadOnly="true">
<Documentation>
<UserDocu>Returns the global continuity of the surface.</UserDocu>
</Documentation>
<Parameter Name="Continuity" Type="String"/>
</Attribute>
<Attribute Name="Rotation" ReadOnly="true">
<Documentation>
<UserDocu>Returns a rotation object to describe the orientation for surface that supports it</UserDocu>
</Documentation>
<Parameter Name="Rotation" Type="Object"/>
</Attribute>
<Methode Name="uIso" Const="true">
<Documentation>
<UserDocu>Builds the U isoparametric curve</UserDocu>
</Documentation>
</Methode>
<Methode Name="vIso" Const="true">
<Documentation>
<UserDocu>Builds the V isoparametric curve</UserDocu>
</Documentation>
</Methode>
<Methode Name="isUPeriodic" Const="true">
<Documentation>
<UserDocu>Returns true if this patch is periodic in the given parametric direction.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isVPeriodic" Const="true">
<Documentation>
<UserDocu>Returns true if this patch is periodic in the given parametric direction.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isUClosed" Const="true">
<Documentation>
<UserDocu>Checks if this surface is closed in the u parametric direction.</UserDocu>
</Documentation>
</Methode>
<Methode Name="isVClosed" Const="true">
<Documentation>
<UserDocu>Checks if this surface is closed in the v parametric direction.</UserDocu>
</Documentation>
</Methode>
<Methode Name="UPeriod" Const="true">
<Documentation>
<UserDocu>Returns the period of this patch in the u parametric direction.</UserDocu>
</Documentation>
</Methode>
<Methode Name="VPeriod" Const="true">
<Documentation>
<UserDocu>Returns the period of this patch in the v parametric direction.</UserDocu>
</Documentation>
</Methode>
<Methode Name="parameter" Const="true">
<Documentation>
<UserDocu>Returns the parameter on the curve
of the nearest orthogonal projection of the point.</UserDocu>
</Documentation>
</Methode>
<Methode Name="toBSpline" Const="true" Keyword="true">
<Documentation>
<UserDocu>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)</UserDocu>
</Documentation>
</Methode>
<Methode Name="intersect" Const="true">
<Documentation>
<UserDocu>Returns all intersection points/curves between the surface and the curve/surface.</UserDocu>
</Documentation>
</Methode>
<Methode Name="intersectSS" Const="true">
<Documentation>
<UserDocu>Returns all intersection curves of this surface and the given surface.
The required arguments are:
* Second surface
* precision code (optional, default=0)</UserDocu>
</Documentation>
</Methode>
</PythonExport>
</GenerateModel>

View File

@@ -1,74 +1,72 @@
<?xml version="1.0" encoding="utf-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Father="ConicPy"
Name="HyperbolaPy"
PythonName="Part.Hyperbola"
Twin="GeomHyperbola"
TwinPointer="GeomHyperbola"
Include="Mod/Part/App/Geometry.h"
Namespace="Part"
FatherInclude="Mod/Part/App/ConicPy.h"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
<UserDocu>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)
</UserDocu>
</Documentation>
<Attribute Name="MajorRadius" ReadOnly="false">
<Documentation>
<UserDocu>The major radius of the hyperbola.</UserDocu>
</Documentation>
<Parameter Name="MajorRadius" Type="Float"/>
</Attribute>
<Attribute Name="MinorRadius" ReadOnly="false">
<Documentation>
<UserDocu>The minor radius of the hyperbola.</UserDocu>
</Documentation>
<Parameter Name="MinorRadius" Type="Float"/>
</Attribute>
<Attribute Name="Focal" ReadOnly="true">
<Documentation>
<UserDocu>The focal distance of the hyperbola.</UserDocu>
</Documentation>
<Parameter Name="Focal" Type="Float"/>
</Attribute>
<Attribute Name="Focus1" ReadOnly="true">
<Documentation>
<UserDocu>The first focus is on the positive side of the major axis of the hyperbola;
the second focus is on the negative side.</UserDocu>
</Documentation>
<Parameter Name="Focus1" Type="Object"/>
</Attribute>
<Attribute Name="Focus2" ReadOnly="true">
<Documentation>
<Documentation>
<UserDocu>The first focus is on the positive side of the major axis of the hyperbola;
the second focus is on the negative side.
</UserDocu>
</Documentation>
</Documentation>
<Parameter Name="Focus2" Type="Object"/>
</Attribute>
</PythonExport>
</GenerateModel>
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Name="HyperbolaPy"
Namespace="Part"
Twin="GeomHyperbola"
TwinPointer="GeomHyperbola"
PythonName="Part.Hyperbola"
FatherInclude="Mod/Part/App/ConicPy.h"
Include="Mod/Part/App/Geometry.h"
Father="ConicPy"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net"/>
<UserDocu>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)</UserDocu>
</Documentation>
<Attribute Name="MajorRadius" ReadOnly="false">
<Documentation>
<UserDocu>The major radius of the hyperbola.</UserDocu>
</Documentation>
<Parameter Name="MajorRadius" Type="Float"/>
</Attribute>
<Attribute Name="MinorRadius" ReadOnly="false">
<Documentation>
<UserDocu>The minor radius of the hyperbola.</UserDocu>
</Documentation>
<Parameter Name="MinorRadius" Type="Float"/>
</Attribute>
<Attribute Name="Focal" ReadOnly="true">
<Documentation>
<UserDocu>The focal distance of the hyperbola.</UserDocu>
</Documentation>
<Parameter Name="Focal" Type="Float"/>
</Attribute>
<Attribute Name="Focus1" ReadOnly="true">
<Documentation>
<UserDocu>The first focus is on the positive side of the major axis of the hyperbola;
the second focus is on the negative side.</UserDocu>
</Documentation>
<Parameter Name="Focus1" Type="Object"/>
</Attribute>
<Attribute Name="Focus2" ReadOnly="true">
<Documentation>
<Documentation>
<UserDocu>The first focus is on the positive side of the major axis of the hyperbola;
the second focus is on the negative side.</UserDocu>
</Documentation>
</Documentation>
<Parameter Name="Focus2" Type="Object"/>
</Attribute>
</PythonExport>
</GenerateModel>

View File

@@ -1,43 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Father="GeometryCurvePy"
Name="OffsetCurvePy"
PythonName="Part.OffsetCurve"
Twin="GeomOffsetCurve"
TwinPointer="GeomOffsetCurve"
Include="Mod/Part/App/Geometry.h"
Namespace="Part"
FatherInclude="Mod/Part/App/GeometryCurvePy.h"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
<UserDocu></UserDocu>
</Documentation>
<Attribute Name="OffsetValue">
<Documentation>
<UserDocu>
Sets or gets the offset value to offset the underlying curve.
</UserDocu>
</Documentation>
<Parameter Name="OffsetValue" Type="Float"/>
</Attribute>
<Attribute Name="OffsetDirection">
<Documentation>
<UserDocu>
Sets or gets the offset direction to offset the underlying curve.
</UserDocu>
</Documentation>
<Parameter Name="OffsetDirection" Type="Object"/>
</Attribute>
<Attribute Name="BasisCurve">
<Documentation>
<UserDocu>
Sets or gets the basic curve.
</UserDocu>
</Documentation>
<Parameter Name="BasisCurve" Type="Object"/>
</Attribute>
</PythonExport>
</GenerateModel>
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Name="OffsetCurvePy"
Namespace="Part"
Twin="GeomOffsetCurve"
TwinPointer="GeomOffsetCurve"
PythonName="Part.OffsetCurve"
FatherInclude="Mod/Part/App/GeometryCurvePy.h"
Include="Mod/Part/App/Geometry.h"
Father="GeometryCurvePy"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net"/>
<UserDocu></UserDocu>
</Documentation>
<Attribute Name="OffsetValue">
<Documentation>
<UserDocu>Sets or gets the offset value to offset the underlying curve.</UserDocu>
</Documentation>
<Parameter Name="OffsetValue" Type="Float"/>
</Attribute>
<Attribute Name="OffsetDirection">
<Documentation>
<UserDocu>Sets or gets the offset direction to offset the underlying curve.</UserDocu>
</Documentation>
<Parameter Name="OffsetDirection" Type="Object"/>
</Attribute>
<Attribute Name="BasisCurve">
<Documentation>
<UserDocu>Sets or gets the basic curve.</UserDocu>
</Documentation>
<Parameter Name="BasisCurve" Type="Object"/>
</Attribute>
</PythonExport>
</GenerateModel>

View File

@@ -1,35 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Father="GeometrySurfacePy"
Name="OffsetSurfacePy"
PythonName="Part.OffsetSurface"
Twin="GeomOffsetSurface"
TwinPointer="GeomOffsetSurface"
Include="Mod/Part/App/Geometry.h"
Namespace="Part"
FatherInclude="Mod/Part/App/GeometrySurfacePy.h"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
<UserDocu></UserDocu>
</Documentation>
<Attribute Name="OffsetValue">
<Documentation>
<UserDocu>
Sets or gets the offset value to offset the underlying surface.
</UserDocu>
</Documentation>
<Parameter Name="OffsetValue" Type="Float"/>
</Attribute>
<Attribute Name="BasisSurface">
<Documentation>
<UserDocu>
Sets or gets the basic surface.
</UserDocu>
</Documentation>
<Parameter Name="BasisSurface" Type="Object"/>
</Attribute>
</PythonExport>
</GenerateModel>
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Name="OffsetSurfacePy"
Namespace="Part"
Twin="GeomOffsetSurface"
TwinPointer="GeomOffsetSurface"
PythonName="Part.OffsetSurface"
FatherInclude="Mod/Part/App/GeometrySurfacePy.h"
Include="Mod/Part/App/Geometry.h"
Father="GeometrySurfacePy"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net"/>
<UserDocu></UserDocu>
</Documentation>
<Attribute Name="OffsetValue">
<Documentation>
<UserDocu>Sets or gets the offset value to offset the underlying surface.</UserDocu>
</Documentation>
<Parameter Name="OffsetValue" Type="Float"/>
</Attribute>
<Attribute Name="BasisSurface">
<Documentation>
<UserDocu>Sets or gets the basic surface.</UserDocu>
</Documentation>
<Parameter Name="BasisSurface" Type="Object"/>
</Attribute>
</PythonExport>
</GenerateModel>

View File

@@ -1,50 +1,47 @@
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Father="ConicPy"
Name="ParabolaPy"
PythonName="Part.Parabola"
Twin="GeomParabola"
TwinPointer="GeomParabola"
Include="Mod/Part/App/Geometry.h"
Namespace="Part"
FatherInclude="Mod/Part/App/ConicPy.h"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
<UserDocu>Describes a parabola in 3D space</UserDocu>
</Documentation>
<Methode Name="compute">
<Documentation>
<UserDocu>
compute(p1,p2,p3)
The three points must lie on a plane parallel to xy plane and must not be collinear
</UserDocu>
</Documentation>
</Methode>
<Attribute Name="Focal" ReadOnly="false">
<Documentation>
<UserDocu>The focal distance is the distance between
the apex and the focus of the parabola.</UserDocu>
</Documentation>
<Parameter Name="Focal" Type="Float"/>
</Attribute>
<Attribute Name="Focus" ReadOnly="true">
<Documentation>
<UserDocu>The focus is on the positive side of the
'X Axis' of the local coordinate system of the parabola.</UserDocu>
</Documentation>
<Parameter Name="Focus" Type="Object"/>
</Attribute>
<Attribute Name="Parameter" ReadOnly="true">
<Documentation>
<UserDocu>Compute the parameter of this parabola
which is the distance between its focus
and its directrix. This distance is twice the focal length.
</UserDocu>
</Documentation>
<Parameter Name="Parameter" Type="Float"/>
</Attribute>
</PythonExport>
</GenerateModel>
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Name="ParabolaPy"
Namespace="Part"
Twin="GeomParabola"
TwinPointer="GeomParabola"
PythonName="Part.Parabola"
FatherInclude="Mod/Part/App/ConicPy.h"
Include="Mod/Part/App/Geometry.h"
Father="ConicPy"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net"/>
<UserDocu>Describes a parabola in 3D space</UserDocu>
</Documentation>
<Methode Name="compute">
<Documentation>
<UserDocu>compute(p1,p2,p3)
The three points must lie on a plane parallel to xy plane and must not be collinear</UserDocu>
</Documentation>
</Methode>
<Attribute Name="Focal" ReadOnly="false">
<Documentation>
<UserDocu>The focal distance is the distance between
the apex and the focus of the parabola.</UserDocu>
</Documentation>
<Parameter Name="Focal" Type="Float"/>
</Attribute>
<Attribute Name="Focus" ReadOnly="true">
<Documentation>
<UserDocu>The focus is on the positive side of the
'X Axis' of the local coordinate system of the parabola.</UserDocu>
</Documentation>
<Parameter Name="Focus" Type="Object"/>
</Attribute>
<Attribute Name="Parameter" ReadOnly="true">
<Documentation>
<UserDocu>Compute the parameter of this parabola
which is the distance between its focus
and its directrix. This distance is twice the focal length.</UserDocu>
</Documentation>
<Parameter Name="Parameter" Type="Float"/>
</Attribute>
</PythonExport>
</GenerateModel>

View File

@@ -1,24 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Father="GeometrySurfacePy"
Name="PlateSurfacePy"
<PythonExport
Name="PlateSurfacePy"
Namespace="Part"
Twin="GeomPlateSurface"
TwinPointer="GeomPlateSurface"
PythonName="Part.PlateSurface"
Twin="GeomPlateSurface"
TwinPointer="GeomPlateSurface"
Include="Mod/Part/App/Geometry.h"
Namespace="Part"
FatherInclude="Mod/Part/App/GeometrySurfacePy.h"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
<UserDocu></UserDocu>
</Documentation>
<Methode Name="makeApprox" Keyword="true">
<Documentation>
<UserDocu>Approximate the plate surface to a B-Spline surface</UserDocu>
</Documentation>
</Methode>
</PythonExport>
FatherInclude="Mod/Part/App/GeometrySurfacePy.h"
Include="Mod/Part/App/Geometry.h"
Father="GeometrySurfacePy"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net"/>
<UserDocu></UserDocu>
</Documentation>
<Methode Name="makeApprox" Keyword="true">
<Documentation>
<UserDocu>Approximate the plate surface to a B-Spline surface</UserDocu>
</Documentation>
</Methode>
</PythonExport>
</GenerateModel>

View File

@@ -1,40 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Father="GeometrySurfacePy"
Name="RectangularTrimmedSurfacePy"
PythonName="Part.RectangularTrimmedSurface"
Twin="GeomTrimmedSurface"
TwinPointer="GeomTrimmedSurface"
Include="Mod/Part/App/Geometry.h"
Namespace="Part"
FatherInclude="Mod/Part/App/GeometrySurfacePy.h"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
<UserDocu>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.</UserDocu>
</Documentation>
<Methode Name="setTrim">
<Documentation>
<UserDocu>Modifies this patch by changing the trim values applied to the original surface</UserDocu>
</Documentation>
</Methode>
<Attribute Name="BasisSurface" ReadOnly="true">
<Documentation>
<UserDocu></UserDocu>
</Documentation>
<Parameter Name="BasisSurface" Type="Object"/>
</Attribute>
</PythonExport>
</GenerateModel>
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Name="RectangularTrimmedSurfacePy"
Namespace="Part"
Twin="GeomTrimmedSurface"
TwinPointer="GeomTrimmedSurface"
PythonName="Part.RectangularTrimmedSurface"
FatherInclude="Mod/Part/App/GeometrySurfacePy.h"
Include="Mod/Part/App/Geometry.h"
Father="GeometrySurfacePy"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net"/>
<UserDocu>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.</UserDocu>
</Documentation>
<Methode Name="setTrim">
<Documentation>
<UserDocu>Modifies this patch by changing the trim values applied to the original surface</UserDocu>
</Documentation>
</Methode>
<Attribute Name="BasisSurface" ReadOnly="true">
<Documentation>
<UserDocu></UserDocu>
</Documentation>
<Parameter Name="BasisSurface" Type="Object"/>
</Attribute>
</PythonExport>
</GenerateModel>

View File

@@ -1,49 +1,49 @@
<?xml version="1.0" encoding="utf-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Father="GeometrySurfacePy"
Name="SpherePy"
PythonName="Part.Sphere"
Twin="GeomSphere"
TwinPointer="GeomSphere"
Include="Mod/Part/App/Geometry.h"
Namespace="Part"
FatherInclude="Mod/Part/App/GeometrySurfacePy.h"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
<UserDocu>Describes a sphere in 3D space</UserDocu>
</Documentation>
<Attribute Name="Radius" ReadOnly="false">
<Documentation>
<UserDocu>The radius of the sphere.</UserDocu>
</Documentation>
<Parameter Name="Radius" Type="Float"/>
</Attribute>
<Attribute Name="Area" ReadOnly="true">
<Documentation>
<UserDocu>Compute the area of the sphere.</UserDocu>
</Documentation>
<Parameter Name="Area" Type="Float"/>
</Attribute>
<Attribute Name="Volume" ReadOnly="true">
<Documentation>
<UserDocu>Compute the volume of the sphere.</UserDocu>
</Documentation>
<Parameter Name="Volume" Type="Float"/>
</Attribute>
<Attribute Name="Center" ReadOnly="false">
<Documentation>
<UserDocu>Center of the sphere.</UserDocu>
</Documentation>
<Parameter Name="Center" Type="Object"/>
</Attribute>
<Attribute Name="Axis" ReadOnly="false">
<Documentation>
<UserDocu>The axis direction of the circle</UserDocu>
</Documentation>
<Parameter Name="Axis" Type="Object"/>
</Attribute>
</PythonExport>
</GenerateModel>
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Name="SpherePy"
Namespace="Part"
Twin="GeomSphere"
TwinPointer="GeomSphere"
PythonName="Part.Sphere"
FatherInclude="Mod/Part/App/GeometrySurfacePy.h"
Include="Mod/Part/App/Geometry.h"
Father="GeometrySurfacePy"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net"/>
<UserDocu>Describes a sphere in 3D space</UserDocu>
</Documentation>
<Attribute Name="Radius" ReadOnly="false">
<Documentation>
<UserDocu>The radius of the sphere.</UserDocu>
</Documentation>
<Parameter Name="Radius" Type="Float"/>
</Attribute>
<Attribute Name="Area" ReadOnly="true">
<Documentation>
<UserDocu>Compute the area of the sphere.</UserDocu>
</Documentation>
<Parameter Name="Area" Type="Float"/>
</Attribute>
<Attribute Name="Volume" ReadOnly="true">
<Documentation>
<UserDocu>Compute the volume of the sphere.</UserDocu>
</Documentation>
<Parameter Name="Volume" Type="Float"/>
</Attribute>
<Attribute Name="Center" ReadOnly="false">
<Documentation>
<UserDocu>Center of the sphere.</UserDocu>
</Documentation>
<Parameter Name="Center" Type="Object"/>
</Attribute>
<Attribute Name="Axis" ReadOnly="false">
<Documentation>
<UserDocu>The axis direction of the circle</UserDocu>
</Documentation>
<Parameter Name="Axis" Type="Object"/>
</Attribute>
</PythonExport>
</GenerateModel>

View File

@@ -1,35 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Father="GeometrySurfacePy"
Name="SurfaceOfExtrusionPy"
PythonName="Part.SurfaceOfExtrusion"
Twin="GeomSurfaceOfExtrusion"
TwinPointer="GeomSurfaceOfExtrusion"
Include="Mod/Part/App/Geometry.h"
Namespace="Part"
FatherInclude="Mod/Part/App/GeometrySurfacePy.h"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
<UserDocu>Describes a surface of linear extrusion</UserDocu>
</Documentation>
<Attribute Name="Direction">
<Documentation>
<UserDocu>
Sets or gets the direction of revolution.
</UserDocu>
</Documentation>
<Parameter Name="Direction" Type="Object"/>
</Attribute>
<Attribute Name="BasisCurve">
<Documentation>
<UserDocu>
Sets or gets the basic curve.
</UserDocu>
</Documentation>
<Parameter Name="BasisCurve" Type="Object"/>
</Attribute>
</PythonExport>
</GenerateModel>
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Name="SurfaceOfExtrusionPy"
Namespace="Part"
Twin="GeomSurfaceOfExtrusion"
TwinPointer="GeomSurfaceOfExtrusion"
PythonName="Part.SurfaceOfExtrusion"
FatherInclude="Mod/Part/App/GeometrySurfacePy.h"
Include="Mod/Part/App/Geometry.h"
Father="GeometrySurfacePy"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net"/>
<UserDocu>Describes a surface of linear extrusion</UserDocu>
</Documentation>
<Attribute Name="Direction">
<Documentation>
<UserDocu>Sets or gets the direction of revolution.</UserDocu>
</Documentation>
<Parameter Name="Direction" Type="Object"/>
</Attribute>
<Attribute Name="BasisCurve">
<Documentation>
<UserDocu>Sets or gets the basic curve.</UserDocu>
</Documentation>
<Parameter Name="BasisCurve" Type="Object"/>
</Attribute>
</PythonExport>
</GenerateModel>

View File

@@ -1,43 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Father="GeometrySurfacePy"
Name="SurfaceOfRevolutionPy"
PythonName="Part.SurfaceOfRevolution"
Twin="GeomSurfaceOfRevolution"
TwinPointer="GeomSurfaceOfRevolution"
Include="Mod/Part/App/Geometry.h"
Namespace="Part"
FatherInclude="Mod/Part/App/GeometrySurfacePy.h"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
<UserDocu>Describes a surface of revolution</UserDocu>
</Documentation>
<Attribute Name="Location">
<Documentation>
<UserDocu>
Sets or gets the location of revolution.
</UserDocu>
</Documentation>
<Parameter Name="Location" Type="Object"/>
</Attribute>
<Attribute Name="Direction">
<Documentation>
<UserDocu>
Sets or gets the direction of revolution.
</UserDocu>
</Documentation>
<Parameter Name="Direction" Type="Object"/>
</Attribute>
<Attribute Name="BasisCurve">
<Documentation>
<UserDocu>
Sets or gets the basic curve.
</UserDocu>
</Documentation>
<Parameter Name="BasisCurve" Type="Object"/>
</Attribute>
</PythonExport>
</GenerateModel>
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Name="SurfaceOfRevolutionPy"
Namespace="Part"
Twin="GeomSurfaceOfRevolution"
TwinPointer="GeomSurfaceOfRevolution"
PythonName="Part.SurfaceOfRevolution"
FatherInclude="Mod/Part/App/GeometrySurfacePy.h"
Include="Mod/Part/App/Geometry.h"
Father="GeometrySurfacePy"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net"/>
<UserDocu>Describes a surface of revolution</UserDocu>
</Documentation>
<Attribute Name="Location">
<Documentation>
<UserDocu>Sets or gets the location of revolution.</UserDocu>
</Documentation>
<Parameter Name="Location" Type="Object"/>
</Attribute>
<Attribute Name="Direction">
<Documentation>
<UserDocu>Sets or gets the direction of revolution.</UserDocu>
</Documentation>
<Parameter Name="Direction" Type="Object"/>
</Attribute>
<Attribute Name="BasisCurve">
<Documentation>
<UserDocu>Sets or gets the basic curve.</UserDocu>
</Documentation>
<Parameter Name="BasisCurve" Type="Object"/>
</Attribute>
</PythonExport>
</GenerateModel>

View File

@@ -1,48 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Father="TopoShapePy"
Name="TopoShapeVertexPy"
Twin="TopoShape"
TwinPointer="TopoShape"
Include="Mod/Part/App/TopoShape.h"
Constructor="true"
Namespace="Part"
FatherInclude="Mod/Part/App/TopoShapePy.h"
FatherNamespace="Part">
<Documentation>
<Author Licence="LGPL" Name="Juergen Riegel" EMail="Juergen.Riegel@web.de" />
<UserDocu>TopoShapeVertex is the OpenCasCade topological vertex wrapper</UserDocu>
</Documentation>
<Attribute Name="X" ReadOnly="true">
<Documentation>
<UserDocu>X component of this Vertex.</UserDocu>
</Documentation>
<Parameter Name="X" Type="Float"/>
</Attribute>
<Attribute Name="Y" ReadOnly="true">
<Documentation>
<UserDocu>Y component of this Vertex.</UserDocu>
</Documentation>
<Parameter Name="Y" Type="Float"/>
</Attribute>
<Attribute Name="Z" ReadOnly="true">
<Documentation>
<UserDocu>Z component of this Vertex.</UserDocu>
</Documentation>
<Parameter Name="Z" Type="Float"/>
</Attribute>
<Attribute Name="Point" ReadOnly="true">
<Documentation>
<UserDocu>Position of this Vertex as a Vector</UserDocu>
</Documentation>
<Parameter Name="Point" Type="Object"/>
</Attribute>
<Attribute Name="Tolerance">
<Documentation>
<UserDocu>Set or get the tolerance of the vertex</UserDocu>
</Documentation>
<Parameter Name="Tolerance" Type="Float"/>
</Attribute>
</PythonExport>
</GenerateModel>
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Name="TopoShapeVertexPy"
Namespace="Part"
Twin="TopoShape"
TwinPointer="TopoShape"
FatherInclude="Mod/Part/App/TopoShapePy.h"
Include="Mod/Part/App/TopoShape.h"
Father="TopoShapePy"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Juergen Riegel" EMail="Juergen.Riegel@web.de"/>
<UserDocu>TopoShapeVertex is the OpenCasCade topological vertex wrapper</UserDocu>
</Documentation>
<Attribute Name="X" ReadOnly="true">
<Documentation>
<UserDocu>X component of this Vertex.</UserDocu>
</Documentation>
<Parameter Name="X" Type="Float"/>
</Attribute>
<Attribute Name="Y" ReadOnly="true">
<Documentation>
<UserDocu>Y component of this Vertex.</UserDocu>
</Documentation>
<Parameter Name="Y" Type="Float"/>
</Attribute>
<Attribute Name="Z" ReadOnly="true">
<Documentation>
<UserDocu>Z component of this Vertex.</UserDocu>
</Documentation>
<Parameter Name="Z" Type="Float"/>
</Attribute>
<Attribute Name="Point" ReadOnly="true">
<Documentation>
<UserDocu>Position of this Vertex as a Vector</UserDocu>
</Documentation>
<Parameter Name="Point" Type="Object"/>
</Attribute>
<Attribute Name="Tolerance">
<Documentation>
<UserDocu>Set or get the tolerance of the vertex</UserDocu>
</Documentation>
<Parameter Name="Tolerance" Type="Float"/>
</Attribute>
</PythonExport>
</GenerateModel>

View File

@@ -1,55 +1,55 @@
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Father="GeometrySurfacePy"
Name="ToroidPy"
PythonName="Part.Toroid"
Twin="GeomToroid"
TwinPointer="GeomToroid"
Include="Mod/Part/App/Geometry.h"
Namespace="Part"
FatherInclude="Mod/Part/App/GeometrySurfacePy.h"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
<UserDocu>Describes a toroid in 3D space</UserDocu>
</Documentation>
<Attribute Name="MajorRadius" ReadOnly="false">
<Documentation>
<UserDocu>The major radius of the toroid.</UserDocu>
</Documentation>
<Parameter Name="MajorRadius" Type="Float"/>
</Attribute>
<Attribute Name="MinorRadius" ReadOnly="false">
<Documentation>
<UserDocu>The minor radius of the toroid.</UserDocu>
</Documentation>
<Parameter Name="MinorRadius" Type="Float"/>
</Attribute>
<Attribute Name="Center" ReadOnly="false">
<Documentation>
<UserDocu>Center of the toroid.</UserDocu>
</Documentation>
<Parameter Name="Center" Type="Object"/>
</Attribute>
<Attribute Name="Axis" ReadOnly="false">
<Documentation>
<UserDocu>The axis direction of the toroid</UserDocu>
</Documentation>
<Parameter Name="Axis" Type="Object"/>
</Attribute>
<Attribute Name="Area" ReadOnly="true">
<Documentation>
<UserDocu>Compute the area of the toroid.</UserDocu>
</Documentation>
<Parameter Name="Area" Type="Float"/>
</Attribute>
<Attribute Name="Volume" ReadOnly="true">
<Documentation>
<UserDocu>Compute the volume of the toroid.</UserDocu>
</Documentation>
<Parameter Name="Volume" Type="Float"/>
</Attribute>
</PythonExport>
</GenerateModel>
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Name="ToroidPy"
Namespace="Part"
Twin="GeomToroid"
TwinPointer="GeomToroid"
PythonName="Part.Toroid"
FatherInclude="Mod/Part/App/GeometrySurfacePy.h"
Include="Mod/Part/App/Geometry.h"
Father="GeometrySurfacePy"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net"/>
<UserDocu>Describes a toroid in 3D space</UserDocu>
</Documentation>
<Attribute Name="MajorRadius" ReadOnly="false">
<Documentation>
<UserDocu>The major radius of the toroid.</UserDocu>
</Documentation>
<Parameter Name="MajorRadius" Type="Float"/>
</Attribute>
<Attribute Name="MinorRadius" ReadOnly="false">
<Documentation>
<UserDocu>The minor radius of the toroid.</UserDocu>
</Documentation>
<Parameter Name="MinorRadius" Type="Float"/>
</Attribute>
<Attribute Name="Center" ReadOnly="false">
<Documentation>
<UserDocu>Center of the toroid.</UserDocu>
</Documentation>
<Parameter Name="Center" Type="Object"/>
</Attribute>
<Attribute Name="Axis" ReadOnly="false">
<Documentation>
<UserDocu>The axis direction of the toroid</UserDocu>
</Documentation>
<Parameter Name="Axis" Type="Object"/>
</Attribute>
<Attribute Name="Area" ReadOnly="true">
<Documentation>
<UserDocu>Compute the area of the toroid.</UserDocu>
</Documentation>
<Parameter Name="Area" Type="Float"/>
</Attribute>
<Attribute Name="Volume" ReadOnly="true">
<Documentation>
<UserDocu>Compute the volume of the toroid.</UserDocu>
</Documentation>
<Parameter Name="Volume" Type="Float"/>
</Attribute>
</PythonExport>
</GenerateModel>

View File

@@ -1,28 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Father="BoundedCurvePy"
Name="TrimmedCurvePy"
PythonName="Part.TrimmedCurve"
Twin="GeomTrimmedCurve"
TwinPointer="GeomTrimmedCurve"
Include="Mod/Part/App/Geometry.h"
Namespace="Part"
FatherInclude="Mod/Part/App/BoundedCurvePy.h"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Abdullah Tahiri" EMail="abdullah.tahiri.yo@gmail.com" />
<UserDocu>
The abstract class TrimmedCurve is the root class of all trimmed curve objects.
</UserDocu>
</Documentation>
<Methode Name="setParameterRange" Const="false">
<Documentation>
<UserDocu>
Re-trims this curve to the provided parameter range ([Float=First, Float=Last])
</UserDocu>
</Documentation>
</Methode>
</PythonExport>
</GenerateModel>
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Name="TrimmedCurvePy"
Namespace="Part"
Twin="GeomTrimmedCurve"
TwinPointer="GeomTrimmedCurve"
PythonName="Part.TrimmedCurve"
FatherInclude="Mod/Part/App/BoundedCurvePy.h"
Include="Mod/Part/App/Geometry.h"
Father="BoundedCurvePy"
FatherNamespace="Part"
Constructor="true">
<Documentation>
<Author Licence="LGPL" Name="Abdullah Tahiri" EMail="abdullah.tahiri.yo@gmail.com"/>
<UserDocu>The abstract class TrimmedCurve is the root class of all trimmed curve objects.</UserDocu>
</Documentation>
<Methode Name="setParameterRange" Const="false">
<Documentation>
<UserDocu>Re-trims this curve to the provided parameter range ([Float=First, Float=Last])</UserDocu>
</Documentation>
</Methode>
</PythonExport>
</GenerateModel>