A WIP opinionated migration guide for people migrating from Autodesk Fusion to FreeCAD, updated as I learn.
The default theme and icons are hot garbage.
| static uint8_t pak_storage[CONTROLLER_PAK_SIZE]; | |
| static void controller_pak_read_block(struct joybus_n64_accessory *accessory, uint16_t addr, | |
| uint8_t buf[JOYBUS_ACCESSORY_BLOCK_SIZE]) | |
| { | |
| // Return zeroes for out-of-bounds addresses | |
| if (addr >= CONTROLLER_PAK_SIZE) { | |
| memset(buf, 0, JOYBUS_ACCESSORY_BLOCK_SIZE); | |
| return; | |
| } |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://apple.com"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>com.sendspin-audio.daemon</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <!-- Replace with the path to sendspin cli --> | |
| <string>/Users/james/.local/bin/sendspin</string> |
| # pip install hidapi | |
| import hid | |
| import argparse | |
| VID = 0x057E | |
| PID = 0x0337 | |
| def open_dev(): | |
| h = hid.device() |
| #!/usr/bin/env python3 | |
| """ | |
| Create a simple (non encrypted, non compressed) Gecko Bootloader .gbl file from a .bin file. | |
| Documented in Silicon Labs UG266: | |
| https://www.silabs.com/documents/public/user-guides/ug266-gecko-bootloader-user-guide.pdf | |
| """ | |
| import sys | |
| import struct |
| # Reusable interface library target for GRRLIB which includes dependencies and compile flags | |
| set(GRRLIB_TARGET grrlib_interface) | |
| # Include the pkg-config module | |
| find_package(PkgConfig REQUIRED) | |
| pkg_check_modules(GRRLIB REQUIRED freetype2 libpng libjpeg) | |
| # Define the library target | |
| add_library(${GRRLIB_TARGET} INTERFACE) |
| #!/usr/bin/env bash | |
| mkdir -p temp | |
| cd temp | |
| # Export gerbers | |
| kicad-cli pcb export gerbers ../pcbname.kicad_pcb -l F.Cu,B.Cu,F.Paste,B.Paste,F.SilkS,B.SilkS,F.Mask,B.Mask,Edge.Cuts | |
| # Generate SVGs | |
| tracespace -L *.* |