Thread milling: refuse a hole the program has not drilled yet (the mill is not centre-cutting)

Aperta
#992 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
42/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
backend, devtools

Direzione di ricerca

Start with machining2d::thread_ride, operation::drill_prior, and the existing drilling laws to trace how earlier operations leave stock under a threaded hole. Check how operation stamps are computed and how app tests pin generation and stale behavior. Done means an undrilled hole is refused by name, drilling first allows generation, reordering makes the thread stale and refuses, and the behavior is covered by an app test.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area:2d area:sim bug effort:high P1 source:agent

Part of #894.

A thread mill is not centre-cutting, and the thread-milling ride (machining2d::thread_ride) feeds it down the hole's axis before the first lead-in arc. That is air only if an earlier operation opened the hole. Nothing checks it: the Thread operation generates and verifies clean on a part whose hole is modelled, even when the program holds no drilling operation before it and the stock at the hole is solid. The gouge laws read the part (the hole is in the model), so they see nothing; the centre-cutting audit (operation::plunge_solid, camcraft_motion::plunge_law) is not asked for this kind, and it reads the raw stock, which would refuse every thread.

Effect: forget the tap drill and the program plunges a thread mill into solid metal at plunge feed - a broken cutter, with no finding at generate, at verify or at the post gate.

Fix sketch: read the stock the setup's earlier operations leave standing (the prior grid the drilling laws already read, operation::drill_prior) under each threaded hole: the tool's full cylinder down the axis and the first pass's lead-in must fall through air. Refuse by name at generate ("the hole at (x, y) is not drilled yet - add a drilling operation before the thread") and digest the program ahead in the stamp, so reordering the operations marks the thread Stale.

Done means: a Thread operation with no drilled hole under it is refused by name; the same operation after a Drill of at least the tool's diameter generates; moving the Drill after the Thread turns it Stale and refuses; pinned by an app test. The milled Bore ride's axis entry gets the same reading or its own issue.

Lingua principale
Rust
Stelle
8
Fork
11
Merge medio
5h 22m
PR unite (30g)
409

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di NeoTech/Camcraft

Tutte le issue di NeoTech/Camcraft

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.