SebKuzminsky / pycam

Other
340 stars 98 forks source link

Operate only on specific selected features of a model #120

Open SebKuzminsky opened 6 years ago

SebKuzminsky commented 6 years ago

It is a common CAM use-case to import a complete drawing of a part and do different operations on different parts of the model. I think there's currently no convenient way to do that in PyCAM.

For example:

  1. Helix-mill through-holes in the six small circles (bolt holes).
  2. Machine partial-depth pockets in the four large circles (counter-bores for bolt heads).
  3. Full depth cut around the outline (with holding tabs!) to free the part from the raw material.
    geiger_top dxf

DXF file renamed to .txt to placate github: geiger_top.dxf.txt

sumpfralle commented 6 years ago

I could imagine, that we can split 2D models into polygons (and allow to join some of them again into a single model for convenience).

This could get a bit complicated for big models (with many polygons). Right now, I have no specific idea, how this could be solved. Maybe grouping by size, position or shape?

Would this be a step forward in the direction, that you are imagining?

SebKuzminsky commented 6 years ago

Each of the 11 closed paths in the picture above is a separate entity in the DXF file, and SVG files similarly encode separate paths as separate objects. I'm imagining something like the GUI in CamBam (which is closed source, boo hoo) and dxf2gcode (which is open source, yay). In both of those you can click on a paths to select them, and generate machining operations that only apply to the selected paths. I don't know how this would work for for a tesselated solid, since they have no notion of selectable features...

SebKuzminsky commented 6 years ago

Here are some videos showing off those GUIs.

dxf2gcode:

CamBam:

petervanderwalt commented 6 years ago

(; also checkout cam.openbuilds.com

On Thu, Apr 26, 2018 at 11:49 PM, Sebastian Kuzminsky < notifications@github.com> wrote:

Here are some videos showing off those GUIs.

dxf2gcode:

CamBam:

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/SebKuzminsky/pycam/issues/120#issuecomment-384799908, or mute the thread https://github.com/notifications/unsubscribe-auth/Ad_gt7xLkvxDkXQxFr-8lh9_GHgC-gDWks5tskD9gaJpZM4Tl4hF .