Skip to content

Instantly share code, notes, and snippets.

View fieldOfView's full-sized avatar

Aldo Hoeben fieldOfView

View GitHub Profile
@fieldOfView
fieldOfView / theme.json
Created February 14, 2018 10:19
A stub theme for Cura that makes the sidebar more compact (at the cost of aesthtics)
{
"metadata": {
"name": "Compact sidebar",
"inherits": "cura-light"
},
"sizes": {
"sidebar": [30.0, 10.0],
"sidebar_margin": [1.71, 0.43],
@fieldOfView
fieldOfView / theme.json
Last active November 5, 2019 19:00
A stub theme for Cura that uses the system default font instead of the supplied Open Sans
{
"metadata": {
"name": "Default font",
"inherits": "cura-light"
},
"fonts": {
"large": {
"size": 1.35,
"weight": 40
@fieldOfView
fieldOfView / ultimaker3_single.def.json
Last active February 14, 2018 10:56
A variation of the Ultimaker 3 definition for Cura 2.4 that only has a single extruder so it can use One at a Time printing
{
"id": "ultimaker3_single",
"version": 2,
"name": "Ultimaker 3 single extrusion",
"inherits": "ultimaker3",
"metadata": {
"quality_definition": "ultimaker3"
},
@fieldOfView
fieldOfView / rangeslider.py
Last active April 26, 2021 06:03
Draggable Range Slider
import sys
from PyQt5.QtCore import QUrl
from PyQt5.QtWidgets import QApplication
from PyQt5.QtQuick import QQuickView
# Main Function
if __name__ == '__main__':
# Create main app
myApp = QApplication(sys.argv)
# Create a label and set its properties
@fieldOfView
fieldOfView / Twist.py
Last active November 29, 2016 21:11
A Cura postprocessing script that twists prints around the buildplate center
# Copyright (c) 2016 Aldo Hoeben / fieldOfView
# The PostProcessingPlugin is released under the terms of the AGPLv3 or higher.
from ..Script import Script
from UM.Application import Application
import re
import math
class Twist(Script):
@fieldOfView
fieldOfView / ultimaker2_extended_plus_reprap.def.json
Created October 22, 2016 12:17
Ultimaker 2 Extended+ machine definition variation for Cura 2.3.x that uses RepRap gcode flavor instead of UltiGCode. Useful in combination with OctoPrint
{
"id": "ultimaker2_extended_plus_reprap",
"version": 2,
"name": "Ultimaker 2 Extended+ (RepRap)",
"inherits": "ultimaker2_plus",
"metadata": {
"author": "Ultimaker",
"manufacturer": "Ultimaker",
"category": "Ultimaker",
"quality_definition": "ultimaker2_plus",
@fieldOfView
fieldOfView / ultimaker2_plus_reprap.def.json
Last active October 22, 2016 12:16
Ultimaker 2+ machine definition variation for Cura 2.3.x that uses RepRap gcode flavor instead of UltiGCode. Useful in combination with OctoPrint
{
"id": "ultimaker2_plus_reprap",
"version": 2,
"name": "Ultimaker 2+ (RepRap)",
"inherits": "ultimaker2_plus",
"metadata": {
"author": "Ultimaker",
"manufacturer": "Ultimaker",
"category": "Ultimaker",
"quality_definition": "ultimaker2_plus",
@fieldOfView
fieldOfView / ultimaker2_reprap.def.json
Created July 5, 2016 14:29
Ultimaker 2 machine definition variation for Cura 2.2.x that uses RepRap gcode flavor instead of UltiGCode. Useful in combination with OctoPrint
{
"id": "ultimaker2_reprap",
"version": 2,
"name": "Ultimaker 2 (reprap)",
"inherits": "ultimaker2",
"metadata": {
"visible": true,
"author": "Ultimaker",
"manufacturer": "Ultimaker",
"category": "Ultimaker",
@fieldOfView
fieldOfView / ultimaker2_reprap.json
Last active July 5, 2016 14:38
Ultimaker 2 machine definition variation for Cura 2.1.x that uses RepRap gcode flavor instead of UltiGCode. Useful in combination with OctoPrint
{
"id": "ultimaker2_reprap",
"version": 1,
"name": "Ultimaker 2 RepRap",
"manufacturer": "Ultimaker",
"author": "Ultimaker",
"icon": "icon_ultimaker2.png",
"platform": "ultimaker2_platform.obj",
"platform_texture": "Ultimaker2backplate.png",
"file_formats": "text/x-gcode",
@fieldOfView
fieldOfView / printrbot_simple_metal.json
Created April 25, 2016 16:14
Printrbot Simple Metal Cura profile
{
"id": "printrbot_simple_metal",
"name": "Printrbot Simple Metal",
"version": 1,
"manufacturer": "Other",
"inherits": "fdmprinter.json",
"machine_settings": {
"machine_width": {
"default": 250
},