Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Custom sized frames for digital fabrication.

Project description

DXF Frame Generator

Quickly create frames for digital fabrication.

Generate DXF files for laser cutting custom sized frames, which can then be easily manufactured at the nearest FabLab.

A frame is made by two sheets glued together, with regular wooden glue, and then painted with acrylic dye. It has holes on its back to be hung on the wall.

Here's a finished frame, after gluing and painting:

Frame that has been manufactured from a dxf produced by this script.

Customized illustration by my fiancee @moraesnika, at our store: N Design.

Description

This project consists of a Python script that takes two Integers as arguments to draw a frame's 2D profile of the given size.

The output file uses the .dxf extension, which can be used for laser cutting.

Installation

pip install dxf-frame-generator

Usage example

The following command will create a file frame_200x200.dxf on the current working directory:

Windows:

>dxf-frame-generator 200 200
C:\Users\Username\...\frame_210x297.dxf

This is how the file looks like when imported on a laser fabrication software: DXF file when imported on a laser fabrication software.

Changelog

  • 0.0.1: Initial release;

Links

Licensing

Distributed under the MIT license. See LICENSE for more information.

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for dxf-frame-generator, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size dxf_frame_generator-0.0.1-py3-none-any.whl (4.7 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size dxf-frame-generator-0.0.1.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page