Wrong dimensions in Sketch 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
christi
Posts: 203
Joined: Wed Oct 24, 2018 7:03 am
Location: Karlsruhe, Germany
Contact:

Wrong dimensions in Sketch in TechDraw

Post by christi »

I created a simple sketch and I want to have it in a techdraw view. Unfortunately the dimensions in the techdraw do not match the constraints in the sketch. They are slightly different, it looks like rounding errors.
Image
Is there a way to make the techdraw dimensions match the sketcher constraints exactly ?
User avatar
Roy_043
Veteran
Posts: 8456
Joined: Thu Dec 27, 2018 12:28 pm

Re: Wrong dimensions in Sketch in TechDraw

Post by Roy_043 »

Maybe you forgot to properly align the 3D view before calling TechDraw_View? Try to correct the Direction and Xdirection of the view.
chrisb
Veteran
Posts: 53945
Joined: Tue Mar 17, 2015 9:14 am

Re: Wrong dimensions in Sketch in TechDraw

Post by chrisb »

I don't use the option to restore the view after leaving a sketch. Then, whatever the orientation of a sketch is, after leaving it is perfectly aligned to be added to a TechDraw.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
christi
Posts: 203
Joined: Wed Oct 24, 2018 7:03 am
Location: Karlsruhe, Germany
Contact:

Re: Wrong dimensions in Sketch in TechDraw

Post by christi »

Correcting Direction and XDirection solves the problem.
After leaving the XY plane sketch the orientation was not exactly set to Top. If I set the view to Top manually before adding to TechDraw this also solves the problem.
Thanks for you help.
Post Reply