From 2460649fc86d7d8c508421f246ce8b5618388f9a Mon Sep 17 00:00:00 2001 From: Simon Vidanovic Date: Wed, 12 Jun 2024 15:59:35 -0700 Subject: [PATCH] Polygonial pillars interface change. --- src/wincalcbindings.cpp | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/wincalcbindings.cpp b/src/wincalcbindings.cpp index aa4b1d1..ad0d17b 100644 --- a/src/wincalcbindings.cpp +++ b/src/wincalcbindings.cpp @@ -1796,9 +1796,21 @@ PYBIND11_MODULE(wincalcbindings, m) { py::arg("pillar"), py::arg("pressure")) .def_static( "create_pillar", - py::overload_cast( + py::overload_cast( &Tarcog::ISO15099::Layers::createPillar), - "Static function to add a polygonal pillar to a Tarcog gap", + "Static function to add a triangular pillar to a Tarcog gap", + py::arg("pillar"), py::arg("pressure")) + .def_static( + "create_pillar", + py::overload_cast( + &Tarcog::ISO15099::Layers::createPillar), + "Static function to add a pentagon pillar to a Tarcog gap", + py::arg("pillar"), py::arg("pressure")) + .def_static( + "create_pillar", + py::overload_cast( + &Tarcog::ISO15099::Layers::createPillar), + "Static function to add a hexagon pillar to a Tarcog gap", py::arg("pillar"), py::arg("pressure")) .def_static( "create_pillar",