Skip to content

Free, open-source 3D sculpting for Linux, macOS and Windows: dense meshes, remeshing, painting, built-in AI (image/text to 3D), Send to Unreal, game-ready LODs, Gaussian splats and OpenUSD.

758 B
Raw Blame
// SculptForge - open source digital sculpting
// SPDX-License-Identifier: GPL-3.0-or-later
//
// Maya bridge commands: maya_send and maya_receive (io/MayaBridge.h). Both take the exchange folder explicitly:
// the app passes the one the user picked (File > Maya > Exchange folder...). Registered by CommandRegistry's
// constructor.
#pragma once

#include "core/Commands.h"
#include "io/MeshObject.h"

#include <vector>

namespace sf {

void registerMayaCommands(CommandRegistry& registry);

// Drops the objects whose Part (by Bridge name) already has that mesh (mayaMeshesMatch: an echo, or a send of
// untouched objects). Returns how many were dropped.
size_t mayaDropUnchanged(const Document& doc, std::vector<MeshObject>& objects);

} // namespace sf