Hidden Line Removal Test - DEMO COPY 🤖🖋

Right Click Save Edition

A quick "stress test" for the new Hidden Line Removal feature of the AxiDraw tools.

This code is so I can quickly create 5,000+ overlapping rectangles, which can then be used to test the HLR option in the AxiDraw InkScape extension, CLI and Python. I decided the best way to try this out was creating an fxparams projects, as it gave me a nice UI to work in.

Because this is supposed to be a tool and not an artwork no-one was really supposed to buy it, but I also wanted to be able to mint copies to I could carry on using it. But then someone bought them 😆

Instructions

=======================================

Print size is A standard paper, A1, A2, ... A6, or 1.41414141 ratio

Keypresses

'h' - toggle high resolution 't' - Toggle paper background on/off
's' - save PNG file
1-6 - Save SVGs for plotting A1, A2, A3, A4, A5, A6

Printing

The high resolution image outputs at 8,192 x 10,922 pixels.

Print 27.31" x 36.41" at 300dpi Print 69.34cm x 92.47cm at 300dpi

Add ?forceWidth=xxxx where xxxx is the pixels size you want. For example to print at 100cm high, the width would need to be 100cm. 100cm in inches is 39.37" at 300dpi = 11,811 pixels width. So using ?forceWidth=11811 and downloading will give you an PNG large enough to be safely printed at 1 meter height.

Links

>> Project page
>> fx(hash)
>> View source code on GitHub