Hi i'm working on a project and i go the polyhedron part done but what i want
to do next i would need to add a cube but when i add one the polyhedron goes
away. he is my code.
sry for the spelling in the code i suck at it lol.
//handle gaourd
handle2 = -1;
handle1 = 6;
handle = -2;
//----------//
//where the hand goes.
leagth= -30;
leagth1= -2;
polyhedron(
points=[
[0,0,0], //0
[5,0,0], //1
[5,100,0], //2
[0,100,0], //3
[0,0,10], //4
[5,0,10], //5
[5,100,10], //6
[0,100,10], //7
[2.5,100,20],//8
[2.5,0,20],//9
[2.5,120,4.5],//10
[2.5,100,-10],//11
[2.5,0,-10], //12
[handle2,0,25], //13
[handle1,0,25], //14
[handle2,0,-15],//15
[handle1,0,-15],//16
[handle2,handle,-15],//17
[handle1,handle,-15],//18
[handle2,handle,25], //19
[handle1,handle,25],//20
[.5,leagth,5],//21
[4.5,leagth,5],//22
[3.5,leagth,10],//23
[1.5,leagth,10],//24
[1.5,leagth,0],//25
[3.5,leagth,0],//26
[.5,leagth1,5],//27
[4.5,leagth1,5],//28
[3.5,leagth1,10],//29
[1.5,leagth1,10],//30
[1.5,leagth1,0],//31
[3.5,leagth1,0]],//32
faces = [
[0,1,2,3], //bottom
[0,3,7,4], //left
[1,5,6,2], //right
[1,0,4,5], //front
[3,2,6,7], //back
[4,7,8,9], //left blade
[5,9,8,6], //right blade
[4,9,5], // back 2
[7,8,6], //front 2
[3,10,7], //piont left
[8,7,10], //tip
[10,2,6],
[10,6,8],
[3,2,10], //tip bottom
[12,11,3,0],//bottom blades
[1,2,11,12],//^^
[0,1,12], //back bottom
[10,11,2],
[3,11,10],//ip bottom left
[14,13,15,16,],//handle graud
[18,17,19,20],//handle graud
[13,14,20,19], //handle faces
[17,18,16,15],
[18,20,14,16],
[15,13,19,17],
//handle//
[21,24,23,22,26,25],
[31,32,28,29,30,27],
[27,30,24,21],
[30,29,23,24],
[29,28,22,23],
[28,32,26,22],
[32,31,25,26],
[21,25,31,27]]
);
--
View this message in context: http://forum.openscad.org/polyhedron-and-a-cube-other-shapes-also-tp18852.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Are you clicking F6? Some things (intersection?, difference?) seem to stop
the preview working, so you see nothing until you press F6.
On Wed, Nov 2, 2016 at 5:42 AM, Cole herbertcole6@gmail.com wrote:
Hi i'm working on a project and i go the polyhedron part done but what i
want
to do next i would need to add a cube but when i add one the polyhedron
goes
away. he is my code.
sry for the spelling in the code i suck at it lol.
//handle gaourd
handle2 = -1;
handle1 = 6;
handle = -2;
//----------//
//where the hand goes.
leagth= -30;
leagth1= -2;
polyhedron(
points=[
[0,0,0], //0
[5,0,0], //1
[5,100,0], //2
[0,100,0], //3
[0,0,10], //4
[5,0,10], //5
[5,100,10], //6
[0,100,10], //7
[2.5,100,20],//8
[2.5,0,20],//9
[2.5,120,4.5],//10
[2.5,100,-10],//11
[2.5,0,-10], //12
[handle2,0,25], //13
[handle1,0,25], //14
[handle2,0,-15],//15
[handle1,0,-15],//16
[handle2,handle,-15],//17
[handle1,handle,-15],//18
[handle2,handle,25], //19
[handle1,handle,25],//20
[.5,leagth,5],//21
[4.5,leagth,5],//22
[3.5,leagth,10],//23
[1.5,leagth,10],//24
[1.5,leagth,0],//25
[3.5,leagth,0],//26
[.5,leagth1,5],//27
[4.5,leagth1,5],//28
[3.5,leagth1,10],//29
[1.5,leagth1,10],//30
[1.5,leagth1,0],//31
[3.5,leagth1,0]],//32
faces = [
[0,1,2,3], //bottom
[0,3,7,4], //left
[1,5,6,2], //right
[1,0,4,5], //front
[3,2,6,7], //back
[4,7,8,9], //left blade
[5,9,8,6], //right blade
[4,9,5], // back 2
[7,8,6], //front 2
[3,10,7], //piont left
[8,7,10], //tip
[10,2,6],
[10,6,8],
[3,2,10], //tip bottom
[12,11,3,0],//bottom blades
[1,2,11,12],//^^
[0,1,12], //back bottom
[10,11,2],
[3,11,10],//ip bottom left
[14,13,15,16,],//handle graud
[18,17,19,20],//handle graud
[13,14,20,19], //handle faces
[17,18,16,15],
[18,20,14,16],
[15,13,19,17],
//handle//
[21,24,23,22,26,25],
[31,32,28,29,30,27],
[27,30,24,21],
[30,29,23,24],
[29,28,22,23],
[28,32,26,22],
[32,31,25,26],
[21,25,31,27]]
);
--
View this message in context: http://forum.openscad.org/
polyhedron-and-a-cube-other-shapes-also-tp18852.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
yes i have bean using both f5 and f6 and both had not worked
On 1 November 2016 at 13:18, Frank van der Hulst drifter.frank@gmail.com
wrote:
Are you clicking F6? Some things (intersection?, difference?) seem to stop
the preview working, so you see nothing until you press F6.
On Wed, Nov 2, 2016 at 5:42 AM, Cole herbertcole6@gmail.com wrote:
Hi i'm working on a project and i go the polyhedron part done but what i
want
to do next i would need to add a cube but when i add one the polyhedron
goes
away. he is my code.
sry for the spelling in the code i suck at it lol.
//handle gaourd
handle2 = -1;
handle1 = 6;
handle = -2;
//----------//
//where the hand goes.
leagth= -30;
leagth1= -2;
polyhedron(
points=[
[0,0,0], //0
[5,0,0], //1
[5,100,0], //2
[0,100,0], //3
[0,0,10], //4
[5,0,10], //5
[5,100,10], //6
[0,100,10], //7
[2.5,100,20],//8
[2.5,0,20],//9
[2.5,120,4.5],//10
[2.5,100,-10],//11
[2.5,0,-10], //12
[handle2,0,25], //13
[handle1,0,25], //14
[handle2,0,-15],//15
[handle1,0,-15],//16
[handle2,handle,-15],//17
[handle1,handle,-15],//18
[handle2,handle,25], //19
[handle1,handle,25],//20
[.5,leagth,5],//21
[4.5,leagth,5],//22
[3.5,leagth,10],//23
[1.5,leagth,10],//24
[1.5,leagth,0],//25
[3.5,leagth,0],//26
[.5,leagth1,5],//27
[4.5,leagth1,5],//28
[3.5,leagth1,10],//29
[1.5,leagth1,10],//30
[1.5,leagth1,0],//31
[3.5,leagth1,0]],//32
faces = [
[0,1,2,3], //bottom
[0,3,7,4], //left
[1,5,6,2], //right
[1,0,4,5], //front
[3,2,6,7], //back
[4,7,8,9], //left blade
[5,9,8,6], //right blade
[4,9,5], // back 2
[7,8,6], //front 2
[3,10,7], //piont left
[8,7,10], //tip
[10,2,6],
[10,6,8],
[3,2,10], //tip bottom
[12,11,3,0],//bottom blades
[1,2,11,12],//^^
[0,1,12], //back bottom
[10,11,2],
[3,11,10],//ip bottom left
[14,13,15,16,],//handle graud
[18,17,19,20],//handle graud
[13,14,20,19], //handle faces
[17,18,16,15],
[18,20,14,16],
[15,13,19,17],
//handle//
[21,24,23,22,26,25],
[31,32,28,29,30,27],
[27,30,24,21],
[30,29,23,24],
[29,28,22,23],
[28,32,26,22],
[32,31,25,26],
[21,25,31,27]]
);
--
View this message in context: http://forum.openscad.org/poly
hedron-and-a-cube-other-shapes-also-tp18852.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
You polyhedron is not a manifold due to the inclusion of "internal" faces.
For instance, [0,1,2,3] is a internal face and should be removed but it is
not the only one.
--
View this message in context: http://forum.openscad.org/polyhedron-and-a-cube-other-shapes-also-tp18852p18855.html
Sent from the OpenSCAD mailing list archive at Nabble.com.