Coder Social home page Coder Social logo

festest's Introduction

Fritzing Export SVG image Testing

Explore problems exporting breadboard and schematic views to svg images from Fritzing.

See the githubio page.

Environment:

  • Fedora 24 x86_64
  • Fritzing Version 0.9.2 (b8d2d5970658f0bed09c661c9e)

Fritzing ¦ File ¦ Export ¦ as Image ¦ SVG is dropping graphics for some parts and content. This has been seen for both the breadboard and schematic views. The PCB view has not been used a lot, at least for exporting, so I do not know if the problem exists there too. For the same Fritzing documents, exporting as png or jpeg images appear correct, which points to a problem with the svg export code in Fritzing. However, some things do work, so it also appears to be related to exactly how the parts were created. This repository is being used to document and track testing of manipulation of the svg and fzp files used to create a fzpz part to import into Fritzing, and the actual results when placing the part, and exporting the views.

Reference Links

Status

Basic parts

Seem to be working fine, when being created with a text / xml editor, instead of a graphics program. As long as all of the rules / idosyncrocies are followed.

  • Content to be exported needs to be children of the element specified in the fzp file path module ¦ views ¦ «view_name»View ¦ layers ¦ layer element, layerId attribute.
  • Do not include units on font-size attributes
  • Do not used elements specified in the fzp file path module ¦ connectors ¦ connector ¦ views ¦ «view_name»View ¦ p element, terminalId attribute for visible graphics.
  • Do not use svg defs elements.
  • Specified svgId elements need their own stroke width to export correctly.

festest's People

Contributors

mmerlin avatar

Watchers

 avatar  avatar

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.