I'd like to create something similar to the plot below.
Did you ever find a way to do this in SW?
Gregory Dalton - Jerret hasn't been on the forum since 2015
Great. Did he find a solution to this? We have colleagues that did it using ProE and Imageware to produce this plot:
(This is FOV blockage for instruments on a spacecraft, Parker Solar Probe)
There aren't any built-in functions in SOLIDWORKS to produce a plot like that
If you are savvy with API there are API calls for ray selection and intersection:
2019 SOLIDWORKS API Help - SelectByRay Method (IModelDocExtension)
2019 SOLIDWORKS API Help - GetRayIntersectionsPoints Method (IModelDoc2)
So I can imagine it probably wouldn't be too hard to make a VBA macro that does this. Load in XYZ location of sensor and desired field of view and then iterate through rays at the various elevation and azimuth angles and store results in an array or write to CSV data
There may be SOLIDWORKS add-ins that could accomplish this as well.
Retrieving data ...