Skip to main content
Glama

rupa_cad_sketsa

Destructive

Create exact 3D solids from 2D sketches using extrude, revolve, or loft operations.

Instructions

Sketsa 2D → padat 3D: dorong (ekstrusi), putar (revolve), atau loft. Inilah cara benda nyata dimodelkan — gambar penampang, lalu bangkitkan. Satu tool ini membuka arsitektur (denah → dinding), pemodelan mesin (profil → poros/flange/wadah), dan 2D→3D (path → padat).

YANG MEMBEDAKANNYA: tiap padat DIPERIKSA terhadap RUMUS TERTUTUP. Ekstrusi dibandingkan dengan luas × jarak (luasnya dihitung shoelace dari polilinenya, bukan ditulis tangan); putar 360° dibandingkan dengan teorema Pappus (2π·R_centroid·luas). Terukur pada kernel ini: ekstrusi meleset 1e-14%, putar cocok dengan Pappus sampai 0,000000%. Hasil yang melenceng dari acuannya TIDAK disimpan.

DUA HAL YANG MENGHANCURKAN PUTAR, dijaga di depan karena galat kernelnya berupa pointer mentah yang tak terbaca: profil yang MELINTASI sumbu putar, dan sudut di luar 0..360.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
asalNoGeseran sepanjang normal bidang.
jariNolingkaran / polisegi
namaYesNama untuk menyimpan hasilnya.
sisiNopolisegi
teksNo
jarakNoekstrusi: sejauh mana didorong.
jenisNoBentuk profil 2D-nya.path
lebarNopersegi
lurusNoloft: sisi lurus antar penampang, bukan melengkung.
mulaiNopath: titik awal pena.
ruangNoNama ruang kerja; tiap ruang punya adegan.blend sendiri.utama
sudutNoputar: derajat.
sumbuNoputar: sumbu putarnya; bawaan [0,0,1].
bidangNoBidang gambarnya. Ekstrusi terjadi pada arah NORMAL bidang ini.XY
puntirNoekstrusi: derajat puntiran sepanjang jaraknya. Volumenya tidak berubah — geseran tidak menambah material — dan itu justru yang mengujinya.
segmenNopath: urutan segmen. Jalurnya ditutup otomatis.
operasiNoekstrusi
jari_besarNoelips
jari_kecilNoelips
profil_loftNoloft: daftar profil, bentuknya sama dengan bidang profil di atas.
tinggi_loftNoloft: posisi tiap profil sepanjang normal bidang; harus sepanjang profil_loft.
ukuran_teksNo
tinggi_profilNopersegi (tinggi 2D-nya, bukan ekstrusi)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.2

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description goes well beyond the annotations. It reveals that every solid is checked against closed-form formulas (extrusion vs area×distance, revolve vs Pappus theorem) and that results that deviate from these references are NOT saved. It also warns about specific pitfalls that break revolve (profile crossing the axis, angle outside 0–360). This adds critical behavioral context not available in annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is information-dense but well-structured. It front-loads the core purpose, then explains the unique verification mechanism, and ends with critical warnings. Every section earns its place, and the formatting (bold and clear headings) makes it scannable despite length.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex tool with 23 parameters and no output schema, the description provides the essential conceptual framework, including verification logic and failure modes. It does not detail every parameter interaction, but the schema covers most parameter semantics. The description is sufficient for an agent to understand what the tool does and when to use it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is high (87%), so the schema already documents most parameters. The description adds value by explaining how key parameters are validated (e.g., extrusion compared to area×distance, revolve compared to Pappus) and highlights the pitfalls for sumbu and sudut. This enriches understanding beyond the schema definitions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool converts 2D sketches into 3D solids via extrusion, revolve, or loft, and gives concrete examples (floor plan → walls, profile → shaft/flange/container, path → solid). It distinguishes itself from sibling CAD tools by focusing on creating solids from sketches, not boolean or fillet operations. The resource and action are specific and unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It provides clear context for when to use this tool (to model real objects from sketches) and gives domain examples. However, it does not explicitly name alternatives to avoid or conditions for preferring other CAD tools. The differentiation is implicit through the description of what this tool uniquely does.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.