added web front end

This commit is contained in:
2026-02-13 14:20:30 -06:00
parent 1d8e60c5df
commit f707c87f7e
5 changed files with 1906 additions and 250 deletions

View File

@@ -169,6 +169,9 @@ class ToroidCore:
@property
def cross_section_area_mm2(self) -> float:
"""Rectangular cross-section area of the core material."""
if self.Ae_mm2 != None:
return self.Ae_mm2
return ((self.OD_mm - self.ID_mm) / 2.0) * self.height_mm
@property