Git Product home page Git Product logo

Comments (7)

juulsA avatar juulsA commented on June 21, 2024 2

I stumbled across this topic yesterday and I have already started implementing it ... support is coming soon!

Done!

from interactivehtmlbom.

Funkenjaeger avatar Funkenjaeger commented on June 21, 2024

It probably goes without saying, but I would personally tackle implementing this for the Fusion/Eagle workflow, and possibly the genericjson workflow if desired.

As far as implementation/integration, my initial thoughts are:

  • Obviously, vias still wouldn't be included at all if tracks aren't included
  • Add an optional drill diameter parameter to tracks. Would only apply when the track is zero length (i.e. is a via), and if this parameter isn't included then the via would be rendered filled, exactly the same as current behavior. This way, I think this shouldn't affect kicad or other workflows (until/unless someone wants to add this behavior to those workflows also)
  • I think that in Fusion/Eagle I can automatically determine whether any given via would be tented or not based on design rules in the file
  • Simply rendering holes in vias seems innocuous enough in my mind to not warrant an additional command-line argument to enable/disable it... but I could add one if desired
  • If I were to change via rendering to look like through-hole pads, that's a bit more significant of a visual change, so might warrant a command-line argument. I'm open to suggestion on that, and whether the default should be enabled or disabled.

from interactivehtmlbom.

qu1ck avatar qu1ck commented on June 21, 2024

I've checked kicad and there it's a board level setting. Either all vias are tented or none. Is that the case with fusion/eagle too? If so then there is no need for a making this optional, just render them like through hole pads if board settings call for untented vias.

Add an optional drill diameter parameter to tracks. Would only apply when the track is zero length (i.e. is a via), and if this parameter isn't included then the via would be rendered filled, exactly the same as current behavior.

Sounds good.

Do you want me to implement format changes and kicad side first or do you want to do format + eagle first?

from interactivehtmlbom.

Funkenjaeger avatar Funkenjaeger commented on June 21, 2024

I've checked kicad and there it's a board level setting. Either all vias are tented or none. Is that the case with fusion/eagle too?

No, fusion/eagle has a design rule that's a (singular) threshold drill diameter. Vias with a drill diameter smaller than the threshold get tented, larger are un-tented. The default seems to be 0, thus all vias are un-tented by default unless the user updates the design rule. Here's an example using the manufacturing preview in Fusion - I set the threshold at 14 mils (0.3556mm), and the three vias' drill sizes (from top to bottom) are 0.65mm, 0.35mm and 0.4mm respectively.
image

there is no need for a making this optional, just render them like through hole pads if board settings call for untented vias.

Copy. For fusion/eagle I'll do it on a per-via basis - seems super easy, I'll simply omit the drill diameter parameter from the track if it's below threshold, and that via will just render as tented.

Do you want me to implement format changes and kicad side first or do you want to do format + eagle first?

I'll start a PR with at least the fusion/eagle changes and DATAFORMAT.md first, which should be quick. I can then start poking at the JS (where I assume the change to render un-tented vias like through-hole pads will need to happen), although I'm a bit less savvy at JS so if you were to beat me to the punch on that part that's also fine :)

from interactivehtmlbom.

qu1ck avatar qu1ck commented on June 21, 2024

Untented vias are now supported in kicad.

Heads up to @juulsA in case you want to add support in your Allegro export script. All you have to do is add drillsize attribute to track objects that are vias that you want rendered with a hole.

from interactivehtmlbom.

juulsA avatar juulsA commented on June 21, 2024

I stumbled across this topic yesterday and I have already started implementing it ... support is coming soon!

from interactivehtmlbom.

Funkenjaeger avatar Funkenjaeger commented on June 21, 2024

Well that escalated quickly!

from interactivehtmlbom.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.