Skip to main content
Glama

MCP 3D Printer Server

TetrahedronGeometry.js590 B
import { PolyhedronGeometry } from './PolyhedronGeometry.js'; class TetrahedronGeometry extends PolyhedronGeometry { constructor( radius = 1, detail = 0 ) { const vertices = [ 1, 1, 1, - 1, - 1, 1, - 1, 1, - 1, 1, - 1, - 1 ]; const indices = [ 2, 1, 0, 0, 3, 2, 1, 3, 0, 2, 3, 1 ]; super( vertices, indices, radius, detail ); this.type = 'TetrahedronGeometry'; this.parameters = { radius: radius, detail: detail }; } static fromJSON( data ) { return new TetrahedronGeometry( data.radius, data.detail ); } } export { TetrahedronGeometry };

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