← Back to DAGDA | Support | Source: https://github.com/JohnWatkinson/CuttingPatternViewer
Skip to content

About

Application for viewing and projecting pdf clothing patterns onto fabrics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Cross-Platform PDF Reader for Projection

Features

  • Open PDF files
  • Zoom in and out with precission
  • Rotate 90, 180, or 270 degrees, clockwise or anti-clockwise
  • Invert the colours, black text, white background to white text and black background
  • Cycle through the available colors: black, red, green, blue, white, yellow, cyan, magenta.
  • Cross-platform compatibility

Prerequisites

  • Python 3.8+
  • pip
  • virtualenv (recommended)

Setup

  1. Create a virtual environment:
python3 -m venv .venv
source .venv/bin/activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Run the application:
python main.py

Usage

  • Click "Open PDF" to select a PDF file
  • Use "Zoom In" and "Zoom Out" buttons to adjust view
  • Scroll through the document using the scrollbars

Dependencies

  • PyQt5: GUI Framework
  • PyMuPDF: PDF Rendering
  • Numpy: Image Processing

Summary

App needs to be a pdf viewer for viewing cutting patterns which are projected onto fabrics. App should be cross-platform and ideally in python.

Developed

System: Linux Mint 21.2 Author: John Watkinson

To Use

  • Read a calibration pdf file and set the zoom level.
  • Read a pattern file and display the pattern.
  • Adjust the colours, zoom and rotation and use full screen.

Keyboard Shortcuts CTRL + F for full screen mode Ctrl + + for zoom in Ctrl + - for zoom out Ctrl + R for rotate 90 degrees clockwise Ctrl + Shift + R for rotate 90 degrees anti-clockwise Ctrl + Z to enter a zoom value. 1.65 worked well... Ctrl + I inverts the colours, black text, white background to white text and black background Ctrl + C cycles through the available colors: black, red, green, blue, white, yellow, cyan, magenta.

To compress pdfs: https://www.adobe.com/acrobat/online/compress-pdf.html - crap though..

TODO:

About

Application for viewing and projecting pdf clothing patterns onto fabrics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages