Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Matlab to Solidworks transfer

Status
Not open for further replies.

jmendi

Student
Joined
Feb 18, 2021
Messages
2
Location
ES
I am trying to simulate electrospinning manufactured fibers. As electrospinning creates randomly oriented fibers, my approach is to create those fibers with Matlab (they are hollow cylinders), then open those with Solidworks (because some changes have to be made) and finally open them in the simulation software.

Does anybody have a clue on how can I export those fibers onto Solidworks?



 
jmendi,

You can export numerical data to CSV (comma separated values), export that to Microsoft Excel, and that use the design tables in SolidWorks.

--
JHG
 
Hi drawoh,

Your advice was very usefull, I have managed to export points on csv format. With two points it creates a line (which is close to what I want), but when I add more points for the next line, SW connects the points and creates an irregular line, instead of another different line (see the picture).
Captura_evwcy8.jpg


If I try adding two points for each line (separately) I can add more lines but I have 1000 lines and it would require a lot of time to implement each of them manually. Any idea on how to solve this problem?

Thank you so much for your attention.
 
jmendi,

If you want to drawing separate lines, you need to automate SolidWorks. Can you do your calculations in VisualBasic?

--
JHG
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top