Saturday, June 6, 2009

Break curve at all listed distances (stations).

You have a list of stations (distances from start) and you want to BREAK a selected curve multiple times at the listed points.

You can use the Xanadu BrkList utility. BrkList can be used as a generalized (non-linear) MEASURE command. The BrkList command prompts for a list of stations (distances measured from start) and then performs multiple BREAKs on a selected curve in the specified points (stations). It also places POINT entities at the break points. Optionally, placing points or breaking the line can be suppressed.

The list of stations can be entered either as a comma delimited sorted list - e.g.:

100,150.2,324.86,551

or read-in the list from a text file (each station on a single line) which can be exported e.g. as a CSV file from Excel (a result of a calculation).

Supported object types:
LINE ARC POLYLINE LWPOLYLINE 3DPOLYLINE SPLINE ELLIPSE HELIX

You can download the free LISP utility from www.xanadu.cz/download

No comments:

Post a Comment