Aller au contenu
Skillpedia
Images et icônes51k · #3483

lab-hardware-cad

Ce qu’il fait

Cet agent IA crée des plans de pièces de laboratoire, comme des supports ou des adaptateurs, à l'aide de code. Il vérifie que les pièces s'ajustent correctement aux équipements existants et exporte les plans dans des formats utilisables pour la fabrication.

Quand l’utiliser

  • ✓Lorsque vous avez besoin d'une pièce physique sur mesure pour une expérience.
  • ✓Lorsque vous concevez un support qui doit s'adapter à un équipement de laboratoire précis.
  • ✓Pour créer des moules ou des adaptateurs pour des matériaux de laboratoire.

Lien du skill

https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/lab-hardware-cad/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/lab-hardware-cad/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Pouvez-vous concevoir un support pour un tube à essai de 15 ml qui s'insère dans une microplaque standard ?”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent utilise un code spécial (Python) pour définir les dimensions de la pièce. Il vérifie ces dimensions par rapport aux normes des équipements de laboratoire afin de garantir un ajustement parfait, avant de générer le fichier final destiné à la fabrication.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Lab Hardware CAD

Design physical research hardware as parametric Python source, export STEP as the authoritative artifact, and verify the result both numerically and visually before anything is fabricated.

The hard part of lab hardware is almost never the geometry. It is that the part must mate with equipment whose dimensions are fixed by a published standard or a vendor drawing. A holder that is 0.5 mm too wide does not fit the plate reader; a channel with the wrong aspect ratio collapses during bonding; a mount whose bolt pattern is 25.4 mm instead of 25.0 mm will not reach the optical table. This skill exists to keep those numbers correct and checked.

When to use

Use for any request to design, model, or fabricate a physical part for a lab: chip, mold, mount, adapter, holder, rack, bracket, enclosure, jig, fixture, arena, or maze. Also use to inspect or modify an existing STEP file.

Do not use for finite-element analysis, computational fluid dynamics, molecular structure, or scientific plotting. Those are different skills.

Setup

uv venv --python 3.12 .venv-labcad
uv pip install --python .venv-labcad/bin/python "build123d==0.13.0" "matplotlib>=3.8"

build123d 0.13.0 requires Python >=3.11,<3.15 and pulls in the OpenCascade kernel through cadquery-ocp-novtk. The wheel is large; install once per project and reuse it.

All bundled scripts take --help. check.py standards runs without build123d installed.

Model files are executed, not parsed. gen.py, check.py, and snapshot.py import a *_model.py and call its build(), which runs arbitrary Python in the current environment. That is inherent to parametric CAD — the source is the design. Only run model files authored in this session or supplied by the user from a trusted location. If a model came from the internet, a shared drive, or an untrusted colleague, read it before running it and say that you did.

Required workflow

Follow these steps in order. Steps 5 and 6 are not optional, and step 6 is not waived by step 5 passing.

1. Route to a device family

Read the request, classify it, and load exactly one family reference. Do not load all four — they are long, and mixing conventions between families is a common source of error.

If the part is Load
A chip, mold, channel network, flow cell, gasket, or anything with fluid ports references/microfluidics.md
A mount, post, breadboard adapter, cage-system part, filter or sample holder in a beam path references/optomechanics.md
An adapter, insert, rack, or holder for plates, cuvettes, tubes, slides, or dishes references/labware-adapters.md
An arena, maze, head-fixation part, spout, tether, or extrusion-mounted enclosure for animal work references/behavior-rigs.md

If the part genuinely spans two families — a microfluidic chip that bolts to an optical table — load the family that owns the critical interface, then read only the interface section of the second. State in your response which family you routed to.

2. Establish the interface dimensions before any geometry

Every part has at least one mating interface. Before writing code, write down for each interface:

  • the source of the dimension: a published standard, a vendor drawing, or a user measurement;
  • the nominal value and tolerance;
  • the clearance or interference you intend, and why.

Look the number up in assets/standards.json or the family reference. Never write an interface dimension from memory. If the number is not in the standards file or the reference, ask the user for the vendor drawing or the measurement rather than guessing. A guessed interface dimension is the single most expensive failure mode in this skill.

A pocket receiving an external component is sized against that component's maximum material envelope — nominal plus its plus-tolerance — and only then given clearance. A shaft entering a hole instead uses the hole's minimum diameter; envelope does not model that case.

python scripts/check.py standards --list
python scripts/check.py standards --show slas-microplate-footprint

The bundled standard IDs (exact strings; do not guess variants): slas-microplate-footprint, slas-microplate-height, slas-microplate-flange, slas-well-positions-96, slas-well-positions-384, slas-well-positions-1536, cuvette-standard-10mm,

…

Questions fréquentes

Que signifie « paramétrique » ?

Cela signifie que les dimensions de la pièce peuvent être facilement modifiées grâce à des variables dans le code, ce qui permet de créer des variantes sans repartir de zéro.

Quels formats de fichiers exporte-t-il ?

Il exporte dans des formats comme STEP (pour la précision), STL (pour l'impression 3D) et DXF (pour la découpe laser ou l'usinage).

Puis-je l'utiliser pour n'importe quel type de pièce ?

Il est idéal pour les pièces de laboratoire qui doivent s'adapter à des équipements standardisés. Il ne convient pas aux analyses complexes, comme les simulations de fluides ou les structures moléculaires.

Détails

Description originale de l’auteur

Designs custom laboratory hardware as parametric build123d models and exports fabrication artifacts as STEP, STL, and DXF files - microfluidic chips and molds, optomechanical mounts and breadboard adapters, cuvette and microplate holders, tube racks, animal-behavior rigs, and 3D-printed instrument fixtures. Use when a research task needs a physical part that must mate with standardized labware, an

repo: K-Dense-AI/scientific-agent-skills

Popularité

Étoiles GitHub
51k
Position au classement
#3483
Licence
MIT
Mis à jour
15/10/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires