
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
three-3mf-exporter
Advanced tools
Export 3D models to 3MF format in Three.js
While developing Bekuto3D, I discovered that Three.js lacked support for the 3MF format, which is essential for modern 3D printing workflows. Unlike STL, 3MF supports colors, materials, and print settings metadata. This exporter bridges the gap between web development and 3D printing, making it easier for Three.js developers to create 3D printable models with rich features.
import { exportTo3MF } from 'three-3mf-exporter'
// Parse the three.js object and generate the 3MF encoded output
const blob = await exportTo3MF(mesh)
// Download the file
const url = URL.createObjectURL(blob)
const link = document.createElement('a')
link.href = url
const blob = await exportTo3MF(meshOrGroup, {
printer_name: 'Bambu Lab A1',
filament: 'Bambu PLA Basic @BBL A1',
printableWidth: 256,
printableDepth: 256,
printableHeight: 256,
printerSettingsId: 'Bambu Lab A1 0.4 nozzle',
printSettingsId: '0.20mm Standard @BBL A1',
})
// Download the file
const url = URL.createObjectURL(blob)
const link = document.createElement('a')
link.href = url
This project is made possible by all the sponsors supporting my work
You can join them at my sponsors profile:
The 3MF format offers significant advantages over alternatives like STL for 3D printing:
This exporter was created to enable web developers to easily bridge the gap between Three.js projects and physical 3D printing.
FAQs
3MF Exporter for Three.js
We found that three-3mf-exporter demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.