Kształt

From FreeCAD Documentation
Revision as of 11:28, 8 August 2021 by Kaktus (talk | contribs) (Created page with "==Użycie==")

Wprowadzenie

W programie FreeCAD słowo kształt jest zwykle używane w odniesieniu do kształtu topologicznego (klasa Part::TopoShape), typu obiektu, który nadaje elementowi jego trójwymiarową reprezentację geometryczną i parametryczną (sześcian, ostrosłup, sfera, walec, zespolenie itd.).

Zasadniczo wszystkie obiekty, które są wyświetlane w oknie widoku 3D posiadają Kształt topologiczny, z wyjątkiem 'Siatek, które posiadają Obiekt siatkowy (klasa Mesh::MeshObject).

Zobacz stronę Część: Kształt topologiczny aby uzyskać więcej informacji na temat tego typu obiektu.

Po lewej: Kształt parametryczny zdefiniowany przez właściwości.
Po prawej: Siatka, zdefiniowana przez wierzchołki i powierzchnie trójkątne.

Użycie

Shapes are normally created by internal functions of the Part Workbench, and are ultimately defined by the OpenCASCADE Technology kernel (OCCT).

Once a Shape is created, it can be used and modified by all workbenches by creating scripted objects around that Shape.

Essentially, every object derived from a Part Feature (Part::Feature class) is expected to hold and manipulate a Shape.

Notes

In informal usage, a "Shape" may be any geometrical figure that is visible in the 3D view, and thus its concept may be confused with that of "Body" or "Part".

However, when more precision is required, the distinction must be made.

  • A "Body" is an object derived from a Part Feature (Part::Feature class), created with the PartDesign Workbench.
  • A "Shape" is an internal object, embedded within the "Body".
  • A "Part" is used to group several "Bodies" to form an assembly. A "Part" has a collection of "Shapes", but doesn't have a "Shape" of its own.