Printing and slicing an object not working with Image

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Printing and slicing an object not working with Image

sostrom
This post has NOT been accepted by the mailing list yet.
We are having a problem going from an OpenSCAD file to printing on a Divinci XYZ printer Slicing file. THe object disappears and only the letters are present.

Here is the file.

use<write.scad>;

//block without bottom face
TrapezoidPoints= [
[-10,0,0], //0
[-7,3, 5], //1
[-3,3,5], //2
[0,0,0], //3
[-10, 40, 0], //4
[-7, 37, 5], //5
[-3, 37, 5], //6
[0, 40, 0]]; //7
TrapezoidFaces =[
[0, 1, 2, 3], //front face
[0,4,5,1], //left side face
[1,5,6,2], //top face
[2,6,7,3], //right side face
[7,6,5,4]

]; //back trapezoid face
rotate(a=270, v=[ 0,0,1]) translate([0,0,2])polyhedron(TrapezoidPoints, TrapezoidFaces);

//convexity = N );

//bottom rectangle
cube(size=[40,10,2]);
//front text
translate([8.5,1.25,3])rotate(a=59, v=[1,0,0])

write("The Rep");
//, 4, "Stencil:style=Regular");
//back text
rotate(a=118, v=[1,0,0])rotate(a=180, v=[0,1,0])translate([-30.5,-1.5,9])write("The Rep");


Thanks,
Steve
Reply | Threaded
Open this post in threaded view
|

Re: Printing and slicing an object not working with Image

MichaelAtOz
Administrator
You need to close the trapezoid as part of the polyhedron, not by adding a cube to the bottom.
It is not a manifold object.
Admin - email* me if you need anything, or if I've done something stupid...
* click on my MichaelAtOz label, there is a link to email me.

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work.
Obviously inclusion of works of previous authors is not included in the above.
Reply | Threaded
Open this post in threaded view
|

Re: Printing and slicing an object not working with Image

MichaelAtOz
Administrator
In reply to this post by sostrom
Also, your post is still flagged as "This post has NOT been accepted by the mailing list yet", so nobody gets it unless they look.
You need to subscribe to the mailing list, and respond to the registration email.


Admin - email* me if you need anything, or if I've done something stupid...
* click on my MichaelAtOz label, there is a link to email me.

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work.
Obviously inclusion of works of previous authors is not included in the above.
Reply | Threaded
Open this post in threaded view
|

Re: Printing and slicing an object not working with Image

Parkinbot
In reply to this post by sostrom
This works:

TrapezoidFaces =[
[0, 1, 2, 3], //front face
[0,4,5,1], //left side face
[1,5,6,2], //top face
[2,6,7,3], //right side face
[7,6,5,4],
[3,7,4,0]        //bottom

]; //back trapezoid face
Reply | Threaded
Open this post in threaded view
|

RE: Printing and slicing an object not working with Image

sostrom
This post has NOT been accepted by the mailing list yet.

Thank you, Thank you Thank you!!!! My student and I are in your debt!!!

 

Thanks Again,
Steve

 

From: Parkinbot [via OpenSCAD] [mailto:ml-node+[hidden email]]
Sent: Thursday, June 09, 2016 12:06 PM
To: Steve Ostrom
Subject: Re: Printing and slicing an object not working with Image

 

This works:

TrapezoidFaces =[
[0, 1, 2, 3], //front face
[0,4,5,1], //left side face
[1,5,6,2], //top face
[2,6,7,3], //right side face
[7,6,5,4],
[3,7,4,0]        //bottom

]; //back trapezoid face

 


If you reply to this email, your message will be added to the discussion below:

http://forum.openscad.org/Printing-and-slicing-an-object-not-working-with-Image-tp17621p17624.html

To unsubscribe from Printing and slicing an object not working with Image, click here.
NAML