WebOpt - kuehn-software.de · Table of Contents 9 WebOpt start view.....14
Transcript of WebOpt - kuehn-software.de · Table of Contents 9 WebOpt start view.....14
WebOptVersion 2.417
Dr.-Ing. Thomas Kühn© 1999-2019 www.kuehn-solutions.de
Table of Contents1 Introduction.................................................................................................................................................1
1.1 Cutting............................................................................................................................................11.2 Palletizing.......................................................................................................................................11.3 Import.............................................................................................................................................11.4 Export.............................................................................................................................................11.5 Key benefits....................................................................................................................................11.6 Customisation.................................................................................................................................21.7 Contact...........................................................................................................................................2
2 Installation...................................................................................................................................................32.1 Windows single user......................................................................................................................32.2 Windows network...........................................................................................................................32.3 Android...........................................................................................................................................32.4 Linux / Unix.....................................................................................................................................32.5 Mac OS X.......................................................................................................................................3
2.5.1 single user.............................................................................................................................32.5.2 Run WebOpt as start object..................................................................................................42.5.3 Server installation..................................................................................................................4
2.5.3.1 File com.kuehn.webopt.plist.........................................................................................42.5.3.2 Example file com.kuehn.webopt.plist with IP address and port....................................52.5.3.3 Sample file com.kuehn.webopt.plist with IP address and port and start as user..........5
2.5.4 WebOpt client start script (startwebopt)................................................................................6
3 Definitions....................................................................................................................................................73.1 Palletizing.......................................................................................................................................73.2 Cutting............................................................................................................................................7
4 Common keys..............................................................................................................................................84.1 Internet Explorer | Opera | Google chrome | Chromium.................................................................84.2 Firefox............................................................................................................................................8
5 Login............................................................................................................................................................9
6 User management.....................................................................................................................................106.1 User form fields............................................................................................................................11
7 Label...........................................................................................................................................................127.1 Label fields...................................................................................................................................12
8 Import.........................................................................................................................................................138.1 Import buttons..............................................................................................................................13
WebOpt
i
Table of Contents9 WebOpt start view.....................................................................................................................................14
9.1 Copy a project..............................................................................................................................149.2 Delete a project............................................................................................................................14
10 Optimization type....................................................................................................................................1510.1 Cutting........................................................................................................................................1510.2 Palletizing...................................................................................................................................16
11 Create and edit a project........................................................................................................................1811.1 Common project fields................................................................................................................1811.2 Palletizing project fields..............................................................................................................1811.3 Cutting project fields...................................................................................................................1911.4 Margins.......................................................................................................................................20
12 Pallets.......................................................................................................................................................2112.1 Pallet input fields........................................................................................................................21
13 Panels.......................................................................................................................................................2213.1 Panels input fields......................................................................................................................22
14 Parts.........................................................................................................................................................2314.1 Palletizing part input fields..........................................................................................................2314.2 Cutting part input fields...............................................................................................................23
15 Summary..................................................................................................................................................25
16 Optimization started...............................................................................................................................26
17 WebOpt | Logout | End...........................................................................................................................29
18 WebOpt Historie......................................................................................................................................30
WebOpt
ii
1 Introduction
WebOpt is an optimization software for nearly any operation system. It can be run from command line(shell) or with web interface. Therefor a browser is required. The solutions are created as PDF files and canbe viewed with Acrobat Reader. At the moment the following optimization types are supported:
1.1 Cutting
Bars [1D].• Panels [2D].• Circle (one diameter).• PCB panel (one layout).•
1.2 Palletizing
Unmixed packages (exact). May need more time due to the given problem.• Unmixed packages (fast, a few seconds).• Mixed packages in one layer (same height).• Circle / cylinder (one diameter).•
1.3 Import
XML files.• TXT files.• XLS Excel © 95 or 97 file format.•
1.4 Export
PDF. Full report including panel or pallet scheme. One pdf file.• HTML. Full report including panel or pallet scheme. One html file with PNG image files.• XML. Solution data. One XML file.•
1.5 Key benefits
WebOpt runs in your intranet. Almost no administration needed. Only one software in your network.• WebOpt is cross platform and be accessed from any browser, e.g on a PC, Mac, tablet, ipad orsmartphone.
•
The solution is shown as PDF file and can viewed with Acrobat Reader (or similar software).• WebOpt does NOT depend on a software framework (like MFC/.NET/JAVA). That means oursoftware is very long term avaliable on any future OS.
•
Multicore support. The optimization runs in the background. New data can edited at any time.•
1 Introduction 1
WebOpt can be accessed remotely via GSM/GPRS.• Labels are generated.•
1.6 Customisation
WebOpt can be customized to your needs.
Connection to your ERP / host system.• Connection to your maschine, robot, plc or CNC.• Embed or integrate into your software system.• Support for any OS or CPU, e.g. embedded OS like Windows CE, Linux, vxworks, ECOS or QNX.•
1.7 Contact
Dr.-Ing. Thomas KühnKUEHN SOLUTIONS
Hauptstr.2
31552 RodenbergGermany
Phone: ++49 (0) 511 87459916
Email:Internet:
WebOpt
1.5 Key benefits 2
2 Installation
2.1 Windows single user
Start "WebOptSetup.exe" and follow the instructions. Simply click next.
2.2 Windows network
Start "WebOptSetup.exe" and follow the instructions. Simply click next.• The servers default network interface is (0.0.0.0). The default port is 8093. If you are using a firewall,please enable the TCP port 8093 for WebOpt. Then start a browser and typehttp:⁄⁄your-pc-network-name:8093/webopt . Your network name is show in the system control or typehostname in the commandline to get the name. Now the browser shows the first WebOpt page. Thispage can be viewed from any other PC in the network
•
[Optional] Change the port and IP address, e. g. 192.168.178.77 and TCP-Port 80.• [Optional] Start WebOpt from commandline: webopt 192.168.178.77 80. Enable port 80 in yourfirewall.
•
[Optional] Start the browser and type http:⁄⁄192.168.178.77/webopt . For ports other than 80:http:⁄⁄92.168.178.77:/webopt.
•
You need admin rightsto install the server version.
2.3 Android
Install WebOpt directly from google play or install KuehnOpt.apk file by click/touch. If you install the apk file,you must allow other sources than the google play store (security setting).
2.4 Linux / Unix
Untar WebOpt
$ tar -xfp WebOpt.tar.bz2
2.5 Mac OS X
2.5.1 single user
Double click on the webopt-mac-x86.app.zip .
2 Installation 3
Then move the file webopt-mac-x86.app by drag and drop into your programs folder. Now start WebOptwith double click.
2.5.2 Run WebOpt as start object
WebOpt starts automatically after login. Add WebOpt under 'Systemsettings:User' start objects by pressing('+' Button).
2.5.3 Server installation
Install WebOpt as service. WebOpt starts automatically after power on. There no special MAC OS X Serverrequired, a 'normal' MAC (even Mini MAC) is sufficient . The following files are required:
webopt-mac-x86.app.zip• com.kuehn.webopt.plist• startwebopt.gz•
Order of installation
Copy webopt-mac-x86.app in your programs folder (see single user version).1. Copy com.kuehn.webopt.plist into'Macintosh HD:Library:LauchDaemons' folder. Your password will be required.
2.
Reboot the MAC.3. Doubleclick on file startwebopt.gz to decompress. Then start the file startwebopt with doubleclick.Now the WebOpt login is displayed in the browser. Save URL to access the other PCs or Macs inyour network. Example http:⁄⁄macintosh:8093/webopt
4.
[Alternative] Open the Safari Browser after reboot and type http:⁄⁄127.0.0.1:8093/webopt . Any otherPC or Mac accesses WebOpt with http:⁄⁄YourMacServerName:8093/webopt .
5.
2.5.3.1 File com.kuehn.webopt.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.kuehn.webopt</string>
<key>OnDemand</key>
<false/>
<key>ProgramArguments</key>
<array>
<string>/Applications/webopt-mac-x86.app/Contents/MacOS/webopt-mac-x86</string>
<string>-service</string>
<string>-home</string>
<string>/var</string>
WebOpt
2.5.1 single user 4
</array>
</dict>
</plist>
2.5.3.2 Example file com.kuehn.webopt.plist with IP address and port
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.kuehn.webopt</string>
<key>OnDemand</key>
<false/>
<key>ProgramArguments</key>
<array>
<string>/Applications/webopt-mac-x86.app/Contents/MacOS/webopt-mac-x86</string>
<string>-service</string>
<string>-home</string>
<string>/var</string>
<string>192.168.0.99</string>
<string>8099</string>
</array>
</dict>
</plist>
If you change the port number, please edit startwebopt script, too. The WebOpt Server is nowavailable on http:⁄⁄YourIP:YourPort/webopt. Example http:⁄⁄192.168.0.99:8099/webopt .
2.5.3.3 Sample file com.kuehn.webopt.plist with IP address and port and start as user
Any data is now visible in the user folder.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.kuehn.webopt</string>
<key>OnDemand</key>
<false/>
<key>ProgramArguments</key>
<array>
<string>/Applications/webopt-mac-x86.app/Contents/MacOS/webopt-mac-x86</string>
<string>-service</string>
<string>192.168.0.99</string>
<string>8099</string>
</array>
<key>UserName</key>
<string>IhrUserName</string>
WebOpt
2.5.3.1 File com.kuehn.webopt.plist 5
</dict>
</plist>
2.5.4 WebOpt client start script (startwebopt)
#!/bin/sh
open http://$HOSTNAME:8093/webopt
Make the start script executable:
$ chmod ugo+x startwebopt
WebOpt
2.5.3.3 Sample file com.kuehn.webopt.plist with IP address and port and start as user 6
3 Definitions
3.1 Palletizing
Project Order including input pallets and parts
pallets The pallets
parts Boxes / parts to be palletized
Layout Layout view (2D)
3D-View Pallet view in 3D
3.2 Cutting
Project Order including input panels and parts
panels The panels to be cut into parts, rest and offcut
parts parts to be cut from panels
Layout Layout view (2D)
3 Definitions 7
4 Common keys
WebOpt can be used via keyboard, too. Please use the TAB key to get to the next input field. The RETURNkey usually ends the current form and switches to next form (>>>).
You must activate JAVASCRIPT in your browser !
4.1 Internet Explorer | Opera | Google chrome | Chromium
Alt + n Next page/form (>>>)
Alt + p Previous page/form (<<<)
ENTER Next page/form (>>>)
4.2 Firefox
Shift + ALT + n Next page/form (>>>)
Shift + ALT + p Previous page/form (<<<)
ENTER Next page/form (>>>)
4 Common keys 8
5 Login
This login form is only displayed in the network version.
User Passwort Comment
demo demo Demo user, no password required.
default default Standard default user.
admin admin Admin password after installation.
After installation, please login as adminwith password admin and change it.
Login
5 Login 9
6 User management
Create, edit or delete user. After installation there are two users added. Administator (admin) and a defaultuser. The administator can not be deleted. The default user can be edited or copied.
The user management is only included in the network version.
Admin and default user after installation.
To add a user, click the copy symbol (+). The current selected user is now copied. Now change the copieduser name and password.
Add a user
At the end, press the save/next (>>>) button.
Total saved user list
6 User management 10
6.1 User form fields
Name The user name. The name is also used as directory name.
Passwort The case sensitive password.
Count [Option] Limit the user optimization to count.
Information [Option] Any additional infos.
unlimited [Option] The user is allowed to run unlimited number of optimizations.
Email [Option] User email. The optimization results can be sent to the user email automatically.This requires additional software, please contact us for this feature.
WebOpt
6.1 User form fields 11
7 Label
Define and edit label in this form.
Label dimensions
The label can be selected in project form for a given project.Please give the label a useful and unique name. Label units are mm !
7.1 Label fields
Name Label type name, e. g. Avery3490 or printer name like Brother QL700.
Margin in X [MXL] [Option] Page margin in X direction. Default is 0.
Rand in Y [MYL] [Option] Page margin in Y direction. Default is 0.
Length [XL] Label length, e. g. 90 (=90 mm). Unit is mm.
Breite [YL] Label width, e. g. 29 (=29 mm). Unit is mm.
Count X Number of labels in X. The value must be greater equal 1.
Count Y Number of labels in Y. The value must be greater equal 1.
Paper size X [PXL] Paper length in X. Unit is mm. Example A4: 210 (=210mm).
Paper size Y [PYL] Paper width in Y. Unit is mm. Example A4: 290 (=290mm).
7 Label 12
8 Import
Basicially there are two input formats supported: ASCII (TAB seperator) and Excel (Excel 95/97) format.See our import format documentation for details (key words etc.). There are also two xls import templates(1D-Import.xls and 2D-Import.xls) for bar and panel optimization. Please click on these links, download thefiles and edit the files. Finally rename the files and import them.
Import form
Excel files must have the .xls extensionOtherwise the excel format is not recognized.
8.1 Import buttons
Browse ...Choose file
First click this button and select your file from disk: ExamplesWindows "C:\myproject.xls", Mac OS X "/Users/george/myproject.opt" or Linux"/home/george/myproject.xls".
read importfile
After file selection, press "read import file". The number of imported panels/pallets/parts arenow shown. Example: "3 panel types and 3 part types imported" Possible error message: ifthe maximum part count of your software version exceeded, you get the following message"Maximum number of parts exceeded!". Please upgrade to a higher version.
8 Import 13
9 WebOpt start view
Optimized projects are show as list at the left side. At the first start this list is empty. To create a new projectclick (>>>) button or just press ENTER.
Start view first call
The next screenshot shows the start page with optimized project.
Start view with project
9.1 Copy a project
Click the button in the wanted project(s). At the end press (>>>).
9.2 Delete a project
Click the button in a project line. The project is deleted immediately !
To get to the next page, press ENTER.
9 WebOpt start view 14
10 Optimization type
This page shows the supported optimization types.
Choose an optimization
10.1 Cutting
#16 Cutting circlesCircle optimization (one diameter)on one panel.
#13 Cutting bars [1D]Bar optimization. Length input only,sorted by material. Optional sawwidth input.
#12 Cutting panels [2D] best solutionPanel cutting optimization. Optionalmaterial, grain and saw width input.The nested and stripe algorithm areexecuted and the best solution isshown.
10 Optimization type 15
#8 Cutting panels [2D] nestedPanel cutting optimization. Optionalmaterial, grain, saw width andnesting complexity input.
#7 Cutting panels [2D] stripePanel cutting optimization. Optionalmaterial, grain and saw width input.Choose this type to get a simple andfast cutable solution.
10.2 Palletizing
#6 Palletizing circleUnmixed circle optimization on one pallet size. Example canpalletizing.
#9 Palletizing unmixed fastMixed optimization in layers for rectangle parts. Fast mode,the calculation time is only a few seconds.
#10 Palletizing unmixed complexMixed optimization in layers for rectangle parts. Complexmode, the calculation may be up to a few minutes for smallpart sizes.
WebOpt
10.1 Cutting 16
#14 Palletizing [3D] fastUnmixed optimization. Fast mode, the calculation time is onlya few seconds.
#15 Palletizing [3D] complexUnmixed optimization. Complex mode, the calculation maybe up to a few minutes for small part sizes.
WebOpt
10.2 Palletizing 17
11 Create and edit a project
All project fields are optional, which means they may be skipped. If you dont need any special settings, justpress ENTER to get to next page.
11.1 Common project fields
The following fields are same for palletizing and cuttings projects.
Name Project name. This text is displayed in the solution report !
ID Project ID or project/order number.
Email Email. In the server version the solution is sent to this address.
Information Any further information.
Comment Additional remarks.
Paper size PDF Report paper size (A4, A4 landscape, letter, letter landscape).
11.2 Palletizing project fields
Project data for palletizing
Time limit Time limit per layer in seconds.This setting depends on your CPU power.Default value 120 seconds.
Default unit The default unit for this project (cm or mm).
11 Create and edit a project 18
11.3 Cutting project fields
Cuttting project data
Time limit Time limit per layout in seconds. This depends on your CPU power.Default value 120 seconds.
Saw width Saw blade width, widthout unit. E. g. 3, for 3mm.
Max cut length inX direction
Maximum cutable length in X direction (saw limit). Without unit, e. g. 1500 for 1500mm.
Max cut length inY direction
Maximum cutable width in Y direction (saw limit). Without unit, e. g. 1000 for 1000mm.
Max cut depth Cutting complexity. The default value is 3. For higher values the layout is more nestedand needs more cutting time, but the offcut is decreased. For best utilization set thevalue to greater than 40.
Vertical panelsaw
Choose this option for a vertical panel saw. The bottom panel margin is cut at the end.The cuts are shown with the bottom margin offset.
Label Choose a label. The labels are created as PDF after optimization. The labels areshown in project overview (symbol ).
WebOpt
11.3 Cutting project fields 19
11.4 Margins
Margins may be added to pallets, panels and parts. For palletizing the margins increase the base area. Thatmeans, the number of palletized parts may increase. For panel margins the cutable area is decreased.
MarginY
MarginX
WebOpt
11.4 Margins 20
12 Pallets
On this page the pallet data can be edited.
Edit pallets
WebOpt default unit is mm, if no other unit is shown.E. g. set length to 1200 means 1200 mm.
12.1 Pallet input fields
Quantity [Option] Number of usable pallets. If there is no limit for the number of pallets, clear thefield (blank) or set the number to 0.
Length Pallet length. Example: 1200, means 1200 mm (Unit cm: 120, means 120cm)
Width Pallet width. Example: 1200, means 800 mm (Unit cm: 80, means 80cm)
Max loadheight [Option] Max pallet height including parts. No unit.loadheight= pallet height + total part height (all layers).Example: pallet height 150, means 150mm (cm: 15), part height 1500, means 1500mm(cm: 150), loadheight 1650, means 1650 mm (cm: 165).
Information [Option] Additional information.
Comment [Option] Additional comments
Weight [Option] Pallet weight (e. g. 20 kg).
max palletweight
[Option] Max pallet weight. This is the total load limit. All parts + pallet weight must besmaller than this value. Default is 0, that means no limit.
MarginX [Option] The pallet area is increased in X-direction.
MarginY [Option] The pallet area is increased in Y-direction.
12 Pallets 21
13 Panels
On this page the panel data can be edited.
Edit panels
WebOpt default unit is mm, if no other unit is shown.E. g. set length to 2000 means 2000mm.
13.1 Panels input fields
Quantity [Option] Number of usable panels (in stock). If there is no limit for the number of panels,clear the field (blank) or set the number to 0.
Length Panel length. Example: 2000, means 2000mm
Width Panel width. Example: 1000, means 1000mm
Thick/height Panel height (thick). Example: 12, means 12mm
Material [Option] Please enter your material and make sure that you are using the exactly the sametext for panels and part. Example: MDF or FPY19.
Information [Option] Additional information.
Commment [Option] Additional comment.
Margin X [Option] The cutable area is decreased in X direction.
Margin Y [Option] The cutable area is decreased in Y direction.
13 Panels 22
14 Parts
On this page the part data can be edited.
14.1 Palletizing part input fields
Edit parts
Quantity [Option] Number of parts to be palletized. If you dont have any limits here, set the number to0 or blank the field. The number of parts is calced by the optimization.
Length Part length. Example: 280, means 280mm (cm: 28)
Width Part width. Example: 130, means 130mm (cm: 13)
Height [Option] Part height. Example: 330, means 330 mm (cm: 33)If the height is blank or 0, only one layer is optimized.
Information [Option] Additional information.The information is printed into the layout if possible.
Comment [Option] Additional comments. The comments are printed into the layout if possible.
Turnable in X [Option] The part may be turned in X-direction.
Turnable in Y [Option] The part may be turned in Y-direction.
Turnable in Z [Option] The part may be turned in Z-direction.
MarginX [Option] The part is increased in X-direction.
MarginY [Option] The part is increased in Y-direction.
If you allow part turning/rotation in XYZ, you will get much better volume utilization.
14.2 Cutting part input fields
Edit cutting parts
14 Parts 23
Quantity Number of parts to be cut. Must be greater 0! Example: 100.
Length Part length. Example: 400, means 400mm
Width Part width. Example: 250, means 250mm
Thick [Option] Part thick or height. Example: 12, means 12mm
turnable [Option] Select turnable, if you have a material without grain, e. g. FPY19. The utilization willbe much higher. If you have a grained Material, deselect the turnable option !
Material [Option] Please enter your material and make sure that you are using the exactly the sametext for panels and part. Example: MDF or FPY19.
Information [Option] The information is shown in the cut plan if possible.
Comment [Option] The comment is shown in the cut plan if possible.
MarginX [Option] The part area is decreased in X-direction.
MarginY [Option] The part area is decreased in Y-direction.
For better utilization, select the turnable option if possible.
WebOpt
14.2 Cutting part input fields 24
15 Summary
Before the final optimization start, the input data ist displayed again. Please check your input and thenpress ENTER to start the optimization For cutting projects, please check the material strings.
Summary cutting project unit mm
Summary palletizing project unit cm
15 Summary 25
16 Optimization started
After the optimization was successfully started, the project overview is shown again. On the top left cornerthe running and finished projects are displayed.
Example1: Projects(1/1) one running project, one finished project.• Example2: Projects(2) two optimized projects.•
The solution is shown as link. A click or touch at the project row or image opens the project detail view at
the right window side. To get the PDF report click or touch the symbol.
Optimized cut project / preview
16 Optimization started 26
Cut solution in PDF viewer
Optimized pal project / preview
WebOpt
16 Optimization started 27
Palletizing solution in PDF viewer
WebOpt
16 Optimization started 28
17 WebOpt | Logout | End
Click or touch the "Logout" Button to close WebOpt or logout (server version). The tablet version does notcontain a logout. Just close the app.
17 WebOpt | Logout | End 29
18 WebOpt Historie
V 2.417 Manual update english. Information and comments are drawn into cut plan.
Turned parts are displayed with arrow.
V 2.416 Manual Updates, improved keyboard handling, Windows service installer
V 2.415 Palletizing max weight per pallet, improved web input
V 2.414 PCB step ref output
V 2.413 PCB algorithm improvement
V 2.412 Improve algorithm palletizing 2D mixed, cutting
V 2.411 Improve display on IPAD and Android devices
V 2.38 to V 2.40 PCB algorithm improvements
V 2.37
- Labels.
- Margin per pallet, panel or part.
V 2.36
- Windows 7: Excel import bugfix.
18 WebOpt Historie 30