mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
more docsstrings
This commit is contained in:
parent
0b616dd90a
commit
1087e961ca
@ -1836,9 +1836,10 @@ DLL_HEADER void ExportNgOCCShapes(py::module &m)
|
|||||||
aTool.AddWire(TopoDS::Wire(shape));
|
aTool.AddWire(TopoDS::Wire(shape));
|
||||||
aTool.CheckCompatibility(Standard_False);
|
aTool.CheckCompatibility(Standard_False);
|
||||||
return aTool.Shape();
|
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")
|
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())
|
.def(py::init<gp_Ax3, gp_Ax2d>(), py::arg("axes")=gp_Ax3(), py::arg("pos")=gp_Ax2d())
|
||||||
|
@ -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 .libngpy._NgOCC import *
|
||||||
from .meshing import meshsize
|
from .meshing import meshsize
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user