diff --git a/src/wincalcbindings.cpp b/src/wincalcbindings.cpp index ad0d17b..35705bf 100644 --- a/src/wincalcbindings.cpp +++ b/src/wincalcbindings.cpp @@ -264,22 +264,12 @@ PYBIND11_MODULE(wincalcbindings, m) { Tarcog::ISO15099::RectangularPillar const &>(), py::arg("gap_layer"), py::arg("rectangular_pillar")); - py::class_>( - m, "PolygonalPillar") - .def(py::init(), - py::arg("height"), py::arg("material_conductivity"), - py::arg("cell_area"), py::arg("length"), py::arg("polygon_type")) - .def_readwrite("length", &Tarcog::ISO15099::PolygonalPillar::length) - .def_readwrite("polygon_type", &Tarcog::ISO15099::PolygonalPillar::type); - py::class_>( m, "TriangularPillarLayer") .def(py::init(), + Tarcog::ISO15099::TriangularPillar const &>(), py::arg("gap_layer"), py::arg("polygon_pillar")); py::class_>( m, "PentagonPillarLayer") .def(py::init(), + Tarcog::ISO15099::PentagonPillar const &>(), py::arg("gap_layer"), py::arg("polygon_pillar")); py::class_>( m, "HexagonPillarLayer") .def(py::init(), + Tarcog::ISO15099::HexagonPillar const &>(), py::arg("gap_layer"), py::arg("polygon_pillar")); py::class_>( m, "ProductDataThermal") - .def(py::init(), + .def(py::init(), py::arg("conductivity"), py::arg("thickness_meters"), py::arg("flipped") = false, py::arg("opening_top") = 0, py::arg("opening_bottom") = 0, py::arg("opening_left") = 0,