[Solved] TechDraw - Can't open templates with Inkscape/Gimp
Forum rules
and Helpful information
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!
Also, be nice to others! Read the FreeCAD code of conduct!
[Solved] TechDraw - Can't open templates with Inkscape/Gimp
Hello everybody,
I'd like to open an existing TechDraw-template with Inkscape (1.0 (6e3e5246a0, 2020-05-07)) to modify it. Unfortunately, I'm not able to open it. Since I'm using the FreeCAD-Appimage, I've downloaded some templates from here: https://github.com/FreeCAD/FreeCAD/tree ... /Templates
The error message looks like this:
I've tried Gimp (2.10.18) too:
Any ideas? I'm looking forward to your help, thanks in advance!
OS: Ubuntu 20.04 LTS (ubuntu:GNOME/ubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21049 (Git) AppImage
Build type: Release
Branch: master
Hash: 9c27f1078e5ec516fe882aac1a27f5c6c6174554
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)
I'd like to open an existing TechDraw-template with Inkscape (1.0 (6e3e5246a0, 2020-05-07)) to modify it. Unfortunately, I'm not able to open it. Since I'm using the FreeCAD-Appimage, I've downloaded some templates from here: https://github.com/FreeCAD/FreeCAD/tree ... /Templates
The error message looks like this:
I've tried Gimp (2.10.18) too:
Any ideas? I'm looking forward to your help, thanks in advance!
OS: Ubuntu 20.04 LTS (ubuntu:GNOME/ubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21049 (Git) AppImage
Build type: Release
Branch: master
Hash: 9c27f1078e5ec516fe882aac1a27f5c6c6174554
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)
Last edited by M4x on Sun May 17, 2020 6:40 pm, edited 1 time in total.
Regards / Viele Grüße
Max
Max
Re: TechDraw - Can't open templates with Inkscape/Gimp
Did you download .svg as raw?
Please upload the suspicious erroneous file.
Please upload the suspicious erroneous file.
Last edited by fc_tofu on Sun May 17, 2020 4:42 pm, edited 1 time in total.
Re: TechDraw - Can't open templates with Inkscape/Gimp
I can open the file in Inkscape - didn't try Gimp, as it is no svg editor. I wonder where the file is located. It doesn't seem to be in a FreeCAD installation.
OS: macOS High Sierra (10.13)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21093 (Git)
Build type: Release
Branch: master
Hash: 31bb4d84b92bc587bd79912dd15e132713610773
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: C/Default (C)
OS: macOS High Sierra (10.13)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21093 (Git)
Build type: Release
Branch: master
Hash: 31bb4d84b92bc587bd79912dd15e132713610773
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: C/Default (C)
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: TechDraw - Can't open templates with Inkscape/Gimp
Templates located on Windows LP12.1.2 build in src\data\Mod\TechDraw\Templates but I use a Data folder for Templates, Patterns, Materials etc so any build points to the same place.
Opened A3_Landscape_ISO7200_Pep.svg successfully using Inkscape 0.92.4, staying away from 1.0 for the time being!!
Opened A3_Landscape_ISO7200_Pep.svg successfully using Inkscape 0.92.4, staying away from 1.0 for the time being!!
Re: TechDraw - Can't open templates with Inkscape/Gimp
What do you mean with raw? I've just downloaded the .svg file I've attached it to this post. I had to compress it because the forum wouldn't accept the .svg-file directly.
I tried Gimp after Inkscape, only to check if another program would work. The files are downloaded from the Github repository (link in the initial post) and saved "somewhere". Currently, I'm only using the 0.19 AppImage. Hence there's no regular "install directory". Which version of Inkscape did you use?
Could you take a shot at the uploaded file?
- Attachments
-
- A3_Landscape_ISO7200_Pep.zip
- (20.33 KiB) Downloaded 15 times
Regards / Viele Grüße
Max
Max
Re: TechDraw - Can't open templates with Inkscape/Gimp
I think @fc_tofu was on the right path, the file should only have been 7Kb not 88Kb, attached is mine for you to try.
- Attachments
-
- A3_Landscape_ISO7200_Pep.svg
- (6.91 KiB) Downloaded 17 times
Re: TechDraw - Can't open templates with Inkscape/Gimp
A normal .svg file is headed with:
Code: Select all
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
Code: Select all
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="dns-prefetch" href="https://github.githubassets.com">
<link rel="dns-prefetch" href="https://avatars0.githubusercontent.com">
<link rel="dns-prefetch" href="https://avatars1.githubusercontent.com">
<link rel="dns-prefetch" href="https://avatars2.githubusercontent.com">
<link rel="dns-prefetch" href="https://avatars3.githubusercontent.com">
<link rel="dns-prefetch" href="https://github-cloud.s3.amazonaws.com">
<link rel="dns-prefetch" href="https://user-images.githubusercontent.com/">
I attached my downloaded raw .svg, same url as yours.
Note, file size is quite different than yours.
- Attachments
-
- A3_Landscape_ISO7200_Pep_tofu.zip
- (2.18 KiB) Downloaded 11 times
Re: TechDraw - Can't open templates with Inkscape/Gimp
Ups, how did I manage to do that?
Works like a charm (if you do it right).
Thank you very much!
Works like a charm (if you do it right).
Thank you very much!
Regards / Viele Grüße
Max
Max
Re: TechDraw - Can't open templates with Inkscape/Gimp
1. On template files list page, you click file name, then enter a new page.
2. You find a "Raw" button on new page. (beside "Blame" and "History")
3. Right mouse button click "Raw".
4. In context menu, you select "Save file from link" (or something similar).
Re: [Solved] TechDraw - Can't open templates with Inkscape/Gimp
Thank you, that works
Regards / Viele Grüße
Max
Max