JS-PCB icon indicating copy to clipboard operation
JS-PCB copied to clipboard

Fails to find a solution on more complex PCBs

Open colemarkham opened this issue 6 years ago • 13 comments

It seems to be getting stuck in a loop trying to find a solution. It doesn't make it very far. I think it's the fanout on the MCU causing the problem. If you want to take a look, here's the DSN: https://gist.github.com/colemarkham/fe70412b61bdc881e9acd93584751589

colemarkham avatar Mar 21 '18 20:03 colemarkham

Thanks. The more test DSN’s the better!

Regards

Chris

—————- Chris Hinsley

On 21 Mar 2018, at 8:18 pm, Cole Markham [email protected] wrote:

It seems to be getting stuck in a loop trying to find a solution. It doesn't make it very far. I think it's the fanout on the MCU causing the problem. If you want to take a look, here's the DSN: https://gist.github.com/colemarkham/fe70412b61bdc881e9acd93584751589

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

vygr avatar Mar 21 '18 21:03 vygr

Running it through my C-PCB prog with these options:

./dsn2pcb BigSeries.dsn | ./pcb --v 1 --z 8 --q 10 --r 2 | ./view

Routed in about 5 seconds. I'll try the JS-PCB with grid resolution of 2. screen shot 2018-03-22 at 16 57 49

vygr avatar Mar 22 '18 17:03 vygr

May I include the dsn file in my test cases please ? I'll rename it to test6.dsn, but it would be nice to include it in the project if your ok with that.

Regards

Chris

vygr avatar Mar 22 '18 17:03 vygr

Javascript version completes ok if you up the grid res to 2. With fiddly tracks and small track gaps it sometimes needs a finer grid to work with.

Regards

Chris

ps. love to use it as an included test file ?

vygr avatar Mar 22 '18 17:03 vygr

Sure, you can include it in the test files.

colemarkham avatar Mar 22 '18 17:03 colemarkham

Looking at the visualization, it doesn't appear to take the layer into account for surface mount pads.

colemarkham avatar Mar 22 '18 17:03 colemarkham

Nice run with only 6 vias for you.

./dsn2pcb BigSeries.dsn | ./pcb --v 1 --r 2 --q 8 --z 64 | ./view

Chris screen shot 2018-03-22 at 17 19 45

vygr avatar Mar 22 '18 17:03 vygr

Also, you will notice that the surface MCU pad stack goes to the back ! That's something I need to work on as I assume that the padstack covers all layers. Clearly surface mounts don't need that or want that, so I'd like to use this file to push my parser forward.

Thanks for sharing.

Chris

vygr avatar Mar 22 '18 17:03 vygr

Missed your reply :) But yeah, surface mounts need some extra parse work on my part.

Chris

vygr avatar Mar 22 '18 17:03 vygr

I'll leave this issue open till I fix the surface mount issue. Might be a while...but I'll get round to it. :)

vygr avatar Mar 22 '18 17:03 vygr

Lost of work on C-PCB Cole. Still not how I want to deal with SMD's but losts better.

Chris screen shot 2018-05-20 at 12 45 58

vygr avatar May 20 '18 12:05 vygr

Will eventually port over to JS-PCB, but C-PCB is where I test out new things.

Regards

Chris

vygr avatar May 20 '18 12:05 vygr

Got that from a run with the latest C-PCB version and this:

./c_pcb_dsn test6.dsn | ./c_pcb --v 1 --r 2 --z 128 | ./c_pcb_view --s 12

Chris

vygr avatar May 20 '18 12:05 vygr