mirror of
https://github.com/ToxicCrack/PrintABrick.git
synced 2025-05-18 21:20:09 -07:00
Add color rgb hex to set zip
This commit is contained in:
parent
66e886c004
commit
ba979c50c7
@ -128,7 +128,7 @@ class ZipService
|
||||
$model = $modelArray['model'];
|
||||
$quantity = $modelArray['quantity'];
|
||||
|
||||
$filename = "{$this->zipName}/{$color->getName()}/{$model->getId()}_({$quantity}x).stl";
|
||||
$filename = "{$this->zipName}/{$color->getName()}_(#{$color->getRgb()})/{$model->getId()}_({$quantity}x).stl";
|
||||
|
||||
$this->addModel($filename, $model);
|
||||
}
|
||||
@ -166,7 +166,7 @@ class ZipService
|
||||
*/
|
||||
private function addLicense()
|
||||
{
|
||||
$text = sprintf('All stl files in this archive were converted by LDView from LDraw Library http://www.ldraw.org/'."\n\n");
|
||||
$text = sprintf('All stl files in this archive were converted by LDView from official LDraw Library http://www.ldraw.org/'."\n\n");
|
||||
$text .= sprintf('Files are licensed under the Creative Commons - Attribution license.'."\n");
|
||||
$text .= sprintf('http://creativecommons.org/licenses/by/2.0/'."\n\n");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user