Skip to content

Commit

Permalink
Layers back to layers namespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
vidanovic committed Sep 18, 2024
1 parent fd3c0c3 commit 92ed3fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pywincalc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from wincalcbindings import (
AirHorizontalDirection, BSDF, BSDFBasisType, BSDFDirection, BSDFDirections, BSDFHemisphere,
BSDFIntegrator, BoundaryConditionsCoefficientModelType, CMABestWorstUFactors, CMAResult, CMAWindow,
CMAWindowDualVisionHorizontal, CMAWindowDualVisionVertical, CMAWindowSingleVision, Layers, CellSpacingType, PolygonType, pillar_cell_area,
CMAWindowDualVisionHorizontal, CMAWindowDualVisionVertical, CMAWindowSingleVision, layers, CellSpacingType, PolygonType, pillar_cell_area,
PillarData, CylindricalPillar, SphericalPillar, RectangularPillar, TriangularPillar, PentagonPillar, HexagonPillar, LinearBearingPillar, TruncatedConePillar, Glass, PillarMeasurement,
AnnulusCylinderPillar, CShapedCylinderPillar, UniversalSupportPillar, CylindricalPillarLayer, SphericalPillarLayer, RectangularPillarLayer,
TriangularPillarLayer, PentagonPillarLayer, HexagonPillarLayer, LinearBearingPillarLayer, TruncatedConePillarLayer,
Expand Down
2 changes: 1 addition & 1 deletion src/wincalcbindings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1785,7 +1785,7 @@ PYBIND11_MODULE(wincalcbindings, m) {

m.def("is_closed", &EffectiveLayers::isClosed, py::arg("effective_openness"));

py::module_ layers = m.def_submodule("Layers", "Submodule for Tarcog Layers");
py::module_ layers = m.def_submodule("layers", "Submodule for Tarcog Layers");

layers.def("solid", py::overload_cast<double, double>(&Tarcog::ISO15099::Layers::solid),
"Factory method for creating a solid Tarcog layer with basic parameters",
Expand Down

0 comments on commit 92ed3fd

Please sign in to comment.