Skrypty bazowe

From FreeCAD Documentation
Revision as of 18:22, 24 August 2021 by Kaktus (talk | contribs) (Created page with "{{VeryImportantMessage|''(Październik 2019)'' Nie edytuj tych stron. Informacje są niekompletne i nieaktualne. Najnowsze API można znaleźć w [https://www.freecadweb.org/a...")
(Październik 2019) Nie edytuj tych stron. Informacje są niekompletne i nieaktualne. Najnowsze API można znaleźć w automatycznie generowana dokumentacja API, lub wygenerować dokumentację samodzielnie, śledząc dokument Dokumentacja źródłowa.

The Base module is contained inside the FreeCAD module and contains constructors for different types of objects heavily used in FreeCAD.

BoundBox([Xmin,Ymin,Zmin,Xmax,Ymax,Zmax])
BoundBox(Tuple, Tuple)
BoundBox(Vector, Vector)

Description: Creates a bounding box. A bounding box is an orthographic cube which is a way to describe outer boundaries. You get a bounding box from a lot of 3D types. It is often used to check if a 3D entity lies in the range of another object. Checking for bounding interference first can save a lot of computing time!

Matrix( )

Description: Creates a 4x4 Matrix, that can be used to apply transformations to objects.

Vector( )
Vector(x, y, z)

Description: Creates a FreeCAD 3D Vector, representing a 3D point or a direction.

Placement( )

Description: Creates a Placement.