Spaces:
Running
Download docs/API_REFERENCE.md from ManiacWallnut/ManiTaskGen: direct link, hf CLI and curl.
- Browser
- Download file 1.86 kB
-
https://huggingface.co/spaces/ManiacWallnut/ManiTaskGen/resolve/main/docs/API_REFERENCE.md
- Command line
-
hf download hf://spaces/ManiacWallnut/ManiTaskGen/docs/API_REFERENCE.md
-
curl -L -o API_REFERENCE.md https://huggingface.co/spaces/ManiacWallnut/ManiTaskGen/resolve/main/docs/API_REFERENCE.md
A newer version of the Gradio SDK is available: 6.32.0
API Reference
This document provides comprehensive documentation for reusable code components, utility libraries, and internal data structures used in ManiTaskGen.
Overview
- Geometry Processing Libraries
- VLM usage
Geometry Processing Libraries
Basic Geometries (basic_geometries)
src/geometry/basic_geometries.py provides fundamental geometric computation functionality in the codebase and is applied throughout various modules.
For detailed implementation, see basic_geometry.md
Concave Processor (concave_processor)
The Concave Processor is responsible for handling and processing concave shapes when encountered concave affordable platforms (e.g. L-shaped kitchen counters) in 3D scenes.
For detailed implementation, see concave_processor.md
Convex Hull Processor (convex_hull_processor)
In the codebase, the bounding volumes of platforms and objects are simplified into 2D convex hulls in the XOY plane and corresponding cylindrical shapes with these hulls as bases. The Convex Hull Processor maintains the necessary computations for this process.
For detailed implementation, see convex_hull_processor.md
Object Mesh Processor (object_mesh_processor)
The Object Mesh Processor is responsible for handling and processing 3D object meshes when building scene graphs and generating tasks.
For detailed implementation, see object_mesh_processor.md
VLM Usage
VLM Agent Interface (vlm_agent_interface)
The VLM Agent Interface provides the mechanism for interacting with Vision Language Models (VLMs) in the codebase. Currently, the repository calls VLMs by hardcoding the OpenRouter API interface within the VLMEvalKit code.
For detailed implementation, see calling_vlm.md