Getting bounding box of alembic file with command line tools ?

66 views
Skip to first unread message

Nicholas Yue

unread,
Aug 24, 2020, 11:34:17 AM8/24/20
to alembic-discussion
Hi,

  Are there some flags I can pass to abcinfo/abcecho to display the bounding box of an Alembic file ?

Cheers
--
Nicholas Yue

Lucas Miller

unread,
Aug 24, 2020, 11:42:23 AM8/24/20
to alembic-d...@googlegroups.com
abcinfo -af foo.abc/.childBnds/0

Will print out the first sample in optional archive bounds, along with
the frame number it corresponds with. (assuming 24 fps)

Lucas
> --
> You received this message because you are subscribed to the Google Groups "alembic-discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to alembic-discuss...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/alembic-discussion/CADYXiJ%2BTFRg0ewe7HFUYCy7Wivr4pjA3RuwP31hY_onDGPe6Zg%40mail.gmail.com.

Nicholas Yue

unread,
Aug 24, 2020, 11:51:25 AM8/24/20
to alembic-discussion
Does it require a certain version of abcinfo ?

I am using the abcinfo from the Houdini 18.0.460 distribution and I got the following

```
nyue@head0:~$ abcinfo -af monkey.abc
monkey.abc, version: 10712 (2 timings)
   TimeSample[0]      1 samples:  t0=0 (frame 0.0 @ 24fps)
   TimeSample[1]      1 samples:  t0=0.0416667 (frame 1.0 @ 24fps)

Objects:

0 Objects displayed
```



--
Nicholas Yue
Graphics - Arnold, Alembic, RenderMan, OpenGL, HDF5
Custom Dev - C++ porting, OSX, Linux, Windows
http://au.linkedin.com/in/nicholasyue
https://vimeo.com/channels/naiadtools

Lucas Miller

unread,
Aug 24, 2020, 11:53:13 AM8/24/20
to alembic-d...@googlegroups.com
DOH! I meant abcls.

I dont recognize abcinfo, so it might be a Houdini provided utility.

Lucas
> To view this discussion on the web visit https://groups.google.com/d/msgid/alembic-discussion/CADYXiJL4PZakSwxEaKBPdkL4D9obRyn_MCHM00v-24UQWaiwCQ%40mail.gmail.com.

Nicholas Yue

unread,
Aug 24, 2020, 12:01:38 PM8/24/20
to alembic-discussion
Thanks for the heads up. There is no abcls shipping with Houdini, I will build the latest Alembic from the repo.

Cheers

Reply all
Reply to author
Forward
0 new messages