[Sketcher] Tune dimension position with scripting.

About the development of the Part Design module/workbench. PLEASE DO NOT POST HELP REQUESTS HERE!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
onekk
Veteran
Posts: 6144
Joined: Sat Jan 17, 2015 7:48 am
Contact:

[Sketcher] Tune dimension position with scripting.

Post by onekk »

Hello, I've done a quick search on the forum, using a search engine, (to circumvent forum search limitations).

But I've not found a way to tune the position of the dimensions, with Gui is easy to drag the constraint dimension in a proper place to avoid overlap with other dimensions, with scripting nothing is echoed.

There is a way to tune this dimension, position maybe even only to left or right to avoid overimposed lengths that will make the editing difficult.

from this:
dim_const_1.png
dim_const_1.png (6.33 KiB) Viewed 622 times
to this:
dim_const.png
dim_const.png (8.21 KiB) Viewed 622 times
Regards

Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.

Blog: https://okkmkblog.wordpress.com/
chrisb
Veteran
Posts: 53920
Joined: Tue Mar 17, 2015 9:14 am

Re: [Sketcher] Tune dimension position with scripting.

Post by chrisb »

onekk wrote: Wed May 03, 2023 10:21 am But I've not found a way to tune the position of the dimensions,
You may try to check what's in the Document.xml file.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
onekk
Veteran
Posts: 6144
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: [Sketcher] Tune dimension position with scripting.

Post by onekk »

Thanks I will try to see if something could be found there.

Regards

Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.

Blog: https://okkmkblog.wordpress.com/
Post Reply