I would like to share with you a project I've been working on for some time now.
Its objectives can be separated in two parts:
- API to ceate python-generated designs. Parametric on its sizes, finishes and materials
- Way to manage these generators and get CNC/laser jobs
Code: Select all
<ToupJob id="Box_Job">
<ToupElement id="Box" name="regular_box">
<Values length="500.0" height="500.0" width="500.0" numJoints="2" invisible="0.0"/>
<Materials board1="86851000"/>
</ToupElement>
</ToupJob>
Code: Select all
<ToupFactory id="toupmdc">
<ToupBits>
<ToupBit id="EndMill6mm" toolType="endMill">
<Values diameter="6.0" totalLength="60.0" cuttingLength="30.0" rotation="negative" lips="1"/>
</ToupBit>
</ToupBits>
<ToupMaterials>
<ToupMaterial id="86851000" price="98.15EUR" type="board">
<Info description="TAULER ENLLISTONAT PI INSIGNIS A/B 2400X1200X22"/>
<Values height="1200.0" length="2400.0" width="22.0"/>
<Cut bit="EndMill6mm">
<CuttingParameters passDepth="9.0" stepOver="2.0"/>
<FeedsAndSpeeds spindleSpeed="22000.0" feedRate="60.0"/>
</Cut>
</ToupMaterial>
</ToupMaterials>
<ToupElements>
<ToupElement id="Box" path="furniture/box.py"/>
</ToupElements>
</ToupFactory>
Or edit the Job to get a different finish and increase the quantity of boxes:
It also can be executed from the command line and has been tested on linux, mac and windows.
This is just a quick introduction and there are some other features that I can further explain. But I wanted to see if can be interesting to someone or read your comments