cosplay: Touhou/Houjuu Nue #4

Open
aniva wants to merge 189 commits from touhou/houjuu-nue into main
2 changed files with 12 additions and 2 deletions
Showing only changes of commit 0e5445ebb5 - Show all commits

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()