Demur_ Posted March 12, 2019 Posted March 12, 2019 So I made a code to 3d print a bust of my skin { label = "UpperDemur", shapes = { { 0,0,6,16,8,10,texture = "extrautils:greenscreen", tint = 0xeeeeee }, { 4,8,4,6,13,12,texture = "extrautils:greenscreen", tint = 0xeeeeee }, { 6,8,4,9,9,5,texture = "extrautils:greenscreen", tint = 0x111111 }, { 6,8,5,12,16,12,texture = "extrautils:greenscreen", tint = 0xeeeeee }, { 9,8,4,12,9,12,texture = "extrautils:greenscreen", tint = 0xeeeeee }, { 6,9,4,7,11,5,texture = "extrautils:greenscreen", tint = 0x111111 }, { 7,9,4,9,11,5,texture = "extrautils:greenscreen", tint = 0xffff00 }, { 9,9,4,10,11,5,texture = "extrautils:greenscreen", tint = 0x111111 }, { 10,9,4,12,13,12,texture = "extrautils:greenscreen", tint = 0xeeeeee }, { 6,11,4,7,16,12,texture = "extrautils:greenscreen", tint = 0xeeeeee }, { 7,11,4,9,12,5,texture = "extrautils:greenscreen", tint = 0x111111 }, { 9,11,4,12,13,12,texture = "extrautils:greenscreen", tint = 0xeeeeee }, { 7,12,4,10,16,12,texture = "extrautils:greenscreen", tint = 0xeeeeee }, { 4,13,4,5,16,12,texture = "extrautils:greenscreen", tint = 0xeeeeee }, { 5,13,4,6,14,5,texture = "extrautils:greenscreen", tint = 0x111111 }, { 5,13,5,12,16,12,texture = "extrautils:greenscreen", tint = 0xeeeeee }, { 10,13,4,11,14,5,texture = "extrautils:greenscreen", tint = 0x111111 }, { 11,13,4,12,16,12,texture = "extrautils:greenscreen", tint = 0xeeeeee }, { 5,14,4,12,16,12,texture = "extrautils:greenscreen", tint = 0xeeeeee }, } } But whenever I send it to print i get the following error. Could anybody either fix it or tell me the problem? much appreciated thanks! Quote
0 Molinko Posted March 12, 2019 Posted March 12, 2019 Can you do me a solid and either point me to the print3d source code or take a screenie of line 70 in OC? Quote
0 payonel Posted March 12, 2019 Posted March 12, 2019 @Molinko https://github.com/OpenPrograms/Sangar-Programs/blob/master/print3d.lua#L70 and https://github.com/MightyPirates/OpenComputers/blob/master-MC1.7.10/src/main/scala/li/cil/oc/common/tileentity/Printer.scala#L182 but from a quick scan of the ranges given, i don't see any 0-width values I would test with fewer values, like a binary search, to find the specific bad range Quote
0 Nexarius Posted March 13, 2019 Posted March 13, 2019 Print3d doesn't check getMaxShapeCount() at all. Go to your OpenComputer config file and check the value of "maxPrinterShapes". Molinko 1 Quote
0 Demur_ Posted March 15, 2019 Author Posted March 15, 2019 I fixed it, thanks for all the help but it was a comma at the end of the last chunk. The weird thing is that there was no line 70 even though thats where the error was Quote
So I made a code to 3d print a bust of my skin
{
label = "UpperDemur",
shapes = {
{ 0,0,6,16,8,10,texture = "extrautils:greenscreen", tint = 0xeeeeee },
{ 4,8,4,6,13,12,texture = "extrautils:greenscreen", tint = 0xeeeeee },
{ 6,8,4,9,9,5,texture = "extrautils:greenscreen", tint = 0x111111 },
{ 6,8,5,12,16,12,texture = "extrautils:greenscreen", tint = 0xeeeeee },
{ 9,8,4,12,9,12,texture = "extrautils:greenscreen", tint = 0xeeeeee },
{ 6,9,4,7,11,5,texture = "extrautils:greenscreen", tint = 0x111111 },
{ 7,9,4,9,11,5,texture = "extrautils:greenscreen", tint = 0xffff00 },
{ 9,9,4,10,11,5,texture = "extrautils:greenscreen", tint = 0x111111 },
{ 10,9,4,12,13,12,texture = "extrautils:greenscreen", tint = 0xeeeeee },
{ 6,11,4,7,16,12,texture = "extrautils:greenscreen", tint = 0xeeeeee },
{ 7,11,4,9,12,5,texture = "extrautils:greenscreen", tint = 0x111111 },
{ 9,11,4,12,13,12,texture = "extrautils:greenscreen", tint = 0xeeeeee },
{ 7,12,4,10,16,12,texture = "extrautils:greenscreen", tint = 0xeeeeee },
{ 4,13,4,5,16,12,texture = "extrautils:greenscreen", tint = 0xeeeeee },
{ 5,13,4,6,14,5,texture = "extrautils:greenscreen", tint = 0x111111 },
{ 5,13,5,12,16,12,texture = "extrautils:greenscreen", tint = 0xeeeeee },
{ 10,13,4,11,14,5,texture = "extrautils:greenscreen", tint = 0x111111 },
{ 11,13,4,12,16,12,texture = "extrautils:greenscreen", tint = 0xeeeeee },
{ 5,14,4,12,16,12,texture = "extrautils:greenscreen", tint = 0xeeeeee },
}
}
But whenever I send it to print i get the following error. Could anybody either fix it or tell me the problem? much appreciated thanks!