Skip to content

Conversation

@dpasukhi
Copy link
Member

@dpasukhi dpasukhi commented Apr 11, 2025

  • Implemented XCAFDoc_Animation and XCAFDoc_AnimationTool classes to manage animation attributes and operations.
  • Enhanced the animation tool with methods for managing frame rates, time codes, and shape associations.
  • Added functionality to serialize and deserialize animation data within the XCAF document structure.

- Introduced XCAFAnimObjects_Translate class for handling translation operations in animations.
- Implemented XCAFDoc_Animation and XCAFDoc_AnimationTool classes to manage animation attributes and operations.
- Updated CMake files to include new animation-related source and header files.
- Enhanced the animation tool with methods for managing frame rates, time codes, and shape associations.
- Added functionality to serialize and deserialize animation data within the XCAF document structure.
@dpasukhi dpasukhi added 2. Enhancement New feature or request 1. Data Exchange Import/Export or iterating of the CAD data labels Apr 11, 2025
@dpasukhi dpasukhi requested a review from ikochetkova April 11, 2025 13:40
@dpasukhi dpasukhi self-assigned this Apr 11, 2025
Copy link
Contributor

@ikochetkova ikochetkova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a couple of remarks about comments, please have a look.

//! @return Standard_GUID identifying the animation tool
Standard_EXPORT static const Standard_GUID& GetID();

//! Creates (if does not exist) or retrieves an animation tool from the XCAFDoc at label L.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems the name in the comment was left after the code rules applying: label L -> the given label


//! Sets the length unit used in the file.
//! @param theLengthUnit Length unit value to set
Standard_EXPORT void SetFileLengthUnit(const double theLengthUnit) const;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think saving this parameter needs more explanation in the comments. Now, it looks very strange to store file length units at the level of animation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1. Data Exchange Import/Export or iterating of the CAD data 2. Enhancement New feature or request

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants