Skrypty bazowe

From FreeCAD Documentation
Revision as of 18:50, 24 August 2021 by Kaktus (talk | contribs) (Created page with "Moduł Base jest zawarty wewnątrz modułu FreeCAD i zawiera konstruktory dla różnych typów obiektów często używanych w programie FreeCAD.")
(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.

Moduł Base jest zawarty wewnątrz modułu FreeCAD i zawiera konstruktory dla różnych typów obiektów często używanych w programie 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.