#include "PreCompiled.h"#include <BRepBuilderAPI_MakePolygon.hxx>#include <Base/PyObjectBase.h>#include <Base/Console.h>#include <Base/Vector3D.h>#include <Mod/Part/App/TopoShapePy.h>#include <Mod/Part/App/TopoShapeWirePy.h>#include <Mod/Mesh/App/Core/Algorithm.h>#include <Mod/Mesh/App/Core/MeshKernel.h>#include <Mod/Mesh/App/Mesh.h>#include <Mod/Mesh/App/MeshPy.h>#include "MeshAlgos.h"#include "Mesher.h"Go to the source code of this file.
Functions | |
| static PyObject * | loftOnCurve (PyObject *self, PyObject *args) |
| static PyObject * | meshFromShape (PyObject *self, PyObject *args) |
| PyDoc_STRVAR (loft_doc,"Loft on curve.") | |
| static PyObject * | wireFromSegment (PyObject *self, PyObject *args) |
Variables | |
| struct PyMethodDef | MeshPart_methods [] |
Definition at line 42 of file AppMeshPartPy.cpp.
References Part::TopoShapePy::getTopoShapePtr(), RobotExample::l, MeshPart::MeshAlgos::LoftOnCurve(), PY_CATCH, Py_Error, PY_TRY, Part::TopoShapePy::Type, draftlibs::fcgeo::vec(), MovieTool::x, and MovieTool::y.
Definition at line 138 of file AppMeshPartPy.cpp.
References MeshPart::Mesher::createMesh(), MeshPart::Mesher::setDeflection(), MeshPart::Mesher::setLocalLength(), MeshPart::Mesher::setMaxArea(), MeshPart::Mesher::setMaxLength(), MeshPart::Mesher::setRegular(), Part::TopoShapePy::Type, and Base::Exception::what().
| PyDoc_STRVAR | ( | loft_doc | , | |
| "Loft on curve." | ||||
| ) |
Definition at line 96 of file AppMeshPartPy.cpp.
References Py::List::append(), Mesh::MeshObject::getKernel(), FemExample::m, Mesh2Shape::mesh, Py::new_reference_to(), Py::SeqBase< T >::size(), Mesh::MeshPy::Type, and Mesh2Shape::wires.
| struct PyMethodDef MeshPart_methods[] |
{
{"loftOnCurve",loftOnCurve, METH_VARARGS, loft_doc},
{"wireFromSegment",wireFromSegment, METH_VARARGS,
"Create wire(s) from boundary of segment"},
{"meshFromShape",meshFromShape, METH_VARARGS,
"Create mesh from shape"},
{NULL, NULL}
}
Definition at line 165 of file AppMeshPartPy.cpp.
Referenced by initMeshPart().
1.6.1