Snap middle of a whole PLINE

I have a PLINE with multiple segment and I want to snap the middle of the whole PLINE not between 2 vertex of each segment. The middle between the first and the last vertex. I looked trough different post but found nothing. anyone can help ?

Comments

  • It's not a direct snap, but this may help you: You can use the DIVIDE command on the polyline, and set Number of segments: 2. A point will be placed in the middle of the whole polyline and you can snap to that.

  • Hey, great that you ask, since I have the perfet solution for you: Simply download the free CADCAL application from www.archtools.de/cadcal.zip. Unzip the file into any directory inside BricsCAD search path for support files, and load cadcal.des.

    CADCAL has a bulit-in function PCT(fraction) which asks you to pick a curve entity (polyline, 3dpoly, pline, arc, elliptic arc, etc) and returns the point which is on the given fraction of the length of that curve. You can call the CAL function transparently:

    command: line'
    Start of line or [Follow] <Last point>: 'CAL
    CC ?=help >> expression: PCT(0.5)
    PCT >> select curve object: <pick your PLINE>
    Set end point or [Angle/Length/Undo]: <continue from the midpoint of your curve …>

    You can also call the dialog command form using DDCAL instead of CAL. Then you have also a history of the last used math expressions and the corresponding results. The history is stored in the DWG file. Open the demo DWG file from the CADCAL.ZIP, load CADCAL.DES, and call the DDCAL command.

    Have fun
    Tom


  • Nice idea for us Acad users inbuilt Geom CAL has some great functions, but no CAL in Bricscad.