This file contains hidden or 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
| import FreeCAD, FreeCADGui, Mesh, subprocess, os, tempfile, shutil, threading | |
| # Setup for custom slicer: | |
| ## Open python console | |
| ## Run FreeCAD.ParamGet("User parameter:BaseApp/Preferences/SlicerMacro").SetString("SlicerCommand", "custom-slicer") | |
| ## Now you should be able to get 'custom-slicer' with FreeCAD.ParamGet("User parameter:BaseApp/Preferences/SlicerMacro").GetString("SlicerCommand", "") | |
| slicers = ["prusa-slicer", "orca-slicer"] | |
| def get_slicer_path(): |
This file contains hidden or 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
| import bpy | |
| def get_formatted_length_from_bu(length_in_blender_units): | |
| scene = bpy.context.scene | |
| unit_settings = scene.unit_settings | |
| if unit_settings.system == 'NONE': | |
| return f"{length_in_blender_units:.4f} Blender Units" | |
| system_conversions = { |
This file contains hidden or 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
| local capi = { | |
| client = client, | |
| tag = tag, | |
| awesome = awesome, | |
| screen = screen | |
| } | |
| local awful = require("awful") | |
| local gears = require("gears") | |
| local json = require("cjson") |
This file contains hidden or 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
| { lib | |
| , buildPythonPackage | |
| , fetchPypi | |
| , isPyPy | |
| , pytestCheckHook | |
| , asttokens | |
| , executing | |
| , pure-eval | |
| , stack-data | |
| , six |
This file contains hidden or 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
| { stdenv, fetchFromGitHub, lib | |
| , python3, pkg-config, nodejs, pnpm, openssl, sqlite, jq | |
| , ... }: | |
| stdenv.mkDerivation | |
| (finalAttrs: rec { | |
| pname = "nocodb"; | |
| version = "0.257.2"; | |
| src = fetchFromGitHub { | |
| owner = "nocodb"; |
This file contains hidden or 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
| { lib, stdenv, fetchFromGitHub, pkg-config, autoconf, automake | |
| , libtool, nettle, gnutls, gettext, libabigail | |
| }: | |
| stdenv.mkDerivation rec { | |
| pname = "radcli"; | |
| version = "1.3.1"; | |
| src = fetchFromGitHub { | |
| owner = "radcli"; |
This file contains hidden or 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
| ±²³SolveSpaceREVa | |
| Group.h.v=00000001 | |
| Group.type=5000 | |
| Group.name=#references | |
| Group.color=ff000000 | |
| Group.skipFirst=0 | |
| Group.predef.swapUV=0 | |
| Group.predef.negateU=0 |
This file contains hidden or 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
| (defun use-ansi-process-filter (process) | |
| (set-process-filter | |
| process | |
| (lambda (process string) | |
| (internal-default-process-filter process string) | |
| (with-current-buffer (process-buffer process) | |
| (save-excursion | |
| (goto-char (point-max)) | |
| (let ((previous-point-max (point-max))) | |
| (insert string) |
This file contains hidden or 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
| { pkgs ? import <nixpkgs> {}, ... }: let | |
| inherit (pkgs) | |
| stdenv | |
| fetchgit | |
| ; | |
| tag = "2.10.1"; | |
| commit = "482d91c66"; | |
| # git describe --long ${version} | |
| version = "${tag}-0-g${commit}"; |
This file contains hidden or 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
| { pkgs ? import <nixpkgs> {}, ... }: pkgs.libsForQt5.callPackage ({ pkgs ? import <nixpkgs> {} | |
| , lib | |
| , stdenv | |
| , fetchFromGitHub | |
| , fetchpatch | |
| , cmake | |
| , ninja | |
| , netcdf | |
| , coin3d | |
| , eigen |
NewerOlder