Axonometry (or 3D plane) dimensioning in TechDraw, here's how .....

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
edi
Posts: 481
Joined: Fri Jan 17, 2020 1:32 pm

Re: Axonometry (or 3D plane) dimensioning in TechDraw, here's how .....

Post by edi »

Hello Shalmeneser,

it is an issue of the TechDraw_LinkDimension tool.

If you have created a length dimension:
- based on one edge, you have to select in 3D one edge (not two vertexes),
- based on two vertexes, you have to select in 3D two vertexes (not one edge).
Otherwise there is no selectable dimension shown in the selection box.

The macro Create3DDimension031 always creates dimensions based on two vertexes, following you have to select two vertexes in the 3D model.
User avatar
Shalmeneser
Veteran
Posts: 9474
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Axonometry (or 3D plane) dimensioning in TechDraw, here's how .....

Post by Shalmeneser »

OK, thanks for the info.
All your work is fantastic.
User avatar
wandererfan
Veteran
Posts: 6268
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Axonometry (or 3D plane) dimensioning in TechDraw, here's how .....

Post by wandererfan »

Shalmeneser wrote: Wed Nov 09, 2022 11:57 pm TechDraw_LinkDimension doesn't work : there is no Dimension to be selected in the dialog box.
That horrible LinkDimension command will soon be history. Point and click 3d dimensions are coming - https://www.forum.freecadweb.org/viewto ... 68#p637568
User avatar
Shalmeneser
Veteran
Posts: 9474
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Axonometry (or 3D plane) dimensioning in TechDraw, here's how .....

Post by Shalmeneser »

Thanks for all your work. Awesome.
User avatar
M4x
Veteran
Posts: 1472
Joined: Sat Mar 11, 2017 9:23 am
Location: Germany

Re: Axonometry (or 3D plane) dimensioning in TechDraw, here's how .....

Post by M4x »

Shalmeneser wrote: Fri Nov 11, 2022 4:00 pm Thanks for all your work. Awesome.
+1
edi
Posts: 481
Joined: Fri Jan 17, 2020 1:32 pm

Re: Axonometry (or 3D plane) dimensioning in TechDraw, here's how .....

Post by edi »

Find attached a macro creating 3D length dimensions and calculating the 3D values. The main difference compared to the former published version is, that this version calculates the 3D distance values.
Create3DDimension04.FCMacro
(4.71 KiB) Downloaded 46 times
Restriction: the dimension must be parallel to a coordinate axis !

All calculated values are character strings, shown using the Arbitrary=True option.
If the dimension is not parallel to a coordinate axis the value 0.0 is shown.
Dimension3D2.png
Dimension3D2.png (30.71 KiB) Viewed 752 times
Workflow: (see picture)
- Open a TechDraw drawing showing an axiometric view.
- Select two edges. (e1 and e2 in the picture)
The first one defines the direction and length of the dimension line,
the second one defines the (in 3D orthogonal) direction of the reference lines.
The first edge e1 must be parallel to a coordinate axis !
- Start the macro. (the red dimension in the picture is created)
- Drag the dimension to the desired position

Alternative workflow: (see picture)
- Open a TechDraw drawing showing an axiometric view.
- Select two edges. (e3 and e4 in the picture)
The first edge e3 must be parallel to a coordinate axis !
- Select two vertexes (v1 and v2 in the picture)
- Start the macro. (the blue dimension in the picture is created)
- Drag the dimension to the desired position

If the first selected edge is not parallel to one of the coordinate axis, the value cannot be calculated.
Example: (see picture)
- Select edge e5, which is not parallel to a coordinate axis.
- Select edge e6.
- Start the macro.

The green dimension showing the value 0.0 is created. You can insert the correct value manually.

Please tell me found problems, bugs, desires, comments ...
edi
Posts: 481
Joined: Fri Jan 17, 2020 1:32 pm

Re: Axonometry (or 3D plane) dimensioning in TechDraw, here's how .....

Post by edi »

The macro
edi wrote: Wed Nov 09, 2022 5:05 pm Find attached a macro creating 3D length dimensions in TechDraw drawings.
Create3DDimension031.FCMacro
has been merged as a command to the master. It will be available in the next weekly version. Documentation see:
https://wiki.freecad.org/TechDraw_AxoLengthDimension
Thanks to all who helped.
Post Reply