feat: Nue wing R1

This commit is contained in:
Leni Aniva 2024-06-20 23:45:24 -07:00
parent 133c69b846
commit 0e5445ebb5
Signed by: aniva
GPG Key ID: 4D9B1C8D10EA4C50
2 changed files with 12 additions and 2 deletions

View File

@ -54,6 +54,16 @@ class Parameters:
)
return result
def wing_r1(self) -> Cq.Solid:
profile = self.wing_r1_profile()
result = (
Cq.Workplane("XY")
.placeSketch(profile)
.extrude(self.panel_thickness)
.val()
)
return result
def wing_root(self,
side_width=30,
side_height=100) -> Cq.Shape:

View File

@ -6,9 +6,9 @@ class Test(unittest.TestCase):
def test_wing_root(self):
p = M.Parameters()
p.wing_root()
def test_wing_profiles(self):
def test_wings(self):
p = M.Parameters()
p.wing_r1_profile()
p.wing_r1()
if __name__ == '__main__':
unittest.main()