Path: AerospaceUtils/ComponentModels
% Get vertices and faces for a circuit board CAD model.
l is along x, w along y. The board thickness is along z.
Dimensions are mm. It outputs two vertex and face lists. One has
components, the other the circuit board.
Type CircuitBoard for a demo.
Since version 10.
--------------------------------------------------------------------------
Form:
[v, f, c] = CircuitBoard( board, component )
--------------------------------------------------------------------------
------
Inputs
------
board (3,1) [l w t]
component (:,8) [x y l w h]
-------
Outputs
-------
v {2} Vertices, each (n,3)
f {2} Faces, each (n,3)
c {2} Color, each (1,3)
--------------------------------------------------------------------------
Common: Graphics/NewFig Common: Graphics/XLabelS Common: Graphics/YLabelS Common: Graphics/ZLabelS
Back to the AerospaceUtils Module page