This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:20.04 | |
RUN apt update && apt -y upgrade | |
RUN apt update && apt -y upgrade | |
ARG DEBIAN_FRONTEND=noninteractive | |
RUN apt install -y ubuntu-minimal | |
RUN apt install -y ubuntu-standard | |
RUN apt install -y ubuntu-server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# reference: | |
# http://hitoriblog.com/kingroon_kp3s/docs/improving_speed_and_quality_by_using_klipper/ | |
# https://3dprintbeginner.com/how-to-install-klipper-on-kingroon-kp3s/ | |
# https://github.com/nehilo/klipper_KP3S | |
#####################################PRINTER############################################## | |
[printer] | |
kinematics: cartesian | |
# max_velocity: 220 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# reference: | |
# http://hitoriblog.com/kingroon_kp3s/docs/improving_speed_and_quality_by_using_klipper/ | |
# https://3dprintbeginner.com/how-to-install-klipper-on-kingroon-kp3s/ | |
# https://github.com/nehilo/klipper_KP3S | |
#####################################PRINTER############################################## | |
[printer] | |
kinematics: cartesian | |
# max_velocity: 220 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <M5Atom.h> | |
#include <BleMouse.h> | |
BleMouse bleMouse; | |
void setup() { | |
M5.begin(true, false, true); | |
delay(50); | |
// M5.dis.drawpix(2, 2, 0xf00000); // Green |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- hosts: local | |
connection: local | |
gather_facts: no | |
tasks: | |
- name: apt update | |
become: true | |
apt: | |
update_cache: yes | |
- name: apt full-upgrade |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# reference: | |
# http://hitoriblog.com/kingroon_kp3s/docs/improving_speed_and_quality_by_using_klipper/ | |
# https://3dprintbeginner.com/how-to-install-klipper-on-kingroon-kp3s/ | |
# https://github.com/nehilo/klipper_KP3S | |
#####################################PRINTER############################################## | |
[printer] | |
kinematics: cartesian | |
# max_velocity: 220 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <M5StickC.h> | |
#define LGFX_AUTODETECT | |
#include <LovyanGFX.hpp> | |
static LGFX gfx; | |
void setup() { | |
M5.begin(); | |
gfx.init(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
from montyscad import monty_symbols as ms | |
from decimal import Decimal | |
def circle_slits(radius, slits_num, width, sleleton_width=Decimal('0.0001')): | |
interval = radius * 2 / (slits_num + 1) | |
symbol = ms.Union() | |
for i in range(slits_num): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$fn = 24; | |
size = [170, 150]; | |
interval = 5; | |
linear_extrude(3) | |
difference() { | |
translate(size / 2) | |
offset(r=interval) | |
square(size - [1, 1] * interval * 2, center=true); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// download Nut_job.scad from https://www.thingiverse.com/thing:193647 | |
use <Nut_job.scad> | |
module for_nut_hole(hg, sth, clf, cod, crs) { | |
intersection() { | |
union() { | |
hex_countersink_ends(sth/2,cod,clf,crs,hg); | |
screw_thread(cod,sth,clf,hg,crs,-2); | |
} | |
translate([-cod / 2, -cod / 2]) |