Token导航 LogoToken导航TokenDH.com
前端设计external-servicegithub未标认证来源可访问许可证需确认审计通过

openscad-iterative-modelingopenscad iterative modeling 命令行

Agent Skill

openscad-iterative-modeling 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

755

周安装

49

GitHub Stars

公开资料未说明

下载量

388
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:openscad-iterative-modeling(openscad iterative modeling 命令行)
来源仓库:https://github.com/fboldo/openscad-mcp-server
仓库路径:skills/openscad-iterative-modeling
安装命令:
npx skills add https://github.com/fboldo/openscad-mcp-server --skill openscad-iterative-modeling
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/fboldo/openscad-mcp-server --skill openscad-iterative-modeling

简介

openscad-iterative-modeling 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适用于 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理的场景。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • 该技能归类为前端设计,适合 OpenSCAD 迭代建模相关的命令行支持。

SKILL.md

OpenSCAD iterative modeling loop (SCAD → PNG → refine)

When to Use This Skill

  • The user asks to create, design, or model a 3D object (bracket, enclosure, mount, gear, etc.)
  • The user sends a picture of an object and asks to recreate it in 3D
  • The user wants to render or preview OpenSCAD code
  • The user asks to export an STL file from a SCAD description
  • Any request that can be expressed as parametric CSG geometry

Prerequisites

Required Tools

  • OpenSCAD MCP Server: Required for rendering and exporting OpenSCAD geometry

- Enables: render_scad_png (SCAD → PNG preview), export_scad_stl (SCAD → STL mesh) - Tool names may be namespaced by the host (e.g. mcp_openscad-mcp-_render_scad_png); match by suffix - Must be configured and running to render previews and export models

Operating mode

  • Prefer small, parametric SCAD with named variables.
  • Each iteration: change only what the PNG critique indicates.
  • After 3 render-refine cycles without convergence, stop and ask the user for clarification.

Workflow

1. Normalize the request (minimal clarifications)

Extract and confirm only what you must to model correctly:

  • Units (default to mm if unspecified)
  • Critical dimensions (overall size, hole diameters, wall thickness)
  • Constraints (must be printable? tolerance? symmetry? sharp vs filleted edges?)

If key dimensions are missing, ask 1–3 questions. Otherwise proceed with reasonable defaults and state them.

2. Draft SCAD code (first pass)

  • Use module with named parameters.
  • Center geometry at the origin when practical (center=true).
  • Set $fn explicitly for curved parts (start with $fn=64).
  • Ensure cutters in difference() extend beyond the body to avoid zero-thickness walls.

3. Render a PNG preview

Render with cameraPreset="isometric" first (width=800, height=600). If features are hard to judge, add orthographic views:

Feature to verifyCamera preset
Plan-view layout, hole positionstop
Heights, steps, lips, profilesfront or right
Overall shape, proportionsisometric
Underside featuresbottom

4. Visually critique the PNG

Run through this checklist (in order of priority):

  1. Render valid? — If blank/error, see §Render failures below.
  2. Overall proportions — Does the bounding shape match the request?
  3. Feature presence — Are all holes, cutouts, chamfers, and fillets visible?
  4. Placement & alignment — Centered? Symmetric? Correct offsets?
  5. Orientation — Is the part oriented for its intended use (e.g. printable flat side down)?

Write a one-line verdict per issue found, e.g.:

  • "Through-hole is off-center by ~5 mm — shift translate X by +5."
  • "Lip is too tall (6 mm → reduce to 2 mm)."

5. Refine SCAD code and repeat

Apply the smallest SCAD change that addresses the critique, then render again.

Stop when the PNG matches the user's intent and the user approves.

6. Export STL (only when ready)

Once approved, export the geometry:

  • Choose a stable filename (e.g. "bracket.stl").
  • If the user wants multiple variants, export each with a distinct filename.

Render failures

If a render returns blank or errors:

  1. Simplify the SCAD to a minimal shape (e.g. a cube) to confirm the tool is working.
  2. Re-add features one at a time, rendering after each addition, to isolate the problem.
  3. Common causes: syntax error, difference() ordering, negative dimension, cutter not intersecting body.

Example loop

User request: *"L-bracket, 40x30 mm base, 25 mm tall wall, 4 mm thick, two M4 countersunk mounting holes in the base."*

  1. Draft SCAD:
$fn = 64;
t = 4; base_w = 40; base_d = 30; wall_h = 25;
hole_d = 4.3; csink_d = 8.5; csink_depth = 2.4;
hole_x = [10, 30]; hole_y = 15;

difference() {
  union() {
    cube([base_w, base_d, t]);                      // base
    translate([0, 0, 0]) cube([t, base_d, wall_h]);  // wall
  }
  for (x = hole_x) {
    translate([x, hole_y, -1]) cylinder(h = t + 2, d = hole_d);
    translate([x, hole_y, t - csink_depth]) cylinder(h = csink_depth + 1, d1 = hole_d, d2 = csink_d);
  }
}
  1. Render isometric -> critique: wall is on the wrong edge; move to x = base_w - t.
  2. Fix, render top -> holes look correctly spaced. Render front -> wall height correct.
  3. User approves -> export STL.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.14%
按下载量换算144

Claude

30.78%
按下载量换算119

Cursor

20.04%
按下载量换算78

Gemini CLI

9.41%
按下载量换算37

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills