SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.
Coil: its parameters show and can be edited (#3862) (#3915)
raykholo1236863b1726
diff --git a/assets/locales/cs.json b/assets/locales/cs.jsonindex b43e05e58b..99a8b26e16 100644--- a/assets/locales/cs.json+++ b/assets/locales/cs.json@@ -72,6 +72,7 @@"Choose…": "Vybrat…","Circular": "Kruhově","Circumference": "Obvod",+ "Clockwise": "Ve směru hodinových ručiček","Close draft": "Zavřít koncept","Collisions": "Kolize","Colour": "Barva",@@ -322,6 +323,7 @@"Search commands": "Hledat příkazy","Search this library": "Prohledat tuto knihovnu","Section": "Řez",+ "Section position": "Poloha průřezu","Select Other: hold the left button still on the model (or right-click › Select Other…) to list everything under the cursor; click again on the same spot to select the next thing there. Double-click the middle button to go Home (Preferences › Navigation).": "Vybrat jiné: podržte levé tlačítko na modelu (nebo pravé tlačítko › Vybrat jiné…) a zobrazí se vše pod kurzorem; dalším kliknutím na stejné místo vyberete další prvek. Dvojklikem prostředním tlačítkem přejdete na výchozí pohled (Předvolby › Navigace).","Select bodies (a face picks its body)": "Vyberte tělesa (plocha vybere své těleso)","Select bodies or faces instead": "Vyberte místo toho tělesa nebo plochy",@@ -345,9 +347,11 @@"SolidCraft closed before these designs were saved. Their last autosave can be opened.": "SolidCraft se zavřel dříve, než se tyto návrhy uložily. Lze otevřít jejich poslední automatické uložení.","Specialise": "Specializovat","Speed": "Rychlost",+ "Square": "Čtverec","Stand it up": "Postavit","Stand it up: a quarter turn about X, as one Move feature you can undo.": "Postavit: otočení o čtvrt otáčky kolem osy X jako jeden prvek Posunutí, který lze vrátit.","Stand this part up?": "Postavit tento díl?",+ "Start angle": "Počáteční úhel","Start bulge": "Vypouklost začátku","Start continuity": "Návaznost začátku","Step": "Krok",diff --git a/assets/locales/da.json b/assets/locales/da.jsonindex a027c43ea4..305b080e18 100644--- a/assets/locales/da.json+++ b/assets/locales/da.json@@ -72,6 +72,7 @@"Choose…": "Vælg…","Circular": "Cirkulær","Circumference": "Omkreds",+ "Clockwise": "Med uret","Close draft": "Luk kladde","Collisions": "Kollisioner","Colour": "Farve",@@ -322,6 +323,7 @@"Search commands": "Søg efter kommandoer","Search this library": "Søg i dette bibliotek","Section": "Snit",+ "Section position": "Profilets placering","Select Other: hold the left button still on the model (or right-click › Select Other…) to list everything under the cursor; click again on the same spot to select the next thing there. Double-click the middle button to go Home (Preferences › Navigation).": "Vælg andet: Hold venstre museknap nede uden at flytte markøren på modellen (eller højreklik › Vælg andet…) for at vise alt under markøren. Klik igen samme sted for at vælge næste objekt. Dobbeltklik på den midterste museknap for at gå til Hjem (Indstillinger › Navigation).","Select bodies (a face picks its body)": "Vælg emner (en flade vælger sit emne)","Select bodies or faces instead": "Vælg emner eller flader i stedet",@@ -345,9 +347,11 @@"SolidCraft closed before these designs were saved. Their last autosave can be opened.": "SolidCraft lukkede, før disse designs blev gemt. Den seneste automatiske lagring kan åbnes.","Specialise": "Specialisér","Speed": "Hastighed",+ "Square": "Kvadrat","Stand it up": "Stil op","Stand it up: a quarter turn about X, as one Move feature you can undo.": "Stil op: En kvart omdrejning om X som én flyttefeature, der kan fortrydes.","Stand this part up?": "Stil dette emne op?",+ "Start angle": "Startvinkel","Start bulge": "Udbuling ved starten","Start continuity": "Overgang ved starten","Step": "Trin",diff --git a/assets/locales/de.json b/assets/locales/de.jsonindex ce4b01f5c5..b4a0dcf676 100644--- a/assets/locales/de.json+++ b/assets/locales/de.json@@ -85,6 +85,7 @@"Choose…": "Auswählen…","Circular": "Kreisförmig","Circumference": "Umfang",+ "Clockwise": "Im Uhrzeigersinn","Close draft": "Entwurf schließen","Collapse": "Einklappen","Collisions": "Kollisionen",@@ -404,6 +405,7 @@"Search this library": "Diese Bibliothek durchsuchen","Second plane": "Zweite Ebene","Section": "Schnitt",+ "Section position": "Lage des Querschnitts","Sections (one sketch each)": "Querschnitte (je eine Skizze)","Select Other": "Andere auswählen","Select Other: hold the left button still on the model (or right-click › Select Other…) to list everything under the cursor; click again on the same spot to select the next thing there. Double-click the middle button to go Home (Preferences › Navigation).": "Anderes auswählen: Halten Sie die linke Taste ruhig auf dem Modell gedrückt (oder Rechtsklick › Anderes auswählen…), um alles unter dem Cursor aufzulisten; klicken Sie erneut an dieselbe Stelle, um das nächste Element dort auszuwählen. Doppelklick mit der mittleren Taste wechselt zur Startansicht (Einstellungen › Navigation).",@@ -432,9 +434,11 @@"Specialise": "Spezialisieren","Speed": "Geschwindigkeit","Splitting tool": "Trennwerkzeug",+ "Square": "Quadrat","Stand it up": "Aufrichten","Stand it up: a quarter turn about X, as one Move feature you can undo.": "Aufrichten: eine Vierteldrehung um X, als ein Verschieben-Merkmal, das sich rückgängig machen lässt.","Stand this part up?": "Dieses Teil aufrichten?",+ "Start angle": "Startwinkel","Start bulge": "Startausbauchung","Start continuity": "Startstetigkeit","Step": "Schritt",diff --git a/assets/locales/en.json b/assets/locales/en.jsonindex c81b0adc11..1d6665001b 100644--- a/assets/locales/en.json+++ b/assets/locales/en.json@@ -97,6 +97,7 @@"Circle center": "Circle center","Circular": "Circular","Circumference": "Circumference",+ "Clockwise": "Clockwise","Close draft": "Close draft","Collapse": "Collapse","Collisions": "Collisions",@@ -456,6 +457,7 @@"Second plane": "Second plane","Section": "Section","Section (optional)": "Section (optional)",+ "Section position": "Section position","Sections (one sketch each)": "Sections (one sketch each)","Select Other": "Select Other","Select Other: hold the left button still on the model (or right-click › Select Other…) to list everything under the cursor; click again on the same spot to select the next thing there. Double-click the middle button to go Home (Preferences › Navigation).": "Select Other: hold the left button still on the model (or right-click › Select Other…) to list everything under the cursor; click again on the same spot to select the next thing there. Double-click the middle button to go Home (Preferences › Navigation).",@@ -485,9 +487,11 @@"Specialise": "Specialise","Speed": "Speed","Splitting tool": "Splitting tool",+ "Square": "Square","Stand it up": "Stand it up","Stand it up: a quarter turn about X, as one Move feature you can undo.": "Stand it up: a quarter turn about X, as one Move feature you can undo.","Stand this part up?": "Stand this part up?",+ "Start angle": "Start angle","Start bulge": "Start bulge","Start continuity": "Start continuity","Step": "Step",diff --git a/assets/locales/es.json b/assets/locales/es.jsonindex 37e908fa67..222c66dc0b 100644--- a/assets/locales/es.json+++ b/assets/locales/es.json@@ -72,6 +72,7 @@"Choose…": "Elegir…","Circular": "Circular","Circumference": "Circunferencia",+ "Clockwise": "Horario","Close draft": "Cerrar borrador","Collisions": "Colisiones","Colour": "Color",@@ -328,6 +329,7 @@"Search commands": "Buscar comandos","Search this library": "Buscar en esta biblioteca","Section": "Sección",+ "Section position": "Posición de la sección","Select Other: hold the left button still on the model (or right-click › Select Other…) to list everything under the cursor; click again on the same spot to select the next thing there. Double-click the middle button to go Home (Preferences › Navigation).": "Seleccionar otro: mantén pulsado el botón izquierdo sobre el modelo (o haz clic derecho › Seleccionar otro…) para ver todo lo que hay bajo el cursor; vuelve a pulsar en el mismo lugar para seleccionar el siguiente elemento. Haz doble clic con el botón central para volver a Inicio (Preferencias › Navegación).","Select bodies (a face picks its body)": "Selecciona cuerpos (al seleccionar una cara se selecciona su cuerpo)","Select bodies or faces instead": "Selecciona cuerpos o caras en su lugar",@@ -351,9 +353,11 @@"SolidCraft closed before these designs were saved. Their last autosave can be opened.": "SolidCraft se cerró antes de guardar estos diseños. Puedes abrir su último guardado automático.","Specialise": "Especializar","Speed": "Velocidad",+ "Square": "Cuadrado","Stand it up": "Poner en vertical","Stand it up: a quarter turn about X, as one Move feature you can undo.": "Poner en vertical: un cuarto de vuelta alrededor del eje X, como una única operación Mover que puedes deshacer.","Stand this part up?": "¿Poner esta pieza en vertical?",+ "Start angle": "Ángulo inicial","Start bulge": "Abombamiento inicial","Start continuity": "Continuidad inicial","Step": "Paso",diff --git a/assets/locales/fr.json b/assets/locales/fr.jsonindex d18c3cffbb..997c364edc 100644--- a/assets/locales/fr.json+++ b/assets/locales/fr.json@@ -72,6 +72,7 @@"Choose…": "Choisir…","Circular": "Circulaire","Circumference": "Circonférence",+ "Clockwise": "Horaire","Close draft": "Fermer le brouillon","Collisions": "Collisions","Colour": "Couleur",@@ -322,6 +323,7 @@"Search commands": "Rechercher des commandes","Search this library": "Rechercher dans cette bibliothèque","Section": "Coupe",+ "Section position": "Position de la section","Select Other: hold the left button still on the model (or right-click › Select Other…) to list everything under the cursor; click again on the same spot to select the next thing there. Double-click the middle button to go Home (Preferences › Navigation).": "Sélectionner un autre élément : maintenir le bouton gauche immobile sur le modèle (ou clic droit › Sélectionner un autre…) pour lister tout ce qui se trouve sous le curseur ; cliquer de nouveau au même endroit pour sélectionner l'élément suivant. Double-cliquer avec le bouton du milieu pour revenir à l'accueil (Préférences › Navigation).","Select bodies (a face picks its body)": "Sélectionner des corps (une face sélectionne son corps)","Select bodies or faces instead": "Sélectionner plutôt des corps ou des faces",@@ -345,9 +347,11 @@"SolidCraft closed before these designs were saved. Their last autosave can be opened.": "SolidCraft s'est fermé avant l'enregistrement de ces conceptions. Leur dernier enregistrement automatique peut être ouvert.","Specialise": "Spécialiser","Speed": "Vitesse",+ "Square": "Carré","Stand it up": "Redresser","Stand it up: a quarter turn about X, as one Move feature you can undo.": "Redresser : un quart de tour autour de X, sous forme d'une fonction Déplacer que vous pouvez annuler.","Stand this part up?": "Redresser cette pièce ?",+ "Start angle": "Angle de départ","Start bulge": "Renflement de début","Start continuity": "Continuité de début","Step": "Étape",diff --git a/assets/locales/gl.json b/assets/locales/gl.jsonindex f2e4989227..f2851bd5ea 100644--- a/assets/locales/gl.json+++ b/assets/locales/gl.json@@ -72,6 +72,7 @@"Choose…": "Escoller…","Circular": "Circular","Circumference": "Circunferencia",+ "Clockwise": "Horario","Close draft": "Pechar o borrador","Collisions": "Colisións","Colour": "Cor",@@ -322,6 +323,7 @@"Search commands": "Buscar ordes","Search this library": "Buscar nesta biblioteca","Section": "Sección",+ "Section position": "Posición da sección","Select Other: hold the left button still on the model (or right-click › Select Other…) to list everything under the cursor; click again on the same spot to select the next thing there. Double-click the middle button to go Home (Preferences › Navigation).": "Seleccionar outro: mantén o botón esquerdo quieto sobre o modelo (ou clic dereito › Seleccionar outro…) para listar todo o que hai baixo o cursor; fai clic de novo no mesmo punto para seleccionar o seguinte. Fai dobre clic co botón central para ir ao Inicio (Preferencias › Navegación).","Select bodies (a face picks its body)": "Selecciona corpos (unha cara escolle o seu corpo)","Select bodies or faces instead": "Seleccionar corpos ou caras no seu lugar",@@ -345,9 +347,11 @@"SolidCraft closed before these designs were saved. Their last autosave can be opened.": "SolidCraft pechouse antes de gardar estes deseños. Pódese abrir a súa última gravación automática.","Specialise": "Especializar","Speed": "Velocidade",+ "Square": "Cadrado","Stand it up": "Poñela de pé","Stand it up: a quarter turn about X, as one Move feature you can undo.": "Poñela de pé: un cuarto de volta arredor de X, como unha operación Mover que podes desfacer.","Stand this part up?": "Poñer esta peza de pé?",+ "Start angle": "Ángulo inicial","Start bulge": "Abaulamento inicial","Start continuity": "Continuidade inicial","Step": "Paso",diff --git a/assets/locales/hu.json b/assets/locales/hu.jsonindex 1b9e5e0a9e..5b3aa5d604 100644--- a/assets/locales/hu.json+++ b/assets/locales/hu.json@@ -72,6 +72,7 @@"Choose…": "Válasszon…","Circular": "Kör alakú","Circumference": "Kerület",+ "Clockwise": "Óramutató járásával megegyező","Close draft": "Vázlat bezárása","Collisions": "Ütközések","Colour": "Szín",@@ -321,6 +322,7 @@"Search commands": "Parancsok keresése","Search this library": "Keresés ebben a könyvtárban","Section": "Metszet",+ "Section position": "Szelvény helyzete","Select Other: hold the left button still on the model (or right-click › Select Other…) to list everything under the cursor; click again on the same spot to select the next thing there. Double-click the middle button to go Home (Preferences › Navigation).": "Más kijelölése: tartsa nyomva a bal gombot egy helyen a modellen (vagy jobb kattintás › Más kijelölése…) a kurzor alatti elemek listázásához; kattintson újra ugyanarra a helyre a következő elem kijelöléséhez. A középső gomb dupla kattintása a kezdőnézetre vált (Beállítások › Navigáció).","Select bodies (a face picks its body)": "Testek kijelölése (egy lap a testét jelöli ki)","Select bodies or faces instead": "Inkább testek vagy lapok kijelölése",@@ -344,9 +346,11 @@"SolidCraft closed before these designs were saved. Their last autosave can be opened.": "A SolidCraft bezárult, mielőtt ezek a tervek mentve lettek volna. Az utolsó automatikus mentésük megnyitható.","Specialise": "Specializálás","Speed": "Sebesség",+ "Square": "Négyzet","Stand it up": "Felállítás","Stand it up: a quarter turn about X, as one Move feature you can undo.": "Felállítás: negyedfordulat az X körül, egyetlen visszavonható Mozgatás elemként.","Stand this part up?": "Felállítja ezt az alkatrészt?",+ "Start angle": "Kezdőszög","Start bulge": "Kezdő ívelés","Start continuity": "Kezdő folytonosság","Step": "Lépés",diff --git a/assets/locales/id.json b/assets/locales/id.jsonindex 7a2833884c..2622d37790 100644--- a/assets/locales/id.json+++ b/assets/locales/id.json@@ -72,6 +72,7 @@"Choose…": "Pilih…","Circular": "Melingkar","Circumference": "Keliling",+ "Clockwise": "Searah jarum jam","Close draft": "Tutup draf","Collisions": "Tabrakan","Colour": "Warna",@@ -321,6 +322,7 @@"Search commands": "Cari perintah","Search this library": "Cari di pustaka ini","Section": "Penampang",+ "Section position": "Posisi penampang","Select Other: hold the left button still on the model (or right-click › Select Other…) to list everything under the cursor; click again on the same spot to select the next thing there. Double-click the middle button to go Home (Preferences › Navigation).": "Select Other: tahan tombol kiri diam di model (atau klik kanan › Select Other…) untuk mendaftar semua yang ada di bawah kursor; klik lagi di titik yang sama untuk memilih benda berikutnya. Klik dua kali tombol tengah untuk ke Home (Preferensi › Navigasi).","Select bodies (a face picks its body)": "Pilih bodi (memilih muka berarti memilih bodinya)","Select bodies or faces instead": "Pilih bodi atau muka saja",@@ -344,9 +346,11 @@"SolidCraft closed before these designs were saved. Their last autosave can be opened.": "SolidCraft tertutup sebelum desain ini disimpan. Simpan otomatis terakhirnya dapat dibuka.","Specialise": "Spesialisasikan","Speed": "Kecepatan",+ "Square": "Persegi","Stand it up": "Tegakkan","Stand it up: a quarter turn about X, as one Move feature you can undo.": "Tegakkan: putaran seperempat terhadap X, sebagai satu fitur Move yang dapat dibatalkan.","Stand this part up?": "Tegakkan part ini?",+ "Start angle": "Sudut awal","Start bulge": "Bulge awal","Start continuity": "Kontinuitas awal","Step": "Langkah",diff --git a/assets/locales/it.json b/assets/locales/it.jsonindex ad27ae4fdd..da60278fbb 100644--- a/assets/locales/it.json+++ b/assets/locales/it.json@@ -72,6 +72,7 @@"Choose…": "Scegli…","Circular": "Circolare","Circumference": "Circonferenza",+ "Clockwise": "Orario","Close draft": "Chiudi bozza","Collisions": "Collisioni","Colour": "Colore",@@ -325,6 +326,7 @@"Search commands": "Cerca comandi","Search this library": "Cerca in questa libreria","Section": "Sezione",+ "Section position": "Posizione della sezione","Select Other: hold the left button still on the model (or right-click › Select Other…) to list everything under the cursor; click again on the same spot to select the next thing there. Double-click the middle button to go Home (Preferences › Navigation).": "Seleziona altro: tieni premuto il pulsante sinistro senza muovere il puntatore sul modello (o fai clic destro › Seleziona altro…) per elencare gli oggetti sotto il cursore; fai di nuovo clic nello stesso punto per selezionare l'oggetto successivo. Fai doppio clic con il pulsante centrale per tornare alla vista iniziale (Preferenze › Navigazione).","Select bodies (a face picks its body)": "Seleziona corpi (una faccia seleziona il corpo a cui appartiene)","Select bodies or faces instead": "Seleziona invece corpi o facce",@@ -348,9 +350,11 @@"SolidCraft closed before these designs were saved. Their last autosave can be opened.": "SolidCraft si è chiuso prima del salvataggio di questi progetti. È possibile aprire il loro ultimo salvataggio automatico.","Specialise": "Specializza","Speed": "Velocità",+ "Square": "Quadrato","Stand it up": "Raddrizza","Stand it up: a quarter turn about X, as one Move feature you can undo.": "Raddrizza: un quarto di giro attorno a X, come singola lavorazione Sposta annullabile.","Stand this part up?": "Raddrizzare questa parte?",+ "Start angle": "Angolo iniziale","Start bulge": "Rigonfiamento iniziale","Start continuity": "Continuità iniziale","Step": "Passo",diff --git a/assets/locales/ja.json b/assets/locales/ja.jsonindex 68d8656085..d172aeda0b 100644--- a/assets/locales/ja.json+++ b/assets/locales/ja.json@@ -97,6 +97,7 @@"Circle center": "円の中心","Circular": "円形","Circumference": "円周",+ "Clockwise": "時計回り","Close draft": "下書きを閉じる","Collapse": "折りたたむ","Collisions": "衝突",@@ -456,6 +457,7 @@"Second plane": "第2平面","Section": "断面","Section (optional)": "断面(任意)",+ "Section position": "断面の位置","Sections (one sketch each)": "セクション (各1スケッチ)","Select Other": "その他を選択","Select Other: hold the left button still on the model (or right-click › Select Other…) to list everything under the cursor; click again on the same spot to select the next thing there. Double-click the middle button to go Home (Preferences › Navigation).": "その他を選択: モデル上で左ボタンを長押し(または右クリック › その他を選択…)するとカーソル下の要素が一覧表示されます。同じ場所を再度クリックすると次の要素が選択されます。中ボタンをダブルクリックするとホームビューに戻ります(環境設定 › ナビゲーション)。",@@ -485,9 +487,11 @@"Specialise": "特殊操作","Speed": "速度","Splitting tool": "分割ツール",+ "Square": "正方形","Stand it up": "正立させる","Stand it up: a quarter turn about X, as one Move feature you can undo.": "正立させる: 取り消し可能な1つの移動フィーチャーとして、X軸周りに90度回転します。","Stand this part up?": "このパーツを正立させますか?",+ "Start angle": "開始角度","Start bulge": "開始側の膨らみ","Start continuity": "開始側の連続性","Step": "ステップ",diff --git a/assets/locales/ko.json b/assets/locales/ko.jsonindex 91c8dfbd8b..f735137782 100644--- a/assets/locales/ko.json+++ b/assets/locales/ko.json@@ -72,6 +72,7 @@"Choose…": "선택…","Circular": "원형","Circumference": "원주",+ "Clockwise": "시계 방향","Close draft": "초안 닫기","Collisions": "충돌","Colour": "색상",@@ -323,6 +324,7 @@"Search commands": "명령 검색","Search this library": "이 라이브러리 검색","Section": "단면",+ "Section position": "단면 위치","Select Other: hold the left button still on the model (or right-click › Select Other…) to list everything under the cursor; click again on the same spot to select the next thing there. Double-click the middle button to go Home (Preferences › Navigation).": "다른 항목 선택: 모델 위에서 왼쪽 버튼을 가만히 누르고 있거나(또는 오른쪽 클릭 › 다른 항목 선택…) 커서 아래의 모든 항목을 나열합니다. 같은 위치를 다시 클릭하면 다음 항목이 선택됩니다. 가운데 버튼을 더블 클릭하면 홈으로 이동합니다(환경설정 › 탐색).","Select bodies (a face picks its body)": "바디 선택(면을 클릭하면 해당 바디 선택)","Select bodies or faces instead": "대신 바디 또는 면을 선택하세요",@@ -346,9 +348,11 @@"SolidCraft closed before these designs were saved. Their last autosave can be opened.": "이 디자인들이 저장되기 전에 SolidCraft가 종료되었습니다. 마지막 자동 저장본을 열 수 있습니다.","Specialise": "특수화","Speed": "속도",+ "Square": "정사각형","Stand it up": "세우기","Stand it up: a quarter turn about X, as one Move feature you can undo.": "세우기: X축 기준 90도 회전으로, 실행 취소할 수 있는 하나의 이동 피처로 적용됩니다.","Stand this part up?": "이 부품을 세울까요?",+ "Start angle": "시작 각도","Start bulge": "시작 벌지","Start continuity": "시작 연속성","Step": "단계",diff --git a/assets/locales/ms.json b/assets/locales/ms.jsonindex 51b70a994e..b2619f1db9 100644--- a/assets/locales/ms.json+++ b/assets/locales/ms.json@@ -72,6 +72,7 @@"Choose…": "Pilih…","Circular": "Bulat","Circumference": "Lilitan",+ "Clockwise": "Ikut arah jam","Close draft": "Tutup draf","Collisions": "Perlanggaran","Colour": "Warna",@@ -322,6 +323,7 @@"Search commands": "Cari arahan","Search this library": "Cari dalam koleksi ini","Section": "Keratan",+ "Section position": "Kedudukan keratan","Select Other: hold the left button still on the model (or right-click › Select Other…) to list everything under the cursor; click again on the same spot to select the next thing there. Double-click the middle button to go Home (Preferences › Navigation).": "Pilih Lain: tahan butang kiri pada model tanpa bergerak (atau klik kanan › Pilih Lain…) untuk senarai objek di bawah kursor. Klik tempat sama untuk objek seterusnya. Klik dua kali butang tengah untuk ke Utama (Tetapan › Navigasi).","Select bodies (a face picks its body)": "Pilih jasad (klik muka untuk pilih jasadnya)","Select bodies or faces instead": "Pilih jasad atau muka",@@ -345,9 +347,11 @@"SolidCraft closed before these designs were saved. Their last autosave can be opened.": "SolidCraft ditutup sebelum reka bentuk disimpan. Buka simpanan automatik terakhirnya.","Specialise": "Khususkan","Speed": "Kelajuan",+ "Square": "Segi empat sama","Stand it up": "Tegakkan","Stand it up: a quarter turn about X, as one Move feature you can undo.": "Tegakkan: suku putaran pada X, satu ciri Alih yang boleh dibatalkan.","Stand this part up?": "Tegakkan bahagian ini?",+ "Start angle": "Sudut mula","Start bulge": "Bonjolan permulaan","Start continuity": "Keselanjaran permulaan","Step": "Langkah",diff --git a/assets/locales/nl.json b/assets/locales/nl.jsonindex 3134c31c76..82ed254037 100644--- a/assets/locales/nl.json+++ b/assets/locales/nl.json@@ -72,6 +72,7 @@"Choose…": "Kiezen…","Circular": "Cirkelvormig","Circumference": "Omtrek",+ "Clockwise": "Met de klok mee","Close draft": "Concept sluiten","Collisions": "Botsingen","Colour": "Kleur",@@ -321,6 +322,7 @@"Search commands": "Opdrachten zoeken","Search this library": "Deze bibliotheek doorzoeken","Section": "Doorsnede",+ "Section position": "Positie van de doorsnede","Select Other: hold the left button still on the model (or right-click › Select Other…) to list everything under the cursor; click again on the same spot to select the next thing there. Double-click the middle button to go Home (Preferences › Navigation).": "Overige selecteren: houd de linkermuisknop stil op het model (of klik met rechts › Overige selecteren…) om alles onder de cursor weer te geven; klik opnieuw op dezelfde plek om het volgende item daar te selecteren. Dubbelklik met de middelste knop om naar Home te gaan (Voorkeuren › Navigatie).","Select bodies (a face picks its body)": "Lichamen selecteren (een vlak kiest zijn lichaam)","Select bodies or faces instead": "In plaats daarvan lichamen of vlakken selecteren",@@ -344,9 +346,11 @@"SolidCraft closed before these designs were saved. Their last autosave can be opened.": "SolidCraft is gesloten voordat deze ontwerpen zijn opgeslagen. Hun laatste automatische opslag kan worden geopend.","Specialise": "Specialiseren","Speed": "Snelheid",+ "Square": "Vierkant","Stand it up": "Rechtop zetten","Stand it up: a quarter turn about X, as one Move feature you can undo.": "Rechtop zetten: een kwartslag om X, als één Verplaatsen-kenmerk dat u ongedaan kunt maken.","Stand this part up?": "Dit onderdeel rechtop zetten?",+ "Start angle": "Beginhoek","Start bulge": "Beginbolling","Start continuity": "Begincontinuïteit","Step": "Stap",diff --git a/assets/locales/pl.json b/assets/locales/pl.jsonindex 66f4d94c0c..df1e89010c 100644--- a/assets/locales/pl.json+++ b/assets/locales/pl.json@@ -73,6 +73,7 @@"Choose…": "Wybierz…","Circular": "Kołowy","Circumference": "Obwód",+ "Clockwise": "Zgodnie z ruchem wskazówek zegara","Close draft": "Zamknij szkic zgłoszenia","Collisions": "Kolizje","Colour": "Kolor",@@ -339,6 +340,7 @@"Search commands": "Szukaj poleceń","Search this library": "Przeszukaj tę bibliotekę","Section": "Przekrój",+ "Section position": "Położenie przekroju","Select Other: hold the left button still on the model (or right-click › Select Other…) to list everything under the cursor; click again on the same spot to select the next thing there. Double-click the middle button to go Home (Preferences › Navigation).": "Wybierz inny: przytrzymaj nieruchomo lewy przycisk na modelu (lub prawy przycisk › Wybierz inny…), aby wyświetlić wszystko pod kursorem; kliknij ponownie w tym samym miejscu, aby zaznaczyć kolejny obiekt. Dwukrotne kliknięcie środkowym przyciskiem przechodzi do widoku głównego (Preferencje › Nawigacja).","Select bodies (a face picks its body)": "Zaznacz bryły (ściana wybiera swoją bryłę)","Select bodies or faces instead": "Zamiast tego zaznacz bryły lub ściany",@@ -362,9 +364,11 @@"SolidCraft closed before these designs were saved. Their last autosave can be opened.": "SolidCraft zamknął się, zanim te projekty zostały zapisane. Można otworzyć ich ostatni autozapis.","Specialise": "Uszczegółów","Speed": "Prędkość",+ "Square": "Kwadrat","Stand it up": "Postaw","Stand it up: a quarter turn about X, as one Move feature you can undo.": "Postaw: obrót o ćwierć obrotu wokół osi X, jako jedna funkcja Przesuń, którą można cofnąć.","Stand this part up?": "Postawić tę część?",+ "Start angle": "Kąt początkowy","Start bulge": "Wybrzuszenie początku","Start continuity": "Ciągłość początku","Step": "Krok",diff --git a/assets/locales/pt-BR.json b/assets/locales/pt-BR.jsonindex 90d51095f6..57e5dfed34 100644--- a/assets/locales/pt-BR.json+++ b/assets/locales/pt-BR.json@@ -72,6 +72,7 @@"Choose…": "Escolher…","Circular": "Circular","Circumference": "Circunferência",+ "Clockwise": "Horário","Close draft": "Fechar rascunho","Collisions": "Colisões","Colour": "Cor",@@ -322,6 +323,7 @@"Search commands": "Pesquisar comandos","Search this library": "Pesquisar nesta biblioteca","Section": "Seção",+ "Section position": "Posição da seção","Select Other: hold the left button still on the model (or right-click › Select Other…) to list everything under the cursor; click again on the same spot to select the next thing there. Double-click the middle button to go Home (Preferences › Navigation).": "Selecionar outro: mantenha o botão esquerdo parado sobre o modelo (ou clique com o botão direito › Selecionar outro…) para listar tudo sob o cursor; clique de novo no mesmo ponto para selecionar o próximo item ali. Clique duas vezes com o botão do meio para ir ao Início (Preferências › Navegação).","Select bodies (a face picks its body)": "Selecione corpos (uma face seleciona seu corpo)","Select bodies or faces instead": "Selecionar corpos ou faces em vez disso",@@ -345,9 +347,11 @@"SolidCraft closed before these designs were saved. Their last autosave can be opened.": "O SolidCraft fechou antes de estes projetos serem salvos. O último salvamento automático deles pode ser aberto.","Specialise": "Especializar","Speed": "Velocidade",+ "Square": "Quadrado","Stand it up": "Colocar em pé","Stand it up: a quarter turn about X, as one Move feature you can undo.": "Colocar em pé: um quarto de volta em torno de X, como um recurso Mover que pode ser desfeito.","Stand this part up?": "Colocar esta peça em pé?",+ "Start angle": "Ângulo inicial","Start bulge": "Abaulamento inicial","Start continuity": "Continuidade inicial","Step": "Passo",diff --git a/assets/locales/ro.json b/assets/locales/ro.jsonindex 9ecb6ff08f..e8fca690a2 100644--- a/assets/locales/ro.json+++ b/assets/locales/ro.json@@ -72,6 +72,7 @@"Choose…": "Alegeți…","Circular": "Circular","Circumference": "Circumferință",+ "Clockwise": "În sens orar","Close draft": "Închide ciorna","Collisions": "Coliziuni","Colour": "Culoare",@@ -321,6 +322,7 @@"Search commands": "Caută comenzi","Search this library": "Caută în această bibliotecă","Section": "Secțiune",+ "Section position": "Poziția secțiunii","Select Other: hold the left button still on the model (or right-click › Select Other…) to list everything under the cursor; click again on the same spot to select the next thing there. Double-click the middle button to go Home (Preferences › Navigation).": "Selectează altul: țineți apăsat butonul stâng nemișcat pe model (sau clic dreapta › Selectează altul…) pentru a lista tot ce se află sub cursor; faceți clic din nou în același loc pentru a selecta următorul element. Dublu clic pe butonul din mijloc pentru a merge Acasă (Preferințe › Navigare).","Select bodies (a face picks its body)": "Selectați corpuri (o față alege corpul ei)","Select bodies or faces instead": "Selectați în schimb corpuri sau fețe",@@ -344,9 +346,11 @@"SolidCraft closed before these designs were saved. Their last autosave can be opened.": "SolidCraft s-a închis înainte ca aceste proiecte să fie salvate. Ultima lor salvare automată poate fi deschisă.","Specialise": "Specializează","Speed": "Viteză",+ "Square": "Pătrat","Stand it up": "Ridică-l în picioare","Stand it up: a quarter turn about X, as one Move feature you can undo.": "Ridică-l în picioare: un sfert de rotație în jurul lui X, ca o singură operație de mutare ce poate fi anulată.","Stand this part up?": "Ridicați această piesă în picioare?",+ "Start angle": "Unghi de început","Start bulge": "Bombare inițială","Start continuity": "Continuitate inițială","Step": "Pas",diff --git a/assets/locales/ru.json b/assets/locales/ru.jsonindex 1c847890da..68f65b77a8 100644--- a/assets/locales/ru.json+++ b/assets/locales/ru.json@@ -72,6 +72,7 @@"Choose…": "Выбрать…","Circular": "Круговой","Circumference": "Окружность",+ "Clockwise": "По часовой стрелке","Close draft": "Закрыть анализ уклонов","Collisions": "Столкновения","Colour": "Цвет",@@ -321,6 +322,7 @@"Search commands": "Поиск команд","Search this library": "Поиск в этой библиотеке","Section": "Сечение",+ "Section position": "Положение сечения","Select Other: hold the left button still on the model (or right-click › Select Other…) to list everything under the cursor; click again on the same spot to select the next thing there. Double-click the middle button to go Home (Preferences › Navigation).": "Выбрать другое: удерживайте левую кнопку на модели (или правый щелчок › Выбрать другое…), чтобы увидеть всё под курсором; повторный щелчок в том же месте выбирает следующий объект. Двойной щелчок средней кнопкой — «Главная» (Настройки › Навигация).","Select bodies (a face picks its body)": "Выберите тела (выбор грани выбирает её тело)","Select bodies or faces instead": "Вместо этого выберите тела или грани",@@ -344,9 +346,11 @@"SolidCraft closed before these designs were saved. Their last autosave can be opened.": "SolidCraft закрылся до сохранения этих дизайнов. Можно открыть последнюю автосохранённую версию.","Specialise": "Специализировать","Speed": "Скорость",+ "Square": "Квадрат","Stand it up": "Поставить вертикально","Stand it up: a quarter turn about X, as one Move feature you can undo.": "Поставить вертикально: четверть оборота вокруг X одной операцией «Переместить», которую можно отменить.","Stand this part up?": "Поставить эту деталь вертикально?",+ "Start angle": "Начальный угол","Start bulge": "Выпуклость в начале","Start continuity": "Непрерывность в начале","Step": "Шаг",diff --git a/assets/locales/sv.json b/assets/locales/sv.jsonindex 5ba7c9ea9f..9691d43d0e 100644--- a/assets/locales/sv.json+++ b/assets/locales/sv.json@@ -72,6 +72,7 @@"Choose…": "Välj…","Circular": "Cirkulär","Circumference": "Omkrets",+ "Clockwise": "Medurs","Close draft": "Stäng utkast","Collisions": "Kollisioner","Colour": "Färg",@@ -321,6 +322,7 @@"Search commands": "Sök kommandon","Search this library": "Sök i detta bibliotek","Section": "Sektion",+ "Section position": "Profilens läge","Select Other: hold the left button still on the model (or right-click › Select Other…) to list everything under the cursor; click again on the same spot to select the next thing there. Double-click the middle button to go Home (Preferences › Navigation).": "Markera annan: håll vänsterknappen stilla på modellen (eller högerklicka › Markera annan…) för att lista allt under markören; klicka igen på samma plats för att markera nästa objekt där. Dubbelklicka med mittenknappen för att gå till Hem (Inställningar › Navigering).","Select bodies (a face picks its body)": "Markera kroppar (en yta väljer sin kropp)","Select bodies or faces instead": "Markera kroppar eller ytor istället",@@ -344,9 +346,11 @@"SolidCraft closed before these designs were saved. Their last autosave can be opened.": "SolidCraft stängdes innan dessa konstruktioner sparades. Deras senaste autospar kan öppnas.","Specialise": "Specialisera","Speed": "Hastighet",+ "Square": "Kvadrat","Stand it up": "Res upp den","Stand it up: a quarter turn about X, as one Move feature you can undo.": "Res upp den: ett kvartsvarv runt X, som en enda Flytta-funktion som du kan ångra.","Stand this part up?": "Resa upp denna del?",+ "Start angle": "Startvinkel","Start bulge": "Startbukt","Start continuity": "Startkontinuitet","Step": "Steg",diff --git a/assets/locales/tr.json b/assets/locales/tr.jsonindex 32f28345ee..b6f8e4a668 100644--- a/assets/locales/tr.json+++ b/assets/locales/tr.json@@ -72,6 +72,7 @@"Choose…": "Seç…","Circular": "Dairesel","Circumference": "Çevre",+ "Clockwise": "Saat yönünde","Close draft": "Taslağı kapat","Collisions": "Çarpışmalar","Colour": "Renk",@@ -321,6 +322,7 @@"Search commands": "Komutlarda ara","Search this library": "Bu kitaplıkta ara","Section": "Kesit",+ "Section position": "Kesit konumu","Select Other: hold the left button still on the model (or right-click › Select Other…) to list everything under the cursor; click again on the same spot to select the next thing there. Double-click the middle button to go Home (Preferences › Navigation).": "Diğerini seç: İmlecin altındaki her şeyi listelemek için sol tuşu model üzerinde hareket ettirmeden basılı tutun (veya sağ tık › Diğerini seç…); oradaki bir sonraki öğeyi seçmek için aynı noktaya tekrar tıklayın. Başlangıç görünümüne dönmek için orta tuşla çift tıklayın (Ayarlar › Gezinme).","Select bodies (a face picks its body)": "Gövdeleri seçin (bir yüz kendi gövdesini seçer)","Select bodies or faces instead": "Bunun yerine gövde veya yüz seçin",@@ -344,9 +346,11 @@"SolidCraft closed before these designs were saved. Their last autosave can be opened.": "SolidCraft bu tasarımlar kaydedilmeden önce kapandı. Son otomatik kayıtları açılabilir.","Specialise": "Özelleştir","Speed": "Hız",+ "Square": "Kare","Stand it up": "Dik çevir","Stand it up: a quarter turn about X, as one Move feature you can undo.": "Dik çevir: X etrafında çeyrek tur; geri alınabilen tek bir Taşı özelliği olarak eklenir.","Stand this part up?": "Bu parça dik çevrilsin mi?",+ "Start angle": "Başlangıç açısı","Start bulge": "Başlangıç şişkinliği","Start continuity": "Başlangıç sürekliliği","Step": "Adım",diff --git a/assets/locales/uk.json b/assets/locales/uk.jsonindex 0bbe93d3f4..9d329e9f35 100644--- a/assets/locales/uk.json+++ b/assets/locales/uk.json@@ -72,6 +72,7 @@"Choose…": "Вибрати…","Circular": "Круговий","Circumference": "Довжина кола",+ "Clockwise": "За годинниковою стрілкою","Close draft": "Закрити чернетку","Collisions": "Зіткнення","Colour": "Колір",@@ -322,6 +323,7 @@"Search commands": "Пошук команд","Search this library": "Пошук у цій бібліотеці","Section": "Переріз",+ "Section position": "Положення перерізу","Select Other: hold the left button still on the model (or right-click › Select Other…) to list everything under the cursor; click again on the same spot to select the next thing there. Double-click the middle button to go Home (Preferences › Navigation).": "Вибір іншого: утримуйте ліву кнопку нерухомо на моделі (або клацніть правою › Вибрати інше…), щоб побачити список усього під курсором; клацніть ще раз у тому ж місці, щоб вибрати наступний об'єкт там. Двічі клацніть середньою кнопкою, щоб перейти до головного виду (Налаштування › Навігація).","Select bodies (a face picks its body)": "Виділяти тіла (грань виділяє своє тіло)","Select bodies or faces instead": "Натомість виділіть тіла або грані",@@ -345,9 +347,11 @@"SolidCraft closed before these designs were saved. Their last autosave can be opened.": "SolidCraft закрився до того, як ці проєкти було збережено. Можна відкрити їхнє останнє автозбереження.","Specialise": "Спеціалізувати","Speed": "Швидкість",+ "Square": "Квадрат","Stand it up": "Вирівняти","Stand it up: a quarter turn about X, as one Move feature you can undo.": "Вирівняти: поворот на чверть оберту навколо X як одна операція переміщення, яку можна скасувати.","Stand this part up?": "Вирівняти цю деталь?",+ "Start angle": "Початковий кут","Start bulge": "Роздуття початку","Start continuity": "Неперервність початку","Step": "Крок",diff --git a/assets/locales/vi.json b/assets/locales/vi.jsonindex 2ca6517d4e..b3422f1152 100644--- a/assets/locales/vi.json+++ b/assets/locales/vi.json@@ -72,6 +72,7 @@"Choose…": "Chọn…","Circular": "Tròn","Circumference": "Chu vi",+ "Clockwise": "Theo chiều kim đồng hồ","Close draft": "Đóng bản nháp","Collisions": "Va chạm","Colour": "Màu sắc",@@ -322,6 +323,7 @@"Search commands": "Tìm kiếm lệnh","Search this library": "Tìm trong thư viện này","Section": "Mặt cắt",+ "Section position": "Vị trí mặt cắt","Select Other: hold the left button still on the model (or right-click › Select Other…) to list everything under the cursor; click again on the same spot to select the next thing there. Double-click the middle button to go Home (Preferences › Navigation).": "Chọn đối tượng khác: giữ nút chuột trái đứng yên trên mô hình (hoặc nhấp chuột phải › Chọn đối tượng khác…) để liệt kê mọi đối tượng dưới con trỏ; nhấp lại vào cùng vị trí đó để chọn đối tượng kế tiếp. Nhấp đúp chuột giữa để về Góc nhìn chuẩn (Tùy chọn cài đặt › Điều hướng).","Select bodies (a face picks its body)": "Chọn thân khối (chọn một mặt sẽ chọn cả thân khối)","Select bodies or faces instead": "Chọn thân khối hoặc bề mặt thay thế",@@ -345,9 +347,11 @@"SolidCraft closed before these designs were saved. Their last autosave can be opened.": "SolidCraft đã đóng trước khi các thiết kế này được lưu. Bạn có thể mở bản tự động lưu gần nhất của chúng.","Specialise": "Chuyên biệt hóa","Speed": "Tốc độ",+ "Square": "Hình vuông","Stand it up": "Dựng đứng đối tượng","Stand it up: a quarter turn about X, as one Move feature you can undo.": "Dựng đứng đối tượng: xoay 90° quanh trục X, dưới dạng một tính năng Di chuyển có thể hoàn tác.","Stand this part up?": "Dựng đứng chi tiết này lên?",+ "Start angle": "Góc bắt đầu","Start bulge": "Độ phình đầu","Start continuity": "Độ liên tục đầu","Step": "Bước",diff --git a/assets/locales/zh-TW.json b/assets/locales/zh-TW.jsonindex 49de74f117..ca66e22a1a 100644--- a/assets/locales/zh-TW.json+++ b/assets/locales/zh-TW.json@@ -72,6 +72,7 @@"Choose…": "選擇…","Circular": "環形","Circumference": "周長",+ "Clockwise": "順時針","Close draft": "關閉草稿","Collisions": "碰撞","Colour": "顏色",@@ -321,6 +322,7 @@"Search commands": "搜尋命令","Search this library": "搜尋此零件庫","Section": "剖面",+ "Section position": "截面位置","Select Other: hold the left button still on the model (or right-click › Select Other…) to list everything under the cursor; click again on the same spot to select the next thing there. Double-click the middle button to go Home (Preferences › Navigation).": "「選擇其他」:在模型上按住左鍵(或右鍵點擊 › 選擇其他…)列出游標下的所有物件;在同一位置再次點擊可選擇該處的下一個物件。雙擊中鍵轉到主檢視(偏好設定 › 導覽)。","Select bodies (a face picks its body)": "選擇實體(點擊面即選擇其所屬實體)","Select bodies or faces instead": "改為選擇實體或面",@@ -344,9 +346,11 @@"SolidCraft closed before these designs were saved. Their last autosave can be opened.": "SolidCraft 在這些設計儲存前已關閉。可以開啟它們的上次自動儲存。","Specialise": "專用操作","Speed": "速度",+ "Square": "正方形","Stand it up": "將其立起","Stand it up: a quarter turn about X, as one Move feature you can undo.": "將其立起:繞 X 軸旋轉四分之一週,作為一個可復原的移動特徵。","Stand this part up?": "立起此零件?",+ "Start angle": "起始角度","Start bulge": "起始鼓度","Start continuity": "起始連續性","Step": "步驟",diff --git a/assets/locales/zh.json b/assets/locales/zh.jsonindex 6cc8d0bde4..76fc5c7b0b 100644--- a/assets/locales/zh.json+++ b/assets/locales/zh.json@@ -97,6 +97,7 @@"Circle center": "圆心","Circular": "圆周","Circumference": "周长",+ "Clockwise": "顺时针","Close draft": "关闭草稿","Collapse": "折叠","Collisions": "碰撞",@@ -456,6 +457,7 @@"Second plane": "第二个平面","Section": "剖面","Section (optional)": "截面(可选)",+ "Section position": "截面位置","Sections (one sketch each)": "截面(每个一个草图)","Select Other": "选择其他","Select Other: hold the left button still on the model (or right-click › Select Other…) to list everything under the cursor; click again on the same spot to select the next thing there. Double-click the middle button to go Home (Preferences › Navigation).": "“选择其他”:在模型上按住左键(或右键单击 › 选择其他…)列出光标下的所有对象;在同一位置再次单击可选择该处的下一个对象。双击中键转到主视图(首选项 › 导航)。",@@ -485,9 +487,11 @@"Specialise": "专用操作","Speed": "速度","Splitting tool": "分割工具",+ "Square": "正方形","Stand it up": "将其立起","Stand it up: a quarter turn about X, as one Move feature you can undo.": "将其立起:绕 X 轴旋转四分之一周,作为一个可撤销的移动特征。","Stand this part up?": "立起此零件?",+ "Start angle": "起始角度","Start bulge": "起始鼓度","Start continuity": "起始连续性","Step": "步骤",diff --git a/crates/ui-egui/src/dialogs.rs b/crates/ui-egui/src/dialogs.rsindex 9401da3d91..c8768b7818 100644--- a/crates/ui-egui/src/dialogs.rs+++ b/crates/ui-egui/src/dialogs.rs@@ -4759,6 +4759,40 @@ pub fn for_feature(app: &SolveApp, id: u64, marker: Option<usize>) -> Option<Diad.extra.insert("center".into(), pt_expr(center));d}+ FeatureKind::Coil { base, axis, diameter, pitch, turns, section_size, section, position, start_angle, clockwise, operation, targets } => {+ let mut d = start("solid.coil")?;+ d.kind = Kind::Primitive {+ cmd: "solid.coil",+ fields: vec![+ ("diameter", stored_length(s, diameter)),+ ("revolutions", turns.to_string()),+ ("pitch", stored_length(s, pitch)),+ ("section_size", stored_length(s, section_size)),+ ],+ operation: op_index(operation),+ at: None,+ };+ d.extra.insert("base".into(), pt_expr(base));+ d.extra.insert("axis".into(), pt3(axis.0));+ if *section == solidcraft_engine::doc::CoilSection::Square {+ d.extra.insert("section".into(), json!("square"));+ }+ match position {+ ..0 => d.extra.insert("section_position".into(), json!("inside")),+ 1.. => d.extra.insert("section_position".into(), json!("outside")),+ 0 => None,+ };+ if let Some(a) = start_angle {+ d.extra.insert("start_angle".into(), json!(a.to_string()));+ }+ if *clockwise {+ d.extra.insert("clockwise".into(), json!(true));+ }+ if !targets.is_empty() {+ d.extra.insert("targets".into(), json!(targets));+ }+ d+ }FeatureKind::BoundaryFill { tools, cells, operation, remove_tools } => {let mut d = start("solid.boundary_fill")?;// The cells again, ticked where a stored cell point lies in the same cell.diff --git a/crates/ui-egui/src/dialogs_dense.rs b/crates/ui-egui/src/dialogs_dense.rsindex e859873eda..ce6615ea4a 100644--- a/crates/ui-egui/src/dialogs_dense.rs+++ b/crates/ui-egui/src/dialogs_dense.rs@@ -570,6 +570,40 @@ fn extra_options(ui: &mut egui::Ui, id: &str, extra: &mut serde_json::Map<String}}+/// The coil's section, where the section sits on the diameter, the way it turns and where it+/// starts (#3862). A default stays out of the parameters, so OK on an unchanged edit keeps the coil.+fn coil_rows(ui: &mut egui::Ui, extra: &mut serde_json::Map<String, Value>) -> bool {+ const POSITIONS: [(&str, &str); 3] = [("Inside", "inside"), ("Center", "center"), ("Outside", "outside")];+ form_row(ui, "Section", |ui| extra_segments(ui, extra, "section", &[("Circular", "circular"), ("Square", "square")]));+ form_row(ui, "Section position", |ui| {+ let current =+ extra.get("section_position").and_then(Value::as_str).and_then(|v| POSITIONS.iter().position(|(_, key)| *key == v)).unwrap_or(1);+ let mut selected = current;+ if ui_kit::segmented(ui, &mut selected, &POSITIONS.map(|(label, _)| label), Default::default()) && selected != current {+ match POSITIONS.get(selected) {+ Some((_, value)) if *value != "center" => {+ extra.insert("section_position".into(), json!(value));+ }+ _ => {+ extra.remove("section_position");+ }+ }+ }+ });+ let mut angle = extra.get("start_angle").and_then(Value::as_str).unwrap_or_default().to_string();+ let before = angle.clone();+ let enter = hint_row(ui, "Start angle", &mut angle, "0 deg");+ if angle != before {+ if angle.trim().is_empty() {+ extra.remove("start_angle");+ } else {+ extra.insert("start_angle".into(), json!(angle));+ }+ }+ extra_options(ui, "coil_options", extra, &[("Clockwise", "clockwise")]);+ enter+}+fn additional_rows(app: &mut SolveApp, d: &mut Dialog, ui: &mut egui::Ui) -> bool {let mut enter = false;match &mut d.kind {@@ -749,10 +783,13 @@ fn additional_rows(app: &mut SolveApp, d: &mut Dialog, ui: &mut egui::Ui) -> booenter |= crate::dialogs_move::rows(ui, k);extra_options(ui, "move_options", &mut d.extra, &[("Create Copy", "copy")]);}- Kind::Primitive { fields, operation, at, .. } => {+ Kind::Primitive { cmd, fields, operation, at } => {for (k, v) in fields.iter_mut() {enter |= expr_row(ui, k, v);}+ if *cmd == "solid.coil" {+ enter |= coil_rows(ui, &mut d.extra);+ }if let Some((p, _)) = *at {form_row(ui, "Position", |ui| {ui.horizontal(|ui| {diff --git a/crates/ui-egui/src/primitive_units_tests.rs b/crates/ui-egui/src/primitive_units_tests.rsindex c3a190d267..02fcbaf150 100644--- a/crates/ui-egui/src/primitive_units_tests.rs+++ b/crates/ui-egui/src/primitive_units_tests.rs@@ -232,3 +232,43 @@ fn editing_in_a_millimetre_design_keeps_the_sizes_as_they_are_kept() {assert!(h.app.session.doc.configuration_matches(), "an edit without a change keeps the configuration matched");assert_size(&mut h.app.session, [40.0, 30.0, 20.0]);}++#[test]+fn editing_a_coil_reopens_its_dialog_filled_in_and_ok_redefines_it() {+ // #3862: Edit Feature on a coil opens the Coil dialog with every setting it was made with,+ // not the command line; OK changes what was edited and keeps the rest.+ use solidcraft_engine::doc::{CoilSection, FeatureKind};+ let mut h = design("mm");+ h.app+ .run(+ "solid.coil",+ json!({"diameter": 40, "revolutions": 4, "pitch": 8, "section_size": 3, "section_position": "outside",+ "clockwise": true, "start_angle": "30 deg", "base": [5, 0, 0], "operation": "new"}),+ )+ .unwrap();+ let id = h.app.session.doc.features.first().map(|f| f.id).unwrap();+ h.app.edit_feature(id);+ h.frames(3);+ let shown = fields(&h);+ let want = [("diameter", "40"), ("revolutions", "4"), ("pitch", "8"), ("section_size", "3")];+ assert_eq!(shown, want.iter().map(|(k, v)| (*k, (*v).to_string())).collect::<Vec<_>>());+ assert_shown(&h, &shown);+ let d = h.app.dialog.as_mut().unwrap();+ assert!(d.editing.is_some_and(|(edited, _)| edited == id));+ assert_eq!((&d.extra["section_position"], &d.extra["clockwise"], &d.extra["start_angle"]), (&json!("outside"), &json!(true), &json!("30 deg")));+ assert!(!d.extra.contains_key("section"), "a circular section is the default");+ d.extra.insert("section".into(), json!("square"));+ type_into(&mut h, "pitch", "10");+ h.frames(2);+ ok(&mut h);+ assert_eq!(h.app.session.doc.features.len(), 1, "OK redefines the coil instead of adding one");+ match h.app.session.doc.feature(id).map(|f| &f.kind) {+ Some(FeatureKind::Coil { base, pitch, turns, section, position, clockwise, start_angle, .. }) => {+ assert_eq!((pitch.to_string(), turns.to_string()), ("10".to_string(), "4".to_string()));+ assert_eq!((*section, *position, *clockwise), (CoilSection::Square, 1, true));+ assert_eq!(start_angle.as_ref().map(|a| a.to_string()).as_deref(), Some("30 deg"));+ assert_eq!(base.iter().map(|e| e.to_string()).collect::<Vec<_>>(), ["5", "0", "0"]);+ }+ other => panic!("not a coil: {other:?}"),+ }+}