Base API

From FreeCAD Documentation
Revision as of 22:53, 15 November 2014 by FuzzyBot (talk | contribs) (Updating to match new version of source page)

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] ) or ( Tuple, Tuple ) or ( 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() or ( x,y,z)

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

Placement( )

Description: Creates a Placement.