Skip to main content
Glama

MCP 3D Printer Server

Packing.js565 B
import { nodeObject } from '../tsl/TSLBase.js'; /** @module Packing **/ /** * Packs a direction vector into a color value. * * @method * @param {Node<vec3>} node - The direction to pack. * @return {Node<vec3>} The color. */ export const directionToColor = ( node ) => nodeObject( node ).mul( 0.5 ).add( 0.5 ); /** * Unpacks a color value into a direction vector. * * @method * @param {Node<vec3>} node - The color to unpack. * @return {Node<vec3>} The direction. */ export const colorToDirection = ( node ) => nodeObject( node ).mul( 2.0 ).sub( 1 );

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DMontgomery40/mcp-3D-printer-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server