Hi all folks,
Recently I played with my
old routines for 3d to 3d visualisation (3d model in catesian system => 3d generic axonometry in xOy plane view... Of course, transformation is done with 3d distorsion of model, but viewed from "top" view with hide or shademode variants of AutoCAD transformation is correct... Now I added posibility of orbiting while using parameters of generic axonometry and rotation of model with (grread) function... It still behaves slow with too complex models (pfmesh objects), so I decided to transform each pfmesh one by one alowing in the end to be transformed whole model with chosen axonometry - STRONGLY RECOMMENDED THAT YOUR MODEL HAS AS LESS AS POSSIBLE POINTS PER PFMESH 3D OBJECT... Note : as I described in my old post on AUGI, for all of this you have to have possibility to convert CAD 3D model (probably 3DSOLID geometry) to polyface meshes geometry... I use for this Autodesk 3DS MAX (import from CAD - DWG) => (export to DWG 2000 file format) and then I open model in CAD - you have to correct Layer colors after this to match original, for MAX import gives different colors than CAD original model... So here is my precious code I decided to share :
[EDIT: If you have an option in CAD - CONVTOMESH command, you can apply this routine to these kind of objects also without need to jump to 3ds max]
Regards, M.R.
Hope this will be useful for architects like it is for me...
[EDIT : CODE UPDATED TO SUPPORT MESH ENTITIES - NOT JUST (PFMESHES - POLYLINE), SO POSTED LISP ISN'T QUITE CORRECT - COPY+PASTE CODE THAT WAS POSTED ABOVE]