Macro PCBWay

Description
This macro sends the currently selected object (mesh, shape or body) to the PCBWay website to get an instant quote for manufacturing through CNC milling, laser cutting or 3D printing. After the object is sent, a page will be opened on the PCBWay website to allow the user to adjust details and options.

Note: Mesh-based objects can only be manufactured through 3D printing. For CNC milling or laser cutting, you must use shape-based objects.

Usage

 * 1) Open or create a FreeCAD document containing an object you wish to manufacture with PCBWay
 * 2) Select the object you wish to manufacture. If no object is selected but there is only one visible object on screen, that object will be sent.
 * 3) Open the Macros manager under menu Macro -> Macros...
 * 4) Select the PCBWay macro from the list
 * 5) Click Execute
 * 6) Next times, the PCBWay macro will be under menu Macro -> Recent macros
 * 7) Your object will be packed in STEP format for shapes or OBJ format for meshes, and sent to PCBWay. A browser window will then open for you to fill additional details to place an order for your product.

Code
The latest version of the macro is to be found at https://github.com/FreeCAD/FreeCAD-macros/blob/master/Utility/pcbway.FCMacro

Macro_PCBWay.FCMacro