Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

R: DXF codes for 3D Solids

2 views
Skip to first unread message

Marc'Antonio Alessi

unread,
Jan 26, 2002, 7:35:38 AM1/26/02
to
I do not remeber the author of this message but:

;;; go to spatial technolgies web site and get the sat guide book it
describes
;;; the structure of the file, autocad stores 3dsolid data in the same
format
;;; (entget) returns the entity data and the group 1 codes reflect each line
in
;;; the sat file. the strings are scrambled and can be translated to
readable
;;; text with this function:

;;; s = string to be translated to or from readable format or autocad entity
format


(defun tracis (s / n l)
(setq n "")
(while (> (strlen s) 0)
(setq
l (substr s 1 1)
s (substr s 2)
n (strcat n (if (= " " l) "" (chr (- 79 (- (ascii l) 80)))))
)
)
)

HTH

Marco


ha scritto nel messaggio
news:7FFC97B00E1131D0...@in.WebX.maYIadrTaRb...
> The attached DXF file is of a post 100x100x2400mm drawn as a solid. I
want
> to be able to use an external Visual Basic program to open the file and
> change the Width Depth and Height of the post so that the post will appear
> differently (to me). Say you may change it in the DXF to be 95x45x2700mm.
> The problem is that this R2000 DXF format (look under ENTITIES section)
does
> not appear very user friendly. Can you please tell me where I can find
the
> WxDxH code to change it?
>
> Thanks in advance.
>
> And...@computersupport.itgo.com (Adelaide - Australia)
>

0 new messages