New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ponoko blue fixture lines #3

Closed
brainstorm opened this Issue Sep 2, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@brainstorm

brainstorm commented Sep 2, 2017

@ebuller I'm trying to ship the fixture through Ponoko but I'm hitting an issue with the laser cut color coding:

skarmavbild 2017-09-02 kl 01 10 41

Apparently their design rules expect Blue lines for laser cuts and Red ones for engraving... I just need laser cuts (blue lines) in the DXF.

I tried to modify GenFixture.py script this way (instead of the default BLACK), here are my attemps, commented:

        # popt.SetColor(COLOR4D.BLACK)
        #
        # BLUE in https://github.com/KiCad/kicad-source-mirror/blob/d7bf44eee0a1ac4cf9a852d66c4ed65fff9cb788/include/colors.h
        # According to https://forum.kicad.info/t/plot-scripting-api-color-choice-for-layers/2074/4
        # popt.SetColor(COLOR4D(12))
        popt.SetColor(COLOR4D(0, 0, 255, 0))

With no success so far, the fixtures remain black...

skarmavbild 2017-09-02 kl 01 17 51

Do you know an easier way to specify blue lines by default? Perhaps in the scad file directly?

Thanks in advance!

@tinylabs

This comment has been minimized.

Show comment
Hide comment
@tinylabs

tinylabs Sep 2, 2017

Owner
Owner

tinylabs commented Sep 2, 2017

@brainstorm

This comment has been minimized.

Show comment
Hide comment
@brainstorm

brainstorm Sep 2, 2017

Yes, that's exactly what I ended up doing 10 minutes afterwards and it worked, but of course it would great to have it all automated, sad/glad to see I'm not alone 👍

brainstorm commented Sep 2, 2017

Yes, that's exactly what I ended up doing 10 minutes afterwards and it worked, but of course it would great to have it all automated, sad/glad to see I'm not alone 👍

@brainstorm brainstorm closed this Sep 2, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment