<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Madox.NET &#187; Free Software Tips</title>
	<atom:link href="http://www.madox.net/blog/tag/free-software-tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.madox.net/blog</link>
	<description>Perversions of an Engineer</description>
	<lastBuildDate>Mon, 30 Jan 2012 12:21:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>EasySync USB-CAN Bus Adapter &#8211; Works great in Ubuntu after some fiddling</title>
		<link>http://www.madox.net/blog/2009/06/30/easysync-usb-can-bus-adapter-works-great-in-ubuntu-after-some-fiddling/</link>
		<comments>http://www.madox.net/blog/2009/06/30/easysync-usb-can-bus-adapter-works-great-in-ubuntu-after-some-fiddling/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 12:52:30 +0000</pubDate>
		<dc:creator>Madox</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Software Problems Help]]></category>
		<category><![CDATA[Software Tips & Tricks]]></category>
		<category><![CDATA[CAN Bus]]></category>
		<category><![CDATA[Chumby]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Free Software Tips]]></category>
		<category><![CDATA[FTDI]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.madox.net/blog/?p=476</guid>
		<description><![CDATA[The toys just keep coming in!  Another one of those wallet killing impulsive orders whilst I was sick in bed last week just arrived today, a USB-CAN bus converter module by EasySync that promises a great interface and should work in Linux!  This will give a little bump start to my Mazda CAN Bus / [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_477" class="wp-caption aligncenter" style="width: 368px"><a href="http://www.madox.net/blog/wp-content/uploads/2009/06/CIMG2414A.JPG"><img class="size-medium wp-image-477" title="CIMG2414A" src="http://www.madox.net/blog/wp-content/uploads/2009/06/CIMG2414A-358x300.jpg" alt="Neat little package" width="358" height="300" /></a><p class="wp-caption-text">Neat little package</p></div>
<p>The toys just keep coming in!  Another one of those wallet killing impulsive orders whilst I was sick in bed last week just arrived today, a USB-CAN bus converter module by <a href="http://www.easysync.co.uk/" target="_blank">EasySync</a> that promises a great interface and should work in Linux!  This will give a little bump start to my <a href="http://www.madox.net/blog/mazda-can-bus/" target="_blank">Mazda CAN Bus</a> / <a href="http://www.madox.net/blog/2009/03/23/mchumby-mazdamadox-chumby/" target="_blank">mChumby</a> projects.</p>
<p><em>Note : EasySync UK&#8217;s online form doesn&#8217;t allow international shipping but a short E-mail or two managed that.  There is a US subsidiary with US and international shipping, but the international shipping rates on the US site is plain ridiculous [$68USD to ship a $88 device to Australia].</em></p>
<p><em>Note 2 : I hear the interface is mimicking the Lawicel CAN-USB interface&#8230;only hearsay&#8230;<br />
</em></p>
<p>Plugged it in &#8211; didn&#8217;t work.  Doh!  Took a peek at the manual and website, nothing on Linux other than &#8220;Linux drivers provided&#8221;&#8230; So much for the marketing material, guess I have to try make it work myself.  (Yes I got it working, read on for the quick run-down post aimed at helping others)</p>
<p><span id="more-476"></span></p>
<div id="attachment_478" class="wp-caption aligncenter" style="width: 460px"><a href="http://www.madox.net/blog/wp-content/uploads/2009/06/CIMG2417A.JPG"><img class="size-medium wp-image-478" title="CIMG2417A" src="http://www.madox.net/blog/wp-content/uploads/2009/06/CIMG2417A-450x282.jpg" alt="Sneak peek inside the box" width="450" height="282" /></a><p class="wp-caption-text">Sneak peek inside the box</p></div>
<p>Now with the photos out of the way, a little bit of detective work is ahead of us&#8230; why doesn&#8217;t this thing work&#8230; I paid so much money for it to replace the qprotos adapter!</p>
<p>A little bit of lsusb (or cat /proc/bus/usb/devices if you&#8217;ve got usbdevfs) sleuthing later&#8230;</p>
<blockquote>
<pre>Bus 003 Device 004: ID 0403:fac6 Future Technology Devices International, Ltd
Device Descriptor:
 bLength                18
 bDescriptorType         1
 bcdUSB               2.00
 bDeviceClass            0 (Defined at Interface level)
 bDeviceSubClass         0
 bDeviceProtocol         0
 bMaxPacketSize0         8
 idVendor           0x0403 Future Technology Devices International, Ltd
 idProduct          0xfac6
 bcdDevice            6.00
 iManufacturer           1 EasySync
 iProduct                2 USB2-F-7001 CAN-Plus Adapter
 iSerial                 3 ESNFWLPL
 bNumConfigurations      1
 Configuration Descriptor:
 bLength                 9
 bDescriptorType         2
 wTotalLength           32
 bNumInterfaces          1
 bConfigurationValue     1
 iConfiguration          0
 bmAttributes         0x80
 (Bus Powered)
 MaxPower              150mA
 Interface Descriptor:
 bLength                 9
 bDescriptorType         4
 bInterfaceNumber        0
 bAlternateSetting       0
 bNumEndpoints           2
 bInterfaceClass       255 Vendor Specific Class
 bInterfaceSubClass    255 Vendor Specific Subclass
 bInterfaceProtocol    255 Vendor Specific Protocol
 iInterface              2 USB2-F-7001 CAN-Plus Adapter
 Endpoint Descriptor:
 bLength                 7
 bDescriptorType         5
 bEndpointAddress     0x81  EP 1 IN
 bmAttributes            2
 Transfer Type            Bulk
 Synch Type               None
 Usage Type               Data
 wMaxPacketSize     0x0040  1x 64 bytes
 bInterval               0
 Endpoint Descriptor:
 bLength                 7
 bDescriptorType         5
 bEndpointAddress     0x02  EP 2 OUT
 bmAttributes            2
 Transfer Type            Bulk
 Synch Type               None
 Usage Type               Data
 wMaxPacketSize     0x0040  1x 64 bytes
 bInterval               0
Device Status:     0x0000
 (Bus Powered)</pre>
</blockquote>
<p>Yup definitely a FTDI device, even with the FTDI vendor ID (Did I mention I love FTDI?).  Looks like EasySync decided they wanted their own unique product ID, unfortunately that means the vanilla ftdi_sio drive won&#8217;t pick it up without a little bit of coercing.</p>
<p>The little bit of coercing goes like&#8230;</p>
<blockquote><p><em>modprobe ftdi_sio vendor=0&#215;0403 product=0xfac6</em></p></blockquote>
<p>And bingo&#8230;</p>
<blockquote>
<pre>[ 6372.229046] usb 2-2: new full speed USB device using uhci_hcd and address 3
[ 6372.437247] usb 2-2: configuration #1 chosen from 1 choice
[ 6372.439834] ftdi_sio 2-2:1.0: FTDI USB Serial Device converter detected
[ 6372.439872] usb 2-2: Detected FT232RL
[ 6372.439934] usb 2-2: FTDI USB Serial Device converter now attached to ttyUSB0</pre>
</blockquote>
<p>Using putty to connect to ttyUSB0 at 115200, and typing &#8220;H&#8221; followed by &#8220;Enter&#8221; gives us</p>
<blockquote>
<pre>=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2009.06.30 21:23:18 =~=~=~=~=~=~=~=~=~=~=~=
H
List of Supported Commands
O - Open CAN Channel
C - Close CAN Channel
t - Transmit Standard Frame
T - Transmit Extended Frame
F - Read Status Flag
V - USB2-F-7001 Version
N - Serial Number of USB2-F-7001
Z - TimeStamp Option On/Off
S - Set CAN Bit Rate
s - Set BRGCON Registers
m - Set Acceptance Mask
M - Set Acceptance Filter
B - Enter Bootload Mode
L - Set Listen Mode
E - Clear Buffers and Echo Char
R - Reset USB2-F-7001
H, ? or h - Help on USB2-F-7001 Commands</pre>
</blockquote>
<p>Only problem is that its Mac style line endings.  Even the append CR to LF option in putty is useless because the stream seems to be CR without LF&#8230;  Doesn&#8217;t hurt too much except displaying it is a bit annoying.</p>
<p>The EasySync USB-CAN adapter&#8217;s pinout is pretty much standard DB9 for CAN Bus and all I had to do was connect my existing J1962 (aka OBD-II aka DLC-2) cable on and onto the car I went.</p>
<p>A couple of short &#8220;S6&#8243; (500kbps) &#8220;L&#8221; (Open connection for listen mode) commands later, I had CAN data being spat back at me</p>
<blockquote>
<pre>t04680601FF0000000000
t04680601FF0000000000
t04680601FF0000000000
t04680601FF0000000000
t04680601FF0000000000
t20F8FFFF27104000FF01
t2118FFFF000040000001
t4B082710271027102710
t19080000000000000000</pre>
</blockquote>
<p>All is good&#8230;except I just deleted my Chumby Development Virtual Machine a few hours ago&#8230;ooops&#8230;another day before I use this neat little adapter for <a href="http://www.madox.net/blog/2009/03/23/mchumby-mazdamadox-chumby/" target="_blank">mChumby</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madox.net/blog/2009/06/30/easysync-usb-can-bus-adapter-works-great-in-ubuntu-after-some-fiddling/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Citrix Linux Client 64bit (AMD64) for Ubuntu Jaunty 9.04</title>
		<link>http://www.madox.net/blog/2009/05/04/citrix-linux-client-64bit-amd64-for-ubuntu-jaunty-904/</link>
		<comments>http://www.madox.net/blog/2009/05/04/citrix-linux-client-64bit-amd64-for-ubuntu-jaunty-904/#comments</comments>
		<pubDate>Sun, 03 May 2009 15:16:55 +0000</pubDate>
		<dc:creator>Madox</dc:creator>
				<category><![CDATA[Perverse Applications of Science...]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Free Software Tips]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.madox.net/blog/?p=330</guid>
		<description><![CDATA[This post is record to help myself if I ever decide to do a fresh install again, so it might be a bit messy.  (Posting helps me keep these untitled files off my hard-drive hehe) Download the Citrix Linux client (v11) from :- http://www.citrix.com/English/ss/downloads/index.asp URL mileage may vary, go back to the home page if [...]]]></description>
			<content:encoded><![CDATA[<p>This post is record to help myself if I ever decide to do a fresh install again, so it might be a bit messy.  (Posting helps me keep these untitled files off my hard-drive hehe)</p>
<p>Download the Citrix Linux client (v11) from :-<br />
<a href="http://www.citrix.com/English/ss/downloads/index.asp" target="_blank">http://www.citrix.com/English/ss/downloads/index.asp</a><br />
URL mileage may vary, go back to the home page if its not right.</p>
<p>Unpack the tarball and install&#8230; e.g.</p>
<blockquote>
<pre>tar -xvzf linuxx86-11.0.140395.tar.gz
sudo ./setupwfc</pre>
</blockquote>
<p>Might be missing a &#8216;cd&#8217; step here obviously&#8230;<br />
If run using sudo, default installs to /usr/lib/ICAClient</p>
<p>Confirm it doesn&#8217;t run because of libmotif</p>
<blockquote><p>/usr/lib/ICAClient/wfcmgr<br />
/usr/lib/ICAClient/wfcmgr: error while loading shared libraries: libXm.so.4: cannot open shared object file: No such file or directory</p></blockquote>
<p>Download a 32bit (i386) Open Motif package from :-<br />
<a href="http://ftp.ubuntu.com/ubuntu/pool/multiverse/o/openmotif/" target="_blank">http://ftp.ubuntu.com/ubuntu/pool/multiverse/o/openmotif/</a></p>
<p>Rip out libXm from it&#8230;</p>
<blockquote>
<pre>$ dpkg -x libmotif3_2.2.3-4_i386.deb ./tmp
$ cd ./tmp
~/tmp$ cd usr/lib
~/tmp/usr/lib$ ls
libMrm.so.3      libUil.so.3      libXm.so.3      X11
libMrm.so.3.0.2  libUil.so.3.0.2  libXm.so.3.0.2
~/tmp/usr/lib$ sudo cp libXm.so.3 /usr/lib32/
~/tmp/usr/lib$ cd /usr/lib32
/usr/lib32$ sudo ln -s libXm.so.3 libXm.so.4</pre>
</blockquote>
<p>Then this stupid error&#8230;<br />
You have not chosen to trust &#8220;Equifax Secure Global eBusiness CA-1&#8243;, the issuer of the servers security certificate (SSL error 61).</p>
<p>Download the root 1 (Base64) Cert from :-<br />
<a href="http://www.geotrust.com/resources/root-certificates/index.html" target="_blank">http://www.geotrust.com/resources/root-certificates/index.html</a><br />
Change the extension to .crt<br />
Copy it to Citrix Installation Path/ICAClient/keystore/cacerts</p>
<p>$ mv Equifax_Secure_Global_eBusiness_CA-1.cer Equifax_Secure_Global_eBusiness_CA-1.crt<br />
$ sudo cp Equifax_Secure_Global_eBusiness_CA-1.crt /usr/lib/ICAClient/keystore/cacerts/</p>
<p>Set firefox to open the ICA with /usr/lib/ICAClient/wfica</p>
<p>Voila&#8230;</p>
<p>Need to tidy this post up in the future</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madox.net/blog/2009/05/04/citrix-linux-client-64bit-amd64-for-ubuntu-jaunty-904/feed/</wfw:commentRss>
		<slash:comments>36</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.04 &#8211; Jaunty Jackalope AMD64 (64 bit)</title>
		<link>http://www.madox.net/blog/2009/04/24/ubuntu-904-jaunty-jackalope-amd64-64-bit/</link>
		<comments>http://www.madox.net/blog/2009/04/24/ubuntu-904-jaunty-jackalope-amd64-64-bit/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 10:40:17 +0000</pubDate>
		<dc:creator>Madox</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Software Problems Help]]></category>
		<category><![CDATA[Software Tips & Tricks]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Free Software Tips]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.madox.net/blog/?p=317</guid>
		<description><![CDATA[I&#8217;ve finally made the jump and using the AMD64 version of Ubuntu as my primary installation.  There are a couple of tricky things to deal with, primarily with closed sourced applications such as Adobe Flash Plugin and Skype which are two applications I need to use. How to install Adobe Flash Plugin 64 Bit for [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve finally made the jump and using the AMD64 version of Ubuntu as my primary installation.  There are a couple of tricky things to deal with, primarily with closed sourced applications such as Adobe Flash Plugin and Skype which are two applications I need to use.</p>
<h2>How to install Adobe Flash Plugin 64 Bit for Ubuntu 9.04</h2>
<p>A lot of the tutorials/guides online will tell you to use nspluginwrapper or similar.  Adobe has released an &#8216;alpha&#8217; version of their 64 bit player which is pretty stable so far&#8230;</p>
<p>Download it from :-<a href="http://labs.adobe.com/downloads/flashplayer10.html" target="_blank">http://labs.adobe.com/downloads/flashplayer10.html</a></p>
<p>Unpack the archive and copy the only file to the Firefox plugins folder in &#8216;<em>/usr/lib/firefox-addons/plugins</em>&#8216; :-</p>
<blockquote><p>sudo cp libflashplayer.so /usr/lib/firefox-addons/plugins</p></blockquote>
<h2>How to install Skype 64 bit for Ubuntu 9.04</h2>
<p>You would think you could just go to www.skype.com and ask for a download and it&#8217;ll be like the Adobe site detecting that you have a 64 bit system right?  Wrong (at time of writing).  Annoyingly that&#8217;ll just let you download an i386 package!</p>
<p>You could manually remedy this by downloading the AMD64 .deb package from :-<br />
<a href="http://www.skype.com/go/getskype-linux-ubuntu-amd64" target="_blank">http://www.skype.com/go/getskype-linux-ubuntu-amd64</a></p>
<h2>Everything else?</h2>
<p>So far the respositories have been kind to me&#8230; but i&#8217;ll update if I run into any other troubles <img src='http://www.madox.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Voila happy 64 bit Ubuntu&#8217;ing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madox.net/blog/2009/04/24/ubuntu-904-jaunty-jackalope-amd64-64-bit/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Essential Free Software for a Windows Install</title>
		<link>http://www.madox.net/blog/2009/01/07/essential-free-software-for-a-windows-install/</link>
		<comments>http://www.madox.net/blog/2009/01/07/essential-free-software-for-a-windows-install/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 13:20:17 +0000</pubDate>
		<dc:creator>Madox</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Software Tips & Tricks]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Free Software Tips]]></category>

		<guid isPermaLink="false">http://www.madox.net/blog/?p=216</guid>
		<description><![CDATA[Yesterday I went and bought a laptop for my dad to learn how to use computers and the internet.  A base install of windows is not functional nor safe enough to let loose on the internet without some additional software.  Being an avid fan of things that are free, I went and downloaded the latest [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I went and bought a laptop for my dad to learn how to use computers and the internet.  A base install of windows is not functional nor safe enough to let loose on the internet without some additional software.  Being an avid fan of things that are free, I went and downloaded the latest versions of free software that I thought would be essential for this new PC.</p>
<p>I hope this post is useful for other people, but its really a lazy way of me bookmarking everything in-case I have to do it again.</p>
<p><span id="more-216"></span></p>
<p>Before anyone I know asks &#8220;Why didn&#8217;t you use (Insert Linux Variant Here)?&#8221;, its because linux has poor language input capabilities for any language other than English.  Windows Vista has in-built character recognition for a plethora of languages and most tablets are sold with software written for Windows.</p>
<p>Anyway that&#8217;s probably the last pro-Microsoft paragraph you&#8217;ll get out of me&#8230;So what did I download for dad?</p>
<h2><a href="http://www.openoffice.org/" target="_blank">OpenOffice<br />
</a></h2>
<p>In my opinion one of the best suites of open-source software out there, OpenOffice will basically do anything Microsoft Office will do but for free.  From doing your expenses to writing up reports and articles, OpenOffice will do it for you.</p>
<p>Office 2007 onwards annoyed the hell out of me with the non-intuitive ribbons interface.  OpenOffice retains the old but tried menu system so I can teach/help my dad over the phone quite easily.</p>
<h2><a href="http://www.comodointernetsecurity.com/" target="_blank">Comodo Internet Security</a></h2>
<p>After the collapse of Kerio Personal Firewall I switched to Comodo Firewall (aka Comodo Internet Security).  It&#8217;s easy to set up and offered free without any feature limitations by Comodo.  The Defense+ element of the software might be annoying for some users though&#8230;</p>
<p><strong>Remember, the standard Windows Firewall is next to useless!</strong></p>
<h2><a href="http://free.grisoft.com/" target="_blank">AVG Anti-Virus</a></h2>
<p>Any windows machine for a new computer user MUST be set-up with decent anti-virus software.  I&#8217;ve used AVG for probably around 10 years now and it has worked great.  It may not rate the highest in detection tests and benchmarks but its free, easy to use and updates regularly.</p>
<h2><a href="http://www.videolan.org/" target="_blank">VLC Media Player</a></h2>
<p>I&#8217;m not a fan of Windows Media Player, I either use Media Player Classic or VLC.  For my dad I opted to install VLC to keep the install clean of odd-ball codecs from strange sources.</p>
<p>VLC will play almost all video formats except for a few proprietary ones (e.g. RealMedia).</p>
<h2><a href="http://www.foxitsoftware.com/" target="_blank">Foxit PDF Reader</a></h2>
<p>Inevitably when surfing the web one would come across articles or papers in the ubiquitous &#8216;PDF&#8217; format.  Adobe&#8217;s free reader has in my opinion become bloated and slow, while Foxit&#8217;s alternative is lightweight and fast.</p>
<p>A new version 3 has just been released and I have some issues with this new version (program is slow to close), however you can still download and install the old 2.4 versions if you like.</p>
<h2><a href="http://www.mozilla.com/firefox/" target="_blank">Firefox</a></h2>
<p>Might be going slightly out of order when I mentioned surfing the web.  I will not allow my dad, a new computer user to browse the web using Internet Explorer &#8211; it&#8217;ll just be a disaster waiting to happen.</p>
<p>Firefox is standards compliant and is extremely powerful when combined with useful add-ons such as Adblock Plus, NoScript, and FireGestures (just to name a few I installed for him).  Search for these via Firefox-&gt;Tools-&gt;Add-ons.</p>
<h2><a href="http://picasa.google.com/" target="_blank">Picasa</a></h2>
<p>I wasn&#8217;t a great fan of Picasa but I recently revisited it after needing to look at geodata (GPS Co-ordinates) embedded within exif data and was I surprised.  The new version 3 incorporates a very quick image viewer to replace Window&#8217;s annoying image previewer that mangles your photos if you rotate them for viewing!  The interface is swift and useable, great for my mom to view her happy snaps.</p>
<h2><a href="http://www.skype.com/" target="_blank">Skype</a></h2>
<p>With a family scattered over the four corners of the Earth (I think there&#8217;s an average distance of 6000km between each of the 4 siblings&#8230;), dad will definitely need an internet chat/phone program.  Skype fits the bill perfectly being free and used by all my family with one of the best quality video and audio I&#8217;ve seen.</p>
<p>There&#8217;s even paid options to ring landlines and mobiles (overseas of local) from the comfort of the home PC using the &#8216;Skype-Out&#8217; service.</p>
<h2>That&#8217;s it folks!</h2>
<p>That is it for the bare essentials!  There may be other software utilities such as <a href="http://www.7-zip.org/" target="_blank">7-Zip</a> other&#8217;s may consider essential, but this is where I&#8217;ve drawn my line for the usage needs of my dad.</p>
<p>Do you think I&#8217;ve missed out on anything (for use for the average new computer user)?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madox.net/blog/2009/01/07/essential-free-software-for-a-windows-install/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Parametric Modelling in Google Sketchup and Ponoko friendly SVG export for Sketchup</title>
		<link>http://www.madox.net/blog/2008/12/07/parametric-modelling-in-google-sketchup-and-ponoko-friendly-svg-export-for-sketchup/</link>
		<comments>http://www.madox.net/blog/2008/12/07/parametric-modelling-in-google-sketchup-and-ponoko-friendly-svg-export-for-sketchup/#comments</comments>
		<pubDate>Sun, 07 Dec 2008 12:10:35 +0000</pubDate>
		<dc:creator>Madox</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Software Tips & Tricks]]></category>
		<category><![CDATA[Weird]]></category>
		<category><![CDATA[3D Printing]]></category>
		<category><![CDATA[Alibre Xpress]]></category>
		<category><![CDATA[Free Software Tips]]></category>
		<category><![CDATA[Laser Cutting]]></category>
		<category><![CDATA[Ponoko]]></category>

		<guid isPermaLink="false">http://www.madox.net/blog/?p=83</guid>
		<description><![CDATA[The problem I&#8217;ve recently signed up Ponoko&#8217;s Prime account and wanted to get something made.  I rather into a rather annoying problem, Alibre Xpress doesn&#8217;t have a SVG export.  I needed a way to design something and export it as SVG. I&#8217;ll admit the long post title is a problem too A possible solution? After [...]]]></description>
			<content:encoded><![CDATA[<h2>The problem</h2>
<p>I&#8217;ve recently signed up <a href="http://www.ponoko.com" target="_blank">Ponoko&#8217;s</a> Prime account and wanted to get something made.  I rather into a rather annoying problem, Alibre Xpress doesn&#8217;t have a SVG export.  I needed a way to design something and export it as SVG.</p>
<p>I&#8217;ll admit the long post title is a problem too <img src='http://www.madox.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><span id="more-83"></span></p>
<h2>A possible solution?</h2>
<p>After searching the forums for a solution&#8230; I stumbled across a very promising method by using Alibre to export to DXF, using <a href="http://www.openoffice.org" target="_blank">OpenOffice</a> draw to import the DXF and then save-as SVG.  Summary result &#8211; it didn&#8217;t work.  OpenOffice had trouble opening the DXF file and so did the developmental release of Inkscape which includes a native DXF import.</p>
<p>Scratch that.</p>
<h2>Google SketchUp?</h2>
<p>Then I thought of using <a href="http://sketchup.google.com/" target="_blank">Google SketchUp</a> instead of <a href="http://www.alibre.com/xpress/">Alibre Xpress </a>because there was the possibility that it&#8217;ll work under <a href="http://www.ubuntu.com/" target="_blank">Ubuntu</a> with Wine rather than me popping back to windows just to use Alibre [Which doesn't work with Wine].  First of all, I couldn&#8217;t get it working with Wine because of my laptop graphics card, but apparently it works for other people if you follow the <a href="http://wiki.winehq.org/GoogleSketchup" target="_blank">winehq wiki help</a>.  But I wasn&#8217;t going to give up&#8230; back to windows I go and some more googling research later I stumbled upon some interesting plugins for google sketchup.</p>
<h2>SVG Outline Export Plugin</h2>
<p><a href="http://flightsofideas.com/" target="_blank">Flight of ideas</a> has created a <a href="http://code.google.com/p/sketchup-svg-outline-plugin/" target="_blank">plug-in</a> for the purpose of exporting SketchUp models into Ponoko friendly SVG files.  Go to his blog or the plug-in page for intructions on how to install and use the plugin, but here are some screenshots to get you interested.</p>
<div id="attachment_85" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.madox.net/blog/wp-content/uploads/2008/12/exportsvg.png"><img class="size-medium wp-image-85" title="exportsvg" src="http://www.madox.net/blog/wp-content/uploads/2008/12/exportsvg-300x129.png" alt="Yup its kinda that easy to use..." width="300" height="129" /></a><p class="wp-caption-text">Yup its kinda that easy to use...</p></div>
<p><a href="http://www.madox.net/blog/wp-content/uploads/2008/12/exportedsvg.png"><img class="aligncenter size-medium wp-image-84" title="exportedsvg" src="http://www.madox.net/blog/wp-content/uploads/2008/12/exportedsvg-289x300.png" alt="" width="289" height="300" /></a></p>
<h2>Parametric Modeling in Google SketchUp?</h2>
<p><a href="http://drivingdimensions.com/" target="_blank">Driving Dimensions</a> is a sketchup plugin that attempts to add parametric capabilities onto sketchup.  I&#8217;m pretty sure this is a pretty well kept secret because there weren&#8217;t all that many people that have <a href="http://drivingdimensions.com/SketchUp/download.php" target="_blank">downloaded</a> this plug-in (I was the 938th person).  Whilst it is an interesting concept, functionality is rather limited on the current early releases.  Basically you can add linear dimensions and angular dimensions onto lines/objects/whatever and the plugin will manage the these parametric constraints for you.  While it sounds good, in practice its still a nightmare to use because the sheer amount of (dimension) constraints you have to add to fully constrain a sketch.</p>
<div id="attachment_86" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.madox.net/blog/wp-content/uploads/2008/12/sketchupparametric.png"><img class="size-medium wp-image-86" title="sketchupparametric" src="http://www.madox.net/blog/wp-content/uploads/2008/12/sketchupparametric-300x180.png" alt="So many constraints for such a simple piece" width="300" height="180" /></a><p class="wp-caption-text">So many constraints for such a simple piece</p></div>
<div id="attachment_87" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.madox.net/blog/wp-content/uploads/2008/12/alibreparametric.png"><img class="size-medium wp-image-87" title="alibreparametric" src="http://www.madox.net/blog/wp-content/uploads/2008/12/alibreparametric-300x225.png" alt="So much easier in Alibre..." width="300" height="225" /></a><p class="wp-caption-text">Comparison - So much easier in Alibre...</p></div>
<p>Scratch this idea too&#8230;</p>
<h2>Alibre has a Google SketchUp export plugin!</h2>
<p>Hidden away (I couldn&#8217;t find the navigation link at all from the alibre webpage!) and apparently only accessible if you know the exact name of the plugin and by a google search is the <a href="http://www.alibre.com/promos/online/3DSketchUp.asp" target="_blank">Alibre 3D Publisher</a> (linked to save you the pain).  This plugin allows for direct export to Google Sketchup as a version 6 file which can be used with SketchUp 7.</p>
<div id="attachment_88" class="wp-caption aligncenter" style="width: 308px"><a href="http://www.madox.net/blog/wp-content/uploads/2008/12/3dplublisher.png"><img class="size-medium wp-image-88" title="3dpublisher" src="http://www.madox.net/blog/wp-content/uploads/2008/12/3dplublisher-298x300.png" alt="Alibre 3D Publisher Plugin - Is it an STL export in disguise?" width="298" height="300" /></a><p class="wp-caption-text">Alibre 3D Publisher Plugin - Is it an STL export in disguise?</p></div>
<p>Ouch, what are all those triangles if you turn on view hidden geometry in sketchup?  It looks like everything has been triangulated and the svg plugin export picks up all those as individual faces.  One way to &#8216;fix this&#8217; is to manually select these edges and delete them.  Another way is to automate the process somewhat with a &#8216;Ruby script&#8217;.  But both are too messy for my liking.  The plugin isn&#8217;t right for me to use for SVG exporting, but its great for getting a model into sketchup for viewing.</p>
<h2>Back to square one&#8230;the DXF export&#8230;and it works!</h2>
<p>While writing this I thought I&#8217;ll try the DXF export again and realised that Google SketchUp reads the Alibre Xpress DXFs pretty well.</p>
<p>It goes something like this&#8230;</p>
<ol>
<li>Design and Model in Alibre Xpress</li>
<li>Export the &#8216;drawing&#8217; in DXF</li>
<li>Import into Google SketchUp.</li>
<li>Use the Flight of Ideas SVG export plugin</li>
</ol>
<p>Voila, SVG for ponoko&#8230; its messy but hey it works.  Maybe one day I&#8217;ll consider using Inkscape by itself&#8230;</p>
<p>Edit : Be careful on the Google SketchUp import because it defaults to &#8216;feet&#8217; as the units!  If you modeled in &#8216;mm&#8217; then things go horribly big.  Click &#8216;Options&#8217; on the import open dialog before you press OK and select the right units!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madox.net/blog/2008/12/07/parametric-modelling-in-google-sketchup-and-ponoko-friendly-svg-export-for-sketchup/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to open Canon CR2 Raws in Ubuntu</title>
		<link>http://www.madox.net/blog/2008/11/25/how-to-open-canon-cr2-raws-in-ubuntu/</link>
		<comments>http://www.madox.net/blog/2008/11/25/how-to-open-canon-cr2-raws-in-ubuntu/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 13:21:28 +0000</pubDate>
		<dc:creator>Madox</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Software Tips & Tricks]]></category>
		<category><![CDATA[Free Software Tips]]></category>
		<category><![CDATA[GIMP]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.madox.net/blog/?p=45</guid>
		<description><![CDATA[Or more correctly, how to open Canon CR2 Raw Files for editing in Ubuntu using GIMP.  F-Spot the default image viewer in Ubuntu already allows you to open Canon CR2 Raw images for viewing. Gimp should come pre-installed with Ubuntu.  If you don&#8217;t have it installed for any reason (uninstalled?), install it using the command [...]]]></description>
			<content:encoded><![CDATA[<p>Or more correctly, how to open Canon CR2 Raw Files for editing in Ubuntu using <a href="http://www.gimp.org/" target="_blank">GIMP</a>.  F-Spot the default image viewer in Ubuntu already allows you to open Canon CR2 Raw images for viewing.</p>
<p><span id="more-45"></span></p>
<p>Gimp should come pre-installed with Ubuntu.  If you don&#8217;t have it installed for any reason (uninstalled?), install it using the command :</p>
<blockquote><p>sudo apt-get install gimp</p></blockquote>
<p>Next you need <a href="http://ufraw.sourceforge.net/" target="_blank">UFRaw</a> which is a utility to read and manipulate raw images from digital cameras.  Or in our case, it is better to use the GIMP UFRaw plugin.  Get it by using the command :</p>
<blockquote><p>sudo apt-get install gimp-ufraw</p></blockquote>
<p>Now wasn&#8217;t that easy?  Now all you need to do is simply right click on any .CR2 file, Select Open With &gt; Open With &#8220;Gimp Image Editor&#8221; and GIMP UFRaw dialog should appear like below.</p>
<div id="attachment_47" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.madox.net/blog/wp-content/uploads/2008/11/ufraw.png"><img class="size-medium wp-image-47" title="UFRaw Dialog" src="http://www.madox.net/blog/wp-content/uploads/2008/11/ufraw-300x173.png" alt="UFRaw Dialog" width="300" height="173" /></a><p class="wp-caption-text">UFRaw Dialog</p></div>
<p>I had to collapse some of the options to make the dialog appear on my small laptop (800 vertical pixel) screen, so if you can&#8217;t see the &#8220;OK&#8221; button don&#8217;t fret and resize the window.  There are a few options you can tweak with before you need to click &#8220;OK&#8221; as shown below.</p>
<div id="attachment_48" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.madox.net/blog/wp-content/uploads/2008/11/screenshot-media-data-2008-11-22-downeredi-rail-christmas-party-_mg_5724cr2-ufraw-photo-loader.png"><img class="size-medium wp-image-48" title="UFRaw Dialog Options" src="http://www.madox.net/blog/wp-content/uploads/2008/11/screenshot-media-data-2008-11-22-downeredi-rail-christmas-party-_mg_5724cr2-ufraw-photo-loader-300x173.png" alt="UFRaw Dialog Options" width="300" height="173" /></a><p class="wp-caption-text">UFRaw Dialog Options</p></div>
<p>There&#8217;s crop options too&#8230; but wonder why the &#8216;usual&#8217; print aspects aren&#8217;t there <img src='http://www.madox.net/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<div id="attachment_49" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.madox.net/blog/wp-content/uploads/2008/11/screenshot-media-data-2008-11-22-downeredi-rail-christmas-party-_mg_5724cr2-ufraw-photo-loader-1.png"><img class="size-medium wp-image-49" title="More UFRaw Options" src="http://www.madox.net/blog/wp-content/uploads/2008/11/screenshot-media-data-2008-11-22-downeredi-rail-christmas-party-_mg_5724cr2-ufraw-photo-loader-1-300x173.png" alt="More UFRaw Options" width="300" height="173" /></a><p class="wp-caption-text">More UFRaw Options</p></div>
<p>And finally, the CR2 raw image makes its way into GIMP for glorious editing&#8230; I think I&#8217;ll add whiskers and cat&#8217;s ears to her face now&#8230;</p>
<div id="attachment_50" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.madox.net/blog/wp-content/uploads/2008/11/screenshot-_mg_5724cr2-10-rgb-1-layer-3252x2602-e28093-gimp-1.png"><img class="size-medium wp-image-50" title="CR2 image opened in GIMP" src="http://www.madox.net/blog/wp-content/uploads/2008/11/screenshot-_mg_5724cr2-10-rgb-1-layer-3252x2602-e28093-gimp-1-300x151.png" alt="CR2 image opened in GIMP" width="300" height="151" /></a><p class="wp-caption-text">CR2 image opened in GIMP</p></div>
<p>This post is dedicated to <a href="http://www.auandy.com/" target="_blank">Andy Au</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madox.net/blog/2008/11/25/how-to-open-canon-cr2-raws-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>

