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.
Axonometry (or 3D plane) dimensioning in TechDraw, here's how .....
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
- Shalmeneser
- Veteran
- Posts: 9554
- Joined: Wed Dec 23, 2020 12:04 am
- Location: Fr
Re: Axonometry (or 3D plane) dimensioning in TechDraw, here's how .....
OK, thanks for the info.
All your work is fantastic.
All your work is fantastic.
- wandererfan
- Veteran
- Posts: 6309
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: Axonometry (or 3D plane) dimensioning in TechDraw, here's how .....
That horrible LinkDimension command will soon be history. Point and click 3d dimensions are coming - https://www.forum.freecadweb.org/viewto ... 68#p637568Shalmeneser wrote: ↑Wed Nov 09, 2022 11:57 pm TechDraw_LinkDimension doesn't work : there is no Dimension to be selected in the dialog box.
- Shalmeneser
- Veteran
- Posts: 9554
- Joined: Wed Dec 23, 2020 12:04 am
- Location: Fr
Re: Axonometry (or 3D plane) dimensioning in TechDraw, here's how .....
Thanks for all your work. Awesome.
Re: Axonometry (or 3D plane) dimensioning in TechDraw, here's how .....
+1
Regards / Viele Grüße
Max
Max
Re: Axonometry (or 3D plane) dimensioning in TechDraw, here's how .....
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.
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. 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 ...
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. 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 ...
Re: Axonometry (or 3D plane) dimensioning in TechDraw, here's how .....
The macro
https://wiki.freecad.org/TechDraw_AxoLengthDimension
Thanks to all who helped.
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.