Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XML input #2

Open
GoogleCodeExporter opened this issue May 17, 2015 · 0 comments
Open

XML input #2

GoogleCodeExporter opened this issue May 17, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

remove Python from Voxelcut.

add a file parameter on the command line, so that VoxelCut is started like this
VoxelCut.exe -f "c:\some folder\a file.xml"

Where the XML file has this format:

<?xml version="1.0" ?>
<VoxelCut_Document>
   <nccode>
       <ncblock>
           <text col="block">N0010</text>
           <text col="prep">G0</text>
           <text col="axis">X10</text>
           <text>F100</text>
           <lines col="rapid">
               <p x="0.000000" y="0.000000" z="0.000000" />
               <p x="10.000000" y="0.000000" z="0.000000" />
           </lines>
       </ncblock>
       <ncblock>
           <text col="block">N0020</text>
           <text col="prep">G1</text>
           <text col="axis">X20</text>
           <text col="axis">Y10</text>
           <lines col="feed">
               <p x="10.000000" y="0.000000" z="0.000000" />
               <p x="20.000000" y="10.000000" z="0.000000" />
           </lines>
       </ncblock>
       <ncblock>
           <text>( watch out for &quot;quotes&quot; )</text>
       </ncblock>
       <ncblock>
           <text col="block">N0030</text>
           <text col="axis">X20</text>
           <text col="axis">Y0</text>
           <lines col="feed">
               <p x="20.000000" y="10.000000" z="0.000000" />
               <p x="20.000000" y="0.000000" z="0.000000" />
           </lines>
       </ncblock>
   </nccode>
</VoxelCut_Document>

Original issue reported on code.google.com by [email protected] on 14 Jan 2009 at 9:04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant