Skip to main content
Glama

MCP 3D Printer Server

getGeometryRoughness.js462 B
import { normalView } from '../../accessors/Normal.js'; import { float, Fn } from '../../tsl/TSLBase.js'; const getGeometryRoughness = /*@__PURE__*/ Fn( ( builder ) => { if ( builder.geometry.hasAttribute( 'normal' ) === false ) { return float( 0 ); } const dxy = normalView.dFdx().abs().max( normalView.dFdy().abs() ); const geometryRoughness = dxy.x.max( dxy.y ).max( dxy.z ); return geometryRoughness; } ); export default getGeometryRoughness;

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