You use the eraser tool for cosmetic lines. Edit (1+2): Disregard mouse slip at end of gif that points to diagonal line.ngocminhdao88 wrote: ↑Tue Mar 02, 2021 10:28 am Ps: i don't see an option to delete cosmetic objects. Using del key removes the whole view / page.
Macro: Version 3: helper tools to improve TechDraw documents
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Macro: Version 3: helper tools to improve TechDraw documents
Many thanks for your contribution. Can verify it fixes text issue. Now off to explore new features. Thanks again.
- Attachments
-
- tdt3.jpg (62.95 KiB) Viewed 2668 times
-
- Erase.gif (62.14 KiB) Viewed 2668 times
Re: Macro: Version 3: helper tools to improve TechDraw documents
Thanks for this macro! It is really a step forward for TechDraw!
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Macro: Version 3.1: helper tools to improve TechDraw documents
Attached find version 3.1 of TechDrawTools macro.
- select a vertex, defining the coordinate origin
- select many circles (holes)
- click the button
The tool performs the following:
- create an annotation (A1, A2, ...) near each selected hole (see picture)
- create a Spreadsheet
- import the Spreadsheet into TechDraw (see picture)
Optional you can add information manually to the spreadsheet, and connect it afterwards to your TechDraw document.
It's also possible to edit the annotation texts afterwards.
One new tool to create hole tables (suggestion of ngocminhdao88) has been added:
Workflow:- select a vertex, defining the coordinate origin
- select many circles (holes)
- click the button
The tool performs the following:
- create an annotation (A1, A2, ...) near each selected hole (see picture)
- create a Spreadsheet
- import the Spreadsheet into TechDraw (see picture)
Optional you can add information manually to the spreadsheet, and connect it afterwards to your TechDraw document.
It's also possible to edit the annotation texts afterwards.
Re: Macro: Version 3: helper tools to improve TechDraw documents
Can anyone help integrating this valuable macro into the AddonManager?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Macro: Version 3: helper tools to improve TechDraw documents
Wouldn't it be better to integrate it into TechDraw?
Gruß Herbert
Re: Macro: Version 3: helper tools to improve TechDraw documents
Definitely! But as an intermediate step the AddonManager would be good.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Macro: Version 3: helper tools to improve TechDraw documents
I will initialize a PR to https://github.com/FreeCAD/FreeCAD-macros. Just have to do some small corrections.
-
- Posts: 73
- Joined: Wed Nov 11, 2020 10:43 am
Re: Macro: Version 3: helper tools to improve TechDraw documents
Hi edi,
somehow i could not use the function "Position section view" from your macro. I can align the section view to its source manually by modifying the base x and y properties (see attachment).
Please add a function to align views horizontally and vertically. This then can be use to align front, top, right, bottom, etc views, not just limited to only section views.
Again, your macro is awesome
somehow i could not use the function "Position section view" from your macro. I can align the section view to its source manually by modifying the base x and y properties (see attachment).
Please add a function to align views horizontally and vertically. This then can be use to align front, top, right, bottom, etc views, not just limited to only section views.
Again, your macro is awesome
- Attachments
-
- taper-buchse.FCStd
- (94.82 KiB) Downloaded 70 times
Re: Macro: Version 3: helper tools to improve TechDraw documents
@ngocminhdao88: If I open your attached file taper-buchse.FCStd there is a very long model tree in the combo-view, having many items with red !.
I can't see anything in the 3D-View, and there is no Techdraw Page in the model tree.
To use the macro TechDrawTools you need an opened TechDraw Page, because the macros task is to extend a Techdraw drawing.
Techdraw views are connected automatic to there origin if they are top, bottom, left or right views. This can be seen as a ProjGroup in the model tree. But if you create a section view, it is unfortunately not connected to its origin. That is the reason, why I created the 'Position section tool'.
I can't see anything in the 3D-View, and there is no Techdraw Page in the model tree.
To use the macro TechDrawTools you need an opened TechDraw Page, because the macros task is to extend a Techdraw drawing.
Techdraw views are connected automatic to there origin if they are top, bottom, left or right views. This can be seen as a ProjGroup in the model tree. But if you create a section view, it is unfortunately not connected to its origin. That is the reason, why I created the 'Position section tool'.
Re: Macro: Version 3: helper tools to improve TechDraw documents
What would be necessary to integrate these functions into TechDraw master? Is it possible to combine C++ and Python in one workbench?
aapo wrote: pinged by pinger macro
chennes wrote: pinged by pinger macro
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.