Open
Description
After subtracting one geometry from another of the same size along a given dimension and rotating the object, a one-pixel artifact appears in the plot:
To Reproduce
import tidy3d as td box = td.Box(center = (0,-9.01,10), size = (10,0.01,10)) cylinder = td.Cylinder(radius = 9, center = (0,-9.01,0), length=0.01, axis = 1) ax = (box-cylinder).plot(x=0) ax.set_aspect('auto') ax = (box-cylinder).rotated(np.pi/2,axis = 0).plot(x=0) ax.set_aspect('auto')
Expected behavior
Adding a small extra value for the length
argument of the cylinder produces the expected behavior: length=0.01+ 0.01