Tests extruding on an existing solid
(self)
| 1906 | # Not Implemented Yet |
| 1907 | |
| 1908 | def testWorkplaneOnExistingSolid(self): |
| 1909 | "Tests extruding on an existing solid" |
| 1910 | c = ( |
| 1911 | CQ(makeUnitCube()) |
| 1912 | .faces(">Z") |
| 1913 | .workplane() |
| 1914 | .circle(0.25) |
| 1915 | .circle(0.125) |
| 1916 | .extrude(0.25) |
| 1917 | ) |
| 1918 | self.saveModel(c) |
| 1919 | self.assertEqual(10, c.faces().size()) |
| 1920 | |
| 1921 | def testWorkplaneCenterMove(self): |
| 1922 | # this workplane is centered at x=0.5,y=0.5, the center of the upper face |