Good morning everyone, we have been using netfabb with our machine for some time, we have established a toolpath strategy through the Diagram.
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.
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?)
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.
Could anyone give me some more information, where to check?
Thanks in advance! 😄
I attach some example photos
DIAGRAM_CLI
EBPA_CLI
Solved! Go to Solution.
Solved by robert.weitzel. Go to Solution.
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.
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.
So in main.js in the function exportToFile it would look like this:
var cli_exporter = new CLI.cliExport(0.001, CLI.options.ascii | CLI.options.buildPart | CLI.options.exposure);
cli_exporter.mOutputPrecision = 0;
cli_exporter.exportCli(exportFile, modelData, progress);
Can't find what you're looking for? Ask the community or share your knowledge.