Millsy29 Posted May 4, 2011 Posted May 4, 2011 Dose anyone have a lisp to change 3D solids to 2D Thanks. Quote
Millsy29 Posted May 4, 2011 Author Posted May 4, 2011 it flattens everything else besides the 3d solids.. Quote
ReMark Posted May 4, 2011 Posted May 4, 2011 Methods for obtaining 2D views from 3D solids include: 1. SectionPlane 2. Flatshot 3. SolView / SolDraw / SolProf Quote
Millsy29 Posted May 4, 2011 Author Posted May 4, 2011 It is not the view i'm asking for, its more of furniture issue. The furniture is in 3d solids or 3d faces once command "aecobjexplode" has completed, and i would like to flatten furniture to make things easier. Quote
ReMark Posted May 4, 2011 Posted May 4, 2011 It's a "furniture" issue? So what do you do exactly? Explode a 3D solid of a piece of furniture then attempt to give all the geometry a "Z" elevation of "0"? Quote
Millsy29 Posted May 4, 2011 Author Posted May 4, 2011 i have sorted it .. i was using the flatten command in a 3d view, instead of plan view.. thanks for your input!! Quote
Ahankhah Posted May 4, 2011 Posted May 4, 2011 i have sorted it .. i was using the flatten command in a 3d view, instead of plan view.. thanks for your input!! But FLATTEN doesn't work perfect for small objects or objects far in view:(. Test you drawing before delivery:sick:. Quote
asos2000 Posted May 4, 2011 Posted May 4, 2011 Give this a try PS: Not mine I think that it is for LEE (defun c:Supflat (/ ss ssObj j) (vl-load-com) (vlax-map-collection (vla-get-Layers (vla-get-ActiveDocument (vlax-get-acad-object))) '(lambda (x) (vla-put-lock x :vlax-false))) (if (setq ss (ssget "X" (list (cons 410 (getvar "CTAB"))))) (progn (setq ssObj (mapcar 'vlax-ename->vla-object (mapcar 'cadr (ssnamex ss))) j 0) (foreach Obj ssObj (foreach n '(1e99 -1e99) (if (vl-catch-all-error-p (vl-catch-all-apply '(lambda (x) (vla-move x (vlax-3d-point (list 0 0 0)) (vlax-3d-point (list 0 0 n)))) (list Obj))) nil (setq j (1+ j))))) (princ (strcat "\n" (rtos (/ j 2.0)) " Objects Flattened."))) (princ "\n<!> No Objects Found <!>")) (princ)) Quote
Lee Mac Posted May 4, 2011 Posted May 4, 2011 Some more: http://www.cadtutor.net/forum/showthread.php?2019-Flatten Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.