Hi Ian,

We are able to generate very high quality renderings right in Gerbv, without any scripts, other than what is provided by the Gerbv project files. See the attached screen print, gerbv.png.

In our case, we've made the solder mask overly transparent, so that we can see both copper layers. It shouldn't be difficult to tweak the color and transparency to obtain the standard Dangerous Prototypes board colors.

Regards,

Linda

On 2016-03-26 01:37, ian wrote:
Hi James,

Thank you for responding to my email. I'm sorry for the delayed reply, I
have been out of the office and then we had hacker camp.

The output directly from gerbv is ok, but I think our approach to
blending the layers creates a more life-like look. Here is an example.

First we output each layer from gerbv. One layer is on, the others are
alpha transparent:
http://dirtypcbs.com/videos/top_silkscreen.png
http://dirtypcbs.com/videos/top_copper.png
http://dirtypcbs.com/videos/plated_drills.png
http://dirtypcbs.com/videos/bottom_copper.png
http://dirtypcbs.com/videos/bottom_silkscreen.png

The using the open source ImageMagik image tools, we start to composite
the layers of the board
http://dirtypcbs.com/videos/background_initial.png

And then add color fill:
http://dirtypcbs.com/videos/background.png

Then create the top and bottom backgrounds with drill holes:
http://dirtypcbs.com/videos/top_background.png
http://dirtypcbs.com/videos/bottom_background.png

Top and bottom solder masks:
http://dirtypcbs.com/videos/top_soldermask.png
http://dirtypcbs.com/videos/bottom_soldermask.png

Then the layers are stacked: _soldermask, _copper, _background for the
final view:
http://dirtypcbs.com/videos/top.png
http://dirtypcbs.com/videos/bottom.png

In my php script I go a bit further and add a final _copper on the top
faded very light to give the impression of where the traces are.
Gerblook doesn't do this, but it handles other things much better, so we
are using gerblook on the new site.

When I wrote my initial rendering script I tried for a while to get
direct output from gerbv similar to this, but ended up ground the same
way as gerblook. If there is an alternative using only gerbv I would
happily adopt it.

The feature I'd like to see (and would happily pay for) is a way to get
the first five files with fewer processing cycles expended.

Thank you and best regards,

Ian






On 3/14/2016 7:57 PM, James Sleeman wrote:
On 2016-03-15 00:27, James Sleeman wrote:

Like this for example (bottom layer, mirrored, of course you can
de-mirror it post-process).

http://imgur.com/2PWuexd
dirtyimager.sh Through.txt TopSilk.gto TopMask.gts Top.gtl
Whoops that's the top view, for completeness, here's the (mirrored)
bottom view generated by the same script...

http://imgur.com/HDV6yVt

dirtyimager.sh Through.txt BottomSilk.gbo BottomMask.gbs Bottom.gbl


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
Gerbv-devel mailing list
Gerbv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gerbv-devel


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
Gerbv-devel mailing list
Gerbv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gerbv-devel

(gerbv-file-version! "2.0A")
(define-layer! 5 (cons 'filename "Cubesat5.GBL")
        (cons 'visible #t)
        (cons 'color #(20560 41120 20560))
        (cons 'alpha #(65535))
)
(define-layer! 4 (cons 'filename "Cubesat5.GTL")
        (cons 'visible #t)
        (cons 'color #(59110 51400 0))
        (cons 'alpha #(65535))
)
(define-layer! 3 (cons 'filename "Cubesat5.GTS")
        (cons 'inverted #t)
        (cons 'visible #t)
        (cons 'color #(0 23130 0))
)
(define-layer! 2 (cons 'filename "Cubesat5.GTO")
        (cons 'visible #t)
        (cons 'color #(65535 65535 65535))
        (cons 'alpha #(65535))
)
(define-layer! 1 (cons 'filename "Cubesat5.GML")
        (cons 'visible #t)
        (cons 'color #(0 0 0))
        (cons 'alpha #(65535))
)
(define-layer! 0 (cons 'filename "Cubesat5.TXT")
        (cons 'visible #t)
        (cons 'color #(0 0 0))
        (cons 'alpha #(65535))
        (cons 'attribs (list
                (list 'autodetect 'Boolean 1)
                (list 'zero_suppression 'Enum 1)
                (list 'units 'Enum 1)
                (list 'digits 'Integer 3)
        ))
)
(define-layer! -1 (cons 'filename "C:/Users/Linda/Boards/Cubesat/PCB5/Gerbers")
        (cons 'color #(24672 32896 24672))
)
(set-render-type! 3)
(gerbv-file-version! "2.0A")
(define-layer! 5 (cons 'filename "Cubesat5.GTL")
        (cons 'visible #t)
        (cons 'color #(20560 41120 20560))
        (cons 'alpha #(65535))
        (cons 'mirror #(#f #t))
)
(define-layer! 4 (cons 'filename "Cubesat5.GBL")
        (cons 'visible #t)
        (cons 'color #(59110 51400 0))
        (cons 'alpha #(65535))
        (cons 'mirror #(#f #t))
)
(define-layer! 3 (cons 'filename "Cubesat5.GBS")
        (cons 'inverted #t)
        (cons 'visible #t)
        (cons 'color #(0 23130 0))
        (cons 'mirror #(#f #t))
)
(define-layer! 2 (cons 'filename "Cubesat5.GBO")
        (cons 'visible #t)
        (cons 'color #(65535 65535 65535))
        (cons 'alpha #(65535))
        (cons 'mirror #(#f #t))
)
(define-layer! 1 (cons 'filename "Cubesat5.GML")
        (cons 'visible #t)
        (cons 'color #(0 0 0))
        (cons 'alpha #(65535))
        (cons 'mirror #(#f #t))
)
(define-layer! 0 (cons 'filename "Cubesat5.TXT")
        (cons 'visible #t)
        (cons 'color #(0 0 0))
        (cons 'alpha #(65535))
        (cons 'mirror #(#f #t))
        (cons 'attribs (list
                (list 'autodetect 'Boolean 1)
                (list 'zero_suppression 'Enum 1)
                (list 'units 'Enum 1)
                (list 'digits 'Integer 3)
        ))
)
(define-layer! -1 (cons 'filename "C:/Users/Linda/Boards/Cubesat/PCB5/Gerbers")
        (cons 'color #(24672 32896 24672))
)
(set-render-type! 3)
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
Gerbv-devel mailing list
Gerbv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gerbv-devel

Reply via email to