Skip to main content
Glama

MCP 3D Printer Server

Discard.js819 B
import { select } from '../math/ConditionalNode.js'; import { expression } from '../code/ExpressionNode.js'; import { addMethodChaining } from '../tsl/TSLCore.js'; /** @module Discard **/ /** * Represents a `discard` shader operation in TSL. * * @method * @param {ConditionalNode?} conditional - An optional conditional node. It allows to decide whether the discard should be executed or not. * @return {Node} The `discard` expression. */ export const Discard = ( conditional ) => ( conditional ? select( conditional, expression( 'discard' ) ) : expression( 'discard' ) ).append(); /** * Represents a `return` shader operation in TSL. * * @method * @return {ExpressionNode} The `return` expression. */ export const Return = () => expression( 'return' ).append(); addMethodChaining( 'discard', Discard );

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