more docsstrings

This commit is contained in:
Joachim Schoeberl 2021-09-07 16:28:39 +02:00
parent 0b616dd90a
commit 1087e961ca
2 changed files with 15 additions and 3 deletions

View File

@ -1836,9 +1836,10 @@ DLL_HEADER void ExportNgOCCShapes(py::module &m)
aTool.AddWire(TopoDS::Wire(shape));
aTool.CheckCompatibility(Standard_False);
return aTool.Shape();
}, py::arg("wires"), py::arg("solid")=true);
}, py::arg("wires"), py::arg("solid")=true,
"Building a loft. This is a shell or solid passing through a set of sections (wires). "
"First and last sections may be vertices. See https://dev.opencascade.org/doc/refman/html/class_b_rep_offset_a_p_i___thru_sections.html#details");
py::class_<WorkPlane, shared_ptr<WorkPlane>> (m, "WorkPlane")
.def(py::init<gp_Ax3, gp_Ax2d>(), py::arg("axes")=gp_Ax3(), py::arg("pos")=gp_Ax2d())

View File

@ -1,3 +1,14 @@
""" Netgen OCC documentation
This module provides the Netgen OCCGeometry class, as well as Python wrappers
for OpenCascade functionality. This allows the construction from scratch, as well as
editing geometries imported via STEP format.
Most of the classes are directly py-wrapped from the OCCT classes.
For more detailed documentation consult the OCCT docs, a good starting point is
https://dev.opencascade.org/doc/refman/html/class_b_rep_builder_a_p_i___make_shape.html
"""
from .libngpy._NgOCC import *
from .meshing import meshsize