TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: aicr317 on January 15, 2010, 12:34:53 AM

Title: cab,how to make it???
Post by: aicr317 on January 15, 2010, 12:34:53 AM
thank u for the link http://www.theswamp.org/index.php?topic=1916.0
Although I do not know how to use the plottabs,but i very very Interested in your “set_image_tiles” which in the plottabs.lsp file,i want to konw how to make it as well as yours,

Title: Re: cab,how to make it???
Post by: aicr317 on January 15, 2010, 12:41:24 AM
it seems not like a sld,anyway ,i think if i can do like that ,means got another way to "pack the  sld into vlx" without the "_readstream" and "_writestream" function!
Title: Re: cab,how to make it???
Post by: aicr317 on January 15, 2010, 12:49:02 AM
perhaps the way is same as yours
Title: Re: cab,how to make it???
Post by: CAB on January 15, 2010, 08:44:00 AM
I used a Vector image.
go to the bottom of this page for an explanation, see  GetIcon
http://web2.airmail.net/terrycad/Tutorials/MyDialogs.htm
Title: Re: cab,how to make it???
Post by: aicr317 on January 15, 2010, 01:50:16 PM
I used a Vector image.
go to the bottom of this page for an explanation, see  GetIcon
http://web2.airmail.net/terrycad/Tutorials/MyDialogs.htm

I download geticon,and test it ,but i always do not know how do you get the list :

(start_image "vectors")
(mapcar 'vector_image ; Color 9
        (list 3 2 2 6 4 5 6 5 4 4 2 2 41 40 40 40 41 40 39 38 8 7 11 12 10 11 12
              9 9 9 9 9 9 9 9 9 8 7 8 7 38 38 38 38 45 45 43 42
             )
        (list 6 5 4 6 6 6 12 12 12 6 5 4 11 10 9 8 7 6 5 4 4 3 9 8 5 6 7 8 9 10
              11 12 12 13 14 6 5 6 6 12 8 7 6 5 6 7 12 11
             )
        (list 8 8 7 6 4 5 6 5 4 4 2 2 48 48 48 44 44 47 46 46 45 44 38 38 38 38
              38 11 11 11 11 14 15 16 16 11 10 7 8 7 40 40 40 40 48 48 44 48
             )
        (list 6 5 4 8 8 8 14 14 14 14 13 13 10 9 8 7 7 5 4 4 3 2 8 7 5 6 7 8 9
              10 11 11 12 13 14 6 5 8 14 14 10 9 8 7 6 7 12 11
             )
        (list 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9
              9 9 9 9 9 9 9 9 9 9 9 9 9 9 9
             )) ; mapcar
Title: Re: cab,how to make it???
Post by: aicr317 on January 15, 2010, 02:17:11 PM
if i want creat Vector image like this jpg file ,how to do it...
Title: Re: cab,how to make it???
Post by: aicr317 on January 18, 2010, 02:17:43 AM
who can help me.....
Title: Re: cab,how to make it???
Post by: CAB on January 18, 2010, 09:34:23 AM
Using Vector Images you can only simulate the image.
If you want to use an actual image you would need to use OpenDCL and not DCL.

See attached DWG. This is a quick demonstration of what you need to do. Lines only!
Title: Re: cab,how to make it???
Post by: aicr317 on January 18, 2010, 09:55:07 AM
Using Vector Images you can only simulate the image.
If you want to use an actual image you would need to use OpenDCL and not DCL.

See attached DWG. This is a quick demonstration of what you need to do. Lines only!


i know a bit, it is too difficult to me ,give up this job,thank you, cab.perhaps sld fits me much more
Title: Re: cab,how to make it???
Post by: CAB on January 18, 2010, 09:56:46 AM
Did you read this thread?
http://www.theswamp.org/index.php?topic=13884.0
Title: Re: cab,how to make it???
Post by: aicr317 on January 30, 2010, 12:26:08 PM
Using Vector Images you can only simulate the image.
If you want to use an actual image you would need to use OpenDCL and not DCL.

See attached DWG. This is a quick demonstration of what you need to do. Lines only!


now i have another question,how do you make a jpg file to cad  file ,just like this dwg file you offered me?use software?use cad to draw it?
Title: Re: cab,how to make it???
Post by: CAB on January 30, 2010, 02:59:24 PM
I imported the jpg into CAD and free hand drew lines.