Git Komut Rehberi & Terminal Asistanı
Sıfırdan Yeni Bir Depo Başlatın:
Mevcut Bir Git Deposu veya Klasörü Gönderin:
Hataları Geri Alma, İptal & Temizlik:
Son commit'i geri al (yapılan değişiklikleri korur):
git reset --soft HEAD~1
Yapılan yerel değişiklikleri iptal et (çalışma ağacını temizler):
git restore .
Takip edilmeyen gereksiz dosyaları sil:
git clean -fd
Değişiklikleri geçici sakla ve geri getir (stash):
git stash git stash pop
Dal (Branch) ve Sürüm Etiketleri:
Yeni dal aç ve geçiş yap:
git checkout -b yeni-ozellik git push -u origin yeni-ozellik
Sürüm etiketi (tag) oluştur ve gönder:
git tag -a v1.0.0 -m "Sürüm 1.0.0" git push origin --tags
release: add sketch revolve and configurable gears
This commit is contained in:
@@ -114,10 +114,12 @@ export function proportionalResizeScale(startWidth: number, startDepth: number,
|
||||
}
|
||||
|
||||
export function fallbackSolidColor(shape: WorkplaneShape) {
|
||||
if (shape.sketchOperation === "revolve") return "#78b96b";
|
||||
if (shape.kind === "cylinder") return "#d97813";
|
||||
if (shape.kind === "sphere") return "#0098c7";
|
||||
if (shape.kind === "cone") return "#6e2786";
|
||||
if (shape.kind === "pyramid") return "#f2cf10";
|
||||
if (shape.kind === "gear") return "#6f7f8d";
|
||||
return "#d41721";
|
||||
}
|
||||
|
||||
@@ -188,11 +190,20 @@ export function workplaneShapesEqual(a: WorkplaneShape, b: WorkplaneShape) {
|
||||
a.segments === b.segments &&
|
||||
a.topRadius === b.topRadius &&
|
||||
a.baseRadius === b.baseRadius &&
|
||||
a.teeth === b.teeth &&
|
||||
a.toothSize === b.toothSize &&
|
||||
a.toothWidth === b.toothWidth &&
|
||||
a.centerHoleSize === b.centerHoleSize &&
|
||||
a.gearType === b.gearType &&
|
||||
a.helixAngle === b.helixAngle &&
|
||||
a.helixQuality === b.helixQuality &&
|
||||
a.text === b.text &&
|
||||
a.font === b.font &&
|
||||
a.importedMesh === b.importedMesh &&
|
||||
a.imagePlate === b.imagePlate &&
|
||||
a.sketchProfile === b.sketchProfile &&
|
||||
a.sketchOperation === b.sketchOperation &&
|
||||
a.sketchRevolve === b.sketchRevolve &&
|
||||
a.edgeTreatments === b.edgeTreatments &&
|
||||
a.edgeTreatmentHistory === b.edgeTreatmentHistory &&
|
||||
a.cadDisplayEdges === b.cadDisplayEdges &&
|
||||
|
||||
Reference in New Issue
Block a user