Return a thickened face
(self, thickness: float)
| 3766 | return adaptor.Plane() |
| 3767 | |
| 3768 | def thicken(self, thickness: float) -> Solid: |
| 3769 | """ |
| 3770 | Return a thickened face |
| 3771 | """ |
| 3772 | |
| 3773 | builder = BRepOffset_MakeOffset() |
| 3774 | |
| 3775 | builder.Initialize( |
| 3776 | self.wrapped, |
| 3777 | thickness, |
| 3778 | 1.0e-6, |
| 3779 | BRepOffset_Mode.BRepOffset_Skin, |
| 3780 | False, |
| 3781 | False, |
| 3782 | GeomAbs_Intersection, |
| 3783 | True, |
| 3784 | ) # The last True is important to make a solid |
| 3785 | |
| 3786 | builder.MakeOffsetShape() |
| 3787 | |
| 3788 | return Solid(builder.Shape()) |
| 3789 | |
| 3790 | @classmethod |
| 3791 | def constructOn(cls, f: Face, outer: Wire, *inner: Wire) -> Face: |
no test coverage detected