Techdraw dimension between line and arc tangent

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
vectronic
Posts: 52
Joined: Sun Feb 18, 2018 9:44 pm

Techdraw dimension between line and arc tangent

Post by vectronic »

Hello,

Is there anyway in techdraw to define a measurement as indicate by the red arrow on the attached annotated screenshot?

The best attempt I have had is to insert a cosmetic index (by eye) on the arc, and then do a measurement from the line to the arc - less than optimal. However for some reason I am now experiencing a bug where I can't seem to add a cosmetic index, so can't even do this...


Thanks very much.

Nick
Screenshot 2020-04-27 at 00.15.41.png
Screenshot 2020-04-27 at 00.15.41.png (122.37 KiB) Viewed 1375 times
chrisb
Veteran
Posts: 54213
Joined: Tue Mar 17, 2015 9:14 am

Re: Techdraw dimension between line and arc tangent

Post by chrisb »

You can do this in the model by creating appropriate seams. TechDraw is probably the wrong place to add such stuff (normal to circle and an edge - or should it be the center point of the line?).
Attachments
Snip macro screenshot-3613fe.png
Snip macro screenshot-3613fe.png (26.26 KiB) Viewed 1369 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
wandererfan
Veteran
Posts: 6321
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Techdraw dimension between line and arc tangent

Post by wandererfan »

vectronic wrote: Sun Apr 26, 2020 11:21 pm Is there anyway in techdraw to define a measurement as indicate by the red arrow on the attached annotated screenshot?
The best attempt I have had is to insert a cosmetic index (by eye) on the arc, and then do a measurement from the line to the arc - less than optimal.
@chrisb has it. When I need to do something tricky, I add construction geometry in 3D, then include it as Source for the View.
You can always hide the construction lines with the line decorator.
However for some reason I am now experiencing a bug where I can't seem to add a cosmetic index, so can't even do this...
details please. :) I don't get a lot of feedback on the cosmetic functions unless they crash.
vectronic
Posts: 52
Joined: Sun Feb 18, 2018 9:44 pm

Re: Techdraw dimension between line and arc tangent

Post by vectronic »

wandererfan wrote: Mon Apr 27, 2020 12:59 am details please. :) I don't get a lot of feedback on the cosmetic functions unless they crash.
With pleasure :-)

I have recorded my actions here to add a cosmetic vertex -> maybe I am doing something wrong? As far as I can see this isn't desired behaviour and I'm sure it didn't work like this previously.

https://www.loom.com/share/2a25b6f0fae9 ... b08f59a79b

I attach the cad file before the recording and after the recording.

Thanks
Nick
Attachments
example.FCStd
(211.21 KiB) Downloaded 19 times
example-after.FCStd
(211.62 KiB) Downloaded 20 times
vectronic
Posts: 52
Joined: Sun Feb 18, 2018 9:44 pm

Re: Techdraw dimension between line and arc tangent

Post by vectronic »

wandererfan wrote: Mon Apr 27, 2020 12:59 am @chrisb has it. When I need to do something tricky, I add construction geometry in 3D, then include it as Source for the View.
You can always hide the construction lines with the line decorator.
I have attached a screenshot of the sketch used to drive the geometry where I have a tangent construction line. I am using this to constrain the distance to the line. This constraint distance is what I am trying to expose in the techdraw drawing.

I must admit I am a bit clueless on how to proceed with your suggestion. I think instead of using a construction line, I think I would need to use external geometry in the sketch, but there is no external geometry to reference in this case.

The construction line done has a point on circle constraint as well, but I believe because it is a point on a circle, there is no edge at this point which appears in the geometry.

If you could provide any suggestions for how I should proceed it would be much appreciated.

Nick
Screenshot 2020-04-27 at 10.57.53.png
Screenshot 2020-04-27 at 10.57.53.png (38.87 KiB) Viewed 1326 times
chrisb
Veteran
Posts: 54213
Joined: Tue Mar 17, 2015 9:14 am

Re: Techdraw dimension between line and arc tangent

Post by chrisb »

The construction line doesn't contribute to the geometry as seen from the outside. You can create the circle from two arcs, that's what I did in my example. Similar with the line: split it in two tangential lines of equal length.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
vectronic
Posts: 52
Joined: Sun Feb 18, 2018 9:44 pm

Re: Techdraw dimension between line and arc tangent

Post by vectronic »

chrisb wrote: Mon Apr 27, 2020 11:22 am The construction line doesn't contribute to the geometry as seen from the outside. You can create the circle from two arcs, that's what I did in my example. Similar with the line: split it in two tangential lines of equal length.
Thanks very much! Understood. I will give it a go.
User avatar
wandererfan
Veteran
Posts: 6321
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Techdraw dimension between line and arc tangent

Post by wandererfan »

vectronic wrote: Mon Apr 27, 2020 9:24 am I have recorded my actions here to add a cosmetic vertex -> maybe I am doing something wrong? As far as I can see this isn't desired behaviour and I'm sure it didn't work like this previously.
Should be fixed by git commit 1fc2e755dd. Was not handling secondary views in projection groups properly.

Thanks for reporting!
vectronic
Posts: 52
Joined: Sun Feb 18, 2018 9:44 pm

Re: Techdraw dimension between line and arc tangent

Post by vectronic »

wandererfan wrote: Tue Apr 28, 2020 1:16 pm Thanks for reporting!
Thanks for implementing!

I have taken the useful advice in this thread and re-done the sketch as two arcs and this indeed lets me add the desired measurement in techdraw. However it has has lead me to another unexpected issue in part design....

Now that the 'stud' is created by a pad of two arcs (instead of a circle) it seems I am unable to apply a fillet on the top curved edge of the 'stud'. I assume this is because a fillet on an arc is not possible, but it is allowed on a full circle...?

See screenshot.

Any suggestions how to paint myself out of this corner? :(
Screenshot 2020-05-11 at 22.43.02.png
Screenshot 2020-05-11 at 22.43.02.png (401.66 KiB) Viewed 1194 times
User avatar
M4x
Veteran
Posts: 1483
Joined: Sat Mar 11, 2017 9:23 am
Location: Germany

Re: Techdraw dimension between line and arc tangent

Post by M4x »

Could you please provide your (example) file?

Thank you very much!
Post Reply