SkillAgentSearch skills...

Dimensionneuse

Official repository of the Dimensionneuse device by WAO.

Install / Use

/learn @re-store/Dimensionneuse
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

La Dimensionneuse

What is it ?

La Dimensionneuse is a device which can be used to measure and categorize random materials. It is being developped by WAO, in partnership with Re-Store and WoMa.

The idea behind the Dimensionneuse is to create a device that would allow us to reference wasted materials. Our goal is to encourage reusability of materials as far as architecture, design, and Building Information Modeling (BIM) are concerned.

The repo is a template : you should customize it to match your hardware. If you want a static or mobile dimensionneuse, you may use different sensors.

Modularity

This project is conceived in a modular way : the website, the measuring process and the database are three independant parts. It makes it easy to use other sensors or another database.

<p align="center"> <img src="misc/structure.png" /> </p>

main.js is the entry point. It uses Express to setup a local website. Here are the different implemented requests :

  • GET / (connecting to localhost:3000) serves the page in website/
  • POST /calibrate calls the calibrate function in measure/main.js
  • GET /measure calls the measure function in measure/main.js
  • POST /upload calls the upload function in database/main.js

Edit measure/main.js and database/main.js to use your sensors and your database. If you want to start from scratch, you can configure the dimensionneuse using the wiki.

How to install

Clone this repo and install the dependencies :

npm install

Then, launch the dimensionneuse with :

npm start

If you want the dimensionneuse to start on boot, follow this tutorial with the following service :

[Unit]
Description=Dimensionneuse Service
After=network.target

[Service]
WorkingDirectory=/path/to/dimensionneuse
ExecStart=/usr/bin/node main.js
Restart=on-failure
User=pi
Environment=PORT=3000

[Install]
WantedBy=multi-user.target

License

Project under Creative Commons Licence CC-BY 4.0.

Related Skills

View on GitHub
GitHub Stars4
CategoryDevelopment
Updated2y ago
Forks2

Languages

HTML

Security Score

75/100

Audited on Sep 8, 2023

No findings