TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: cjw on September 08, 2008, 04:01:20 AM

Title: Could ask for the BOUNDARY of LightweightPolyline?
Post by: cjw on September 08, 2008, 04:01:20 AM
hope the picture could express clearly!
Title: Re: Could ask for the BOUNDARY of LightweightPolyline?
Post by: Spike Wilbury on September 08, 2008, 09:39:56 AM
FILMODE=0

REGEN

maybe?

Title: Re: Could ask for the BOUNDARY of LightweightPolyline?
Post by: CAB on September 08, 2008, 12:33:35 PM
Thinking of the easy way, I would offset the pline to both sides. Then step back through the vertex list &
adjust the vertex location to match 1/2 the width for that vertex & set the width to zero.
This doesn't exactly match the pline arc taper though. That would take two arc's I think.

Other method would be to create a new pline for each side using the vlax-curve-getFirstDeriv to create
a new vertex location.
Title: Re: Could ask for the BOUNDARY of LightweightPolyline?
Post by: cjw on September 08, 2008, 09:11:33 PM
Thanks LE,I want to get the BOUNDARY to finish other things,but not print. thanks again..

Thanks CAB,I only can think of the "offset" method. but finally find it can't achieve result nicety.
Okay,thanks again,I will try your method.or I guess there are other way interesting..
Title: Re: Could ask for the BOUNDARY of LightweightPolyline?
Post by: Joe Burke on September 09, 2008, 08:43:40 AM
Another possible method is wmfout/wmfin. But the result is a mess of triangles given the example.
Title: Re: Could ask for the BOUNDARY of LightweightPolyline?
Post by: Spike Wilbury on September 09, 2008, 12:05:05 PM
Another possible method is wmfout/wmfin. But the result is a mess of triangles given the example.

Once, from there, draw a rectangle surrounding the objects and use bpoly and create an external boundary....
Title: Re: Could ask for the BOUNDARY of LightweightPolyline?
Post by: cjw on September 09, 2008, 08:57:45 PM
Once, from there, draw a rectangle surrounding the objects and use bpoly and create an external boundary....
yaha!
"use bpoly"  just as my wish.but how?  :|
I have no idea!
Title: Re: Could ask for the BOUNDARY of LightweightPolyline?
Post by: Spike Wilbury on September 09, 2008, 11:27:12 PM
Once, from there, draw a rectangle surrounding the objects and use bpoly and create an external boundary....
yaha!
"use bpoly"  just as my wish.but how?  :|
I have no idea!

Let see it.... :)
Title: Re: Could ask for the BOUNDARY of LightweightPolyline?
Post by: Joe Burke on September 10, 2008, 08:00:43 AM
Hola Luis,

What program do you use to create the animation?
Title: Re: Could ask for the BOUNDARY of LightweightPolyline?
Post by: MP on September 10, 2008, 09:31:21 AM
Camtasia Studio (http://www.techsmith.com/camtasia.asp).
Title: Re: Could ask for the BOUNDARY of LightweightPolyline?
Post by: cjw on September 11, 2008, 12:49:48 AM
Let see it.... :)
Nice job,Luis 
Thank you... :-D
Title: Re: Could ask for the BOUNDARY of LightweightPolyline?
Post by: cjw on October 27, 2008, 01:59:19 AM
Excuse me!
How wmfin the same scale and position after wmfout?
Could it be expressed by lisp? thank you!!!
I have searched, but no result!!!
Title: Re: Could ask for the BOUNDARY of LightweightPolyline?
Post by: MP on October 27, 2008, 02:22:43 AM
Top left hand coordinate of the same viewport you wmfout from, inserted at a 2:1 scale. You mustn't change the zoom factor or view center between the wmfout and wmfin activities or else the result will be wack. You can be more precise by examining the viewport coordinates and comparing them to the wmfin block bounding box, but you will find the ration is pretty close to 2:1. Finally, set all your display vars to the maximum before the wmfout -- the quality of the export / import is directly related. Search this website for a proggy called hires, it will do most of the latter for you. Having said all this, wmfout / in usually produces a mess.
Title: Re: Could ask for the BOUNDARY of LightweightPolyline?
Post by: cjw on October 28, 2008, 12:22:38 AM
"wmfout / in usually produces a mess"

thank you MP...
explain so clearly...
I profited greatly ...
 :-)