Skip to content

Instantly share code, notes, and snippets.

// https://www.thingiverse.com/thing:1654620/files
use <NecksCaps.scad>
// https://www.thingiverse.com/thing:193647
use <Nut_Job.scad>
$fn = 120;
neck_height = 14.7; // N28PCO1810() の Dd + Ep
<!DOCTYPE FilterScript>
<FilterScript>
<filter name="Flatten Visible Layers">
<Param
type="RichBool"
name="MergeVisible"
tooltip="If true, flatten only visible layers, otherwise, all layers are used"
value="true"
description="Merge Only Visible Layers"
/>
void setup() {
Serial.begin(9600);
Serial.println("hoge");
}
void loop() {
Serial.println("fuga");
delay(500);
}
#!/usr/bin/env python3
import sys
sys.path.append('../2020-0118-raspi-case/raspi-case2/montyscad/src')
sys.path.append('../2020-0118-raspi-case/raspi-case2')
import os.path
import numpy as np
from decimal import Decimal
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
use <Nut_Job.scad>
//Type: Normal or WingNut
nut_type = "normal";//[normal,wingnut]
//Distance between flats for the hex nut
nut_diameter = 12; // 六角部分の六角形の内接円の半径ということで良さそう
//Height of the nut
nut_height = 10; // とりあえずこれでいってみる
//Outer diameter of the bolt thread to match (usually set about 1mm larger than bolt diameter to allow easy fit - adjust to personal preferences)
nut_thread_outer_diameter = 10.5; // ボルトの外径がおおよそ 9.5mm なので、+1.0mm の 10.5mm にしてみた
@nezuppo
nezuppo / pbook-update-ansible.yaml
Last active March 6, 2020 14:25
dummy for pbook-update-ansible.yaml
- hosts: localhost
vars:
distrib_codename: bionic
connection: local
gather_facts: no
become: true
tasks:
- name: apt_key
apt_key:
url: http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x93C4A3FD7BB9C367
$ diff -u cura-profile-master/cura-profile.txt support
--- cura-profile-master/cura-profile.txt 2020-01-03 20:08:31.000000000 +0900
+++ support 2020-01-10 21:29:05.476793400 +0900
@@ -10,9 +10,9 @@
definition = custom
[metadata]
- position = 0
- type = quality_changes
quality_type = normal
{
"extruder_quality": [
"
[general]
version = 4
name = Fine #2
definition = custom
[metadata]
quality_type = normal
$fn=120;
translate([0, 0, 0]) {
color("IndianRed") {
linear_extrude(0.5) {
square(size=[33.862, 26], center=true);
}
}
}
translate([0, 0, 0.5]) {
color("Khaki") {