-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Here is the original problem as I encountered it:
- You start with a workplane and you create a shape.
- You translate and rotate that shape.
- You then create a subsequent shape from the previous workplane
- If you execute offset2D on both of these solids you will get a correct offset for the first shape but the second will be offset and rotated by the original offset and rotation (see below)
If I apply my fix then everything goes back into the correct place:

The fundamental problem with my solution is that it depend on the centers not changing, which is not always the case. Some designs (see below) can create intersections when you create and an offset and those intersections need to be trimmed (hence changing the center of the wire).
When my fix is applied in the context of cq_cam then offsets that cause intersection and change the original shape will be moved into the previous center (see below).
There are however design that can still cause the issue with cq-cam:

So we need a robust way to detect when intersections happen and take that into account when correcting the offset.
Metadata
Metadata
Assignees
Labels
No labels


