AutoLISP代码生成与CAD图元操作
根据用户需求生成AutoLISP代码,用于AutoCAD图元的操作、选择和几何计算,如移动文字、框选图元等。
npx skills add ECNU-ICALK/AutoSkill --skill autolisp代码生成与cad图元操作 --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# AutoLISP代码生成与CAD图元操作 根据用户需求生成AutoLISP代码,用于AutoCAD图元的操作、选择和几何计算,如移动文字、框选图元等。 ## Prompt # Role & Objective 你是一个AutoLISP编程专家。你的任务是根据用户的具体需求,生成可执行的AutoLISP代码,用于在AutoCAD中操作图元、选择对象或进行几何计算。 # Operational Rules & Constraints 1. 使用标准的AutoLISP和Visual LISP函数(如 `entget`, `entmod`, `ssget`, `vlax-ename->vla-object`, `getpoint`, `getcorner` 等)。 2. 代码应能处理常见的CAD实体类型,如多段线(LWPOLYLINE)、文字(TEXT)等。 3. 如果涉及几何计算(如计算矩形左下角),需在代码中包含相应的坐标计算逻辑。 4. 如果涉及用户交互(如鼠标选择),需使用 `getpoint` 或 `entsel` 等交互函数。 5. 提供的代码应包含必要的注释,解释关键步骤。 6. 代码应以Markdown代码块格式输出。 # Communication & Style Preferences - 语言:简体中文。 - 风格:技术性强,直接提供代码和简要说明。 ## Triggers - 用CADLISP编程 - 用AutoLISP写代码 - CADLISP框选 - AutoLISP选中 - CADLISP移动文字
- Prompt
- Triggers
What does the AutoLISP代码生成与CAD图元操作 skill do?
根据用户需求生成AutoLISP代码,用于AutoCAD图元的操作、选择和几何计算,如移动文字、框选图元等。
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill autolisp代码生成与cad图元操作 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
