discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

DXF for cut and engrave

NH
nop head
Mon, Oct 21, 2019 9:29 PM

And we all seem to have made 45 posts.

The forum has never really worked properly. I stick to the mailing list.

On Mon, 21 Oct 2019 at 22:01, kitwallace via Discuss <
discuss@lists.openscad.org> wrote:

Not sure how you could engrave a open area?

and why have we gone all anonymous?

kitwallace

--
Sent from: http://forum.openscad.org/


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

And we all seem to have made 45 posts. The forum has never really worked properly. I stick to the mailing list. On Mon, 21 Oct 2019 at 22:01, kitwallace via Discuss < discuss@lists.openscad.org> wrote: > Not sure how you could engrave a open area? > > and why have we gone all anonymous? > > kitwallace > > > > -- > Sent from: http://forum.openscad.org/ > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >
T
Troberg
Tue, Oct 22, 2019 6:28 AM

How I do this: I make each color a separate object. So, one cut object, one
engrave object in most cases. Then, I export them separately, stack them in
Lightburn, and then set the settings for each color and burn.

To make it easier to see while working in OpenSCAD, I offset the cut layer 1
mm in Z.

It would be nice if it could be done simpler, but this is the best way I
found.

--
Sent from: http://forum.openscad.org/

How I do this: I make each color a separate object. So, one cut object, one engrave object in most cases. Then, I export them separately, stack them in Lightburn, and then set the settings for each color and burn. To make it easier to see while working in OpenSCAD, I offset the cut layer 1 mm in Z. It would be nice if it could be done simpler, but this is the best way I found. -- Sent from: http://forum.openscad.org/
K
kitwallace
Tue, Oct 22, 2019 7:41 AM

In my current project on fractal patterns, both the cut outlines and the
curves to be engraved are closed paths so the difference() {outline;engrave}
trick seems to work, both to preview the design and to create a single DXF
and then into (on our laser cutter) Lasercut 5.3

In a previous project to laser cut the net of a polyhedra from card with the
interior edges scored, to get actual, coloured lines, I had to resort to
generating SVG as a string output to the console to copy into Inkscape to
convert to DXF - it would have been good to have been able to output that
text directly to a file but I never found out how to.

kit

--
Sent from: http://forum.openscad.org/

In my current project on fractal patterns, both the cut outlines and the curves to be engraved are closed paths so the difference() {outline;engrave} trick seems to work, both to preview the design and to create a single DXF and then into (on our laser cutter) Lasercut 5.3 In a previous project to laser cut the net of a polyhedra from card with the interior edges scored, to get actual, coloured lines, I had to resort to generating SVG as a string output to the console to copy into Inkscape to convert to DXF - it would have been good to have been able to output that text directly to a file but I never found out how to. kit -- Sent from: http://forum.openscad.org/
JB
Jordan Brown
Tue, Oct 22, 2019 5:17 PM

I'm a little surprised that there isn't a 2D equivalent to OpenSCAD -
basically, a 2D vector drawing program that executes a program to create
the drawing.  Yes, I know that Inkscape (and probably others) allows
Python plug-ins, but that's not the same as having an editor window and
a "run" button.

I'm a little surprised that there isn't a 2D equivalent to OpenSCAD - basically, a 2D vector drawing program that executes a program to create the drawing.  Yes, I know that Inkscape (and probably others) allows Python plug-ins, but that's not the same as having an editor window and a "run" button.
JF
Joe Francis
Tue, Oct 22, 2019 5:49 PM

Kinda like Logo? https://en.wikipedia.org/wiki/Logo_(programming_language)

On 10/22/19 12:17 PM, Jordan Brown via Discuss wrote:

I'm a little surprised that there isn't a 2D equivalent to OpenSCAD -
basically, a 2D vector drawing program that executes a program to
create the drawing.  Yes, I know that Inkscape (and probably others)
allows Python plug-ins, but that's not the same as having an editor
window and a "run" button.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

Kinda like Logo? https://en.wikipedia.org/wiki/Logo_(programming_language) On 10/22/19 12:17 PM, Jordan Brown via Discuss wrote: > I'm a little surprised that there isn't a 2D equivalent to OpenSCAD - > basically, a 2D vector drawing program that executes a program to > create the drawing.  Yes, I know that Inkscape (and probably others) > allows Python plug-ins, but that's not the same as having an editor > window and a "run" button. > > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
RW
Rogier Wolff
Tue, Oct 22, 2019 6:08 PM

On Tue, Oct 22, 2019 at 11:10:03AM -0700, WillAdams via Discuss wrote:

There are a number of programs/tools in this space (2D programmatic drawing):

I have probably missed part of this discussion, but for me: I use
openscad to design a box for a project in 3D and then I lay the pieces
flat and send the outline to be laser-cut. One popular box has a few
markings for the buttons. I can test-fit the design in openscad and
the current processing towards something for the laser-cutting-service
is too long and error prone. I'd much rather hit "export" in openscad
and that's that. But now there are a few more steps to add the
engravings in another program. (this "too difficult" has resulted in
problems that we'd fixed by adjusting an intermediate file, getting
overwritten so that we got an old problem back).

Roger. 

--
** R.E.Wolff@BitWizard.nl ** https://www.BitWizard.nl/ ** +31-15-2049110 **
**    Delftechpark 11 2628 XJ  Delft, The Netherlands.  KVK: 27239233    **
The plan was simple, like my brother-in-law Phil. But unlike
Phil, this plan just might work.

On Tue, Oct 22, 2019 at 11:10:03AM -0700, WillAdams via Discuss wrote: > There are a number of programs/tools in this space (2D programmatic drawing): I have probably missed part of this discussion, but for me: I use openscad to design a box for a project in 3D and then I lay the pieces flat and send the outline to be laser-cut. One popular box has a few markings for the buttons. I can test-fit the design in openscad and the current processing towards something for the laser-cutting-service is too long and error prone. I'd much rather hit "export" in openscad and that's that. But now there are a few more steps to add the engravings in another program. (this "too difficult" has resulted in problems that we'd fixed by adjusting an intermediate file, getting overwritten so that we got an old problem back). Roger. -- ** R.E.Wolff@BitWizard.nl ** https://www.BitWizard.nl/ ** +31-15-2049110 ** ** Delftechpark 11 2628 XJ Delft, The Netherlands. KVK: 27239233 ** The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work.
W
WillAdams
Tue, Oct 22, 2019 6:10 PM

There are a number of programs/tools in this space (2D programmatic drawing):

  • METAPOST --- one of the oldest, and the current versions allow one to
    create an SVG directly --- I set up a TeX editor such as TeXmaker and use an
    image previewer such as nomacs
  • Processing --- popular and well-supported and the subject of a number of
    books
  • NodeBox --- originally more popular on the Mac there is now a nice
    Windows implementation
  • Asymptote --- front-end to METAPOST
  • https://archives.haskell.org/projects.haskell.org/diagrams/

William

--
Sent from: http://forum.openscad.org/

There are a number of programs/tools in this space (2D programmatic drawing): - METAPOST --- one of the oldest, and the current versions allow one to create an SVG directly --- I set up a TeX editor such as TeXmaker and use an image previewer such as nomacs - Processing --- popular and well-supported and the subject of a number of books - NodeBox --- originally more popular on the Mac there is now a nice Windows implementation - Asymptote --- front-end to METAPOST - https://archives.haskell.org/projects.haskell.org/diagrams/ William -- Sent from: http://forum.openscad.org/
T
Troberg
Thu, Oct 24, 2019 8:49 AM

OpenSCAD mailing list wrote

On Tue, Oct 22, 2019 at 11:10:03AM -0700, WillAdams via Discuss wrote:

I have probably missed part of this discussion, but for me: I use

openscad to design a box for a project in 3D and then I lay the pieces
flat and send the outline to be laser-cut.

OpenSCAD is heavily oriented towards 3D-printing, and, to some extent,
leaves us laser cutter guys out in the cold, or at least requiring us to
make irritating workarounds.

For example, a line is useless in 3D-printing, but extremely useful in laser
cutting (google "living hinge" for a good example).

I really hope that considerations for laser cuttings will enter into the
plan for OpenSCAD, it would mean a lot to us. 3D-printing is just too slow,
has too small work area and too limited in materials available to be useful
for me.

--
Sent from: http://forum.openscad.org/

OpenSCAD mailing list wrote > On Tue, Oct 22, 2019 at 11:10:03AM -0700, WillAdams via Discuss wrote: >>I have probably missed part of this discussion, but for me: I use > openscad to design a box for a project in 3D and then I lay the pieces > flat and send the outline to be laser-cut. OpenSCAD is heavily oriented towards 3D-printing, and, to some extent, leaves us laser cutter guys out in the cold, or at least requiring us to make irritating workarounds. For example, a line is useless in 3D-printing, but extremely useful in laser cutting (google "living hinge" for a good example). I really hope that considerations for laser cuttings will enter into the plan for OpenSCAD, it would mean a lot to us. 3D-printing is just too slow, has too small work area and too limited in materials available to be useful for me. -- Sent from: http://forum.openscad.org/
NH
nop head
Thu, Oct 24, 2019 9:56 AM

The problem is a laser doesn't cut a line with zero thickness but people
pretend it does.

You can model any object a laser can produce in OpenSCAD. What is needed is
a CAM stage for lasers that creates the tool path, just as 3D printing and
milling. For some reason the CAM stage is ignored when laser cutting.

On Thu, 24 Oct 2019 at 09:39, Troberg troberg.anders@gmail.com wrote:

OpenSCAD mailing list wrote

On Tue, Oct 22, 2019 at 11:10:03AM -0700, WillAdams via Discuss wrote:

I have probably missed part of this discussion, but for me: I use

openscad to design a box for a project in 3D and then I lay the pieces
flat and send the outline to be laser-cut.

OpenSCAD is heavily oriented towards 3D-printing, and, to some extent,
leaves us laser cutter guys out in the cold, or at least requiring us to
make irritating workarounds.

For example, a line is useless in 3D-printing, but extremely useful in
laser
cutting (google "living hinge" for a good example).

I really hope that considerations for laser cuttings will enter into the
plan for OpenSCAD, it would mean a lot to us. 3D-printing is just too slow,
has too small work area and too limited in materials available to be useful
for me.

--
Sent from: http://forum.openscad.org/


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

The problem is a laser doesn't cut a line with zero thickness but people pretend it does. You can model any object a laser can produce in OpenSCAD. What is needed is a CAM stage for lasers that creates the tool path, just as 3D printing and milling. For some reason the CAM stage is ignored when laser cutting. On Thu, 24 Oct 2019 at 09:39, Troberg <troberg.anders@gmail.com> wrote: > OpenSCAD mailing list wrote > > On Tue, Oct 22, 2019 at 11:10:03AM -0700, WillAdams via Discuss wrote: > >>I have probably missed part of this discussion, but for me: I use > > openscad to design a box for a project in 3D and then I lay the pieces > > flat and send the outline to be laser-cut. > > OpenSCAD is heavily oriented towards 3D-printing, and, to some extent, > leaves us laser cutter guys out in the cold, or at least requiring us to > make irritating workarounds. > > For example, a line is useless in 3D-printing, but extremely useful in > laser > cutting (google "living hinge" for a good example). > > I really hope that considerations for laser cuttings will enter into the > plan for OpenSCAD, it would mean a lot to us. 3D-printing is just too slow, > has too small work area and too limited in materials available to be useful > for me. > > > > -- > Sent from: http://forum.openscad.org/ > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >
RW
Rogier Wolff
Thu, Oct 24, 2019 10:49 AM

On Thu, Oct 24, 2019 at 10:56:15AM +0100, nop head wrote:

The problem is a laser doesn't cut a line with zero thickness but people
pretend it does.

You can model any object a laser can produce in OpenSCAD. What is needed is
a CAM stage for lasers that creates the tool path, just as 3D printing and
milling. For some reason the CAM stage is ignored when laser cutting.

The CAM stage traditionally happens in the printer driver under
windows. A program, ANY program tells windows it wants to print
something. Then together with some confguration, the printer driver
translates e.g. the color of the line into different commands for the
laser (say: red: "all the way through at 100% laser power and 10%
speed, blue: "just a scorched line at 50% laser power and 100%
speed", green: "engraved in bitmap mode").

The problem is that with those things tightly coupled to the laser
device in question, and them being closed source, it is difficult to
optimize those things. For example, at my friends' the laser will
easily cut up a single "rounded box" outline into 4 lines and for
quarter-circles and do them in the woarst possible order you can
imagine.

Optimizing the toolpath is equivalent to the travelling salesman
problem and therefore NP complete. But that doesn't mean you can't do
a meaningful optimization. An easy optimization (that 3D printer
slicers should also do!) would be to always pick the closest
linesegment. In the rounded-box example that immediately leads to the
optimal solution. Then as a post processing step, investigate the
longest non-cutting moves and see if you can improve on them. Take a
segment between two long-moves and try to insert it in the path
somewhere to see if the total non-cutting path length can be reduced.

Sorry for my rant.

Roger. 

On Thu, 24 Oct 2019 at 09:39, Troberg troberg.anders@gmail.com wrote:

OpenSCAD mailing list wrote

On Tue, Oct 22, 2019 at 11:10:03AM -0700, WillAdams via Discuss wrote:

I have probably missed part of this discussion, but for me: I use

openscad to design a box for a project in 3D and then I lay the pieces
flat and send the outline to be laser-cut.

OpenSCAD is heavily oriented towards 3D-printing, and, to some extent,
leaves us laser cutter guys out in the cold, or at least requiring us to
make irritating workarounds.

For example, a line is useless in 3D-printing, but extremely useful in
laser
cutting (google "living hinge" for a good example).

I really hope that considerations for laser cuttings will enter into the
plan for OpenSCAD, it would mean a lot to us. 3D-printing is just too slow,
has too small work area and too limited in materials available to be useful
for me.

--
Sent from: http://forum.openscad.org/


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

--
** R.E.Wolff@BitWizard.nl ** https://www.BitWizard.nl/ ** +31-15-2049110 **
**    Delftechpark 11 2628 XJ  Delft, The Netherlands.  KVK: 27239233    **
The plan was simple, like my brother-in-law Phil. But unlike
Phil, this plan just might work.

On Thu, Oct 24, 2019 at 10:56:15AM +0100, nop head wrote: > The problem is a laser doesn't cut a line with zero thickness but people > pretend it does. > > You can model any object a laser can produce in OpenSCAD. What is needed is > a CAM stage for lasers that creates the tool path, just as 3D printing and > milling. For some reason the CAM stage is ignored when laser cutting. The CAM stage traditionally happens in the printer driver under windows. A program, ANY program tells windows it wants to print something. Then together with some confguration, the printer driver translates e.g. the color of the line into different commands for the laser (say: red: "all the way through at 100% laser power and 10% speed, blue: "just a scorched line at 50% laser power and 100% speed", green: "engraved in bitmap mode"). The problem is that with those things tightly coupled to the laser device in question, and them being closed source, it is difficult to optimize those things. For example, at my friends' the laser will easily cut up a single "rounded box" outline into 4 lines and for quarter-circles and do them in the woarst possible order you can imagine. Optimizing the toolpath is equivalent to the travelling salesman problem and therefore NP complete. But that doesn't mean you can't do a meaningful optimization. An easy optimization (that 3D printer slicers should also do!) would be to always pick the closest linesegment. In the rounded-box example that immediately leads to the optimal solution. Then as a post processing step, investigate the longest non-cutting moves and see if you can improve on them. Take a segment between two long-moves and try to insert it in the path somewhere to see if the total non-cutting path length can be reduced. Sorry for my rant. Roger. > > On Thu, 24 Oct 2019 at 09:39, Troberg <troberg.anders@gmail.com> wrote: > > > OpenSCAD mailing list wrote > > > On Tue, Oct 22, 2019 at 11:10:03AM -0700, WillAdams via Discuss wrote: > > >>I have probably missed part of this discussion, but for me: I use > > > openscad to design a box for a project in 3D and then I lay the pieces > > > flat and send the outline to be laser-cut. > > > > OpenSCAD is heavily oriented towards 3D-printing, and, to some extent, > > leaves us laser cutter guys out in the cold, or at least requiring us to > > make irritating workarounds. > > > > For example, a line is useless in 3D-printing, but extremely useful in > > laser > > cutting (google "living hinge" for a good example). > > > > I really hope that considerations for laser cuttings will enter into the > > plan for OpenSCAD, it would mean a lot to us. 3D-printing is just too slow, > > has too small work area and too limited in materials available to be useful > > for me. > > > > > > > > -- > > Sent from: http://forum.openscad.org/ > > > > _______________________________________________ > > OpenSCAD mailing list > > Discuss@lists.openscad.org > > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org -- ** R.E.Wolff@BitWizard.nl ** https://www.BitWizard.nl/ ** +31-15-2049110 ** ** Delftechpark 11 2628 XJ Delft, The Netherlands. KVK: 27239233 ** The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work.