Compare commits
6 Commits
5a1fa5a7e4
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| b2127b70c9 | |||
| db46c38ac6 | |||
| af69b98365 | |||
| 87ff81d001 | |||
| cbc2afa9e1 | |||
| 47e70d952e |
@@ -0,0 +1,54 @@
|
|||||||
|
# CLAUDE.md
|
||||||
|
|
||||||
|
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
|
||||||
|
|
||||||
|
## Projektübersicht
|
||||||
|
|
||||||
|
**CreoMigrate** enthält Skripte zur Migration von Creo-Altdaten nach Solid Edge / Rule
|
||||||
|
Designer. Ziel ist es, alte 3D-Daten aus Creo mit aktuellen SIVAS-Informationen in die
|
||||||
|
neue Konstruktionsumgebung zu überführen. Der Fokus liegt auf automatisierbaren Prozessen
|
||||||
|
mit wenig Nutzereingriff (Datenbank-Abgleich, Listenvergleich, TOS-String-Erzeugung).
|
||||||
|
|
||||||
|
## Projektstruktur
|
||||||
|
|
||||||
|
```text
|
||||||
|
CreoMigrate/
|
||||||
|
├── bin/ # Nummerierte Workflow-Batch-Skripte (01..06) + GUI/Setup
|
||||||
|
├── lib/ # Python-Quellcode
|
||||||
|
├── Include/ # Zusätzliche Includes
|
||||||
|
├── cfg/ # Konfiguration
|
||||||
|
├── data/ # Datenbanken / Eingabedaten
|
||||||
|
├── doc/ # Dokumentation
|
||||||
|
├── log/ # Log-Dateien
|
||||||
|
└── work/ # Arbeitsdateien
|
||||||
|
```
|
||||||
|
|
||||||
|
## Workflow-Skripte (bin/)
|
||||||
|
|
||||||
|
Die Batch-Skripte sind in Ausführungsreihenfolge nummeriert:
|
||||||
|
|
||||||
|
1. `01_get_rd_dbase.bat` — Rule-Designer-Bestand ableiten
|
||||||
|
2. `02_get_sivas_dbase.bat` — SIVAS-Datenbank ableiten
|
||||||
|
3. `03_get_blacklist_dbase.bat` — Blacklist erzeugen
|
||||||
|
4. `04_compare_lists.bat` — Listen vergleichen
|
||||||
|
5. `05_get_sivas_teilestamm.bat` — Teilestamm aus SIVAS
|
||||||
|
6. `06_migrationsstatus_treeview.bat` — Migrationsstatus als Treeview
|
||||||
|
|
||||||
|
Weitere: `gui.bat` (GUI), `create_tos_string.bat` / `write_tos_string_to_file.bat`
|
||||||
|
(TOS-Strings), `install_py.bat`, `cremig_setenv.bat`, `get_cmd.bat`.
|
||||||
|
|
||||||
|
## Kernmodule (lib/)
|
||||||
|
|
||||||
|
- `CreoMigrateGui.py`, `gui.py`, `controller.py` — GUI + Steuerung (Tkinter)
|
||||||
|
- `compare_lists.py` — Listenvergleich
|
||||||
|
- `create_tos.py` — TOS-String-Erzeugung
|
||||||
|
- `caditem.py` — Datenmodell CAD-Item
|
||||||
|
- `update_database.py`, `manage_configs.py` — DB/Config
|
||||||
|
- `test_*.py` — Tests
|
||||||
|
|
||||||
|
## Setup
|
||||||
|
|
||||||
|
```cmd
|
||||||
|
bin\install_py.bat
|
||||||
|
```
|
||||||
|
Legt die virtuelle Umgebung an und installiert `lib/requirements.txt`.
|
||||||
@@ -107,6 +107,10 @@
|
|||||||
"Werkstoff": "1.0503 (C45)",
|
"Werkstoff": "1.0503 (C45)",
|
||||||
"Werkstofftyp": "Stahl"
|
"Werkstofftyp": "Stahl"
|
||||||
},
|
},
|
||||||
|
"Ck60": {
|
||||||
|
"Werkstoff": "1.1221 (C60E)",
|
||||||
|
"Werkstofftyp": "Stahl"
|
||||||
|
},
|
||||||
"S355JO": {
|
"S355JO": {
|
||||||
"Werkstoff": "1.0553 (S355J0)",
|
"Werkstoff": "1.0553 (S355J0)",
|
||||||
"Werkstofftyp": "Stahl"
|
"Werkstofftyp": "Stahl"
|
||||||
@@ -187,6 +191,16 @@
|
|||||||
"Werkstofftyp": "Kunst-/ Verbundstoff",
|
"Werkstofftyp": "Kunst-/ Verbundstoff",
|
||||||
"Oberfläche": "Masterbatch (Grundfarbe)"
|
"Oberfläche": "Masterbatch (Grundfarbe)"
|
||||||
},
|
},
|
||||||
|
"PA 66 GF 50": {
|
||||||
|
"Werkstoff": "PA 66 GF 50",
|
||||||
|
"Werkstofftyp": "Kunst-/ Verbundstoff",
|
||||||
|
"Oberfläche": "Masterbatch (Grundfarbe)"
|
||||||
|
},
|
||||||
|
"PC GF 10": {
|
||||||
|
"Werkstoff": "PC GF 10",
|
||||||
|
"Werkstofftyp": "Kunst-/ Verbundstoff",
|
||||||
|
"Oberfläche": "Masterbatch (Grundfarbe)"
|
||||||
|
},
|
||||||
"POM schw": {
|
"POM schw": {
|
||||||
"Werkstoff": "POM",
|
"Werkstoff": "POM",
|
||||||
"Werkstofftyp": "Kunst-/ Verbundstoff",
|
"Werkstofftyp": "Kunst-/ Verbundstoff",
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ Schwermetall
|
|||||||
1.0715+C (11SMn30+C)
|
1.0715+C (11SMn30+C)
|
||||||
1.0917 (DX51D+Z)
|
1.0917 (DX51D+Z)
|
||||||
1.1191 (C45E)
|
1.1191 (C45E)
|
||||||
|
1.1221 (C60E)
|
||||||
1.2842 (90MnCrV8)
|
1.2842 (90MnCrV8)
|
||||||
1.4035 (X45CrS13)
|
1.4035 (X45CrS13)
|
||||||
1.4301 (X5CrNi18-10)
|
1.4301 (X5CrNi18-10)
|
||||||
@@ -65,6 +66,7 @@ PA 6 GF 30
|
|||||||
PA 66
|
PA 66
|
||||||
PA 66 GF 25
|
PA 66 GF 25
|
||||||
PA 66 GF 30
|
PA 66 GF 30
|
||||||
|
PA 66 GF 50
|
||||||
PA GF 25
|
PA GF 25
|
||||||
PBT
|
PBT
|
||||||
PC
|
PC
|
||||||
@@ -96,6 +98,7 @@ TPU - 95 Shore A
|
|||||||
TPU - 98 Shore A
|
TPU - 98 Shore A
|
||||||
|
|
||||||
[Schwermetall]
|
[Schwermetall]
|
||||||
|
CC493K - GC (CuSn7Zn4Pb7 - C - GC)
|
||||||
CW459K (CuSn8P)
|
CW459K (CuSn8P)
|
||||||
CW614N (CuZn39Pb3)
|
CW614N (CuZn39Pb3)
|
||||||
CW708R (CuZn31Si)
|
CW708R (CuZn31Si)
|
||||||
|
|||||||
Reference in New Issue
Block a user