CAM: Końcówki narzędzi

From FreeCAD Documentation
Revision as of 07:20, 1 April 2022 by Kaktus (talk | contribs) (Created page with "==Powiązane==")
Other languages:

Ta dokumentacja nie jest ukończona. Prosimy o pomoc w tworzeniu dokumentacji.

Strona Model polecenia GUI wyjaśnia jak powinny być dokumentowane polecenia. Przejrzyj stronę Category:UnfinishedDocu, aby zobaczyć więcej niekompletnych stron, takich jak ta. Zobacz stronę Category:Command Reference aby poznać wszystkie komendy.

Zobacz stronę wytycznych Wikidla FreeCAD aby dowiedzieć się, jak edytować strony Wiki, i przejdź do strony Pomóż w rozwoju FreeCAD, aby dowiedzieć się o innych sposobach, w jakie możesz wnieść swój wkład.

Opis

Narzędzia są podstawą systemu narzędzi środowiska Path. Reprezentują one konkretne narzędzie, które może być użyte w zadaniu do wygenerowania ścieżki narzędzia. Każdy zestaw narzędzi jest przechowywany jako plik JSON. Struktura pliku JSON to uporządkowane dane, które mogą być łatwo przetwarzane przez makrodefinicje lub skrypty środowiska Python, ale pozostają czytelne dla człowieka. Opisywanie zestawów narzędzi za pomocą JSON pozwala na automatyczne tworzenie dużych zbiorów dokładnych zestawów narzędzi automatycznie lub za pomocą skryptu.

Storing a tool as a JSON file sounds great but eliminates the option of an accurate thumbnail or solid body representation. On the other hand, if each toolbit were created as a FreeCAD object, obtaining the solid body would be simple but would require enormous storage for large tool collections. Also automatically creating toolbits as FreeCAD objects would be difficult or impossible.

Instead, the toolbit is a hybrid. The JSON file contains the file path to the toolshape file and values for all parameters required to create the specific toolbit.

When a tool is instantiated in a job the a body is created from the template and the constraints are set according to the values from the JSON file. All additional parameters are created as properties on the object. This provides the the correct shape and dimensions which can be used to generate a point cloud or mesh for advanced algorithms (and potentially simulation).

Usage

Within the FreeCAD GUI the Path toolbit library manager provides a mechanism to create a new toolbit. A single toolbit can exist in multiple toolbit libraries.

  1. Open the Path Toolbit manager.
  2. Select a library.
  3. Create a Toolbit.

Struktura JSON

{
  "version": 2,
  "name": "T1",
  "shape": "endmill.fcstd",
  "attribute": {},
  "parameter": {
    "CuttingEdgeHeight": "30.000 mm",
    "Diameter": "1.000 mm",
    "Length": "50.000 mm",
    "ShankDiameter": "3.000 mm"
  }
}

Opcje

Powiązane


Template:Path Tools navi/pl