Skip to main content

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.


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.


pip install dxf-frame-generator

Usage example

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


>dxf-frame-generator 200 200

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


  • 0.0.1: Initial release;



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

Project details

Download files

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

Source Distribution

dxf-frame-generator-0.0.1.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

dxf_frame_generator-0.0.1-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page