AutoCAD generally can't handle it when extrusion vectors are not conformable. For example, just looking at the two green lines, the normals are.
(1.0 8.39768e-011 -1.54279e-026)
(0.0 0.0 1.0)
So even though you see them as coplanar, AutoCAD cannot. If you look at the vectors for all of the items, you get.
(1.0 8.39768e-011 -1.54279e-026)
(1.0 8.39768e-011 -1.54279e-026)
(1.0 8.39768e-011 -1.54279e-026)
(1.0 0.0 0.0)
(1.0 0.0 -5.55277e-017)
(1.0 0.0 -5.55277e-017)
(1.0 0.0 -5.55277e-017)
(1.0 0.0 -5.55277e-017)
(1.0 0.0 0.0)
(1.0 0.0 0.0)
(0.0 0.0 1.0)
(0.0 0.0 1.0)
(0.0 0.0 1.0)
(0.0 0.0 1.0)
Now, if you were drawing these objects in a common plane, they would have the same normals. If you were drawing them programmatically, it may depend on the original size and coordinate systems during each operation.
It is possible to fix this by program but, I encourage you to use the -view command to look at the right side of each problem set of lines and use the flatten command. If that will mess up the drawing, you would want too loop through the entire set and set the normals to (1.0, 1.0, 0.0) as the following does. Try to work in planes in the future and work closer to the origin of the coordinate system.
(defun c:normalizex ()
(if (ssget)
(vlax-for n (vla-get-activeselectionset
(vla-get-activedocument
(vlax-get-acad-object)))
(print (vla-put-normal n (vlax-3d-point '(1.0 0.0 0.0)))) ;;X- normal direction
))
)
Architect, Registered NC, VA, SC, & GA.