TechDraw Template Autocompletion

Discussions about the development of the TechDraw workbench
ragohix769
Posts: 3
Joined: Sat Jul 18, 2020 7:04 am
Location: Rome - Italy

Re: TechDraw Template Autocompletion

Postby ragohix769 » Sat Aug 01, 2020 11:51 pm

vanuan wrote:
Sat Aug 01, 2020 7:08 pm
Let's think at the higher level.
[cut]
Unfortunately, I have a feeling that FreeCAD has a different philosophy - it doesn't help users with enforcing standards or consistency. Instead, FreeCAD provides some tooling on top of which you build your own software. I think this philosophy sucks
I agree with you here. Damn right, and it's a pity.
Last edited by ragohix769 on Sun Aug 02, 2020 11:54 pm, edited 1 time in total.
User avatar
kkremitzki
Posts: 2070
Joined: Thu Mar 03, 2016 9:52 pm
Location: Texas

Re: TechDraw Template Autocompletion

Postby kkremitzki » Sun Aug 02, 2020 12:23 am

That's not necessarily because we don't want to, but because the effort to do so is high. If you want to move towards that direction, your contributions to do so would be appreciated.
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
chrisb
Posts: 25799
Joined: Tue Mar 17, 2015 9:14 am

Re: TechDraw Template Autocompletion

Postby chrisb » Sun Aug 02, 2020 3:13 am

ragohix769 wrote:
Sat Aug 01, 2020 11:51 pm
I agree with you here. Damn right, and it's a pity.
Please don't quote complete posts. We don't want to read everything twice. Cite only what you are directly referring to. You may elaborate what models you are doing and where exactly it would help.
User avatar
vanuan
Posts: 179
Joined: Wed Oct 24, 2018 9:49 pm

Re: TechDraw Template Autocompletion

Postby vanuan » Sun Aug 02, 2020 4:00 am

kkremitzki wrote:
Sun Aug 02, 2020 12:23 am
That's not necessarily because we don't want to, but because the effort to do so is high. If you want to move towards that direction, your contributions to do so would be appreciated.
Good to hear. So, the simplest solution could be:
  • Create a root TechDraw document/workbook class/object
  • Modify getters of TechDraw page fields to check whether they have a document parent and return the fields from parent
  • If there's a parent, make certain fields of a page read-only/hidden. Possibly with an option to override.
  • Add actions/buttons/menus to rearrange the order of TechDraw pages
  • Display the page number in the object tree
Extra feature: display all the pages in a single MDI tab with Next/Prev page buttons.
After that: print all the pages in a single PDF. Possibly with ability to select page ranges to print
Somewhere in the future: deprecate rootless pages.

Sounds reasonable/doable?
ragohix769
Posts: 3
Joined: Sat Jul 18, 2020 7:04 am
Location: Rome - Italy

Re: TechDraw Template Autocompletion

Postby ragohix769 » Sun Aug 02, 2020 11:56 pm

chrisb wrote:
Sun Aug 02, 2020 3:13 am
Please don't quote complete posts.
Sorry. I edited the post now.
vocx
Posts: 4637
Joined: Thu Oct 18, 2018 9:18 pm

Re: TechDraw Template Autocompletion

Postby vocx » Mon Aug 03, 2020 4:11 am

vanuan wrote:
Sat Aug 01, 2020 7:08 pm
...
Are there any standards/file formats of technical drawing documents other than sheet-level graphical symbols like title block, line width, dimensions, etc?
...
https://forum.freecadweb.org/viewtopic. ... 20#p335949
reox wrote:
Sun Sep 22, 2019 5:21 pm
I think there should be some kind of core set of fields, which are present in every standard. For ISO7200, the must-have items are:
Legal owner (eg company)
Part number
date of issue
Section / page number
title
Approving person
creator
Document Type
(google translated from german wikipedia)
Always add the important information to your posts if you need help.
To support the documentation effort, and code development, your donation is appreciated: paypal.