Openscad Design 3D Print NODEMCU housing

Source: Internet
Author: User
Tags constant definition openscad

The NODEMCU is a compact development board with integrated WiFi and MCU, based on the ESP8266 chip. Forum in http://bbs.nodemcu.com/, source code in HTTPS://GITHUB.COM/NODEMCU.

Using the Openscad to make a shell, you can use the 3D printer output, and no longer "bare-Ben".

OPENSCAD's original model file is as follows, which can be modified and output on the 3D printer itself.

NODEMCU Smart Device, box, Rainproof (vertical mount)//author:[email protected],//copyright 2015-2025.//pay attention to the scale changes when printing, and rotate upward. Avoid the collapse of the upper print without support. The lid is printed individually, or placed as two models. Constant definition athick=0.5;//cover thickness bthick=0.10;//box wall thickness bwidth=4.0;//inner diameter net width bhight=1.5;//inner diameter net high blong_inter=5.5;//inner diameter net length/ Od length = bottom thickness + Inner diameter + stopper + cover thickness blong=bthick+blong_inter+bthick+athick;//text or icon identification//translate ([ -2,0,0])//scale ([1, 1,  0.1])//  surface (file =  "Smiley.png",  center = true);//============== ========================//box body, using knockout cutting style modeling. Difference ()  {//outer box translate ([0,0,0]) {color ([0.8,0.8,0.8]) cube ([blong,bwidth+bthick*2,bhight+bthick*2]);} Inner box, hollowed out. Translate ([Bthick,bthick,bthick]) {color ([0.2,0.8,0.8]) cube ([Blong+1,bwidth,bhight]);} Bottom, sunken logo, can be labeled. Translate ([blong-2,1.8,bhight+bthick+0.08]) {color ([0.6,0.6,0.6]) cube ([1.5,bwidth*0.5,0.1]);}} The bottom is reinforced and a corner stop is formed inside. Translate ([Bthick,bthick,bthick]) {color ([0.2,0.5,0.2]) cube ([Bthick,bwidth,bthick]);} Translate ([bthick,bthick,bhight]) {color ([0.2,0.5,0.2]) cube ([Bthick,bwidth,bthick]);} Translate ([bThick,bthick,bthick]) {color ([0.2,0.5,0.2]) cube ([Bthick,bthick,bhight]);} Translate ([Bthick,bwidth,bthick]) {color ([0.2,0.5,0.2]) cube ([Bthick,bthick,bhight]);} Lid stopper. Translate ([Blong-athick,bthick,bthick]) {color ([0.2,0.5,0.2]) cube ([Bthick,bwidth,bthick]);} Translate ([blong-athick,bthick,bhight]) {color ([0.2,0.5,0.2]) cube ([Bthick,bwidth,bthick]);} ======================================//lid, individually printed. Embed the inside of the box, keeping the tolerances in mind. Translate ([5.75,0.0,0]) {//translate ([0,0,2]) {difference ()  {//cover, knockout. Translate ([0,bthick,bthick]) {color ([0.5,0.5,0.5]) cube ([Athick-0.05,bwidth,bhight]);} Translate ([0.2,bthick*2,bthick*2]) {color ([0.6,0.3,0.8]) cube ([athick+1,bwidth-bthick*2,bhight-bthick*2]);} Vents, hollowed out. ================//left outlet translate ([ -0.1,0.5,0.4]) {color ([1,0.8,0.8]) cube ([0.8,0.3,0.9]);} Translate ([ -0.1,1,0.4]) {color ([1,0.8,0.8]) cube ([0.8,0.3,0.9]);} Right air inlet translate ([ -0.1,3,0.4]) {color ([1,0.8,0.8]) cube ([0.8,0.3,0.9]);} Translate ([ -0.1,3.5,0.4]) {color ([1,0.8,0.8]) cube ([0.8,0.3,0.9]);} USB interface, knockout. Translate ([ -0.1,1.75,1.0]) {Color ([1,0.8,0.8]) cube ([0.8,0.8,0.3]);}} 


Openscad Design 3D Print NODEMCU housing

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.