Skip to content

Instantly share code, notes, and snippets.

View daprice's full-sized avatar

Dale Price daprice

View GitHub Profile
@daprice
daprice / README.md
Last active March 9, 2022 01:08
Convert an STL intended for 3D printing (Z up, mm units) to a USDZ file compatible with Apple's AR Quick Look and ARKit

This script must be placed in the root folder of the USD tools library provided by Apple on their AR Quick Look Gallery page. Requires assimp to be installed.

Command format: ./stl_to_usdz.sh input_file.stl output_file.usdz

For now, this just inserts the necessary transformations at a hardcoded line number in the USD markup, so compatibility with future versions of usdzconvert is not guaranteed.

@daprice
daprice / printer.cfg
Last active December 2, 2019 07:09
RostockMax v2 Klipper configuration
# This file constains the pin mappings for the SeeMeCNC Rostock Max
# (version 2) delta printer from 2015. To use this config, the
# firmware should be compiled for the AVR atmega2560.
# See the example.cfg file for a description of available parameters.
[stepper_a]
step_pin: PC0
dir_pin: !PL1
enable_pin: !PA7
api.areametrics.com
in.cuebiq.com
et.intake.factual.com
api.factual.com
api.beaconsinspace.com
api.huq.io
m2m-api.inmarket.com
mobileapi.mobiquitynetworks.com
sdk.revealmobile.com
api.safegraph.com
@daprice
daprice / layout.kbd.json
Last active March 17, 2018 04:05
iOS: The Missing Macropad
[
[
{
"p": "CHICKLET",
"a": 7,
"f": 7
},
"<i class='fa fa-keyboard-o'></i>",
{
"f": 4