Basic Information

This page allows you to fork a new project from an existing project (Just a box). The newly forked project will be listed in the IoT Projects page as a new entry. If you want to overwrite the existing project, please edit it instead.

* Photo URLs that end with any one of .jpg, .jpeg, .png or that are uploaded to the Gyazo web service in the PNG format (e.g.https://gyazo.com/hogehoge) are supported.

* Node.js entry point main: index.js and dependencies to the npm module dependencies: { f3js: (略) } will be automatically added and thus do not need to be in this form.

Card preview
Just a box
'16/9/7 2:32
Just a box, with customizable width, height, and depth.
arc@dmz

Private Project

Unchecking this will make the project public and be listed in the IoT Projects page. The checkbox is unchecked by default since we want you to share the projects! Additionally, you cannot check this unless you are logged in. Once you make the project public, it cannot be undone. (Any edits to the project except for forking will also be public.)

Source Code

Provide the source code of a microcontroller or tiny computer in JavaScript. Node.js-based computers are supported. Require f3js package and use its API to design the device enclosure.

var w = 85 // 幅[mm][30,200] , h = 60 // 高さ[mm][30, 200] , d = 70 // 奥行[mm][30, 200] , dw = 6 // 噛みあわせ幅[mm][5, 50] , dh = 3; // 厚み[mm][2, 10] var f3js = require('f3js') , c = f3js.createContainer() , p = c.drawJointRectangle(0, 0, w, h, dw, dh); c.x = 10; c.y = 10; var planes = p.extrude(d); planes[0].x = w + 10; planes[0].y = 10; planes[1].x = w + 10; planes[1].y = d * 2 + 10; planes[2].x = w + 10; planes[2].y = d + 10; planes[3].x = w + 10 + h; planes[3].y = d * 2 + 10; planes[4].x = 10; planes[4].y = h + 10; for (var i = 0; i < planes.length; i ++) { f3js.add(planes[i]); } var var62425 = false; // *proposed* 天面に穴をあける
Customization

This content does not allow any customization.

Layout view options
Adding comments to variable declarations in the source code populate various GUI widgets in the "Customization" section depending on their types.

Design Alternatives

Modules

No modules are required for this project.

Layout
Program

Login first to use this feature.