=== 3D Print Pricing Calculator ===

Contributors: Pikocode
Tested up to: 6.7
Requires at least: 5.7
Requires PHP: 7.4
Stable tag: 1.0.5
License: GPL-3.0
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Upload STL files to calculate printing estimates, weight, and cost, and display the results on your site’s frontend.

== Description ==

The 3D Print Pricing Calculator plugin allows users to upload STL files to your WordPress site. The plugin processes these files in the backend, connects to a third-party API to retrieve printing time estimates, weight, and cost, and displays this information on the frontend for users.

== Features ==

- **STL File Support**: Seamlessly upload and process STL files for 3D printing.
- **Customizable Pricing**: Set dynamic pricing based on various configurable options, ensuring flexibility and control.
- **Model Scaling**:  Easily scale your 3D models to the desired size for accurate and efficient prints.
- **Filament Price Calculator**: Automatically calculate filament costs based on your model’s volume to help manage expenses.
- **Responsive Layout**: Enjoy a seamless experience on all devices with a fully responsive design.
- **Manual model rotation**: Rotate your 3D models manually for precise adjustments before printing.
- **Infill calculation**: Calculate infill percentages to optimize material usage and structural integrity.
- **Support material calculation**: Automatically estimate the support material required for your 3D prints.
- **Email Notifications**: Receive instant updates upon successful processing, ensuring both you and your customers stay informed with all the details.
- **WP Mail Integration**: Easily integrate email functionality into your WordPress setup for streamlined communication.
- **Shortcode**: The shortcode allows you to display the plugin anywhere on the site.
- **Zoom**: Zoom in, zoom out with mouse scroll or touch.


== Frequently Asked Questions ==

= How can I upload an STL file? =

To upload an STL file, go to the designated page or post, click on the "Upload STL File" button, and select your file from your device.

= What settings do I need to configure? =

You need to set up the plugin by entering the third-party API credentials on the plugin settings page.

= Where can I find my API credentials? =

To get your API credentials, sign up at [https://api.pikocode.com/](https://api.pikocode.com/) and subscribe to the service. Once registered, your credentials will be provided for use in the plugin configuration.

= How can I fix issues with email functionality? =

If the email functionality is not working, we recommend installing and configuring the WP Mail SMTP plugin to ensure proper email delivery.

= How do I configure WP Mail SMTP for this plugin? =

Ensure WP Mail SMTP is installed and configured correctly on your WordPress site. This plugin will automatically leverage WP Mail SMTP settings to send emails.

== Installation ==

1. Install the plugin from the WordPress plugin store.
2. Upload the ZIP file to your WordPress site via the admin interface.
3. Activate the plugin through the 'Plugins' menu in WordPress.

== Changelog ==

= 1.0.1 =
* Initial public release of the plugin, introducing core features and functionality.

== Upgrade Notice ==

= 1.0.2 =
* Applied critical bug fixes to address known issues.
* Improved performance and stability, enhancing the user experience.

= 1.0.3 =
* Fixed critical bugs to improve overall stability.
* Added Edit and Delete functionalities to admin options for better management of settings.
* Resolved an issue with the mesh clear functionality to ensure proper rendering and cleanup.

= 1.0.4 =
* Modified wordpress creator link and corrected stable tag.

= 1.0.5 =
* Added critical bug fixes.
* Fixed email functionality.
* Added support for WP Mail SMTP plugin to enhance email deliverability.

== Screenshots ==

1. **STL File Upload Interface**
   ![STL File Upload](/images/screenshot1.jpg)
   Description: The interface for uploading STL files.

2. **Frontend Display of Parsed Data**
   ![Frontend Display](/images/screenshot2.jpg)
   Description: Example of how the uploaded file is displayed on the frontend.

== External Libraries ==

This plugin leverages the following external libraries:

- **Babylon.js** - A powerful, open-source 3D engine. It is used to render and handle the 3D aspects of the STL files uploaded through the plugin.
  - **Babylon.js CDN**: [https://cdn.babylonjs.com/babylon.js](https://cdn.babylonjs.com/babylon.js)
  - **Babylon.js Loaders CDN**: [https://cdn.babylonjs.com/loaders/babylonjs.loaders.min.js](https://cdn.babylonjs.com/loaders/babylonjs.loaders.min.js)

Terms of Use and Services:
Babylon.js is licensed under the Apache License 2.0, which includes the following provisions:

- **Permitted Use:**
  You are free to use, modify, and distribute Babylon.js in personal or commercial projects, provided you comply with the terms outlined in the Apache License 2.0.

- **Redistribution:**
  If you distribute Babylon.js or any derivative works, a copy of the Apache License must be included with the distribution.

- **Warranty Disclaimer:**
  Babylon.js is provided "as is," without warranties or guarantees. The authors and contributors are not liable for any damages resulting from its use.

For full details, refer to the official Apache License 2.0: [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0).

This service is provided by **Babylon.js**: [Terms of Service](https://forum.babylonjs.com/tos), [Privacy Policy](https://forum.babylonjs.com/privacy).

== Support ==

If you encounter any issues or have any questions, feel free to reach out to our support team at [contact@pikocode.com](mailto:contact@pikocode.com).

== License ==

This plugin is licensed under the GNU General Public License v3.0 (or later), also known as GPLv3+. You can find the full text of the license in the [LICENSE.txt](LICENSE.txt) file included with this plugin. For more information about this license, visit the [GPL-3.0 License page](https://www.gnu.org/licenses/gpl-3.0.html).
