Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
jscad-raspberrypi
Advanced tools
This is a collection of jscad parts that model a RaspberryPi BPlus and various Hats. These models use the jscad-utils library and return jscad-utils group
objects.
Install jscad-raspberrypi
using NPM:
npm install --save jscad-raspberrypi
To use the utilities, you need to include the jscad-raspberrypi.jscad
file and a copy of lodash
.
include('node_modules/jscad-utils/jscad-utils.jscad');
include('node_modules/jscad-raspberrypi/jscad-raspberrypi.jscad');
include('node_modules/lodash/lodash.js');
main() {
util.init(CSG);
var BPlus = RaspberryPi.BPlus();
return BPlus.combine();
}
You can use the yeoman jscad generator which will create a project that uses this library.
Once you create your project, install jscad-raspberrypi
, and run gulp
. Dragging the dist
directory into http://openjscad.org/ will include this library.
Modify your main.jscad
file to return a RaspberryPi object.
// include:js
// endinject
/* exported main, getParameterDefinitions */
/* globals piexample */
function main(params) {
util.init(CSG);
return RaspberryPi.BPlus().combine();
}
Returns a complete RaspberryPi B Plus model.
Kind: static method of RaspberryPi
Returns an empty Pi Hat.
Kind: static method of RaspberryPi
Returns an Adafruit PiTFT 2.4 Hat with buttons.
Kind: static method of RaspberryPi
Returns an Pi camera module.
Kind: static method of RaspberryPi
© 2016 John Cole johnwebbcole@gmail.com. Documented by jsdoc-to-markdown.
FAQs
jscad parts library for RaspberryPi
The npm package jscad-raspberrypi receives a total of 2 weekly downloads. As such, jscad-raspberrypi popularity was classified as not popular.
We found that jscad-raspberrypi demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.