<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Real and Integer in CLI file in Netfabb Forum</title>
    <link>https://forums.autodesk.com/t5/netfabb-forum/real-and-integer-in-cli-file/m-p/12757927#M219</link>
    <description>&lt;P&gt;If you created a new ATU project from the CLI export project template, then you will have a export_cli.js containing the cli exporter class.&lt;/P&gt;
&lt;P&gt;In order to get an integer based export you just have to make sure that mUnit is set to 0.001 and mOutputPrecision is set to 0.&lt;/P&gt;
&lt;P&gt;So in main.js in the function exportToFile it would look like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;EM&gt;var cli_exporter = new CLI.cliExport(0.001, CLI.options.ascii | CLI.options.buildPart | CLI.options.exposure);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;cli_exporter.mOutputPrecision = 0;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;cli_exporter.exportCli(exportFile, modelData, progress);&lt;/EM&gt; &lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 May 2024 13:28:05 GMT</pubDate>
    <dc:creator>robert.weitzel</dc:creator>
    <dc:date>2024-05-07T13:28:05Z</dc:date>
    <item>
      <title>Real and Integer in CLI file</title>
      <link>https://forums.autodesk.com/t5/netfabb-forum/real-and-integer-in-cli-file/m-p/12754817#M218</link>
      <description>&lt;P&gt;Good morning everyone, we have been using netfabb with our machine for some time, we have established a toolpath strategy through the Diagram.&lt;/P&gt;&lt;P&gt;Now that we are trying to move to an EBPA, I noticed that the CLI file exported from the EBPA script reports the values ​​(hatches) in Real numbers, while our Diagram exports in integers.&lt;/P&gt;&lt;P&gt;I would need to export the parameters in integers, I think this should be done in Main, in DecleareParameters (maybe also in the export_cli.js, right?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Furthermore, I noticed that in the Diagram the layers are exported as Integers, while I see them as real, and also that the dimensions of the object to be printed are on a different scale.&lt;/P&gt;&lt;P&gt;Could anyone give me some more information, where to check?&lt;BR /&gt;Thanks in advance! &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I attach some example photos&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DIAGRAM_CLI" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1358584iCD97CF25C6EFA005/image-size/large?v=v2&amp;amp;px=999" role="button" title="cli_diagram.png" alt="DIAGRAM_CLI" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;DIAGRAM_CLI&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EBPA_CLI" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1358585i24C3177D5B78F1F2/image-size/large?v=v2&amp;amp;px=999" role="button" title="cli_ebpa.png" alt="EBPA_CLI" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;EBPA_CLI&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2024 08:10:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/netfabb-forum/real-and-integer-in-cli-file/m-p/12754817#M218</guid>
      <dc:creator>min1ck</dc:creator>
      <dc:date>2024-05-06T08:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Real and Integer in CLI file</title>
      <link>https://forums.autodesk.com/t5/netfabb-forum/real-and-integer-in-cli-file/m-p/12757927#M219</link>
      <description>&lt;P&gt;If you created a new ATU project from the CLI export project template, then you will have a export_cli.js containing the cli exporter class.&lt;/P&gt;
&lt;P&gt;In order to get an integer based export you just have to make sure that mUnit is set to 0.001 and mOutputPrecision is set to 0.&lt;/P&gt;
&lt;P&gt;So in main.js in the function exportToFile it would look like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;EM&gt;var cli_exporter = new CLI.cliExport(0.001, CLI.options.ascii | CLI.options.buildPart | CLI.options.exposure);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;cli_exporter.mOutputPrecision = 0;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;cli_exporter.exportCli(exportFile, modelData, progress);&lt;/EM&gt; &lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2024 13:28:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/netfabb-forum/real-and-integer-in-cli-file/m-p/12757927#M219</guid>
      <dc:creator>robert.weitzel</dc:creator>
      <dc:date>2024-05-07T13:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: Real and Integer in CLI file</title>
      <link>https://forums.autodesk.com/t5/netfabb-forum/real-and-integer-in-cli-file/m-p/12760106#M220</link>
      <description>&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 11:00:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/netfabb-forum/real-and-integer-in-cli-file/m-p/12760106#M220</guid>
      <dc:creator>min1ck</dc:creator>
      <dc:date>2024-05-08T11:00:17Z</dc:date>
    </item>
  </channel>
</rss>

