필터 지우기
필터 지우기

How do I convert a vector of vertex coordinates and a list of edges to a DXF file?

조회 수: 3 (최근 30일)
Isabella
Isabella 2014년 7월 24일
댓글: Isabella 2014년 7월 28일
I have a program that displays a design in a UI and outputs two vectors. One is a list of the XY coordinates of vertices and the other is a list of the edges connecting them. I have a program that converts simple X,Y,and Z values of a single curve to a DXF file, but I'm not sure how to convert my design that has multiple curves that are not connected to a DXF file.
Thanks!

답변 (1개)

Matz Johansson Bergström
Matz Johansson Bergström 2014년 7월 25일
The program you mention can only convert one curve to a DXF file. Is it able to convert to a ascii DXF file? If that is the case, simply use the program for each of those curves and merge the files into one. As far as I can tell, you only need to remove EOF of each file and put them together in Matlab. It all depends on if it is binary or ascii DXF. See DXF reference for its syntax.
Can you please upload two DXF files that you wish to merge, then I can take a look.
  댓글 수: 1
Isabella
Isabella 2014년 7월 28일
I actually figured it out by convert my file to svg format. Thanks for your help though!

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by