![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/278836/image.png)
how to export a 2D figure into a cad
9 views (last 30 days)
Show older comments
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/278810/image.png)
I've written a Random Sequential Adsorption alghoritm that generates random 2D rectangular fibers into a prescribed domain. Basically I have a square (the domain) and a certain number of rectangles inside.
What I have as outputs are the figure that represents the situation abowe descriped (see the figure abowe), and an Excel file with nrows (n is the total number of rectangles), and each row has 8 components (the x-y coordinates of the vertices of the rectangles in anticlockwise direction).
I need to study the generated structure with Abaqus, and so I need to convert what I have into a 2D cad ( Solidworkd, Inventor, Autocad, they are all good).
Is there a way? It would be much easier to convert the plotted figure, but in case I can also use the excel file.
Regards
Federico
2 Comments
darova
on 23 Mar 2020
Is this correct? YOu are trying to export this surface? Or just many rectangles?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/278836/image.png)
Answers (1)
See Also
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!