0.0417083750417 # <- written from Houdini FPS=23.976
0.0417083333333 # <- written from Maya at FPS=23.976
Ive attached a file that runs from frame 1001-1024 exported from houdini at 23.976fps, which, when imported in to Maya, yields a start and end frame of 1001.001 and 1024.001. The same export in the range 1-24 doesnt give the strange offset - which again smells alot like float precision....
We're running a project at 23.976fps - not uncommon, but we're only now noticing strange time-offset issue with alembic caches exported from Houdini back in to Maya.
I'm suspecting that Maya has a hardcoded 24 FPS assumption when importing Alembic. This caused issues when writing an Alembic file at 30 FPS from Blender and importing into Maya; see this report in the Blender tracker: https://developer.blender.org/T55288. I can only explain the observed behaviour by incorrect assumptions about the frame rate and bad interpolation between frames. This shouldn't directly cause out-of-sync errors like you're seeing, but it does show that Maya makes some strange assumptions when loading Alembic.
Also see the discussion at
https://groups.google.com/d/msg/alembic-discussion/f0P3bKNe_qQ/XhU6FfqzEAAJ
about this.
-- Sybren A. Stüvel https://stuvelfoto.nl/ https://stuvel.eu/
result_node = maya.cmds.AbcImport("test_imprecise_framerate_from_houdini.abc")abc_start_frame = maya.cmds.getAttr("{0}.startFrame".format(result_node))acceptable_tolerance = 0.000001 # ?assert abs(1001.0 - abc_start_frame) < acceptable_tolerance
.