Convert from inkscape SVG to FreeCAD sketch in fcstd file format
This is how some inkscape arc objects are rendered in FreeCAD:
Convert from inkscape SVG to FreeCAD sketch in fcstd file format
License: GNU Lesser General Public License v2.1
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
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...
This project looks neat. Care to elaborate further (README, Screenshots) also announcing on FreeCAD community forums..?
Traceback (most recent call last):
File "svg2fcsketch.py", line 53, in
from FreeCAD import Base, BoundBox
ImportError: No module named FreeCAD
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
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.