Comments (10)
Yes the documentation is in the wiki: https://github.com/mnesarco/MarzWorkbench/wiki/Custom-Shapes
Any shape (including text) must be convertetd to path before importing to freecad.
from marzworkbench.
Nice Wiki. But I'm still not surehow to use it.
Can I name the IDs using Inkscape or do I have to modify the file using an text editor?
from marzworkbench.
https://www.file-upload.net/download-14788003/screenshot_IDs.png.html
I can see some IDs that look familiar... but all those #pathXXX files?
from marzworkbench.
You can set the id of objects directly in inkscape. I am from my phone now so no snapshot to show you how. But a quick google search can help.
from marzworkbench.
Inkscape / menu / Object / Object Properties
from marzworkbench.
Can I use IDs multiple times or does every shape have to use it'S own ID?
I created a text using the text tool in Inkscape.
Then I transformed this text to path.
Now I gave every object it's own ID, but the result doesn't look what I wanted it to look like:
https://www.file-upload.net/download-14788027/screenshot_headstock.png.html
from marzworkbench.
Once you transformed text to path, there will be many paths, but you can merge all of them into one big path and then assign the id.
There are many Inkscape tutorials: https://inkscape.org/learn/tutorials/ once you know the basic operations it will be very straightforward.
from marzworkbench.
I merged the whole path into a single opject. But a single part of it still won't be displayed properly.
Here's my testfile: https://www.file-upload.net/download-14789618/example_custom_headstock.svg.html
I labeled it "lesson 01" - but the 1 won't display proberly.
from marzworkbench.
FreeCAD's svg importer is quite basic. If the paths are not connected, you must set an id to each part.
example_custom_headstock_fixed.svg.zip
from marzworkbench.
The C++ version (WIP) does not use FreeCAD's svg importer. I wrote an svg importer from scratch highly tuned for this usage. I was trying to release it before xmas, but it was impossible due to time constraints.
from marzworkbench.
Related Issues (20)
- Body shape svg file HOT 4
- Size of imported SVG files HOT 6
- Update to new FreeCAD AddonManager metadata schema HOT 1
- Import of SVG not possible HOT 4
- How do I change cavity depths to inches? HOT 3
- Marz Workbench not working on my Mac Os High Sierra HOT 11
- I have a question please (Imgui) HOT 2
- Questions... HOT 1
- asymmetric neck shape HOT 10
- Some questions HOT 2
- Error importing body svg HOT 1
- Inlay import HOT 3
- Custom Neck Pockets HOT 4
- Body Carves HOT 8
- Specialized instrument properties editor
- Smooth Transitions
- re-align inlays in fanned fretboards
- Not an issue but i need some help HOT 4
- Truss rod channel HOT 2
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 marzworkbench.