DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Circles Tangent to 3 Lines

Started by orzel-w, November 05, 2015, 01:12:34 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bob P

Just a note...  I just tried drawing the circle-tangent in V15 and it had the same problem.  And I thought most of the code was re-written in V16 or V17...

The Scud

Quote from: Bob P on December 26, 2015, 01:55:40 PM
Just a note...  I just tried drawing the circle-tangent in V15 and it had the same problem.  And I thought most of the code was re-written in V16 or V17...
I think V17 Bob as remember V16 was a real dog.
BETA tester from long ago.
User of:
SolidWorks 2024, CREO10 and TurboCAD Professional.
FIM Senior Technical Steward for MotoGP.
Work at: Semi-retired..

samdavo

#47
Quote from: adriank on December 21, 2015, 05:08:00 AM
after a little experimenting I've narrowed down the issue to be with the angle between the nearly-parallel lines.
I can now reproduce the error at will:
1. Draw a horizontal base line.
2. Draw a line that crosses it (any angle seems to work)  90deg is easy!
3. Draw a line parallel to the second one - the tangent circle works as on the tin.
4. Rotate the second line by less than 0.1degree (I tried 0.01 & 0.099) and the error comes back.

It seems to be only when the lines are close to parallel that the problem starts - if for instance you rotate the baseline by 0.01 degree the command works OK.
I've not tried to find the limits of the acute angle trigger.

Hopefully this helps some clever programmers figure out what the issue is?

Weird, but, lol, after more experimentation, I now believe it CAN ALSO BE the horizontality of the crossline that is the problem :)

(See Blue attachment , reply #43 - and #42).

PS REmember to set the first point near the crossline, and on the side of it that you want the circle (2 cents)

The Scud

Found it! The horizontal line is what is causing the issue. using the existing drawing and drawing a new horizontal line making it longer and then deleting th original, I still get the circle above. However, if I make the new line 1 degree plus or minus, I can get the circle below even with the new line 0.1 off horizontal it works. Try it at 359.9 degrees - it works in V25. This is a bug.

File attached.
BETA tester from long ago.
User of:
SolidWorks 2024, CREO10 and TurboCAD Professional.
FIM Senior Technical Steward for MotoGP.
Work at: Semi-retired..

orzel-w

#49
Well, that certainly nails it, Steve. It works for me, too. That's a real problem because the horizontal line in the sample file was originally a projection line from an adjacent 2D view. All such projection lines between the main views in an orthographic drawing are going to be either horizontal or vertical.

samdavo

Yep, and the blue attachment to reply #42 shows if you rotate all 3 lines by a couple of degrees, as a set, you can get a circle either top or bottom, then you can rotate them all back again.  (2 cents)

DrollTroll

Here's a fairly fast workaround, then:

Set a working plane to rotate the whole drawing some amount; draw the tangent circle as desired; reset working plane after you get the result.

By the way, I love you guys! You dug into this like a dog with a new chew-toy, and did a great job of narrowing down the parameters of the problem. This'll make it much easier for us to fix. Thanks!
25 years with DesignCAD

samdavo

#52
DT
I guess we all collectively have great affection for DCAD as well.  Too much value to be affected by the occasional bug   ... make that "workaround challenge" :)

A Xmas present for the programmers who can follow up in duke horse , i.e.,  an OFI = opportunity for improvement as they say. 
And whilst we grow we are happy :)
Cheers