Giter Club home page Giter Club logo

Comments (21)

jnavila avatar jnavila commented on August 10, 2024

I developped this on a debian testing system and it worked. When ported to Ubuntu, it failed with the same error. I'll try fixing it, stay tuned.

from plotkicadsch.

Gasman2014 avatar Gasman2014 commented on August 10, 2024

Thank you - I was also trying an alternative (eeshow https://neo900.org/stuff/eeshow/ )but that just spirals into an annoying dependency hell related to problems building for x-windows on macOS. Would prefer not to have to run everything in a virtual environment!

from plotkicadsch.

Gasman2014 avatar Gasman2014 commented on August 10, 2024

Did you have any further thoughts on this? I have been writing a visual diff for Kicad pcbnew with a web output https://github.com/Gasman2014/KiCad-Diff but would quite like to get something similar working for schematics. Your notes on smudge/clean were very helpful to me.

from plotkicadsch.

jnavila avatar jnavila commented on August 10, 2024

The export to svg of already existing schematic files is still working (plotkicadsch), but the git library for extracting the files at a given reference has undergone a lot of changes and I hadn't much time to try to fix it.

from plotkicadsch.

Gasman2014 avatar Gasman2014 commented on August 10, 2024

from plotkicadsch.

jnavila avatar jnavila commented on August 10, 2024

JFTR, I fixed the ocaml-git interface. I had a look at your graphical comparison script and it seems your image magick scripts are much more advanced than mine. I will maybe borrow you some ideas. Thanks.

from plotkicadsch.

Gasman2014 avatar Gasman2014 commented on August 10, 2024

from plotkicadsch.

Gasman2014 avatar Gasman2014 commented on August 10, 2024

from plotkicadsch.

jnavila avatar jnavila commented on August 10, 2024

Hi @Gasman2014

I have a few questions concerning your last comment:

  • I didn't specify the font to be Times New Roman. The generated svg file does not contain any reference to a font in fact. Only font sizes are set up according to what's available in the sch file. Where are you seeing this? Can you attach a screen copy?
  • Right now the program is able to manage hierarchical sheets, but it is not able to differentiate which one of multiple instances of a sheet was changed: it's only a file based difference, and the default references for components are used. Is it the problem you are referring to?

Jean-Noël

from plotkicadsch.

Gasman2014 avatar Gasman2014 commented on August 10, 2024

The font thing is not a major problem but here are a couple of pairs of screenshots;

screen shot 2017-10-14 at 11 15 31
screen shot 2017-10-14 at 11 14 58
screen shot 2017-10-14 at 11 09 27
screen shot 2017-10-14 at 11 05 57

There are some minor positioning errors - the input label, for instance, is on the other side.
Ignore the hierarchical sheet comment - I was failing to load in the necessary library.

from plotkicadsch.

jnavila avatar jnavila commented on August 10, 2024

Text block alignments are not correctly managed when there are rotations or mirrors.

from plotkicadsch.

Gasman2014 avatar Gasman2014 commented on August 10, 2024

from plotkicadsch.

jnavila avatar jnavila commented on August 10, 2024

Just a heads up to say that the texts should now be correctly handled.

Relying on the default font is not an option. Which font would you prefer?

from plotkicadsch.

Gasman2014 avatar Gasman2014 commented on August 10, 2024

from plotkicadsch.

jnavila avatar jnavila commented on August 10, 2024

For the fonts, I just chose a mono font. The one used in Kicad cannot be found as a system one. Did you notice any difference?

from plotkicadsch.

Gasman2014 avatar Gasman2014 commented on August 10, 2024

from plotkicadsch.

jnavila avatar jnavila commented on August 10, 2024

Version 1.4 does not include the fix for the font, but the latest Git does. The SVG viewer might be picky about font specifications.

from plotkicadsch.

Gasman2014 avatar Gasman2014 commented on August 10, 2024

from plotkicadsch.

jnavila avatar jnavila commented on August 10, 2024

I was able to reproduce the serif-font issue with Firefox. The latest version forces a sans-serif font which seems to be understood by Firefox. So it might also help for you.

from plotkicadsch.

Gasman2014 avatar Gasman2014 commented on August 10, 2024

Yes, now working. Also like your visual diff - hope that my KiDiff was helpful!

from plotkicadsch.

jnavila avatar jnavila commented on August 10, 2024

In fact, the screenshot of visual diff is from the new diffing strategy : diff at the level of drawing primitives and compute a diff in vector image. This allows to zoom at any level. You can try plotgitsch for two directories also (if it can be of use in the case of Fossil).

from plotkicadsch.

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.