- I own an Anycubic Kossel delta 3D printer, running custom Marlin firmware, custom mainboard(atmega2560), connected to my PC via USB (USB Serial), controlled mostly via Printrun(Pronterface)
- I want ultra high performance and latest improvements in my 3D printer, with the help from Klipper software/firmware
- Normally you should go get an Raspberry Pi and do everything (compile/install Klipper / OctoPrint) from there, but I don't have a Pi, don't want to mess with the cables, decided to run Klipper from my PC
| import macros, tables, hashes, strutils, oids | |
| type | |
| VariantTypes* = enum | |
| variInt, variFloat32, variString, variBool | |
| Variant* = object | |
| case variant: VariantTypes | |
| of variInt: intVal: int | |
| of variFloat32: float32Val: float32 | |
| of variString: stringVal: string |
| # Trying to understand the math involved in | |
| # https://github.com/synthetos/TinyG/blob/master/firmware/tinyg/plan_exec.c | |
| # https://github.com/synthetos/g2/blob/master/g2core/plan_exec.cpp#L693 | |
| # https://github.com/synthetos/g2/blob/master/g2core/planner.h | |
| # https://github.com/synthetos/g2/blob/92e455e965e2a68741218ca9b10162b70e45ffa2/g2core/plan_zoid.cpp | |
| import sympy as sp | |
| import sympy.abc as abc | |
| /** | |
| * Marlin 3D Printer Firmware | |
| * Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] | |
| * | |
| * Based on Sprinter and grbl. | |
| * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm | |
| * | |
| * This program is free software: you can redistribute it and/or modify | |
| * it under the terms of the GNU General Public License as published by | |
| * the Free Software Foundation, either version 3 of the License, or |
| def voxel_traversal(rays, _bin_size): | |
| # rays.shape (N_rays, 8): origin(3) direction(3), smallest t(1), largest t(1) | |
| # _bin_size scaler | |
| # return: (N_rays, Max_steps, 3) | |
| rays_o, rays_d, near, far = rays[:, :3], rays[:, 3:6], rays[:, 6:7], rays[:, 7:8] | |
| _bin_size = float(_bin_size) | |
| voxel_visited = [] |
This is a guide to deploying Nextcloud behind a Caddy reverse proxy, both running in Docker containers (an official Nextcloud one and a caddy-docker-proxy one), with the goal of implementing as much as possible via docker-compose files. This is much more difficult than it should be, for a variety of reasons:
-
As with Docker versions of software in general, documentation of the software does not always apply to the Docker versions, and the Docker documentation does not always include the Docker equivalent ways of doing things.
-
Docker images do not always expose the desired configuration knobs of the underlying software.
-
Nextcloud requires special configuration to run correctly behind a reverse proxy (and again, some of the instructions for this configuration requires modification for
| /* more Tiniri themes: https://tiniri.vlad.studio/ */ | |
| html { | |
| --ui-font: ui-sans-serif, sans-serif !important; | |
| --editor-font: ui-sans-serif, sans-serif !important; | |
| --editor-width: 800px !important; | |
| line-height: 1.5 !important; | |
| } | |
| html { |