Page 1 of 2

Idea about improve insert horizontal/vertical dimensions tool

Posted: Sun Sep 19, 2021 6:15 pm
by Evgeniy
For example if i select circle and press "insert horizontal dimension" button
circle_1.png
circle_1.png (25.14 KiB) Viewed 3143 times
I get something like this (->0<-):
circle_2.png
circle_2.png (28.64 KiB) Viewed 3143 times
But it would be much better if result of this operation to be the horizontal (or vertical) size(diameter) of the circle.
circle_3.png
circle_3.png (29.31 KiB) Viewed 3143 times

Re: Idea about improve insert horizontal/vertical dimensions tool

Posted: Wed Sep 22, 2021 3:48 pm
by edi
Your task can be solved using TechDrawTools.FCMacro

Code: Select all

https://forum.freecadweb.org/viewtopic.php?f=35&t=59334
Workflow:
- create centerlines at circle using Draw Circle Centerlines tool
- create vertexes at intersection of horizontal centerline and circle using Create Vertexes at Intersection tool
- create horizontal measure between the vertexes
- add the ⌀-sign using the Insert a ⌀-Sign tool

Re: Idea about improve insert horizontal/vertical dimensions tool

Posted: Wed Sep 22, 2021 7:19 pm
by Evgeniy
I know that Macro edi.
But it would be great if something like this was in the official Tech Draw workbench.

As far as I understood, Tech Draw is completely written in C and perhaps this does not allow for the rapid introduction of new features due to compilation difficulties.

Re: Idea about improve insert horizontal/vertical dimensions tool

Posted: Wed Sep 22, 2021 10:19 pm
by chrisb
Evgeniy wrote: Wed Sep 22, 2021 7:19 pm I know that Macro edi.
But it would be great if something like this was in the official Tech Draw workbench.
Search edi's and domad's posts. There is work in progress.

Re: Idea about improve insert horizontal/vertical dimensions tool

Posted: Thu Sep 23, 2021 7:00 am
by Evgeniy
chrisb wrote: Wed Sep 22, 2021 10:19 pm Search edi's and domad's posts. There is work in progress.
What kind of messages you are talking about?

Re: Idea about improve insert horizontal/vertical dimensions tool

Posted: Thu Sep 23, 2021 7:24 am
by chrisb
Evgeniy wrote: Thu Sep 23, 2021 7:00 am What kind of messages you are talking about?
Their posts here in the forum.

Re: Idea about improve insert horizontal/vertical dimensions tool

Posted: Thu Sep 23, 2021 8:02 am
by Evgeniy
Don't know. I have not met anything like this.
I am not so aware of what is happening on the forum.

Re: Idea about improve insert horizontal/vertical dimensions tool

Posted: Thu Sep 23, 2021 1:59 pm
by edi
As @chrisb mentioned, the work is in progress. It is my first attempt to extend FreeCAD using C++, therefore I am very slowly.
The first 5 tools are merged already. If you compile from https://github.com/FreeCAD/FreeCAD/tree/master/src you can use it.
See also Extension Package at https://wiki.freecadweb.org/TechDraw_Workbench

Re: Idea about improve insert horizontal/vertical dimensions tool

Posted: Thu Sep 23, 2021 6:39 pm
by Evgeniy
I saw these pages when I was translating the TechDraw Wiki. And where is the discussion on the forum?
(By the way, these pages can already be marked for translation)

Re: Idea about improve insert horizontal/vertical dimensions tool

Posted: Fri Sep 24, 2021 7:23 am
by edi