Command Line?

Help for setting up and using
Post Reply
AlbertHall
Posts: 4
Joined: Mon Jan 23, 2017 8:32 pm

Command Line?

Post by AlbertHall »

Can AutoLeveller or AutolevellerAE be used with a command line in windows?
I am writing a preprocessor and it would be convenient if I could add the auto-levelling operation as part of that.
daedelus
Site Admin
Posts: 388
Joined: Tue Oct 01, 2013 1:41 pm
Location: London, UK
Contact:

Re: Command Line?

Post by daedelus »

Unfortunately, I would have to say that the command line is not an option now or in the near future. There are too many options involved to pass in via command line. Sorry.
http://www.autoleveller.co.uk/. Software to probe and adjust a GCode file for PCB's or any probe-able surface.

http://www.autoleveller.co.uk/cnc-probe-guide/. A short guide to setting up the probe.

-James
AlbertHall
Posts: 4
Joined: Mon Jan 23, 2017 8:32 pm

Re: Command Line?

Post by AlbertHall »

OK, thanks, I'll have to do it the hard way.
AlbertHall
Posts: 4
Joined: Mon Jan 23, 2017 8:32 pm

Re: Command Line?

Post by AlbertHall »

It's even harder than I thought. AE will let me paste into the RPF box, but not into the OGF box. It gets a blue outline when I click in it but no cursor appears and it ignores typing or paste. I can only browse to a file. Is this intended behaviour?
daedelus
Site Admin
Posts: 388
Joined: Tue Oct 01, 2013 1:41 pm
Location: London, UK
Contact:

Re: Command Line?

Post by daedelus »

Yes, this is intended.

It is designed this way so that you do not mistype a path into the OGF box and so force you to use the browse button and avoid typos. I thought the same was true of the RPF box, but apparently not.

Anyway, if you need to make the OGF box editable, open the jar file in 7-zip and edit the file: /ALGUI/BasicsTab.fxml

change the bolded line

<Label text="Original GCode File (OGF):" GridPane.halignment="RIGHT" GridPane.rowIndex="2" />
<TextField fx:id="ogfTxt" editable="false" GridPane.columnIndex="1" GridPane.rowIndex="2" />
<HBox alignment="CENTER_LEFT" spacing="5.0" GridPane.columnIndex="2" GridPane.rowIndex="2">
<children>
<Button mnemonicParsing="false" onAction="#findOGF" text="Browse" GridPane.columnIndex="2" GridPane.rowIndex="2" />
<Button mnemonicParsing="false" onAction="#clearOGF" text="Clear" GridPane.columnIndex="2" GridPane.rowIndex="2" />
</children>

to:
<TextField fx:id="ogfTxt" GridPane.columnIndex="1" GridPane.rowIndex="2" />

save the file and archive and re-run the jar file. You should now be able to paste into the box.

Hope this helps.
http://www.autoleveller.co.uk/. Software to probe and adjust a GCode file for PCB's or any probe-able surface.

http://www.autoleveller.co.uk/cnc-probe-guide/. A short guide to setting up the probe.

-James
AlbertHall
Posts: 4
Joined: Mon Jan 23, 2017 8:32 pm

Re: Command Line?

Post by AlbertHall »

Thanks, that worked a treat :D
I took me a while and multiple attempts to try to remake a working jar file. Finally, I read it was like a zip file with a different extension. So I made a zip and changed the extension - all working now, ta.
Post Reply