[Feature request] #7466 - Use template -property

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
kemes
Posts: 63
Joined: Wed Mar 02, 2022 8:05 am

[Feature request] #7466 - Use template -property

Post by kemes »

For example when designing sheet metal parts there is a need to create a simple outline drawing of the part which will be cut. In this case I always use a blank template. Would be handy if the Template property section had a property "Use template" which could be used to enable/disable the template. In the case of false the page would be blank and dimensioned according to the dimensions in the Page Properties -section.

Sketch of the idea:
use_template.png
use_template.png (8.59 KiB) Viewed 1376 times
Last edited by Kunda1 on Fri Sep 09, 2022 2:00 pm, edited 1 time in total.
Reason: Added GH ticket number to thread title
User avatar
kemes
Posts: 63
Joined: Wed Mar 02, 2022 8:05 am

Re: [Feature request] Use template -property

Post by kemes »

User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: [Feature request] Use template -property

Post by Roy_043 »

It seems strange to have a template attached to a page and then not use it.
User avatar
wandererfan
Veteran
Posts: 6268
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: [Feature request] Use template -property

Post by wandererfan »

kemes wrote: Thu Sep 08, 2022 1:37 pm For example when designing sheet metal parts there is a need to create a simple outline drawing of the part which will be cut. In this case I always use a blank template.
I'm missing something.

What is wrong with using one of the blank page templates? You'll have to use a template anyway to get access to the property to switch off the template. How are you farther ahead?
User avatar
kemes
Posts: 63
Joined: Wed Mar 02, 2022 8:05 am

Re: [Feature request] #7466 - Use template -property

Post by kemes »

Could the logic be defined so that if a template path is not defined a blank page is shown?
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: [Feature request] #7466 - Use template -property

Post by Kunda1 »

kemes wrote: Sun Sep 11, 2022 9:53 am Could the logic be defined so that if a template path is not defined a blank page is shown?
Please elaborate
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
tobiasfalk
Posts: 93
Joined: Fri Feb 05, 2021 2:35 pm

Re: [Feature request] #7466 - Use template -property

Post by tobiasfalk »

kemes wrote: Sun Sep 11, 2022 9:53 am Could the logic be defined so that if a template path is not defined a blank page is shown?
How should that work, TD gets the size of the page out of the Template, if you want to change the template fast it is no problem to just give the path to a other template in the path field(ore push the 3 dots next to it to select a other), you just need a set of blank Templates for the page sizes you use and if you want to change the size it is also no problem because TD updates the size. For creating the blank pages you can follow the tutorial for creating templates(https://wiki.freecadweb.org/TechDraw_TemplateHowTo), or use a template generator like this one: https://github.com/tobiasfalk/KiCAD-Fre ... -Generator For the first you just do not draw something on the template, and for the later you select Blank for the Style.
Post Reply