Convert 3D volumes into single lines

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi.
I need to convert information received in 3D format to unifilar within Autocad (2015 or 2017).
I get structures modeled in 3D blocks / volumes (I do not know the modeling software), all i get are the 3D volumes already converted to Autocad. Volumes without properties, as in the figures below.
The volumes are I-beams.
I need to turn everything into lines (unifilars). So, to do this I imagine to use the centroids of the extreme cross-sections of each solid to trace the lines between those centroids. I need to automate because there is too much information.
Do someone knows any command or tutorial ou code (LISP / VBA / etc) that can be used to do this automation?
I do not think Massprop is apropriate for the task, because I suppose I need the centroids of each of the extreme cross-sections to automatically draw the lines. But if there is any other way i´d appreciate the input!
Thank you very much in advance!
Pedro