[Features Requests] Sketcher Radius/Diameter presentation

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
cadcam
Posts: 260
Joined: Thu Apr 02, 2020 10:39 am

Re: [Features Requests] Sketcher Radius/Diameter presentation

Post by cadcam »

Sound excellent
2) Ideally allow the option to have dia/rad dims shown
horizontally as well as in line.

Just set an angle of 0°.
Think there may be a mis-understanding. I meant the option
to keep the dimension text always being horizontal, e.g. as in CadBuilder
and some other packages


Best Wishes
User avatar
Shalmeneser
Veteran
Posts: 9443
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: [Features Requests] Sketcher Radius/Diameter presentation

Post by Shalmeneser »

[...] to keep the dimension text always being horizontal
It's not even the case for :
* 'vertical dimension'
* 'dimension'
cadcam
Posts: 260
Joined: Thu Apr 02, 2020 10:39 am

Re: [Features Requests] Sketcher Radius/Diameter presentation

Post by cadcam »

' I have a dream' ;)

However, it may be unreasonable. The functionality of
sketcher is very impressive, but perhaps the polish and
readability sometimes does not match that of the competition?

(It is worth sometimes seeing what the opposition is offering, don't
have to use, but being aware of the changes being made with the
aim of improving usability/speed etc can be informative. CadBuild, Solid Edge,
Solid Works, Creo, Catia etc are always promoting advances and some concepts
may work well in/benefit FC)

[Still hanker for the option of using the layout of
dimensions in sketcher in Techdraw views
and the values to be fully linked/adjustable in either location. However, I know
there are others who don't do their sketcher layouts in the same way as me!]

Best Wishes
chrisb
Veteran
Posts: 53785
Joined: Tue Mar 17, 2015 9:14 am

Re: [Features Requests] Sketcher Radius/Diameter presentation

Post by chrisb »

openBrain wrote: Thu Jul 22, 2021 11:25 am Pull request here
Thanks!
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
openBrain
Veteran
Posts: 9031
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: [Features Requests] Sketcher Radius/Diameter presentation

Post by openBrain »

Kunda1 wrote: Thu Jul 22, 2021 4:07 pm+1
Are you upvoting a higher angle around 30°? ;)
Is this case for others?
Better update the PR before it's merged. :)
Syres
Veteran
Posts: 2891
Joined: Thu Aug 09, 2018 11:14 am

Re: [Features Requests] Sketcher Radius/Diameter presentation

Post by Syres »

I compiled the PR and it works exactly as described but for those (must be few) of us who when putting together a master sketch have PCD's, centre holes, counter bores all around the same centre point, the diameter constraints (just as now) all land on top of each other. So I'm going to have a try at randomised angles either side of that held in the @0penBrain's preference. So if it's 30 degrees, it would range from 20 to 40 degrees using something like:

Code: Select all

20 + ( std::rand() % ( 40 - 20 + 1 ) )
I'll let you know how I get on but it might not be what the community wants.
Syres
Veteran
Posts: 2891
Joined: Thu Aug 09, 2018 11:14 am

Re: [Features Requests] Sketcher Radius/Diameter presentation

Post by Syres »

openBrain wrote: Fri Jul 23, 2021 6:20 am ping
Have a look at https://github.com/0penBrain/FreeCAD/co ... 6:patch-25
openBrain
Veteran
Posts: 9031
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: [Features Requests] Sketcher Radius/Diameter presentation

Post by openBrain »

Syres wrote: Fri Jul 23, 2021 8:09 am Have a look at https://github.com/0penBrain/FreeCAD/co ... 6:patch-25
I added a commit that add possibility to set randomness if needed using a second value 'BaseApp/Preferences/Mod/Sketcher/RadiusDiamConstraintDispAngleRnd' (I coded it a bit different)

This value is a range in degrees in which the angle will vary, centered around the base value (which BTW name has changed to 'BaseApp/Preferences/Mod/Sketcher/RadiusDiamConstraintDispAngle').
Here a demo with base angle = 15° and randomness = 180°
random.gif
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: [Features Requests] Sketcher Radius/Diameter presentation

Post by GeneFC »

openBrain wrote: Fri Jul 23, 2021 9:25 am Here a demo with base angle = 15° and randomness = 180°
random.gif
The image is not linked or uploaded, and without it I cannot imagine why someone would want randomness.

Gene
openBrain
Veteran
Posts: 9031
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: [Features Requests] Sketcher Radius/Diameter presentation

Post by openBrain »

GeneFC wrote: Fri Jul 23, 2021 3:31 pm The image is not linked or uploaded, and without it I cannot imagine why someone would want randomness.
Oh something went wrong. With a mobile now, will fix later.
Anyway, the video won't have explained why it's needed, it just demonstrates the effect. @Syres explained the what-for (I have no personal interest in this feature), you can just read the thread.
Post Reply