[OpenSCAD] polyhedron to a 3D printing from

jon jon at jonbondy.com
Thu Oct 13 13:25:15 EDT 2016


It shows up as a 3D object in OpenSCAD after I remove the trailing "}"

Jon

On 10/13/2016 1:20 PM, Cole Herbert wrote:
> 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,0],//10
> [0,0,0]],//11
>
>
> faces = [
> [0,1,2,3], //bottom
> [0,3,7,4], //left
> [1,2,6,5], //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
> [7,8,10], //tip
> [10,6,2],
> [10,8,6]]
>
> );
> }
>
> (it is only sowing up as a 2D sides instated of the 3D shape i wan to 
> print out or diffreance out of somthing.
>





More information about the Discuss mailing list