Comments (21)
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.
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.
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.
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.
from plotkicadsch.
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.
from plotkicadsch.
from plotkicadsch.
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.
The font thing is not a major problem but here are a couple of pairs of screenshots;
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.
Text block alignments are not correctly managed when there are rotations or mirrors.
from plotkicadsch.
from plotkicadsch.
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.
from plotkicadsch.
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.
from plotkicadsch.
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.
from plotkicadsch.
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.
Yes, now working. Also like your visual diff - hope that my KiDiff was helpful!
from plotkicadsch.
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)
- git is changing to the master branch HOT 13
- plotgitsch command performs checkout to master HOT 2
- Running on Windows HOT 7
- Limit gitplotsch scope in nested projects HOT 20
- Do not fail when a part is missing HOT 14
- Flag for generating/keeping images even if the images do not have changes
- Commit info HOT 6
- Short version of the help and version flags HOT 9
- Intermediate images do not have a transparent background HOT 6
- Exception (Invalid_argument "index out of bounds") HOT 2
- Minor details in the produced image HOT 2
- Internal error when it finds (maybe broken) symlinks HOT 18
- Keeping original files even if they don't have changes HOT 18
- Makefile - Making package
- Diffing local changes does not work when an untracked folder is into the repo HOT 9
- License type HOT 2
- Do you have a. Kicad SCH format to support KICad 6.0 HOT 3
- Plotkicadsh fails with missing components HOT 4
- plotgitsch could return 1 when at least of the commits is using the new `.kicad_sch` format
- Distro-specific issue and possible patch HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plotkicadsch.