Ghost images
I have a program that takes 2D extruded solids (fig 1 & 2 ) and converts them to
true wire frame outlines. ( 1 solid with thickness = 12 lines )
The lines are all WCS, 3d points on a unique layer ( fig 3)
The end result that I am after is to create a ghosted image of the outline of the boxes
so that the psychical space of each box is shown but not any of the details about the box. ( fig 4)
A simple line entity does not render at all.
Giving a 3D line thickness can give unwanted results
Even then there isn't enough surface area to render well
Where I am getting stuck is converting each line into an extruded 2d solid or trace
thickness = the distance from point 10 to point 11 of the line
solid shape = 4 sided square
each side 0.1 long
rotated around point 10 in the plane perpendicular to point 11
( I did this manually to be able to create fig 4 )
[ Circles are harder to render well due the infinite number of reflections that they give off ]
fig 1
fig 2
fig 3
fig 4
I've thought of a bunch of scenarios, but none are working out well at all.
Any suggestions would be appreciated
(setq ss (ssget "X" '((0 . "LINE")(8 . "0D"))))
(setq i (sslength ss))
(while (not (minusp (setq i (1- i))))
(setq en (ssname ss i)
ed (entget en)
p10 (cdr (assoc 10 ed))
p11 (cdr (assoc 11 ed)))
;;;Convert the thing to a solid........
)
Thanks to anyone in advance. -David