Closed fnordpig closed 1 year ago
looks like the second wedge was missing the 7th parameter, here it is corrected
Wedge(2, 1, 0.0000001, 0, 0, 2, 5)
None of the first three parameters: xsize, ysize, zsize can be zero with the OCP BRepPrimAPI_MakeWedge. I find this class too complex - 7 dimensional parameters seems like too much. Should it remain when it's easy to create a sketch of whatever shape and extrude it?
Added a check and error measure for the first three values being > 0.
When trying to make a wedge without a "flat top" this fails:
with this error:
The work around is to do something like:
Which makes a wedge with an epsilon length flat top.