The convergence points form a line, and the discrete points are automatically connected into a curve

Mondo Technology Updated on 2024-02-22

Sometimes the workpiece or tool tooth shape in hand may be an Excel file, or a TXT file, or a CAD file, but there are discrete points inside. Like this:

The above excel and txt can be directly edited into the form of "x, y", and drawn in cad, which is not very troublesome. However, if it is given a situation where there are many points in the following CAD, it is more troublesome.

Sometimes design calculations or 3D modeling, to connect them into lines, is it a headache, recently encountered such a problem, take a moment to solve it.

Let's take a look at the effect first:

Ideas for Solution:

Extract these discrete points;

Sort the extracted points;

Connect the sorted points and draw curves;

It's worth noting that it's a good idea to create a new layer before drawing to make it easier to distinguish between scatters and curves. Here not only can you draw splines and polylines, but also increase the arc type, and the arcs drawn are tangent to each other.

The reason why tangent arcs are used is mainly due to the fact that CNC machine tools use straight lines or arc interpolation, which is convenient for generating CNC **. The accuracy of the arc fitting can be controlled, and the smaller the error value, the more segments of the arc will be.

I amwoodykissme, regularly share the content of mechanical transmission and gear processing, and those who are interested in this aspect can follow me. I hope to be able to discuss it with you:

The design and processing methods of gears, and the design, manufacture and use of tools used in machining gears.

Gear cutter design calculation method, development of related applications, CAD secondary development, automatic drawing, etc.

In terms of tool application, the cutting parameters, coating and service life of the tool, the problems encountered in processing and solutions.

Share this today, and thank you for taking the time to read it!

Past highlights:

CAD secondary development, get rid of inefficiency + boring".

Rack type tool tooth profile calculation tool for processing cycloids

3 Ways to Perform Gear Trimming

February** Dynamic Incentive Program

Related Pages