tag:blogger.com,1999:blog-65755952593784887142024-03-13T17:30:56.727-07:00CNC Toolkit - Free Utilities for Multi-Axis MachiningThe CNC Toolkit enables creative and effective use of multi-axis computer controlled machinery.
It does this by taking advantage of 3D Studio Max's (and its variants, including GMAX which is free) ability to model the kinematics of complex mechanical systems. The source code is freely available under the GPL licence if you wish to develop your own modules and post-processors.Rabhttp://www.blogger.com/profile/18140887733418621193noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-6575595259378488714.post-89225945300449908682011-12-04T03:31:00.001-08:002011-12-11T02:45:16.329-08:00Accurately Carving Uneven Surfaces<div class="separator" style="clear: both; text-align: center;">
<span class="Apple-style-span" style="font-size: large;"><b>How to carve an uneven surface while preserving an existing surface texture.</b></span></div>
<div style="text-align: center;">
I've just finished a commemorative plaque for a great local malt whisky bar using an old and uneven lid from a whisky cask. Normally I'd just machine flatten the surface and v-carve it, however that would have spoiled the aged look and feel of the wood. The level of height difference here would have meant some letters being cut too deep and others not cut at all using the original v-cut toolpath.</div>
<div style="text-align: center;">
There's a description below of this project and how to match a CNC toolpath to an uneven surface using by digitizing the surface and wrapping the toolpath to it using some free, open-source plugin <a href="http://www.cnc-toolkit.com/maxscript.html" target="_blank">MaxScripts</a> I developed (<a href="http://www.cnc-toolkit.com/" target="_blank">CNC Toolkit</a> and <a href="http://www.cnc-toolkit.com/maxscript.html" target="_blank">Wrapper</a>) for 3DS MAX. <br />The method is equally useful for 4 and 5-axis CNC machining.</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
My script plugins can be downloaded from my Open-Source Google Project page, <a href="http://code.google.com/p/cnctoolkit/" target="_blank">here</a>.</div>
<div style="text-align: center;">
More info on these are on here; <a href="http://www.cnc-toolkit.com/" target="_blank">CNC Toolkit</a>.</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYK5BKDqzHJuqtQJfJ-AyyxcO4-44K3Mt9UWHXVmITgbN2za7cSSuwFw_RIgDv5e3PmoQb9Rvr5g1oMUJ4D2hF1ZrWRNP7-S8upvYwrP2GdknIsL1FjNwIaK-qLbVBRC7eZPUSHf93554/s1600/Whisky-Lid2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYK5BKDqzHJuqtQJfJ-AyyxcO4-44K3Mt9UWHXVmITgbN2za7cSSuwFw_RIgDv5e3PmoQb9Rvr5g1oMUJ4D2hF1ZrWRNP7-S8upvYwrP2GdknIsL1FjNwIaK-qLbVBRC7eZPUSHf93554/s320/Whisky-Lid2.jpg" width="320" /></a></div>
<div style="text-align: center;">
Here's the old cask lid complete with around 1/4" of unevenness to its surface.</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihM6tSC20q5rq4JQdGoI-6y4ruQtX0QD8ozK5ojDxwEdKzAPO-qX06LE8K4Xs0HEqYxBt4fcxyLSJ87rsir9_OiPME3k0OPsyVfuLbJT2MruAmqLhjkb73GxZBShLZ2ZJLUEEjJZm7gQc/s1600/Fiddler-Cask-Lid-2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihM6tSC20q5rq4JQdGoI-6y4ruQtX0QD8ozK5ojDxwEdKzAPO-qX06LE8K4Xs0HEqYxBt4fcxyLSJ87rsir9_OiPME3k0OPsyVfuLbJT2MruAmqLhjkb73GxZBShLZ2ZJLUEEjJZm7gQc/s320/Fiddler-Cask-Lid-2.jpg" width="320" /></a></div>
<div style="text-align: center;">
Here's it finished with a wax polish after carving, with the depth of cut perfectly matched to the surface.</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6pnZrnuCuRnLEen4ltt4XSbISVVVBkTEkBj5JfCcmmzKbIRvzJ_M7zd8RE4Ay_3nvytUcwbOiUYxybDH4lVKiQ0TbvhJLE3r0JrP0F1LHmJr5G13UEY4hWThrAehLejAzavGL0sqKGKg/s1600/Dig1.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="195" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6pnZrnuCuRnLEen4ltt4XSbISVVVBkTEkBj5JfCcmmzKbIRvzJ_M7zd8RE4Ay_3nvytUcwbOiUYxybDH4lVKiQ0TbvhJLE3r0JrP0F1LHmJr5G13UEY4hWThrAehLejAzavGL0sqKGKg/s320/Dig1.gif" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
The design layout was done in 3DS MAX, exported as vectors in .AI format, made into a v-cut toolpath and re-imported via my <a href="http://www.cnc-toolkit.com/" target="_blank">CNC Toolkit</a> back into 3DS MAX.</div>
It now needs to be matched to the uneven surface.<br />
<div style="text-align: center;">
(Currently the toolpath gets imported as a shape so it's necessary to apply the toolpath material in order for it to be recognised as a toolpath. This can be fixed in a later version.)</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2cB7cT1FJoorPLXDZ8sHwIKB28wNDpyHi5bwYrBtiVCW57eEUSFE5G2TnyAqQaTUaRuDUSlNgCrgcSnnMTVmiqvwjPBcfglfLpdch6LEb5XSb_jh2RTvT6MBAHmXxC1J1rFg-NPAxurE/s1600/Dig-Out.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="164" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2cB7cT1FJoorPLXDZ8sHwIKB28wNDpyHi5bwYrBtiVCW57eEUSFE5G2TnyAqQaTUaRuDUSlNgCrgcSnnMTVmiqvwjPBcfglfLpdch6LEb5XSb_jh2RTvT6MBAHmXxC1J1rFg-NPAxurE/s320/Dig-Out.gif" width="320" /></a></div>
<div style="text-align: center;">
A digitisation toolpath the size of the cask lid<span class="Apple-style-span" style="text-align: -webkit-auto;"> </span>is created from a helix shape which is nice and efficient for this shape instead of using a back-and-forth digitization pattern.</div>
<div style="text-align: center;">
Use the CNC Tookit's 'Digitise/Pecking Toolpath' option and choose 'Digitise' under 'Post Processor Options'</div>
<div style="text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPBLZn4u6G8K3SIwg98cRLR_gJXXSapsYa5c6oD-f2m567spp_P1Rz7Lyd15H2mQbPUJmvEt4kK7Fcl1rVF6aA5NSADr96RIoWhEmc7_apCQihauVrDAsFwpx6g1c_wDpsLlenTKbVwto/s1600/Dig5.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPBLZn4u6G8K3SIwg98cRLR_gJXXSapsYa5c6oD-f2m567spp_P1Rz7Lyd15H2mQbPUJmvEt4kK7Fcl1rVF6aA5NSADr96RIoWhEmc7_apCQihauVrDAsFwpx6g1c_wDpsLlenTKbVwto/s320/Dig5.jpg" width="320" /></a></div>
<div style="text-align: center;">
The cask lid is secured to my router and digitized with a cheap touch-probe bought off of ebay.</div>
<div style="text-align: center;">
Mach3 loads and runs the digitising toolpath, saving the XYZ co-ordinates to a CSV file.</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRUzKZPaC50KK7zyH1p_4NSEbaExYxGW5INU_ydwrGQ1gCThkqycPYZFkP2Y9nioRF3bhN2NJOvULB0edaj5DmInRPeHH5HlF0ameSk0QxIBZxk71QvFgyVdXefkq0axSpy0BagL5UNms/s1600/Dig3.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="219" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRUzKZPaC50KK7zyH1p_4NSEbaExYxGW5INU_ydwrGQ1gCThkqycPYZFkP2Y9nioRF3bhN2NJOvULB0edaj5DmInRPeHH5HlF0ameSk0QxIBZxk71QvFgyVdXefkq0axSpy0BagL5UNms/s320/Dig3.gif" width="320" /></a></div>
<div style="text-align: center;">
The digitised co-ordinates are imported using CNC Toolkit's 'Import CSV' function</div>
<div style="text-align: center;">
The points are made solid by using the Terrain tool.</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUgAv2kamxilHnEK-MMTTKEMfv9kmSHJp0HXnvck4VYI41t5M1JilPVdW63xhZqUJlMg1NvTKP4WlUDUKLfB6pdnvxoOmDuJqqbtzRHj3Z1M-dQBIrj4P6vGcXJ8yYbBehyrGiVvlTLj4/s1600/Dig4.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="216" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUgAv2kamxilHnEK-MMTTKEMfv9kmSHJp0HXnvck4VYI41t5M1JilPVdW63xhZqUJlMg1NvTKP4WlUDUKLfB6pdnvxoOmDuJqqbtzRHj3Z1M-dQBIrj4P6vGcXJ8yYbBehyrGiVvlTLj4/s320/Dig4.gif" width="320" /></a></div>
<div style="text-align: center;">
My old '<a href="http://www.cnc-toolkit.com/maxscript.html#wrapper" target="_blank">Wrapper</a>' script is used to wrap the toolpath to the digitized surface.</div>
<div class="" style="clear: both; text-align: center;">
<div style="text-align: center;">
Use 'Curve To Surface'</div>
</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div style="text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_W0Q195rvURtLO1TXABZRRZqdVvFJGy8m-RxotHWRbD9A9BJckEHUh11HKa662gX4iLnUn3ie-n-Mgt-yEdLQlc5PZ6NNAjn-bY40XnLzpb-fbExyeJalbv0ReI5nMPIEkwWNtA4Vieg/s1600/Dig2.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="169" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_W0Q195rvURtLO1TXABZRRZqdVvFJGy8m-RxotHWRbD9A9BJckEHUh11HKa662gX4iLnUn3ie-n-Mgt-yEdLQlc5PZ6NNAjn-bY40XnLzpb-fbExyeJalbv0ReI5nMPIEkwWNtA4Vieg/s320/Dig2.gif" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
The warp of the surface is clearer in this side view.</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgc5iAEQbZUydTW84mTpBoddXnBq7TPVzMI2QHzDAazCTQ_2TguGj9OjKRvRjTuuT5P4zY6ZD3jbRj2qdA5MWrzccdNQilAWF5ZbsOqFbi9Y_AqV4i3D8ebUbCKqQVl4GfDhc-ZcCsqnuY/s1600/Cask-Lid-Cutting.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgc5iAEQbZUydTW84mTpBoddXnBq7TPVzMI2QHzDAazCTQ_2TguGj9OjKRvRjTuuT5P4zY6ZD3jbRj2qdA5MWrzccdNQilAWF5ZbsOqFbi9Y_AqV4i3D8ebUbCKqQVl4GfDhc-ZcCsqnuY/s320/Cask-Lid-Cutting.jpg" width="320" /></a></div>
<div style="text-align: center;">
The height adjusted toolpath is exported as G-Code and machined on a CNC router I designed and built.</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_JbftgTwoIxfe9DNiKLrpG4QQz30hbdOHJ1mIHKOJ3Vf70MmqYk4fuzEdMY7amFa_rHPRYURzVDWkf5HG9MdY0njktz0dPy_BUSd_YNuC2XuuGBifq7uaFfGGFAV2Vg3kcuXWpxDsOOI/s1600/Fiddler-Cask-Lid-Presentation.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_JbftgTwoIxfe9DNiKLrpG4QQz30hbdOHJ1mIHKOJ3Vf70MmqYk4fuzEdMY7amFa_rHPRYURzVDWkf5HG9MdY0njktz0dPy_BUSd_YNuC2XuuGBifq7uaFfGGFAV2Vg3kcuXWpxDsOOI/s320/Fiddler-Cask-Lid-Presentation.jpg" width="320" /></a></div>
<div style="text-align: center;">
The presentation at The Fiddler's 20th Anniversay Ceilidh.</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div style="text-align: center;">
<br /></div>Rabhttp://www.blogger.com/profile/18140887733418621193noreply@blogger.com7tag:blogger.com,1999:blog-6575595259378488714.post-12095224162684307982011-06-07T06:53:00.000-07:002011-06-07T07:01:15.699-07:00Fuse n' Weld MaxScript updatedBeen working on some vector artwork which needs some cleaning up so I've updated my old MaxScript called 'Fuse n' Weld' which I wrote way back for Max version 3 but didn't work with current versions. <br />
Still a useful script so hosting it at <a href="http://code.google.com/p/cnctoolkit/">Google Code for CNC Toolki</a>t.<br />
<div><i>Takes all vertices in a shape, compares them to their closest neighbor and moves them to an average position if within the threshold. "Fuse" moves only, "Weld" moves and welds.<br />
If many vertices are within the threshold, it only operates on the closest so it may be necessary to run the script a couple of times. If multiple shapes are selected then all shapes are combined.<br />
Detach All Splines; dissolves a shape or shapes into it's component spline</i>s.<br />
<div style="-webkit-border-horizontal-spacing: 5px; -webkit-border-vertical-spacing: 5px;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="http://www.cnc-toolkit.com/ms_fnw.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://www.cnc-toolkit.com/ms_fnw.gif" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="http://www.cnc-toolkit.com/ms_fnw.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"></a></div><div style="text-align: left;">My other old MaxScripts are on my website at; <a href="http://www.cnc-toolkit.com/maxscript.html">http://www.cnc-toolkit.com/maxscript.html</a></div></div>Rabhttp://www.blogger.com/profile/18140887733418621193noreply@blogger.com2tag:blogger.com,1999:blog-6575595259378488714.post-23512865728846920832011-05-20T06:24:00.000-07:002011-05-20T06:24:56.490-07:00Autodesk 123D just released !I've just downloaded Autodesk 123D - a free program for 3D design, looks pretty good, I'll try to test it properly over the weekend....<br />
<a href="http://www.123dapp.com/">http://www.123dapp.com</a>Rabhttp://www.blogger.com/profile/18140887733418621193noreply@blogger.com4tag:blogger.com,1999:blog-6575595259378488714.post-41177815900690328452011-05-12T03:29:00.000-07:002011-05-13T13:23:53.764-07:00CNC-Toolkit videos on YouTubeJust added a link to videos of the CNC-Toolkit in action on YouTube;<br />
<a href="http://www.youtube.com/user/cnctoolkit">http://www.youtube.com/user/cnctoolkit</a>Rabhttp://www.blogger.com/profile/18140887733418621193noreply@blogger.com1tag:blogger.com,1999:blog-6575595259378488714.post-74961342258454392602011-05-11T03:55:00.000-07:002011-05-11T03:55:30.978-07:00CNC Toolkit now on Google CodeThat's the CNC Toolkit source code now being hosted on Google Code so we have Mercurial version control;<br />
<a href="http://code.google.com/p/cnctoolkit/">http://code.google.com/p/cnctoolkit/</a>Rabhttp://www.blogger.com/profile/18140887733418621193noreply@blogger.com1tag:blogger.com,1999:blog-6575595259378488714.post-3236337755997452212011-05-10T05:31:00.000-07:002011-05-10T05:31:50.164-07:00Welcome to the blog.....Hi and welcome to the new blog for the CNC Toolkit and related stuff,<br />
hope you enjoy !<br />
RabRabhttp://www.blogger.com/profile/18140887733418621193noreply@blogger.com5