Command line parameter|Forum|WOOD DESIGNER

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Feed sp_TopicIcon
Command line parameter
Avatar
Isaac

Moderator
Forum Posts: 1521
Member Since:
March 25, 2024
sp_UserOfflineSmall Offline
7
June 11, 2026 - 12:34 pm
sp_Permalink sp_Print

Hi Nadeem,

Please consider the scenario that I choose to open Optinest via Polyboard, right at this stage we now close Optinest.
How do I reopen Optinest exactly at this stage with all the panels sorted out as per different materials used and their properties are in place. (without going back to Polyboard)

In my mind, your only option here is to make sure that you select File>Save in OptiNest to save this data. The only other way to properly re-open this is to export again through PolyBoard. That is why I would recommend OptiNest 3, as this is no longer the limitation with greater importation options and an automatic .nst file saved when you export from PolyBoard.

Finally, how will Optinest 3 help me out here, that will be better than version 2 that we use today?

OptiNest 3 has further improvements such as:

  • .nst native file format for OptiNest from PolyBoard
  • Multi-material nesting
  • CSV/DXF component import (for manually changing dxf’s after PolyBoard export)
  • Improved labelling options and capabilities
  • G-Code export (for appropriate machines, with a custom made PP)
  • Material library sharing with PolyBoard

Best regards, Isaac

Avatar
Nadeem Lotia
Member

Full
Forum Posts: 56
Member Since:
May 21, 2021
sp_UserOfflineSmall Offline
6
June 11, 2026 - 10:49 am
sp_Permalink sp_Print

Hello Issac,

Thank you for a detailed answer;

I am considering your advice to upgrade to Optinest 3, however some queries are in my mind that I request you to further elaborate.

 

Please consider the scenario that I choose to open Optinest via Polyboard, right at this stage we now close Optinest.
How do I reopen Optinest exactly at this stage with all the panels sorted out as per different materials used and their properties are in place. (without going back to Polyboard)

(“metadata” you are re-entering by hand is normally pulled straight from the DXFs, provided those import options are configured to match PolyBoard’s layer names.)

Here I am assuming that the import options are matched in Optinest import settings, as just seconds ago I saw perfect import of the panels with its data

Finally, how will Optinest 3 help me out here, that will be better than version 2 that we use today?

Avatar
Isaac

Moderator
Forum Posts: 1521
Member Since:
March 25, 2024
sp_UserOfflineSmall Offline
5
June 10, 2026 - 2:36 pm
sp_Permalink sp_Print

Hello Nadeem,

Thanks for the detail, that helps a lot. Let me answer the command-line question directly and also point you to the route that will save you the most trouble.

First, an important clarification on where the data lives. When PolyBoard exports through an OptiNest post-processor, the material, edge treatment, grain, toolings and label/reference fields are all carried inside the layered DXF files and through to OptiNest. OptiNest reads that information according to its DXF import settings under Tools > Options > DXF parts import. So the “metadata” you are re-entering by hand is normally pulled straight from the DXFs, provided those import options are configured to match PolyBoard’s layer names.

The command line itself. I am no expert on working with command lines, although this is my understanding on the matter. You would need to test this alongside your set-up. OptiNest 2 doesn’t take a report file as a direct argument (so passing pp_report.txt on its own won’t drive the import, that file is a human-readable report). It uses the documented switches. To reload your existing PolyBoard DXFs, per material folder, the form is:

OptiNest.exe /Piece:”ImportDxf=C:\PolyBoard\<Job>\<MaterialFolder>\*.dxf” /Piece:Mobility=180,0

Notes on that line:
– Use the full path to your actual OptiNest executable.
– The quotes around “ImportDxf=…” and the | separator for multiple files are required; the * wildcard works, so pointing at one material sub-folder pulls every part in it.
– Importing one material folder at a time keeps the parts sorted by material, matching PolyBoard’s folder structure.
– /Piece:Mobility=<rotation>,<reversal>: rotation 0 = none, 90, 180, or any other value = all rotations; reversal 0 = not allowed, any other value = the part may be reversed during nesting. Add /Stock=”Material Name” /c to define/create the stock, /Optimize to nest, and /Result:ExportDxf=<folder> to write the nested DXFs.

My recommendation:

My honest recommendation is to update to OptiNest 3. OptiNest 3 will allow you to improve this process through one of the following two methods:

1. Save you OptiNest files from the PolyBoard PP as a single .nst file. This is a native OptiNest file that will contain all of your DXF components and their data, making this easier to manage rather then needing to import all pieces and data seperately.

2. If you need to continue using separate DXF components, OptiNest 3 also has the ability to import both DXF’s and a CSV at the same time. This means that each of your DXF’s will be imported, and additional data will be reference from your PolyBoard PP report.

All of this is explained in further detail through the following link:

OptiNest 3 information

Regards, Isaac

Avatar
Nadeem Lotia
Member

Full
Forum Posts: 56
Member Since:
May 21, 2021
sp_UserOfflineSmall Offline
4
June 10, 2026 - 1:00 pm
sp_Permalink sp_Print

Hello Isaac,

thank you for the added information, Let me explain what is my exact challange, I get polyboard to output to optinest( which works fine) we get optinest window in which we can finally export dxf files for further processing. All is fine till this point.
If I close optinest without saving the project, and want to open the same files again into optinest, I need to set the metadata of each dxf file seperately, I need a command line from you (example Optinest.exe C:\polyboard\pp_report.txt) so that we see the same dxf panels sorted according to material name and edge treatments, along with label info into optinest.

Please explain to me what will be the exact command and its parameters, I will be using polyboard producted dxf files and and the metadata .txt files by polyboard and its directory structure, with modifications for some panels which need to be flipped.

regards,
Nadeem  

Avatar
Isaac

Moderator
Forum Posts: 1521
Member Since:
March 25, 2024
sp_UserOfflineSmall Offline
3
June 10, 2026 - 11:48 am
sp_Permalink sp_Print

Nadeem, 

I have sent you an email with additional information. If you have any further questions, please ask them via this forum thread.

Regards, Isaac

Avatar
Isaac

Moderator
Forum Posts: 1521
Member Since:
March 25, 2024
sp_UserOfflineSmall Offline
2
June 10, 2026 - 11:39 am
sp_Permalink sp_Print

Hello Nadeem,

I am looking into this now, and will respond to you soon.

Any documentation you could provide to help explain the automation you are creating would be helpful.

Regards, Isaac

Avatar
Nadeem Lotia
Member

Full
Forum Posts: 56
Member Since:
May 21, 2021
sp_UserOfflineSmall Offline
1
June 10, 2026 - 6:55 am
sp_Permalink sp_Print

Hello,
I am trying to open Optinest after making changes in some panel geometry, using c#. The change is to flip some panels to get the correct face orientation. I am stuck opening optinest with command line parametrs to automatically upload all the different files in the project with its metadata, if I manually open each panel, it defeats the automation process. Kindly help me with correct command line parameters to open the project same as we open it straight from polyboard, My Optinest version is 2.32i and polyboard version is 8.10e

Best Regards,
Nadeem 

Forum Timezone: Europe/London
Most Users Ever Online: 1258
Currently Online:
Guest(s) 32
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Ness: 1939
brendan kavanagh: 229
Emmanuel Sacco: 198
Zaheer Abbas: 178
Conor Devoy: 171
mark nichols: 169
Tom Cleaver: 166
Tom Jackson: 136
Duayne Naugle: 130
Patrick Maylor: 120
Newest Members:
Barry Carter
ANDI MÖÖBEL OÜ
irmantas Dargevicius
izack nuriel
keithhofer
PowellCNC
amirsp
Manuel alejandro Uribe guzman
Ramin Ciorbea
Aleksandar Dukic
Forum Stats:
Groups: 2
Forums: 7
Topics: 2936
Posts: 15691

 

Member Stats:
Guest Posters: 4
Members: 556
Moderators: 0
Admins: 11
Administrators: Stefan, Michel, Carole, Alex, Guest, Laly, Ian, Crystal, Fatima, Darren, Isaac