# bplus
# BPlus ⇒ Group
Returns a complete RaspberryPi B Plus model.
Returns: Group
- {description}
Param | Type | Default | Description |
---|---|---|---|
[model] | number | 2 | The type of B model to create. |
[options] | object | An options object. | |
[options.clearance] | object | 5 | An options object. |
Example
function main() {
util.init(CSG);
var pi = RaspberryPi.BPlus().align('mb', util.unitCube(), 'xy');
pi.add(RaspberryPi.Spacer({}, pi.parts.mb), 'spacer');
pi.add(
RaspberryPi.PiTFT24({}, pi.parts.mb).snap(
'mb',
pi.parts.spacer,
'z',
'outside-'
),
'screen'
);
return pi.combineAll();
}
// include:js
// endinject