Please critique my approach
My final goal for this rushed project is to be able to parse a .STL file, get and get its volume. Hopefully with this package.
https://github.com/ChubV/php-stl
Then saving that volume as a variable and using it along with other choices in that from to get a dynamic price for the order. My understanding so far is that i should build a custom Livewire component that you can then click upload the .STL file in and click a button to call the volume function from the PHP-stl package. Save that variable and then its fairly straightforward checks and math from there.
Is this a sensible way to go about this? I would appreciate some input.
GitHub
GitHub - ChubV/php-stl: STL file format parsing library
STL file format parsing library. Contribute to ChubV/php-stl development by creating an account on GitHub.
0 Replies