This subroutine reads the number of nodes and triangles from a given binary stl file.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=PathLen), | intent(in) | :: | filename | name of the binary stl file |
||
integer, | intent(out) | :: | nNodes | number of nodes in the file |
||
integer, | intent(out) | :: | nTris | number of triangles in the file |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=LabelLen), | private | :: | header | ||||
integer, | private | :: | stlUnit | ||||
logical, | private | :: | file_exists |