Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

implement an optmizer module for 2d panels #296

Open
felipesanches opened this Issue · 2 comments

2 participants

@felipesanches

Very often I use openscad for designing projects for the laser cutter. One common problem faced is that we need to position the 2d shapes in a panel for production in a laser cutter.

Nowadays I manually position the 2d shapes. Ideally I think it would be awesome to have an openscad module that implemented an optmization algorithm to have the best usage of the laser cutter panel.

I would be happy to mentor this as a google summer of code project if there's any student interested in implementing it. Otherwise, please consider it as a usual feature request. I may even try implementing it someday when I have some free time.

happy hacking,
Felipe Sanches

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@felipesanches

here's the proposed syntax:

optimize_plate([2000, 1000]){
set_of_M3_spacers(h=2, w=6);
MachineLeftPanel_face();
MachineRightPanel_face();
XEndIdler_back_face();
XEndMotor_back_face();
XEndMotor_belt_face();
XEndMotor_plain_face();
XEndIdler_belt_face();
XEndIdler_plain_face();
}

where all the modules used are representing 2d shapes and the [2000,1000] parameter describes the size of the rectangular panel where you want to place the 2d shapes in an optimized manner.

@kintel
Owner

I'm not convinced that such functionality belongs in a modeling tool.
However, I've been working a bit on a laser cutter software: https://github.com/metalab/ctrl-cut
One of the features on the wishlist there is to be able to automatically optimize cutting jobs, both in terms of cutting time and material usage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.