Home
Reply
Contributor
cw_robert
Posts: 16

How to sqeeze a 3d body into a 2d sheet

[ Edited ]
Hi all,
 
i would like to get the shadow of a solid body, that means the projection of that body in a plane . But i can't find a proper api for that purpose, neither for body or any subordinate entity. So i did it manually by projecting every single vertex into that plane. But with the moved vertices the faces get invalid so i have to rebulid each face with the vew vertices, create sheet bodys and weld them all together.
That approach is quite cumbersome and it works only as long as i'm dealing with plane faces and straight edges.
Does anyone here know a better solution for that which will work with arbitrary surface and edge forms?
 
Greetings,
Robert
 


Message Edited by cw_robert on 09-12-2007 02:27 PM
Trusted Contributor
Tim
Posts: 14

Re: How to sqeeze a 3d body into a 2d sheet

How about using PHLV5 to generate the precise edge projection plus silhouttes. Outlines are tagged plus with some additional logic you could cover for a 2D sheet. (We use PHLV5 for precison 3D to 2D drawing generation)

Tim
New Visitor
Frank
Posts: 1

Re: How to sqeeze a 3d body into a 2d sheet

Creating silhouttes is a good idea and should work.
To produce shadow from a point light source may be a bit more involved.