Module 2 Exercises


FreeCad
(2D/3D Modeller)


Date
Explanation
(7-8)/2/17


Some drawing are attempted. Screenshots are here. Crashed many times.

sshot




sshot2

ssh3



ssh4








Antimony
(2D/3D package)

Date
Explanation
(7-8)/2/17 - 11/8/13


Tried to learn. Looked intuitive. 
But later when tried to draw a sketch for Vinyl Cutting the job looked a little difficult.

ssh5



OpenScad
(2D/3D Module)

Date
Explanation
(7-8)/2/17 - 15/2/17


One of the tools which I have feel as suits me, as here more coding is involved.


ssh6



ffmpeg
(audio video command line tool)

Date
Explanation

8/2/17


Need to learn! Spent some time reading man page. Used a few times a few years ago!



ssh7

20/2/17
ffmpeg supported formats - almost everything!




Video Compression

Compression with varying output bit rate

ffmpeg -i ask.pcb.milling.3gp -b:v 64k -bufsize 64k out1.mp4

ffmpeg -i ask.pcb.milling.3gp -b:v 64k  out2.mp4

ffmpeg -i ask.pcb.milling.3gp -b:v 512k  out3.mp4

ffmpeg -i ask.pcb.milling.3gp -b:v 1024k  out4.mp4

ffmpeg -i ask.pcb.milling.3gp -b:v 2048k  out5.mp4

[fab@ask temp]$ ll -Sh
total 20M
-rw-r--r-- 1 fab fab  13M Feb 20 14:43 ask.pcb.milling.3gp    //source file
-rw-r--r-- 1 fab fab 4.1M Feb 20 15:09 out.mp4                     //quality ok; size ??
-rw-r--r-- 1 fab fab 1.8M Feb 20 15:38 out5.mp4                   // Okay
-rw-r--r-- 1 fab fab 962K Feb 20 15:37 out4.mp4                 //Acceptable
-rw-r--r-- 1 fab fab 539K Feb 20 15:36 out3.mp4                 //Not clear enough
-rw-r--r-- 1 fab fab 217K Feb 20 15:35 out2.mp4                 // poor quality
-rw-r--r-- 1 fab fab 207K Feb 20 15:35 out1.mp4                //Bad quality






ImageMagick
19/2/17
To capture the window
-------------------------------------
import screen1.ps

import -page A4 -gravity center ps:screen2.ps

import -page A4 -gravity center jpg:screen3

import -page A4 -gravity center scree4.png

File compression
----------------------------

FILES=*.jpg
for f in $FILES
do
    convert $f  -resize \>500 temp/$f
done





Viewnior

20/2/17
Used to crop the images
Useful to remove unwanted boundary side objects of lab photos