diff --git a/python/MeshData.sip b/python/MeshData.sip index e2fa7a6..3beffd7 100644 --- a/python/MeshData.sip +++ b/python/MeshData.sip @@ -1,4 +1,4 @@ -// Copyright (c) 2022 Ultimaker B.V. +// Copyright (c) 2025 Ultimaker B.V. // pySavitar is released under the terms of the LGPLv3 or higher. class MeshData @@ -17,4 +17,10 @@ public: void setVerticesFromBytes(const bytearray& data); void setFacesFromBytes(const bytearray& data); -}; \ No newline at end of file + + bytearray getUVCoordinatesPerVertexAsBytes(const Scene* scene) const; + + void setUVCoordinatesPerVertexAsBytes(const bytearray& data, const std::string& texture_path, Scene* scene); + + std::string getTexturePath(const Scene* scene) const; +}; diff --git a/python/SceneNode.sip b/python/SceneNode.sip index d2212ad..48c9547 100644 --- a/python/SceneNode.sip +++ b/python/SceneNode.sip @@ -1,4 +1,4 @@ -// Copyright (c) 2022 Ultimaker B.V. +// Copyright (c) 2025 Ultimaker B.V. // pySavitar is released under the terms of the LGPLv3 or higher. class SceneNode @@ -20,8 +20,8 @@ public: std::string getName(); void setName(std::string name); - std::string getId(); - void setId(std::string id); + int getId(); + void setId(const int id); const std::map& getSettings() const; void setSetting(const std::string& key, MetadataEntry& entry);