98cd67f029
* claim: #3383 * Combine: tools from another component meet the target where they are shown (#3383) Bodies are evaluated in their own component's frame and an occurrence's placement is applied only for display. Combine passed tool bodies to the boolean untouched, so a tool in a component placed differently from the target's was read as if its coordinates were in the target's frame: a join that overlapped on screen gave two separate shells, and cuts and intersects missed the same way. Any placement difference did it, a turn or a plain move, in either direction. Combine now moves each tool by the inverse of the target's placement times the tool's own, the same placement used to show the body, keeping face lineage. A tool placed exactly like the target is left untouched, so combines within one component give the same result as before. Moving an occurrence now re-evaluates a combine that depends on it. * Joins, cuts and intersects draw their tools where they are shown (#3383) A primitive, extrude, revolve, loft, sweep, pipe or coil that joins, cuts or intersects bodies draws its tool in its own component's frame, but each body is kept in its own component's. A target in a component placed differently (an occurrence moved or turned, or a body moved into it) met the tool as if the tool's coordinates were in the target's frame: a join that overlapped on screen gave a separate lump 100 mm away, and cuts missed the same way. While such a feature evaluates, the tool now goes into each body's frame (the inverse of the body's placement times the feature's component's) wherever the join, cut or intersect meets it, and a body joined into one placed differently is moved into its frame. Bodies placed as the feature is are left untouched, so results within one component are unchanged. Features that name the bodies they change re-evaluate when an occurrence moves. This also settles the moved-fastener cut of #439 (Combine, earlier commit). * Through all and an extrude's contact tests see targets where they are shown (#3383) An extrude or revolve measured its through-all length, and tested where its tools meet the targets (a profile on a target's face, coplanar growth, holes over empty space, taper run-on), on the targets as stored in their own component's frame. With the tool now moved into a target placed differently, a through-all cut drawn from the root under a cube in a component moved 100 mm up was cut only as far as the cube is tall in its own frame, and missed it. These features now see the bodies they change that are placed differently moved into their own component's frame, the same moves the tools are taken back through, so the length reaches the target where it is shown. Bodies placed as the feature is are read as before.