Skip to content

Commit

Permalink
ReverseEngineering: [skip ci] improve doc string of approxSurface
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Aug 15, 2022
1 parent baf294a commit 68053e4
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions src/Mod/ReverseEngineering/App/AppReverseEngineering.cpp
Expand Up @@ -79,9 +79,24 @@ class Module : public Py::ExtensionModule<Module>
Module() : Py::ExtensionModule<Module>("ReverseEngineering")
{
add_keyword_method("approxSurface",&Module::approxSurface,
"approxSurface(Points=,UDegree=3,VDegree=3,NbUPoles=6,NbVPoles=6,Smooth=True,\n"
"Weight=0.1,Grad=1.0,Bend=0.0,\n"
"Iterations=5,Correction=True,PatchFactor=1.0)"
"approxSurface(Points, UDegree=3, VDegree=3, NbUPoles=6, NbVPoles=6,\n"
"Smooth=True, Weight=0.1, Grad=1.0, Bend=0.0, Curv=0.0\n"
"Iterations=5, Correction=True, PatchFactor=1.0, UVDirs=((ux, uy, uz), (vx, vy, vz)))\n\n"
"Points: the input data (e.g. a point cloud or mesh)\n"
"UDegree: the degree in u parametric direction\n"
"VDegree: the degree in v parametric direction\n"
"NbUPoles: the number of control points in u parametric direction\n"
"NbVPoles: the number of control points in v parametric direction\n"
"Smooth: use energy terms to create a smooth surface\n"
"Weight: weight of the energy terms altogether\n"
"Grad: weight of the gradient term\n"
"Bend: weight of the bending energy term\n"
"Curv: weight of the deviation of curvature term\n"
"Iterations: number of iterations\n"
"Correction: perform a parameter correction of each iteration step\n"
"PatchFactor: create an extended surface\n"
"UVDirs: set the u,v parameter directions as tuple of two vectors\n"
" If not set then they will be determined by computing a best-fit plane\n"
);
#if defined(HAVE_PCL_SURFACE)
add_keyword_method("triangulate",&Module::triangulate,
Expand Down

0 comments on commit 68053e4

Please sign in to comment.