Handles when importing Inkscape SVG (solved)

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
judge
Posts: 10
Joined: Fri Jan 21, 2022 4:17 am

Handles when importing Inkscape SVG (solved)

Post by judge »

When I import an Inkscape SVG I can see the handles on the imported drawing, like this:
Initial import
Initial import
Screenshot 2023-01-27 at 8.19.24 PM.png (66.88 KiB) Viewed 361 times
I convert it to a sketch, and the sketch looks fine, like any other b-spline curve:
Sketch
Sketch
Screenshot 2023-01-27 at 8.21.06 PM.png (298.07 KiB) Viewed 361 times
When I pad it in the part design workbench, it is drawn with really thick lines. Not shown here, but if there are any other parts in the the same body, they are suddenly drawn with really thick lines too.
Padded scketch
Padded scketch
Screenshot 2023-01-27 at 8.21.50 PM.png (124.03 KiB) Viewed 361 times
What is going on here? I looked back at a previous test part I made that also imported an Inkscape SVG. If I look really closely, I can see that it too has the handles being drawn, they are just really small.

I've attached the SVG I am trying to import. This is the version of FreeCAD I am using:

Code: Select all

OS: macOS 10.16
Word size of FreeCAD: 64-bit
Version: 0.20.2.29603 (Git)
Build type: Release
Branch: (HEAD detached at 0.20.2)
Hash: 930dd9a76203a3260b1e6256c70c1c3cad8c5cb8
Python 3.10.8, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: C/Default (C)
Installed mods: 
  * dxf-library
  * kicadStepUpMod 10.17.1
  * Curves 0.5.14
  * Assembly4 0.12.5
Attachments
swirl3-scaled.svg
SVG file
(4.04 KiB) Downloaded 22 times
Last edited by judge on Sun Jan 29, 2023 1:14 pm, edited 1 time in total.
judge
Posts: 10
Joined: Fri Jan 21, 2022 4:17 am

Re: Handles when importing Inkscape SVG

Post by judge »

To answer my own question, it is these preferences (I swear I didn't change them!). Here I have set them to 2px. They were 9px for line width and 5px for Vertex size. The 9px line width wasn't applied until I did the pad, but the Vertex size was applied when I imported the SVG.
Perferences
Perferences
Screenshot 2023-01-27 at 9.56.32 PM.png (72.21 KiB) Viewed 297 times
Also, I discovered I could change them for individual objects by right-clicking and selecting appearance - at least if you are in the Part Design or Draft workbenches.
User avatar
onekk
Veteran
Posts: 6145
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: Handles when importing Inkscape SVG

Post by onekk »

judge wrote: Sat Jan 28, 2023 3:09 am ...
Happy to hear that problem is solved.

Please edit first post and place [Solved] in front of the title signal that the problem has a solution.

Regards

Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.

Blog: https://okkmkblog.wordpress.com/
Post Reply