=== 3DPrint Lite ===
Contributors: fuzzoid
Tags: 3D, printing, 3dprinting, 3D printing, 3dprint
Requires at least: 3.5
Tested up to: 7.0
Stable tag: 2.1.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

A plugin for selling 3D printing services.

== Description ==

If you have a 3D printer and wish to charge for model printing this plugin is for you. 

How it works:

Site administrator configures printers, materials and pricing in the admin. Customers upload their models, choose printer and material, see the estimated price, input their email address and comments and press the "Request a Quote" button. 
The admin receives the request notification by email and sends the quotes through the Price Request Manager or discards the quote requests. 

Features:

* Supported file types: STL (bin, ascii), OBJ (+.mtl), ZIP.
* Configurable printers, filaments and coatings.
* Build tray shape (rectangle, circle).
* Material/coating shininess (plastic, wood, metal).
* Transparent and glowing materials.
* Customizable pricing: can be configured to charge per model weight, filament volume or bounding box volume.
* Large file upload support (upload chunking).
* Model scaling.
* Drag and drop.
* Filament price calculator.
* Email notification.
* Email templates.
* Price request manager.
* Translation ready.
* Responsive layout.

Demo: http://www.wp3dprinting.com/3d-print-lite-demo/

Premium version of the plugin has all features of the lite version plus:

* WooCommerce integration.
* Laser cutting support.
* Bulk Upload Mode.
* Form Builder (NinjaForms integration)
* File Manager
* Extra file type supported: STP, IGS, DXF
* Image printing: JPG, PNG, GIF, BMP files get converted to STL.
* Can arrange multiple STL models from a ZIP file.
* Model scaling (can scale axis independently).
* Extra layout options.
* Model repair & optimization (auto rotation for optimized 3D printing process)
* Manual model rotation.
* Infill calculation.
* Per hour pricing.
* Support material calculation.
* Ability to add predefined models to products.
* Email template manager.
* Discount system.
* Fullscreen mode.
* Custom attributes with configurable price.
* Ability to assign different printers and materials to different products.
* Free support.
* New cool features to come.

== Installation ==

* Make sure you have WordPress installed properly (wp-content/uploads/ directory should be writable).
* Copy 3dprint-lite folder to wp-content/plugins.
* Activate the plugin from the Plugins menu within the WordPress admin.
* On the settings page configure the main settings, printers and materials.
* Create a new page, give it a name and paste shortcode [3dprint-lite] into the page body.
* Click "Publish" button.
* Done!

== Frequently Asked Questions ==

= Does the plugin offer WooCommerce integration? =

Only the premium version - http://www.wp3dprinting.com/

= How is the printing price calculated? =

Generally the formula is: printing price = printer cost + material cost . Printer and material cost are calculated depending on the settings on the 3D Printing page. The cost can be calculated through filament volume, weight or bounding box. 

= Does the plugin check models for printability? =

The current version only checks if the model is larger than the selected printer size.

= How do I set up different price rates for different amounts of material and volume? =

For example you want to charge 0.5$ for < 200cm3, 0.4$ for >200cm3, 0.3$ for >400cm3. Instead of regular numeric price enter this formula: 0:0.5;200:0.4;400:0.3

The price and amount are delimted by ":" symbol and price-amount pairs are delimited by ";". This works on printer, material and coating prices.

= How do I translate the plugin? =

The easiest way is to use this plugin https://wordpress.org/plugins/loco-translate/

= E-mail function does not work, what should I do? =

Use Easy WP SMTP plugin https://wordpress.org/plugins/easy-wp-smtp/

== Screenshots ==

1. Frontend


== Changelog ==

= 2.1.4 =
WordPress 7.0

= 2.1.3.9 =
array_multisort bugfix
Price debug mode bugfix
WordPress 6.9

= 2.1.3.8 =
Locale fix
WordPress 6.8

= 2.1.3.7 =
Security fix

= 2.1.3.6 =
Security fix

= 2.1.3.5 =
Price requests: material, printer, coating, infill fields are editable
Price requests: admin file attachment field
Price requests: admin delivery date field
Email templates: [infill_name], [admin_delivery] shortcodes
3dprint-lite_filename hook

= 2.1 =

Security update
WordPress 6.7

= 2.0.9.9 =

Coatings bugfix

= 2.0.9.8 =

Printers, materials, coatings have "Enabled" switch and sort order field.
default_infill bugfix

= 2.0.8.7 =

Price debug bugfix

= 2.0.8.6 =

Dropdown (New) is collapsible on item selection
If a model is not found an error message is shown

= 2.0.6.6 =

Price Debug Mode option
Price decimals bugfix

= 2.0.5.5 =

[estimated_price_total] shortcode has been added to e-mail templates
Material edit page - added coating, printer and post-processing dropdowns

= 2.0.3.4 =

WordPress 6.4 tested

= 2.0.3.4 =

Android upload bugfix
WordPress 6.3 tested

= 2.0.3.3 =

Mobile bugfixes
WordPress 6.2 tested

= 2.0.3.1 =

Infills section
Infills can be assigned per printer
Rotation speed setting
Rotation direction setting
Filter files by extensions
Decimals bugfix
WordPress 6.1 tested

= 1.9.9.3 =

Settings: Tooltip Engine
Settings: Tooltip Theme
WordPress 6.0 tested

= 1.9.9.1 =

Bugfixes

= 1.9.9 =

Responsive view fix
CSS adjustments
Automatically select a fitting printer if "auto scale" option is disabled
Translation fix
WordPress 5.9 tested

= 1.9.3 =

New layout "Dropdown New"
Bugfixes

= 1.9.1.9 =

Code cleanup

= 1.9.1.8 =

Code cleanup

= 1.9.1.7 =

Code cleanup

= 1.9.1.6 =

Code cleanup

= 1.9.1.5 =

Security fixes

= 1.9.1.4 =

Renamed window.wp.hooks to window.wp.event_manager, please adjust your JS hooks accordingly

= 1.9.1.3 =

WordPress 5.8

= 1.9.1.2 =

Can be used together with the paid version

= 1.9.1.1 =

New option in general settings: Auto Scale
WC compatibility fix
Renamed THREE to THREEP3DL

= 1.8.9.6 =

"Load On" setting in the admin.
Added the shortcode field for copying on the settings page

= 1.8.9.3 =

Preserve HTML checkbox in Email Templates

= 1.8.8.3 =

Option to change the order of printer and material selection in Settings -> Product Viewer
Backend: [weight] shortcode in e-mail to client template
DB primary key bugfix
Ajax loader image centering bugfix

= 1.8.6 =

Bugfix: Incomplete price request list
Bugfix: Wrong quantity in price request e-mail

= 1.8.5.8 =

New admin area
Moved printers, coatings, materials and price requests to DB tables
Added quantity field
Loading Image is configurable
Better line break handling in e-mail templates
Multiple bugfixes and layout adjustments
WordPress 5.6 tested

= 1.7.8.2 =

WordPress 5.5 tested

= 1.7.8.1 =

Shows error code on failed upload

= 1.7.8 =

Printers, materials and coatings have new fields: description and photo.
Description and photo are displayed in a tooltip on the frontend.

= 1.7.6.1 =

Mail From field bugfix
Minor bugfixes (PHP notices)

= 1.7.6 =

Email templates
Minor bugfixes

= 1.7.5.2 =

Fixed obj models on mobile browsers

= 1.7.5.1 =

Use MeshLambertMaterial instead of MeshPhongMaterial on mobile devices

= 1.7.5 =

Updated Three.js to the latest version (r101)
Automatically select a fitting compatible printer if a model is too large
Mobile view bugfix

= 1.7.2.7 =

Email quotes bugfix

= 1.7.2.6 =

JS bugfix

= 1.7.2.5 =

Readme.txt update

= 1.7.2.4 =

Materials and printers can charge per removed material volume (bounding box volume – material volume)
Minimum scale set to 0.01%
Initial file chunk size matches max_upload_size
Bugfixes

= 1.7.1.2 =

Bugfixes

= 1.7.1.1 =

Email quotes bugfix

= 1.7.1 =

Extra price fields

= 1.7.0.7 =

Inch conversion fix

= 1.7.0.6 =

Bugfix

= 1.7.0.5 =

Bugfix

= 1.7.0.4 =

Bugfixes

= 1.7.0.3 =

"Request price" bugfix

= 1.7 =

Switched to three.js library

File chunk size is configurable

Printers have full color option

Printers have minimum model side option

Auto rotation option

Show shadow option

Ground mirror option

Materials and coatings have shininess/transparency/glow options

Some bugfixes

= 1.6.2.4 =

Bugfix

= 1.6.2.2 =

Bugfix

= 1.6.2.1 =

Bugfix

= 1.6.2 =

Email is configurable.

A few bugfixes

= 1.6.1.2 =

Price bugfix.

= 1.6.1 =

Added scaling feature.

Fixed remove request.

CSS fix.


= 1.6 =

Drag and Drop feature.

"Show printer box" and "show grid" options.

CSS adjustments.


= 1.5.9 =

Added layout templates for printers, materials and coatings (check settings page).

Admin area bugfix.

= 1.5.8.2 =

Backend improvement: accordion tabs, clone and remove buttons.

Frontend css adjustments.

Some bugfixes and security updates.

= 1.5.6 =

Printers, materials and coatings can have a fixed price.

Model stats configuration.

Minimum price/starting price option.

CSS and JS versioning.

Minor bugfixes.

= 1.5.1 =

bug fixes

= 1.5 =

Minor js fix.

= 1.4.9 =

Cookie lifetime is configurable.

Fixed install script.

= 1.4.8 =

Materials can be assigned to coatings.

Can be loaded everywhere.

Uppercase extension fix.

Added gzip instructions to .htaccess

Fixed zip archives with utf8 files inside.

File size is checked for extracted files.

Added uninstall script.

Minor css fix.

= 1.4.3 =

Materials can be assigned to printers.

Can hide model stats.

If a printer/plane color is empty they get invisible.

= 1.4 =
Renamed Filament to Material, enabled Density field for non-filament materials.

Now it’s possible to set different price rates for different amounts of material/volume (see FAQ).

Fixed uploading of files with utf8 names.

Printers, materials and coatings are translatable now.

Button color is configurable.

Canvas stats and printer/material/coating boxes can be hidden.

Minor layout fixes.

= 1.3 =
Zip file support. Models can be upload in a zip archive (one model per archive).

Obj models with .mtl files and textures can be uploaded in a zip archive.

Better obj file support.

Added a housekeeping feature.

Minor layout fix. 

= 1.1.3 =
A bugfix
= 1.1.2 =
Bugfixes
= 1.1.1 =
A bugfix
= 1.1 =

Added coating material

Added price formatting options

Some bugfixes and layout adjustments

= 1.0.4 =
Uploader fix
= 1.0.3 =
Minor layout fix
= 1.0.2 =
Minor layout fix
= 1.0 =
* Initial release.
