TechDraw and v0.21

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
wandererfan
Veteran
Posts: 6326
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

TechDraw and v0.21

Post by wandererfan »

I've updated the TechDraw roadmap with my plans for v0.21. As always, plans are subject to change.

Your comments and suggestions are most welcome.
User avatar
czinehuba
Posts: 160
Joined: Mon Oct 15, 2018 4:59 am
Location: UK
Contact:

Re: TechDraw and v0.21

Post by czinehuba »

Looking forward to the changes. All sound sensible. :D :D
User avatar
Roy_043
Veteran
Posts: 8578
Joined: Thu Dec 27, 2018 12:28 pm

Re: TechDraw and v0.21

Post by Roy_043 »

Maybe add a TechDraw_ExportPagePDF button to the TechDraw File Access toolbar? I know this option is available via the context menu, but adding this button would make sense I think.
User avatar
NewJoker
Veteran
Posts: 3089
Joined: Sun Oct 11, 2020 7:49 pm

Re: TechDraw and v0.21

Post by NewJoker »

This can be a very important feature to include in 0.21:
https://forum.freecadweb.org/viewtopic. ... 1&start=20

The tool seems to be pretty much ready and it’s just a matter of implementing it.
User avatar
FBXL5
Posts: 994
Joined: Sat Aug 03, 2019 8:45 pm

Re: TechDraw and v0.21

Post by FBXL5 »

Roy_043 wrote: Thu Apr 28, 2022 4:13 pm Maybe add a TechDraw_ExportPagePDF button to the TechDraw File Access toolbar? I know this option is available via the context menu, but adding this button would make sense I think.
+1
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: TechDraw and v0.21

Post by Kunda1 »

wandererfan wrote: Thu Apr 28, 2022 2:09 pm I've updated the TechDraw roadmap with my plans for v0.21. As always, plans are subject to change.
Do you mind linking each existing GH ticket in the wiki page at your convenience? :oops: :mrgreen:
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
wandererfan
Veteran
Posts: 6326
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: TechDraw and v0.21

Post by wandererfan »

Roy_043 wrote: Thu Apr 28, 2022 4:13 pm Maybe add a TechDraw_ExportPagePDF button to the TechDraw File Access toolbar? I know this option is available via the context menu, but adding this button would make sense I think.
This toolbar?
exportToolbar.png
exportToolbar.png (2.1 KiB) Viewed 1835 times
I'm not really happy with the rmb context menu. The first 2 items are ok, but the 3 export options seem out of place.
User avatar
Roy_043
Veteran
Posts: 8578
Joined: Thu Dec 27, 2018 12:28 pm

Re: TechDraw and v0.21

Post by Roy_043 »

wandererfan wrote: Fri Apr 29, 2022 1:52 pm This toolbar?
Yes. AFAICT the TechDraw WB has 3 export options (*.svg, *.dxf, *.pdf), but this toolbar only shows two.
edi
Posts: 482
Joined: Fri Jan 17, 2020 1:32 pm

Re: TechDraw and v0.21

Post by edi »

NewJoker wrote: Thu Apr 28, 2022 4:28 pm This can be a very important feature to include in 0.21:
https://forum.freecadweb.org/viewtopic. ... 1&start=20

The tool seems to be pretty much ready and it’s just a matter of implementing it.
I will try to perform this task.
There is an issue: the task creates a (surface finish) symbol, represented by a small svg file as a string. The symbol becomes connected to the page, not to the view. If the view is moved, the symbol is not moved.
Is it possible to connect a symbol to a view ?
If not, is it possible to implement this ?
User avatar
wandererfan
Veteran
Posts: 6326
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: TechDraw and v0.21

Post by wandererfan »

edi wrote: Sat Apr 30, 2022 7:13 am I will try to perform this task.
There is an issue: the task creates a (surface finish) symbol, represented by a small svg file as a string. The symbol becomes connected to the page, not to the view. If the view is moved, the symbol is not moved.
Is it possible to connect a symbol to a view ?
If not, is it possible to implement this ?
That would be great.

To connect the symbol to the view, you would add a QGCustomSvg to the QGIViewPart. We do this for Svg hatches on QGIFace. Also see QGIViewSymbol which is just a view with an embedded Svg image.

In Python, TechDrawGui.addQGIToView(myFeature, myQGSvgItem) should do it. If not, we can add some functionality.
Post Reply