Logo: Freecad Model Validation

Freecad Model Validation

Communautéit
Milkdomeda
freecad-model-validation

Validate AI-created or modified FreeCAD FCStd parts and assemblies and STEP/STP standard components through the configured FreeCAD MCP connection. Use after CAD creation, visible geometry changes, STEP.parts downloads or imports, assembly placement changes, standard-part substitutions, or before reporting a FreeCAD model complete. Produces strict JSON, Markdown, and PNG evidence without build123d or CadQuery.

Iwwersiicht

EditeurMilkdomeda
Repositoryai-mechanical-3dcad-design-agent
Skill-Nummfreecad-model-validation
Stären
51
Forks
10
Matgeliwwert Dateien
3
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 3 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Milkdomeda huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Freecad Model Validation an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/Milkdomeda/ai-mechanical-3dcad-design-agent/tree/main/.agents/skills/freecad-model-validation
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Milkdomeda/ai-mechanical-3dcad-design-agent.git /tmp/ai-mechanical-3dcad-design-agent
mkdir -p .claude/skills
cp -r /tmp/ai-mechanical-3dcad-design-agent/.agents/skills/freecad-model-validation .claude/skills/freecad-model-validation
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Freecad Model Validation an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Freecad Model Validation automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Freecad Model Validation net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

FreeCAD Model Validation

Use FreeCAD and its bundled Part/OCCT geometry kernel as the only validation engine. Treat FCStd as the source of truth for designed parts and assemblies; use STEP validation primarily for downloaded standard components and deliberate exports.

Required workflow

For a generated FEM analysis document, use the mechanical-fea workflow and its registered native GUI/field/archive checks. Do not reopen a persistent FEM FCStd through this generic geometry validator: FEM Python proxies require the separate safe BREP/UNV/validated-field reconstruction boundary. Continue to validate the controlled CAD source with this skill independently. Geometry validation does not establish numerical convergence, equilibrium, material suitability or engineering acceptance.

  1. Call list_documents to confirm the FreeCAD MCP bridge. Keep remote_enabled false.

  2. Read references/validation-spec.md, then create an explicit specification. Every numeric requirement must include a tolerance; never invent manufacturing tolerances. Add the mandatory installation contract to every fastener object and controlled-overlap metadata to every compressible component.

  3. Load scripts/freecad_model_validation.py inside FreeCAD with execute_code and call one or both interfaces:

    python
    validate_fcstd(model_path, specification, report_dir)
    validate_step(step_path, manifest_path, specification, report_dir)
  4. Inspect the returned report. For FCStd, the JSON must contain the exact working_sha256, a complete automatically detected fastener_inventory, and summary.fasteners_detected equal to that inventory length. Mandatory failures or a missing report-contract field block completion. Repair the model and rerun, or report it as failed/blocked.

  5. Use get_view on the active model and inspect the saved <stem>_validation.png. Geometry checks passing never replaces visual review.

  6. Report only checks that actually ran and link the generated JSON, Markdown, and PNG artifacts.

Validation policy

  • Check document recompute, object state, required objects and links, shape validity, solid count, positive volume, dimensions, placements, standard-part provenance, and BOM agreement.
  • Automatically detect every fastener and fail if any fastener lacks its installation contract. Validate the complete set combination, coaxial placement, hole-axis match, axial position, clearance-hole containment, threaded-hole classification, bearing contact, and host interference. These checks are mandatory and do not depend on hand-written interference_pairs.
  • Treat the model-detected fastener_inventory as authoritative for assembly validation. An assembly consumer must use one passed report with the exact same-revision FCStd SHA-256 and prove equality between that inventory and its exactly-once fastened-joint assignments. It must fail omitted, duplicate, or unknown occurrences and must not reconstruct a smaller inventory from a hand-authored manifest.
  • Treat a seal or other compressible component as overlap-capable only when it is marked IsCompressible and every permitted mate appears in compressible_overlap_pairs with a numeric maximum common volume. Never use the compressible exception for rigid parts or undeclared mates.
  • Outside the automatic fastener gate and controlled compressible pairs, check interference only for pairs declared in the specification. Each pair must provide max_common_volume_mm3; intentional contact without volume is acceptable.
  • For STEP assets, require a matching SHA-256 manifest and one supported provenance profile: step_parts, manufacturer_official, or verified_local_catalog. Preserve truthful provider/manufacturer identity; never relabel a manufacturer or local-catalog file as STEP.parts. Import into a temporary FreeCAD document, validate, save evidence, and close the temporary document without changing the source file.
  • Do not silently heal, replace, overwrite, or remodel invalid input.
  • Do not use build123d, CadQuery, cadpy, or the browser CAD Viewer. FreeCAD MCP, FreeCAD Python, Part/OCCT, and get_view are authoritative for this workflow.
  • A passed report is geometry and provenance evidence, not engineering certification, load validation, manufacturability approval, or legal standards certification.

Strict gate

The model is complete only when the report status is passed, its FCStd hash and fastener inventory contract are present, and the visual review finds no unexplained geometry. A failed checksum, missing required metadata, invalid or empty shape, failed dimension, missing required link, failed fastener installation check, invalid compressible-overlap declaration, failed declared interference check, stale hash, incomplete fastener inventory, or missing validation artifact, unknown STEP provenance profile, incomplete source/copy identity, or false provider attribution is blocking.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Freecad Model Validation?

Validate AI-created or modified FreeCAD FCStd parts and assemblies and STEP/STP standard components through the configured FreeCAD MCP connection. Use after CAD creation, visible geometry changes, STEP.parts downloads or imports, assembly placement changes, standard-part substitutions, or before reporting a FreeCAD model complete. Produces strict JSON, Markdown, and PNG evidence without build123d or CadQuery.

Firwat Freecad Model Validation op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Freecad Model Validation besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Freecad Model Validation an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/Milkdomeda/ai-mechanical-3dcad-design-agent/tree/main/.agents/skills/freecad-model-validation an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Freecad Model Validation benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Freecad Model Validation benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Freecad Model Validation domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Freecad Model Validation gratis?

Jo. Milkdomeda huet de Skill ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇