Code Monkey home page Code Monkey logo

inkscape-svg2fcsketch's Introduction

svg2fcsketch

Convert from inkscape SVG to FreeCAD sketch in fcstd file format

This is how some inkscape arc objects are rendered in FreeCAD:

inkscape-svg2fcsketch's People

Contributors

jnweiger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

galou mconsidine

inkscape-svg2fcsketch's Issues

git clone --recursive fails

When trying to git clone --recursive this repo I got

Cloning into 'inkscape-svg2fcsketch'...
remote: Enumerating objects: 31, done.
remote: Counting objects: 100% (31/31), done.
remote: Compressing objects: 100% (23/23), done.
remote: Total 194 (delta 11), reused 24 (delta 8), pack-reused 163
Receiving objects: 100% (194/194), 602.13 KiB | 0 bytes/s, done.
Resolving deltas: 100% (91/91), done.
Checking connectivity... done.
Submodule 'inksvg' (git://github.com/jnweiger/inkscape-thunderlaser.git) registered for path 'inksvg'
Cloning into 'inksvg'...
remote: Enumerating objects: 585, done.
remote: Total 585 (delta 0), reused 0 (delta 0), pack-reused 585
Receiving objects: 100% (585/585), 897.30 KiB | 515.00 KiB/s, done.
Resolving deltas: 100% (404/404), done.
Checking connectivity... done.
Submodule path 'inksvg': checked out '79f3b8dab4177b81810c0c35683fdecfbe3492c0'
Submodule 'src/ruida' ([email protected]:jnweiger/ruida-laser.git) registered for path 'src/ruida'
Cloning into 'src/ruida'...
Warning: Permanently added the RSA host key for IP address '192.30.253.113' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:jnweiger/ruida-laser.git' into submodule path 'src/ruida' failed
Failed to recurse into submodule path 'inksvg'

I installed by symlinking inkscape-svg2fcsketch.{inx,py} and it seems to work by just without ruida-laser. Thanks for the great work!

Gaël

feature: one sketch per layer

svg groups

<g
inkscape:label="Ebene 1"
inkscape:groupmode="layer"
id="layer1"

can start a new layer. Can we track in which layer we are and generate multiple ske objects accordingly?
Probably needs help from inksvg.py to track the currentl layer name...

ImportError: No module named FreeCAD

Traceback (most recent call last):
File "svg2fcsketch.py", line 53, in
from FreeCAD import Base, BoundBox
ImportError: No module named FreeCAD

Documentation

This project looks neat. Care to elaborate further (README, Screenshots) also announcing on FreeCAD community forums..?

README.md sections:

  • Requirements
  • Dependencies
  • Installation
  • Usage directions
  • Screencast (optional)
  • Discussion thread
  • Bugtracking (how to report bugs)
  • PR requirements (if users want to contribute)

mirrored arc objects are distorted

Flip some objects around in tests/arc.svg, then cehck how they render in FreeCAD.
There is some ugly code manipulating st and en in the objArc() method that needs cleanup.

Explanation of the difference with FreeCAD's SVG import

Could you please document this?

As FreeCAD needs to be installed anyway for your plugin to work, could you please add a note to explain in which regards your plugin is better than using FreeCAD's SVG import.

Thanks,
Gaël

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.