šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

ducki

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ducki

Simple utility scripts for exporting KiCad images.

0.0.1
latest
Source
npm
Version published
Weekly downloads
2
-60%
Maintainers
0
Weekly downloads
Ā 
Created
Source

DucKi

A simple scripting language for interacting with KiCad, mostly for the purpose of creating 3D renders, scheamtics, etc. for README files in projects.

Setting Up

Unfortunatly, the latest stable version of KiCad does not include the render sub-module in the kicad-cli, so a nightly build or RC for v9 must be installed to use this tool.

It should be installed in your home folder ~/.ducki/KiCad.

Usage

Create a file in a KiCad project files called ducki.js, which will have a global variable called project which can be used to create various output files.

All file paths are relative to the project folder.

// Create a 3D Render
project.render({
    perspective: true,
    rotate: { x: -25, y: 25, z: 10 },
    size: { width: 1024 },
    zoom: 0.7
}, "output/render-front.jpg");

License

MIT License.

Keywords

KiCad

FAQs

Package last updated on 03 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts