It's been a while since I've looked at it but it sound like you're missing this bit (from the video description) The TechDraw workbench uses an XML namespace to draw the editable text fields on the screen. You need to create an attribute on the SVG tag called xmlns:freecad and set it value to: "www.freecadweb.org/wiki/index.php?title=Svg_Namespace"
Last note delete the xml:space - preserve. This is added by Inkscape. This should put characters back on highlighted squares. Save this to desktop, then admin move it into C:\Program Files\FreeCAD\data\Mod\TechDraw\Templates.
Thanks a lot mate. It's working just fine. I'm only having a problem with alignment. The green boxes are shifting the text to the right of the page. That is also happening in this video. Have you found a way to work around this? It'd be nice to deactivate that somehow.
I've figured out why. Just in case anyone else is having this issue. Delete the xmlattribute in inkscape for all text elements with the value of "preserve". Otherwise you can change the value to "default". The rest of this video works fine. However, double check the xmlns:freecad url is correct as well.
@@JA-ur8ob This did not work for me. I have 3 texts transformed 90 degrees, and their green boxes of still off sheet after having deleted the "preserve" attribute for each of them. Anyone else have any tricks to fix this?
Inkscape keeps putting in transforms and then when loaded into FreeCAD all the text is in the wrong place. I've tried deleting them, using converters from pdf to svg, etc. etc. etc. Nothing fixes this issue.
Thanks for your feedback. I haven't revisited this since I published the video because I haven't changed my template. I don't have a solution to your problem unfortunately. I know I talked about it in either this video or the one about modifying a template, but perhaps changes in Inkscape and/or FreeCAD prevent it from working.
I'm trying to add the xmlns:freecad attribute. I've entered the url as described in the description but nothing happened. I've noticed it needs a little more information. Does anyone know what I need to add to the end of this url.
@Steve Pawinski I've been trying to replicate this but so far have not had any success. The xmlns:freecad attribute should only require the URL and nothing else. Do you recall what other information it was looking for?
Thanks Geoff, this will be very useful. Now I'm going to have to buy you lunch as well as a coffee.
Thanks for your kind words Barry. I'm glad that you found it useful. Now, what will I have for lunch??? ... lol. Cheer mate
A very helpful video, especially because there aren't a lot of videos explaining this aspect of customizing the TechDraw Workbench. Thanks!
Thanks for your kind words. I'm glad that you found it useful
You read my mind... Thank you, again, for this video.
I'm glad that you found it useful
Thank you. Very helpful.
Thanks. I glad that you found it useful
Well done!
Thanks for your kind words
The best...
Thanks for your kind words
very useful
Glad to hear that you found it useful
Thank you for the video. I have followed the steps as you instructed but I have no green box appeared in freecad techdraw?
It's been a while since I've looked at it but it sound like you're missing this bit (from the video description)
The TechDraw workbench uses an XML namespace to draw the editable text fields on the screen. You need to create an attribute on the SVG tag called xmlns:freecad and set it value to: "www.freecadweb.org/wiki/index.php?title=Svg_Namespace"
Last note delete the xml:space - preserve. This is added by Inkscape. This should put characters back on highlighted squares. Save this to desktop, then admin move it into C:\Program Files\FreeCAD\data\Mod\TechDraw\Templates.
Thanks a lot mate. It's working just fine. I'm only having a problem with alignment. The green boxes are shifting the text to the right of the page. That is also happening in this video. Have you found a way to work around this? It'd be nice to deactivate that somehow.
I've figured out why. Just in case anyone else is having this issue. Delete the xmlattribute in inkscape for all text elements with the value of "preserve". Otherwise you can change the value to "default".
The rest of this video works fine. However, double check the xmlns:freecad url is correct as well.
Thanks for your feedback. I hadn't noticed that there was a problem to be honest.
Thanks for figuring it out and letting us know.
@@GlassonDesignStudio Pleasure my friend. Thanks for the video!
@@JA-ur8ob This did not work for me. I have 3 texts transformed 90 degrees, and their green boxes of still off sheet after having deleted the "preserve" attribute for each of them. Anyone else have any tricks to fix this?
Inkscape keeps putting in transforms and then when loaded into FreeCAD all the text is in the wrong place. I've tried deleting them, using converters from pdf to svg, etc. etc. etc. Nothing fixes this issue.
Thanks for your feedback. I haven't revisited this since I published the video because I haven't changed my template. I don't have a solution to your problem unfortunately. I know I talked about it in either this video or the one about modifying a template, but perhaps changes in Inkscape and/or FreeCAD prevent it from working.
I'm trying to add the xmlns:freecad attribute. I've entered the url as described in the description but nothing happened. I've noticed it needs a little more information. Does anyone know what I need to add to the end of this url.
Thanks for your feedback Steve. It should just work. I'll do some more digging and try to get you an answer.
@@GlassonDesignStudio thanks, that's much appreciated 👍
@Steve Pawinski I've been trying to replicate this but so far have not had any success. The xmlns:freecad attribute should only require the URL and nothing else. Do you recall what other information it was looking for?
I had problems getting the URL to work. I opened the .svg file with a text editor and added it in the code.