{
 "source": "src/commands/catalog/commands.json",
 "commands": [
  {
   "id": "app.new_document",
   "name": {
    "en": "New Document",
    "tr": "Yeni Belge"
   },
   "python": "yonta.new_document",
   "parameters": [
    "name?"
   ],
   "summary": {
    "en": "Create a new document and make it active.",
    "tr": "Yeni bir belge oluşturur ve etkin yapar."
   },
   "example": "doc = yonta.new_document(\"Bracket\")"
  },
  {
   "id": "app.open_document",
   "name": {
    "en": "Open Document",
    "tr": "Belge Aç"
   },
   "python": "yonta.open_document",
   "parameters": [
    "path",
    "name?",
    "background?"
   ],
   "summary": {
    "en": "Open a .yonta file as a new document.",
    "tr": ".yonta dosyasını yeni bir belge olarak açar."
   },
   "example": "doc = yonta.open_document(\"bracket.yonta\")"
  },
  {
   "id": "app.close_document",
   "name": {
    "en": "Close Document",
    "tr": "Belgeyi Kapat"
   },
   "python": "yonta.close_document",
   "parameters": [
    "document?"
   ],
   "summary": {
    "en": "Close a document without saving.",
    "tr": "Bir belgeyi kaydetmeden kapatır."
   },
   "example": "yonta.close_document(doc)"
  },
  {
   "id": "app.set_active_document",
   "name": {
    "en": "Switch Document",
    "tr": "Belgeye Geç"
   },
   "python": "yonta.set_active_document",
   "parameters": [
    "document"
   ],
   "summary": {
    "en": "Make an open document the active one.",
    "tr": "Açık bir belgeyi etkin yapar."
   },
   "example": "yonta.set_active_document(doc)"
  },
  {
   "id": "doc.add_object",
   "name": {
    "en": "Add Object",
    "tr": "Nesne Ekle"
   },
   "python": "Document.add_object",
   "parameters": [
    "document?",
    "type",
    "name?"
   ],
   "summary": {
    "en": "Add an object of a registered type.",
    "tr": "Kayıtlı bir türden nesne ekler."
   },
   "example": "sketch = doc.add_object(\"Sketcher::Sketch\", \"Body\")"
  },
  {
   "id": "doc.remove_object",
   "name": {
    "en": "Remove Object",
    "tr": "Nesneyi Sil"
   },
   "python": "Document.remove_object",
   "parameters": [
    "document?",
    "object"
   ],
   "summary": {
    "en": "Remove an object.",
    "tr": "Bir nesneyi siler."
   },
   "example": "doc.remove_object(body)"
  },
  {
   "id": "doc.set_property",
   "name": {
    "en": "Set Property",
    "tr": "Özellik Ayarla"
   },
   "python": "Document.set_property",
   "parameters": [
    "document?",
    "object",
    "property",
    "value"
   ],
   "summary": {
    "en": "Set a property of an object.",
    "tr": "Bir nesnenin özelliğini değiştirir."
   },
   "example": "doc.set_property(body, \"Length\", 10.0)"
  },
  {
   "id": "doc.recompute",
   "name": {
    "en": "Recompute",
    "tr": "Yeniden hesapla"
   },
   "python": "Document.recompute",
   "parameters": [
    "document?",
    "background?"
   ],
   "summary": {
    "en": "Recompute a document.",
    "tr": "Belgeyi yeniden hesaplar."
   },
   "example": "doc.recompute()"
  },
  {
   "id": "doc.undo",
   "name": {
    "en": "Undo",
    "tr": "Geri al"
   },
   "python": "Document.undo",
   "parameters": [
    "document?"
   ],
   "summary": {
    "en": "Undo the last change of a document.",
    "tr": "Belgedeki son değişikliği geri alır."
   },
   "example": "doc.undo()"
  },
  {
   "id": "doc.redo",
   "name": {
    "en": "Redo",
    "tr": "Yinele"
   },
   "python": "Document.redo",
   "parameters": [
    "document?"
   ],
   "summary": {
    "en": "Redo the last undone change of a document.",
    "tr": "Geri alınan son değişikliği yineler."
   },
   "example": "doc.redo()"
  },
  {
   "id": "doc.save",
   "name": {
    "en": "Save",
    "tr": "Kaydet"
   },
   "python": "Document.save",
   "parameters": [
    "document?",
    "path?",
    "rename?"
   ],
   "summary": {
    "en": "Save a document to a .yonta file.",
    "tr": "Belgeyi .yonta dosyasına kaydeder."
   },
   "example": "doc.save(\"bracket.yonta\")"
  },
  {
   "id": "doc.export",
   "name": {
    "en": "Export",
    "tr": "Dışa aktar"
   },
   "python": "Document.export",
   "parameters": [
    "document?",
    "path",
    "objects?"
   ],
   "summary": {
    "en": "Export solids to STEP or STL.",
    "tr": "Katıları STEP ya da STL olarak dışa aktarır."
   },
   "example": "doc.export(\"bracket.step\")"
  },
  {
   "id": "doc.import_step",
   "name": {
    "en": "Import STEP",
    "tr": "STEP içe aktar"
   },
   "python": "Document.import_step",
   "parameters": [
    "document?",
    "path",
    "name?"
   ],
   "summary": {
    "en": "Import a STEP file as a solid.",
    "tr": "STEP dosyasını katı olarak içe aktarır."
   },
   "example": "imported = doc.import_step(\"housing.step\")"
  },
  {
   "id": "part.new_sketch",
   "name": {
    "en": "New Sketch",
    "tr": "Yeni Eskiz"
   },
   "python": "Document.new_sketch",
   "parameters": [
    "document?",
    "plane?",
    "support?",
    "face?",
    "name?"
   ],
   "summary": {
    "en": "Add a sketch on a base plane or a planar face.",
    "tr": "Temel düzlemde ya da düz bir yüzde eskiz ekler."
   },
   "example": "sketch = doc.new_sketch(plane=\"XY\", name=\"Body\")"
  },
  {
   "id": "part.pad",
   "name": {
    "en": "Pad",
    "tr": "Ekstrüde"
   },
   "python": "Document.pad",
   "parameters": [
    "document?",
    "profile",
    "length?",
    "name?"
   ],
   "summary": {
    "en": "Extrude a closed sketch into a solid, joined to the tip solid.",
    "tr": "Kapalı bir eskizi katıya ekstrüde eder ve uçtaki katıya ekler."
   },
   "example": "body = doc.pad(sketch, 10.0)"
  },
  {
   "id": "part.pocket",
   "name": {
    "en": "Pocket",
    "tr": "Cep aç"
   },
   "python": "Document.pocket",
   "parameters": [
    "document?",
    "profile",
    "length?",
    "name?",
    "through_all?"
   ],
   "summary": {
    "en": "Cut a closed sketch into the tip solid.",
    "tr": "Kapalı bir eskizi uçtaki katıdan keser."
   },
   "example": "body = doc.pocket(sketch, 5.0)"
  },
  {
   "id": "part.revolve",
   "name": {
    "en": "Revolve",
    "tr": "Döndür"
   },
   "python": "Document.revolve",
   "parameters": [
    "document?",
    "profile",
    "angle?",
    "axis?",
    "name?"
   ],
   "summary": {
    "en": "Revolve a closed sketch about an axis, joined to the tip solid.",
    "tr": "Kapalı bir eskizi bir eksen etrafında döndürür ve uçtaki katıya ekler."
   },
   "example": "body = doc.revolve(sketch, 360.0)"
  },
  {
   "id": "part.groove",
   "name": {
    "en": "Groove",
    "tr": "Oluk aç"
   },
   "python": "Document.groove",
   "parameters": [
    "document?",
    "profile",
    "angle?",
    "axis?",
    "name?"
   ],
   "summary": {
    "en": "Revolve a closed sketch about an axis and cut it from the tip solid.",
    "tr": "Kapalı bir eskizi bir eksen etrafında döndürüp uçtaki katıdan keser."
   },
   "example": "body = doc.groove(sketch, 90.0)"
  },
  {
   "id": "part.fillet",
   "name": {
    "en": "Fillet",
    "tr": "Yuvarlat"
   },
   "python": "Document.fillet",
   "parameters": [
    "document?",
    "edges",
    "radius?",
    "base?",
    "name?"
   ],
   "summary": {
    "en": "Round edges of the tip solid with a radius.",
    "tr": "Uçtaki katının kenarlarını bir yarıçapla yuvarlatır."
   },
   "example": "body = doc.fillet([edge], 1.0)"
  },
  {
   "id": "part.chamfer",
   "name": {
    "en": "Chamfer",
    "tr": "Pah kır"
   },
   "python": "Document.chamfer",
   "parameters": [
    "document?",
    "edges",
    "size?",
    "base?",
    "name?"
   ],
   "summary": {
    "en": "Bevel edges of the tip solid by a distance.",
    "tr": "Uçtaki katının kenarlarına bir mesafeyle pah kırar."
   },
   "example": "body = doc.chamfer([edge], 0.5)"
  },
  {
   "id": "part.mirror",
   "name": {
    "en": "Mirror",
    "tr": "Aynala"
   },
   "python": "Document.mirror",
   "parameters": [
    "document?",
    "plane?",
    "support?",
    "face?",
    "base?",
    "name?"
   ],
   "summary": {
    "en": "Join the tip solid with its reflection in a plane or a planar face.",
    "tr": "Uçtaki katıyı bir düzlemdeki ya da düz bir yüzdeki ayna görüntüsüyle birleştirir."
   },
   "example": "body = doc.mirror(plane=\"YZ\")"
  },
  {
   "id": "part.hole",
   "name": {
    "en": "Hole",
    "tr": "Delik aç"
   },
   "python": "Document.hole",
   "parameters": [
    "document?",
    "profile",
    "diameter?",
    "depth?",
    "through_all?",
    "base?",
    "name?"
   ],
   "summary": {
    "en": "Drill plain holes at a sketch's points and circle centres into the tip solid.",
    "tr": "Eskizin noktalarına ve çember merkezlerine, uçtaki katıya düz delik açar."
   },
   "example": "body = doc.hole(sketch, 3.0, 5.0)"
  },
  {
   "id": "part.datum_plane",
   "name": {
    "en": "Datum Plane",
    "tr": "Referans Düzlem"
   },
   "python": "Document.datum_plane",
   "parameters": [
    "document?",
    "plane?",
    "support?",
    "face?",
    "offset?",
    "name?"
   ],
   "summary": {
    "en": "A reference plane on a base plane or a planar face, moved by an offset.",
    "tr": "Bir temel düzlemde ya da düz bir yüzde, bir ofsetle kaydırılmış referans düzlem."
   },
   "example": "doc.datum_plane()"
  },
  {
   "id": "part.datum_axis",
   "name": {
    "en": "Datum Axis",
    "tr": "Referans Eksen"
   },
   "python": "Document.datum_axis",
   "parameters": [
    "document?",
    "axis?",
    "support?",
    "edge?",
    "offset?",
    "name?"
   ],
   "summary": {
    "en": "A reference axis along X, Y or Z, or on a straight edge, moved by an offset.",
    "tr": "X, Y ya da Z boyunca veya düz bir kenarda, bir ofsetle kaydırılmış referans eksen."
   },
   "example": "doc.datum_axis()"
  },
  {
   "id": "part.datum_point",
   "name": {
    "en": "Datum Point",
    "tr": "Referans Nokta"
   },
   "python": "Document.datum_point",
   "parameters": [
    "document?",
    "support?",
    "vertex?",
    "offset?",
    "name?"
   ],
   "summary": {
    "en": "A reference point at the origin or a vertex, moved by an offset.",
    "tr": "Orijinde ya da bir köşe noktasında, bir ofsetle kaydırılmış referans nokta."
   },
   "example": "doc.datum_point()"
  },
  {
   "id": "sketch.add_geometry",
   "name": {
    "en": "Add Sketch Element",
    "tr": "Eskiz Öğesi Ekle"
   },
   "python": "Sketch.add_line",
   "parameters": [
    "document?",
    "sketch",
    "kind",
    "coords",
    "construction?"
   ],
   "summary": {
    "en": "Add a point, line, circle or arc to a sketch.",
    "tr": "Eskize nokta, çizgi, daire ya da yay ekler."
   },
   "example": "line = sketch.add_line((0, 0), (10, 0))"
  },
  {
   "id": "sketch.copy_geometry",
   "name": {
    "en": "Copy Sketch Elements",
    "tr": "Eskiz Öğelerini Kopyala"
   },
   "python": "Sketch.copy",
   "parameters": [
    "document?",
    "sketch",
    "geometry",
    "offset?",
    "angle?",
    "center?"
   ],
   "summary": {
    "en": "Copy sketch elements moved by an offset or turned about a point, with the constraints among them.",
    "tr": "Eskiz öğelerini bir ofsetle kaydırarak ya da bir nokta çevresinde çevirerek, aralarındaki kısıtlarla kopyalar."
   },
   "example": "copies = sketch.copy([line], offset=(10.0, 0.0))"
  },
  {
   "id": "sketch.add_external",
   "name": {
    "en": "Add External Geometry",
    "tr": "Dış Geometri Ekle"
   },
   "python": "Sketch.add_external",
   "parameters": [
    "document?",
    "sketch",
    "object",
    "edge"
   ],
   "summary": {
    "en": "Project an edge of another object into the sketch as fixed construction geometry that follows it.",
    "tr": "Başka bir nesnenin kenarını eskize, onu izleyen sabit yardımcı geometri olarak yansıtır."
   },
   "example": "sketch.add_external(body, edge)"
  },
  {
   "id": "sketch.add_constraint",
   "name": {
    "en": "Constraint",
    "tr": "Kısıtla"
   },
   "python": "Sketch.add_constraint",
   "parameters": [
    "document?",
    "sketch",
    "type",
    "first",
    "second?",
    "value?",
    "value2?",
    "third?"
   ],
   "summary": {
    "en": "Add a sketch constraint.",
    "tr": "Eskize kısıt ekler."
   },
   "example": "sketch.add_constraint(\"coincident\", (line, \"end\"), (other, \"start\"))"
  },
  {
   "id": "sketch.set_value",
   "name": {
    "en": "Change Dimension",
    "tr": "Ölçüyü Değiştir"
   },
   "python": "Sketch.set_value",
   "parameters": [
    "document?",
    "sketch",
    "constraint",
    "value"
   ],
   "summary": {
    "en": "Change a sketch dimension.",
    "tr": "Bir eskiz ölçüsünü değiştirir."
   },
   "example": "sketch.set_value(constraint, 10.0)"
  },
  {
   "id": "sketch.remove_geometry",
   "name": {
    "en": "Remove Sketch Element",
    "tr": "Eskiz Öğesini Sil"
   },
   "python": "Sketch.remove_geometry",
   "parameters": [
    "document?",
    "sketch",
    "geometry"
   ],
   "summary": {
    "en": "Remove a sketch element and its constraints.",
    "tr": "Bir eskiz öğesini kısıtlarıyla birlikte siler."
   },
   "example": "sketch.remove_geometry(line)"
  },
  {
   "id": "sketch.remove_constraint",
   "name": {
    "en": "Remove Constraint",
    "tr": "Kısıtı Sil"
   },
   "python": "Sketch.remove_constraint",
   "parameters": [
    "document?",
    "sketch",
    "constraint"
   ],
   "summary": {
    "en": "Remove a sketch constraint.",
    "tr": "Bir eskiz kısıtını siler."
   },
   "example": "sketch.remove_constraint(constraint)"
  }
 ]
}