applyTransforms
-
Hello,
In the documentation here, it says:
(static) transform(matrix, geometry) → {geom3}
Source:
modeling/src/geometries/geom3/transform.js, line 15
Transform the given geometry using the given matrix. This is a lazy transform of the polygons, as this function only adjusts the transforms. See applyTransforms() for the actual application of the transforms to the polygons.I can't find any other reference to applyTransforms. When I add objects to a union, it doesn't seem to apply the transforms. If I return an array of objects from my main function, it transforms them before rendering. That's fine I guess, but shouldn't union() work? And is there an applyTransforms() somewhere?
-
@sopatt Welcome
You don't have to worry about applying the transforms. That's done automatically before other operations like booleans, etc
You just have to position the shapes properly.
If you provide an example then we can help out. Also see some of the more complex examples.