- Added BalloonTool workspace tool to facilitate the extraction of balloon meshes in the 3D viewport. - Implemented ActivateBalloonTool operator to activate the Balloon Lasso Tool. - Refactored BalloonLasso operator into ExtractBalloon for better clarity and functionality. - Enhanced properties for balloon extraction, including mode, thickness, resolution, and material reuse options. - Updated SnapFormSettings to include new balloon-related properties. - Improved material and image handling for balloon extraction, ensuring compatibility and reusability. - Added tests to validate the registration and functionality of the new balloon tools and properties.
38 lines
928 B
Python
38 lines
928 B
Python
from .background import ProcessImageBackground, RemoveImageBackground
|
|
from .balloon import (
|
|
ActivateBalloonTool,
|
|
ExtractBalloon,
|
|
)
|
|
from .debug import DebugBen2, DebugDa3, DebugMoge2
|
|
from .depth_plane import (
|
|
ConvertToDepthPlane,
|
|
ExtractOriginalFrames,
|
|
GenerateDa3Depth,
|
|
GenerateMoge2Depth,
|
|
GenerateOriginalBackground,
|
|
)
|
|
from .models import ClearModels, DownloadModel, DownloadRequiredModels
|
|
from .surface import ConvertToSurface, GenerateDa3Surface, GenerateMoge2Surface
|
|
|
|
|
|
CLASSES = (
|
|
DownloadModel,
|
|
DownloadRequiredModels,
|
|
DebugDa3,
|
|
DebugMoge2,
|
|
DebugBen2,
|
|
GenerateDa3Depth,
|
|
GenerateMoge2Depth,
|
|
GenerateDa3Surface,
|
|
GenerateMoge2Surface,
|
|
ProcessImageBackground,
|
|
GenerateOriginalBackground,
|
|
ExtractOriginalFrames,
|
|
ClearModels,
|
|
ExtractBalloon,
|
|
ActivateBalloonTool,
|
|
RemoveImageBackground,
|
|
ConvertToDepthPlane,
|
|
ConvertToSurface,
|
|
)
|