Design your own template for the TechDraw workbench

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 พ.ค. 2024
  • This video shows you how to create a new template for use in FreeCAD's TechDraw workbench.
    Support this channel
    I am very grateful that you watch my videos and I am constantly trying to improve the quality of the videos on this channel. If you'd like to help me do this, please consider supporting me so that I can to continue to produce content for your enjoyment.
    👉 Help support this channel by buying me a coffee: www.buymeacoffee.com/gds
    All donations will be used to purchase equipment to improve my productivity and increase the quality of the content that I produce.
    Contents
    🔹 00:00 Introduction
    🔹 00:52 Creating the sample part
    🔹 01:43 Introduction to InkScape
    🔹 02:13 Setting the template page size
    🔹 02:37 Creating a basic template
    🔹 04:44 Testing the template without editable text
    🔹 04:59 Making the text editable (almost)
    🔹 06:36 Testing the updated template in FreeCAD
    🔹 07:04 Adding the last ingredient for editable text
    🔹 07:20 More testing in FreeCAD
    🔹 07:32 What happens if the text is rotated?
    🔹 08:45 Using line styles, etc
    Workbenches used:
    🔹 General
    🔹 TechDraw
    FreeCAD namespace - 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...."
    👉 InkScape website: inkscape.org/
    FreeCAD links
    👉 FreeCAD website: www.freecadweb.org
    👉 Downloads: freecadweb.org/downloads.php
    Copyright
    Copyright Glasson Design Studio 2022. All rights reserved.
    Where to find us
    👉 Website: www.glassondesignstudio.com.au
    👉 Facebook: / glassondesignstudio
    👉 Instagram: / glassondesignstudio
    Credits
    Writer, Editor, Producer: Geoff Glasson
  • แนวปฏิบัติและการใช้ชีวิต

ความคิดเห็น • 31

  • @wiseoldfool
    @wiseoldfool 2 ปีที่แล้ว +3

    Thanks Geoff, this will be very useful. Now I'm going to have to buy you lunch as well as a coffee.

    • @GlassonDesignStudio
      @GlassonDesignStudio  2 ปีที่แล้ว

      Thanks for your kind words Barry. I'm glad that you found it useful. Now, what will I have for lunch??? ... lol. Cheer mate

  • @WChamp-vo8rt
    @WChamp-vo8rt 2 ปีที่แล้ว +3

    A very helpful video, especially because there aren't a lot of videos explaining this aspect of customizing the TechDraw Workbench. Thanks!

    • @GlassonDesignStudio
      @GlassonDesignStudio  2 ปีที่แล้ว

      Thanks for your kind words. I'm glad that you found it useful

  • @Kingeroy
    @Kingeroy 2 ปีที่แล้ว

    You read my mind... Thank you, again, for this video.

  • @gregwoolley
    @gregwoolley ปีที่แล้ว

    Thank you. Very helpful.

  • @pasqualealba
    @pasqualealba ปีที่แล้ว

    Well done!

  • @laureano213
    @laureano213 2 ปีที่แล้ว +1

    The best...

  • @andrewtan7684
    @andrewtan7684 ปีที่แล้ว +1

    Thank you for the video. I have followed the steps as you instructed but I have no green box appeared in freecad techdraw?

    • @GlassonDesignStudio
      @GlassonDesignStudio  11 หลายเดือนก่อน

      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"

  • @manuelastros3927
    @manuelastros3927 ปีที่แล้ว

    very useful

  • @stevesith6974
    @stevesith6974 ปีที่แล้ว +2

    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.

  • @jwatkins672012
    @jwatkins672012 3 หลายเดือนก่อน

    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.

    • @GlassonDesignStudio
      @GlassonDesignStudio  3 หลายเดือนก่อน

      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.

  • @JA-ur8ob
    @JA-ur8ob ปีที่แล้ว

    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.

    • @JA-ur8ob
      @JA-ur8ob ปีที่แล้ว

      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.

    • @GlassonDesignStudio
      @GlassonDesignStudio  ปีที่แล้ว

      Thanks for your feedback. I hadn't noticed that there was a problem to be honest.

    • @GlassonDesignStudio
      @GlassonDesignStudio  ปีที่แล้ว

      Thanks for figuring it out and letting us know.

    • @JA-ur8ob
      @JA-ur8ob ปีที่แล้ว

      @@GlassonDesignStudio Pleasure my friend. Thanks for the video!

    • @zktec1
      @zktec1 11 วันที่ผ่านมา

      ​@@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?

  • @stevepawinski1786
    @stevepawinski1786 ปีที่แล้ว

    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.

    • @GlassonDesignStudio
      @GlassonDesignStudio  ปีที่แล้ว +1

      Thanks for your feedback Steve. It should just work. I'll do some more digging and try to get you an answer.

    • @stevepawinski1786
      @stevepawinski1786 ปีที่แล้ว

      @@GlassonDesignStudio thanks, that's much appreciated 👍

    • @GlassonDesignStudio
      @GlassonDesignStudio  ปีที่แล้ว

      @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?

    • @jetherwood7680
      @jetherwood7680 10 หลายเดือนก่อน

      I had problems getting the URL to work. I opened the .svg file with a text editor and added it in the code.