discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Easiest way to print 2D projection on paper?

J
jazzjohn
Sat, Mar 4, 2017 7:45 PM

...and I don't have a way to read a DXF file.

--
View this message in context: http://forum.openscad.org/Easiest-way-to-print-2D-projection-on-paper-tp20734.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

...and I don't have a way to read a DXF file. -- View this message in context: http://forum.openscad.org/Easiest-way-to-print-2D-projection-on-paper-tp20734.html Sent from the OpenSCAD mailing list archive at Nabble.com.
TP
Torsten Paul
Sat, Mar 4, 2017 8:12 PM

On 03/04/2017 08:45 PM, jazzjohn wrote:

...and I don't have a way to read a DXF file.

What about exporting to SVG and printing that?

ciao,
Torsten.

On 03/04/2017 08:45 PM, jazzjohn wrote: > ...and I don't have a way to read a DXF file. > What about exporting to SVG and printing that? ciao, Torsten.
J
jazzjohn
Sat, Mar 4, 2017 8:34 PM

What app will print SVG files?

--
View this message in context: http://forum.openscad.org/Easiest-way-to-print-2D-projection-on-paper-tp20734p20737.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

What app will print SVG files? -- View this message in context: http://forum.openscad.org/Easiest-way-to-print-2D-projection-on-paper-tp20734p20737.html Sent from the OpenSCAD mailing list archive at Nabble.com.
J
jazzjohn
Sat, Mar 4, 2017 8:48 PM

I can print the SVG file through Internet Explorer, but the scale is wrong.
It looks correct in OpenSCAD, but it prints way too small.

Also tried through Pdf Creator, but again too small.

OpenSCAD shows it at about 100mm tall, which is the correct height. It
prints at about 1 inch tall.

--
View this message in context: http://forum.openscad.org/Easiest-way-to-print-2D-projection-on-paper-tp20734p20739.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

I can print the SVG file through Internet Explorer, but the scale is wrong. It looks correct in OpenSCAD, but it prints way too small. Also tried through Pdf Creator, but again too small. OpenSCAD shows it at about 100mm tall, which is the correct height. It prints at about 1 inch tall. -- View this message in context: http://forum.openscad.org/Easiest-way-to-print-2D-projection-on-paper-tp20734p20739.html Sent from the OpenSCAD mailing list archive at Nabble.com.
J
jazzjohn
Sat, Mar 4, 2017 8:51 PM

module profile()
{
translate([600,0,0]) rotate(-2.2) square([100,2600]);
translate([1000,2800,0])  square([100,1300]);
translate([1077,2800,0])rotate(129)  square([100,415]);
}

$fa = 5;
$fs = 0.1;

projection()
rotate([90,0,0])
scale(25.4/1000) //mm --> inch
rotate_extrude()
profile() ;

--
View this message in context: http://forum.openscad.org/Easiest-way-to-print-2D-projection-on-paper-tp20734p20740.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

module profile() { translate([600,0,0]) rotate(-2.2) square([100,2600]); translate([1000,2800,0]) square([100,1300]); translate([1077,2800,0])rotate(129) square([100,415]); } $fa = 5; $fs = 0.1; projection() rotate([90,0,0]) scale(25.4/1000) //mm --> inch rotate_extrude() profile() ; -- View this message in context: http://forum.openscad.org/Easiest-way-to-print-2D-projection-on-paper-tp20734p20740.html Sent from the OpenSCAD mailing list archive at Nabble.com.
TP
Torsten Paul
Sat, Mar 4, 2017 9:01 PM

On 03/04/2017 09:51 PM, jazzjohn wrote:

scale(25.4/1000) //mm --> inch

What's the expectation here? OpenSCAD has no internal
units currently, so this needs to either match the
expectation of the next tools (e.g. for STL which has
no units either) or match the fixed export units that
are set when exporting the file (like for SVG).

The dev snapshot will currently always force export
in mm for SVG. Not sure what the last release version
does.

ciao,
Torsten.

On 03/04/2017 09:51 PM, jazzjohn wrote: > scale(25.4/1000) //mm --> inch > What's the expectation here? OpenSCAD has no internal units currently, so this needs to either match the expectation of the next tools (e.g. for STL which has no units either) or match the fixed export units that are set when exporting the file (like for SVG). The dev snapshot will currently always force export in mm for SVG. Not sure what the last release version does. ciao, Torsten.
GF
Greg Frost
Sat, Mar 4, 2017 9:04 PM

I printed some drill templates by laying out the holes as small circles in Openscad, exporting as DXF, loading in Inkscape and printing. I didn't have to do anything and the scale came out correct. Then I just taped the printed paper to the object I wanted to drill and used a centre punch to mark all the holes through the paper.

On 5 Mar 2017, at 7:21 am, jazzjohn jazzjohn@gmail.com wrote:

module profile()
{
translate([600,0,0]) rotate(-2.2) square([100,2600]);
translate([1000,2800,0])  square([100,1300]);
translate([1077,2800,0])rotate(129)  square([100,415]);
}

$fa = 5;
$fs = 0.1;

projection()
rotate([90,0,0])
scale(25.4/1000) //mm --> inch
rotate_extrude()
profile() ;

--
View this message in context: http://forum.openscad.org/Easiest-way-to-print-2D-projection-on-paper-tp20734p20740.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

I printed some drill templates by laying out the holes as small circles in Openscad, exporting as DXF, loading in Inkscape and printing. I didn't have to do anything and the scale came out correct. Then I just taped the printed paper to the object I wanted to drill and used a centre punch to mark all the holes through the paper. > On 5 Mar 2017, at 7:21 am, jazzjohn <jazzjohn@gmail.com> wrote: > > module profile() > { > translate([600,0,0]) rotate(-2.2) square([100,2600]); > translate([1000,2800,0]) square([100,1300]); > translate([1077,2800,0])rotate(129) square([100,415]); > } > > $fa = 5; > $fs = 0.1; > > projection() > rotate([90,0,0]) > scale(25.4/1000) //mm --> inch > rotate_extrude() > profile() ; > > > > -- > View this message in context: http://forum.openscad.org/Easiest-way-to-print-2D-projection-on-paper-tp20734p20740.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
J
jazzjohn
Sat, Mar 4, 2017 9:06 PM

I was hoping to print a scale version, which is what a DXF file would allow,
I believe.

--
View this message in context: http://forum.openscad.org/Easiest-way-to-print-2D-projection-on-paper-tp20734p20744.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

I was hoping to print a scale version, which is what a DXF file would allow, I believe. -- View this message in context: http://forum.openscad.org/Easiest-way-to-print-2D-projection-on-paper-tp20734p20744.html Sent from the OpenSCAD mailing list archive at Nabble.com.
J
jazzjohn
Sat, Mar 4, 2017 10:56 PM

Solved. I was able to import the DXF into my PCB software (Diptrace).
Specified the units (mm) and itprinted just right.

Thanks guys.

--
View this message in context: http://forum.openscad.org/Easiest-way-to-print-2D-projection-on-paper-tp20734p20747.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Solved. I was able to import the DXF into my PCB software (Diptrace). Specified the units (mm) and itprinted just right. Thanks guys. -- View this message in context: http://forum.openscad.org/Easiest-way-to-print-2D-projection-on-paper-tp20734p20747.html Sent from the OpenSCAD mailing list archive at Nabble.com.
N
Neon22
Sat, Mar 4, 2017 11:09 PM

or you could have tried inkscape

--
View this message in context: http://forum.openscad.org/Easiest-way-to-print-2D-projection-on-paper-tp20734p20749.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

or you could have tried inkscape -- View this message in context: http://forum.openscad.org/Easiest-way-to-print-2D-projection-on-paper-tp20734p20749.html Sent from the OpenSCAD mailing list archive at Nabble.com.