Author Topic: Print Brick not Acknowledging Printer  (Read 673 times)

For some reason nothings poping up when I fire my printer at it. I'm pretty sure I've done everything correctly. Look below and let me know if you see anything thats wrong. Also if you need the Server.cs I'll post that too.
Code: [Select]
32 2 1
SPECIAL

dddddddddddddddddddddddddddddddd

dddddddddddddddddddddddddddddddd

1

0 0 0
32 2 1
----------------top quads:
1

TEX:PRINT
POSITION:
-16 -1 0.5
-16 1 0.5
16 1 0.5
16 -1 0.5
UV COORDS:
0 1
0 0
1 0
1 1
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
----------------bottom quads:
5

TEX:BOTTOMLOOP
POSITION:
-14 -0.5 -0.5
14 -0.5 -0.5
14 0.5 -0.5
-14 0.5 -0.5
UV COORDS:
0 0
0 7
1 7
1 0
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1

TEX:BOTTOMEDGE
POSITION:
-16 -1 -0.5
16 -1 -0.5
14 -0.5 -0.5
-14 -0.5 -0.5
UV COORDS:
0.2 0
0.7 0
0.7 0.5
0.2 0.5
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1

TEX:BOTTOMEDGE
POSITION:
-14 0.5 -0.5
14 0.5 -0.5
16 1 -0.5
-16 1 -0.5
UV COORDS:
0.2 0.5
0.7 0.5
0.7 0
0.2 0
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1

TEX:BOTTOMEDGE
POSITION:
-14 -0.5 -0.5
-14 0.5 -0.5
-16 1 -0.5
-16 -1 -0.5
UV COORDS:
0.2 0.5
0.7 0.5
0.7 0
0.2 0
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1

TEX:BOTTOMEDGE
POSITION:
16 -1 -0.5
16 1 -0.5
14 0.5 -0.5
14 -0.5 -0.5
UV COORDS:
0.2 0
0.7 0
0.7 0.5
0.2 0.5
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
----------------north quads:
1

TEX:SIDE
POSITION:
-16 1 0.5
-16 1 -0.5
16 1 -0.5
16 1 0.5
UV COORDS:
1 -0.09
1 1.09
0 1.09
0 -0.09
NORMALS:
0 1 0
0 1 0
0 1 0
0 1 0
----------------east quads:
1

TEX:SIDE
POSITION:
16 -1 0.5
16 1 0.5
16 1 -0.5
16 -1 -0.5
UV COORDS:
-0.02 -0.09
1.02 -0.09
1.02 1.09
-0.02 1.09
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0
----------------south quads:
1

TEX:SIDE
POSITION:
16 -1 0.5
16 -1 -0.5
-16 -1 -0.5
-16 -1 0.5
UV COORDS:
1 -0.09
1 1.09
0 1.09
0 -0.09
NORMALS:
0 -1 0
0 -1 0
0 -1 0
0 -1 0
----------------west quads:
1

TEX:SIDE
POSITION:
-16 -1 -0.5
-16 1 -0.5
-16 1 0.5
-16 -1 0.5
UV COORDS:
1.02 1.09
-0.02 1.09
-0.02 -0.09
1.02 -0.09
NORMALS:
-1 0 0
-1 0 0
-1 0 0
-1 0 0
----------------omni quads:
0

Server.cs
Code: [Select]
datablock fxDTSBrickData(brick2x32FPData)
{
brickFile = "./2X32FP.blb";
category = "RP";
subCategory = "Miscellaneous";
uiName = "2X32F Print";
iconName = "Add-Ons/Brick_WTs_Special/WTicon";
};
Anyone know whats wrong? It would be very kind of anyone to help me, please I've spent soo long working on this, and this seems to be a hill I can't get over. Thanks!
« Last Edit: August 30, 2011, 07:57:35 PM by White Tiger (6224) »

Give the entire datablock.

Give the entire datablock.
You mean like the brick in its physical state? So like your asking for pics?
If so I can do that. If not, pretty much everythings there. What else would you need? Thanks!

You mean like the brick in its physical state? So like your asking for pics?
If so I can do that. If not, pretty much everythings there. What else would you need? Thanks!
i think he means the full version of this:
Server.cs
Code: [Select]
datablock fxDTSBrickData(brick2x32FPData)
{
brickFile = "./2X32FP.blb";
category = "RP";
subCategory = "Miscellaneous";
uiName = "2X32F Print";
iconName = "Add-Ons/Brick_WTs_Special/WTicon";

Yes, that's what he means...

You mean like the brick in its physical state? So like your asking for pics?
If so I can do that. If not, pretty much everythings there. What else would you need? Thanks!
It's not the whole thing because the code you posted is missing the end bracket.

It's not the whole thing because the code you posted is missing the end bracket.
Very Sorry, didn't even notice. I didn't hilight the whole thing. Thanks!

Code: [Select]
datablock fxDTSBrickData(brick2x32FPData)
{
brickFile = "./2X32FP.blb";
category = "RP";
subCategory = "Miscellaneous";
uiName = "2X32F Print";
iconName = "Add-Ons/Brick_WTs_Special/WTicon";
};

There's couple of values on the datablock that need to be set to make it a print brick.

hasPrint = 1;
printAspectRatio = ###;

An example of printAspectRatio, for 2x2 plate print brick, it would show as:

printAspectRatio = "2x2f";

And for the 2x2 ramp print brick:

printAspectRatio = "2x2r";

And for the 1x4x4 print brick:

printAspectRatio = "1x1";

1x1 without the f is actually 0.5x0.6, so a quality 1x1 print would be 512x614
Where if you add the f, it's 0.5x0.5, so it would be a square, 512x512
Ramps seem to be a 1:1 ratio as well.

Seeing how you have a 2x32 flat print brick, you would put :
printAspectRatio = "2x32f";