Very interesting question!
I think you'll need to construct some sort of Restful API that can establish a connection and a solidworks addin that can listen to a port for you to be to get measurements in "realtime". That being said, I feel that the measurements will actually be transfered to SolidWorks in a timely late fashion. Consider your data path here:
Motor -> Ardunio -> Web API -> Addin -> SolidWorks.
The Web part of this chain is what consumes time.
If the gap between measurements is in the milliseconds, you'll basically need a very very very rapid fire structure to have SolidWorks display the animation in real-time. Perhaps, sending every bunch of 300 mesurements (this is just a number) after 1 second, instead of one measurement at a time.
How fast can your step motor rotate at (RPM)?
Would be really nice indeed if you get this to work
I see a problem with mates. Just orienting a model from a macro can be done, but making a wheel rotate is not quite the same as setting the mate angle 10 times per second. I don't think you can add angles of more then 360 degrees, so the rest of the mechanism might not follow the mated part. It'll probably just move 359 degrees and then return to its initial position.
Could you get SolidWorks MotionManager involved? That toolbox is probably more suitable for this.
Thank you for your answers and proposals.
My primary objective would be to highlight the components that might experience unwanted changes, which would be determined throughout the measurements and their further analysis.
If I would find a way to also relate the movement of the physical model with the CAD model, I would do that afterward, but this is just a secondary thing really.
So you are saying that the easiest way to connect the acquired data with the CAD model is throughout a custom Add-in? Has there ever been made anything similar, like connecting outsourced data to a CAD model inside SW?
Thank you for all your invested interest and time!
I'm not sure there is something similar to what you're asking for as this seem to be very custom to me. What I can say however that it possible to develop something like that. Addins are assemblies developed in .NET. The .NET bit is what will bridge your outsourced data and SolidWorks
You may try using external design table and link via excel spreadsheet.
I was thinking the same yes, this might be the easiest way to do it as I have no experience or whatsoever in .NET programming....