mecamira / dxf2gcode

Automatically exported from code.google.com/p/dxf2gcode
0 stars 0 forks source link

Userdefinable order of shapes #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Describe current behaviour:

The order of the shapes is often not optimal. Sometimes a part is cut out
before all holes in it are cut, thus making it necessary to change the
order manually in the g-code file, which is error-prone.

How should it be changed?

An option for a user defined cutting order could be introduced. Maybe a
listbox/treeview of all shapes in which the order is visualized and can be
changed. Optionally the shapes could be named here and the names inserted
as comments into the gcode.

Other than that, great program! Helped me a lot so far.

Original issue reported on code.google.com by konstant...@gmail.com on 28 Dec 2009 at 1:42

GoogleCodeExporter commented 9 years ago

Original comment by christian.kohloeffel on 28 Dec 2009 at 9:33

GoogleCodeExporter commented 9 years ago
sounds like a very good idea. An export set would also be the ideal place to
optionally apply the TSP route optimizer.

I could imagine this as follows:
- the lower left window (which will have 'Layers' and 'Entitites' tabs) gets a 
default tab called 'Export set'
- 'Option->Create export set' creates a new export set tab with auto-generated 
name
- the context menu gets an entry 'Add to export set' so shapes would be added 
to the
(current) export set
- click/drag in the export to rearrange the order of shapes
- 'Option->Optimize route' (or right-click in the current export set tab->choose
'Optimize route') reorders the selected items in the current export set with 
the TSP
algorithm
- right-click on export set tab also displays option to apply any
exporter/transformer instance to the set
- the export and transform options would still be available for simple 
selections in
the context menu, and operate on the current canvas selection

- 'Export': looks a bit different:
  -'current selection'->exporter/transformer instances
  -'export set 1..n'->exporter/transformer instances
- entity and layer tabs:
  - click to select an item
  - shift-click to select several items/toggle items
  - right-click creates cascade menu with 'Add to export set..'-> set name 1, set
name 2..

applying a transformer generates a export set with the result shapes

Let's re-think wether 'Export set' is the right term; it's really a glorified
selection to apply some operation onto.

-Michael

"there's no problem in Computer Science which can not be solved by adding a 
level of
indirection"

Original comment by haberl...@gmail.com on 28 Dec 2009 at 11:07

GoogleCodeExporter commented 9 years ago
The new pyQt Version of dxf2gcode includes this possibility to Change the order 
of shapes.

Original comment by christian.kohloeffel on 1 Jun 2013 at 3:18