Author Topic: Could ask for the BOUNDARY of LightweightPolyline?  (Read 3095 times)

0 Members and 1 Guest are viewing this topic.

cjw

  • Guest
Could ask for the BOUNDARY of LightweightPolyline?
« on: September 08, 2008, 04:01:20 AM »
hope the picture could express clearly!

Spike Wilbury

  • Guest
Re: Could ask for the BOUNDARY of LightweightPolyline?
« Reply #1 on: September 08, 2008, 09:39:56 AM »
FILMODE=0

REGEN

maybe?

« Last Edit: September 08, 2008, 09:54:50 AM by LE »

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Could ask for the BOUNDARY of LightweightPolyline?
« Reply #2 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.
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

cjw

  • Guest
Re: Could ask for the BOUNDARY of LightweightPolyline?
« Reply #3 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..

Joe Burke

  • Guest
Re: Could ask for the BOUNDARY of LightweightPolyline?
« Reply #4 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.

Spike Wilbury

  • Guest
Re: Could ask for the BOUNDARY of LightweightPolyline?
« Reply #5 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....

cjw

  • Guest
Re: Could ask for the BOUNDARY of LightweightPolyline?
« Reply #6 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!

Spike Wilbury

  • Guest
Re: Could ask for the BOUNDARY of LightweightPolyline?
« Reply #7 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.... :)

Joe Burke

  • Guest
Re: Could ask for the BOUNDARY of LightweightPolyline?
« Reply #8 on: September 10, 2008, 08:00:43 AM »
Hola Luis,

What program do you use to create the animation?

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Could ask for the BOUNDARY of LightweightPolyline?
« Reply #9 on: September 10, 2008, 09:31:21 AM »
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

cjw

  • Guest
Re: Could ask for the BOUNDARY of LightweightPolyline?
« Reply #10 on: September 11, 2008, 12:49:48 AM »
Let see it.... :)
Nice job,Luis 
Thank you... :-D

cjw

  • Guest
Re: Could ask for the BOUNDARY of LightweightPolyline?
« Reply #11 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!!!

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Could ask for the BOUNDARY of LightweightPolyline?
« Reply #12 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.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

cjw

  • Guest
Re: Could ask for the BOUNDARY of LightweightPolyline?
« Reply #13 on: October 28, 2008, 12:22:38 AM »
"wmfout / in usually produces a mess"

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