• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mikedh / trimesh / 2779
81%
master: 81%

Build:
Build:
LAST BUILD BRANCH: release/major
DEFAULT BRANCH: master
Ran 19 Mar 2020 04:11PM UTC
Jobs 1
Files 112
Run time 18s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
2779

Pull #724

travis-ci

web-flow
Support differing list-lengths in ASCII-PLYs

PLY allows defining list-properties, where every instance of the
property can have a different length. This can for instance be useful
when storing submeshes in the metadata of a PLY-file.

trimesh only supported PLY-files with list-properties, if every
instance of the list had the same length. Properties with lists of
differing lengths let the parser crash at the `vstack`-call in
`ply.ply_ascii`, as arrays of differing size cannot be stacked.

The implementation at hand adds support for lists of differing length.

The drawback of the new implementation is an increased load-time for
elements containing lists. I tried to mitigate this effect by checking
whether an element has no list or just one where every instance has the
same length and using the numpy-based algorithm to get the data in this
case, while iterating all rows, if there's more than one list or one
list with instances of differing lengths.
Pull Request #724: Support differing list-lengths in ASCII-PLYs

42 of 42 new or added lines in 1 file covered. (100.0%)

12034 of 14849 relevant lines covered (81.04%)

0.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2779.1 (PYTHON_VERSION=3.6) 19 Mar 2020 04:11PM UTC 0
81.04
Travis Job 2779.1
Source Files on build 2779
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2779
  • Pull Request #724
  • PR Base - master (#2775)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc