Open jmwright opened 4 years ago
Nope, sounds like some internal change in OCCT. What does the matrix in question represent? What kind of transformation it is?
I'm not sure what the original intent was, or why that specific matrix was used. It's from a cqparts test. I believe that cqparts.utils.CoodSystem
inherits from cadquery.Plane
.
If the matrix is truly random as the comment right on line 73 suggests, maybe OCCT 7.4.0 is just catching an error that was ignored before?
Indeed https://github.com/mmaenz/occt/blob/d42abf6789eb15032e1c4841f7887e8ee51971ea/src/gp/gp_GTrsf.lxx#L180 We might want to change this behavior actually.
I was thinking - do we actually need to expose the matrix interface at all? There are nicer ways of setting the transformations.
Maybe not. I don't have a deep understanding of the use of the matrices in cqparts, but that functionality can probably be wrapped into the fluent API in CQ.
The following code runs fine against master, but not against the OCP branch.
When running it against the OCP branch, I get this:
@adam-urbanczyk Any ideas?