(WORKAROUND) Is it possible to dimension a mesh in techdraw?

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
thomas-neemann
Veteran
Posts: 11729
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

(WORKAROUND) Is it possible to dimension a mesh in techdraw?

Post by thomas-neemann »

in my current project i have to create such pdf files with dimensions.

Bildschirmfoto_2023-06-02_18-50-45.png
Bildschirmfoto_2023-06-02_18-50-45.png (100.12 KiB) Viewed 1191 times


unfortunately i can't get a complex part as a step, but only as a mesh.


I tried to convert it per part into a solid, but had to cancel it because it was delayed for too long. a small test mesh resulted in confusing lines converted to techdraw.

Is there another possibility?
Last edited by thomas-neemann on Sat Jun 03, 2023 5:05 am, edited 1 time in total.
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
wandererfan
Veteran
Posts: 6238
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Is it possible to dimension a mesh in techdraw?

Post by wandererfan »

thomas-neemann wrote: Fri Jun 02, 2023 5:11 pm I tried to convert it per part into a solid, but had to cancel it because it was delayed for too long. a small test mesh resulted in confusing lines converted to techdraw.
TechDraw doesn't understand meshes yet. Yours is only the second request I can recall for drawing a mesh.

I think I tried this once. IIRC, the individual facets of the mesh were all depicted in the drawing.

I don't know enough about mesh functions to even guess at how big a job this is.
User avatar
bensay
Posts: 202
Joined: Wed Dec 22, 2021 8:14 pm
Location: Danmark
Contact:

Re: Is it possible to dimension a mesh in techdraw?

Post by bensay »

So where does this mesh origin from? Maybe there are other options to transfer it to FreeCAD
User avatar
thomas-neemann
Veteran
Posts: 11729
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Is it possible to dimension a mesh in techdraw?

Post by thomas-neemann »

wandererfan wrote: Fri Jun 02, 2023 11:06 pm

thank you for your feedback. I guess it makes sense to work with a workaround.
I would dimension it with draft in the 3d window, save it as a screenshot and with




https://wiki.freecad.org/TechDraw_Image/ro



import into techdraw
Bildschirmfoto_2023-06-03_06-59-32.png
Bildschirmfoto_2023-06-03_06-59-32.png (61.51 KiB) Viewed 1096 times
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
thomas-neemann
Veteran
Posts: 11729
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Is it possible to dimension a mesh in techdraw?

Post by thomas-neemann »

bensay wrote: Fri Jun 02, 2023 11:20 pm

I searched the web for hours for a step or file, but only found a mesh
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
chrisb
Veteran
Posts: 53786
Joined: Tue Mar 17, 2015 9:14 am

Re: (WORKAROUND) Is it possible to dimension a mesh in techdraw?

Post by chrisb »

I don't think it is sensible to support meshes in TechDraw. You would either have the drawing full of tesselation lines or you would have to do some reverse engineering to decide which lines are relevant and which come from tesselated curved shapes. But the latter is not TechDraws job, but something for a dedicated workbench.

Similar with this concrete issue. If there are artefacts in the result of ShapeFromMesh, then they have to be investigated outside of TechDraw.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
wandererfan
Veteran
Posts: 6238
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Is it possible to dimension a mesh in techdraw?

Post by wandererfan »

thomas-neemann wrote: Sat Jun 03, 2023 5:03 am thank you for your feedback. I guess it makes sense to work with a workaround.
I would dimension it with draft in the 3d window, save it as a screenshot and with https://wiki.freecad.org/TechDraw_Image/ro
import into techdraw
In v0.21 you can use TechDraw_ActiveView for this.
User avatar
thomas-neemann
Veteran
Posts: 11729
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Is it possible to dimension a mesh in techdraw?

Post by thomas-neemann »

wandererfan wrote: Sat Jun 03, 2023 12:53 pm
Thanks for the info
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
Post Reply