News:

Please note new Forum URL: forum.designcad.com

Main Menu
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 0 Guests are viewing this topic.

orzel-w

I run DesignCAD 3D Max v24.1 under Windows 7 Professional. I always work (so far, at least) in 2D mode.

Sometimes when I have three oblique lines (picture them in the shape of a letter "A") and wish to draw a circle tangent to them on the obtuse/diverging side (below the crossbar), the circle insists on appearing on the acute/converging side (above the crossbar) instead. In those instances nothing I try will make the circle appear on the obtuse side, even when both pick points for the side lines are on that side of the crossbar. It doesn't happen every time, but I don't know why it happens when it does.

Any suggestions?

Bob P

Go to a new layer and create construction lines on the operative 3 sides.  Hide all the other layers and create your circle.  Delete the construction lines.  Voila...

Dr PR

I have had the same problem.

One trick is to break the long sides of the "A" into two parts, one above the cross bar and one below.

Then select either the higher or lower line segment and the cross bar. This reduces the ambiguity as to which part of the vertical side you want to use for the tangent.

Phil
DesignCAD user since 1987

orzel-w

Thanks, guys. I'll try these next time it pops up.

orzel-w

#4
Well, I tried both suggestions posted above. DCAD still insists on placing the circle on the acute/converging side of the cross bar (which is, of course, the side I don't want).

DrollTroll

Can you post the portion of the drawing that is exhibiting this problem?
25 years with DesignCAD

Bob P

Further, my construction lines don't even have to intersect.  Short line segments will get the job done.

Dr PR

I have seen exactly the same problem in earlier versions. Somewhere on the Forum is a series of posts about it.

Here is a long shot.

Select one of the lines, open the Info Box, and click the button near the top with red and blue horizontal arrows. This reverses the "point order" in the line. *

Try the circle tangent function and see if it works now.

If not, select the other line and reverse the point order.

If this doesn't help, select the first line again and reverse the point order again.

This takes you through all possible combinations of point order for the lines.

****

* Point order is the sequence in which the points defining the line (curve) are listed in the drawing entity. So why should we care about point order? I don't know - it makes no logical sense why the order of the points will affect the way drawing commands work.

However, in many cases it makes a tremendous difference. Commands that will not work with one point order sometimes will work if you reverse the point order.

Sometimes functions work bizarrely until you reverse point order. The most infamous case is extrusion along a curve, where sometimes the extrusion is upside down and backwards! Reversing the point order of the curve or the object to be extruded - or both - sometimes gets the function to work as you would expect.

****

The fact that sometimes you have to reverse the point order to get things to work, and that the "Reverse Point Order" button even exists, tells us that something is rotten in Denmark.

Phil
DesignCAD user since 1987

Adrian 2.0

The worst command that I use which is affected by the 'reversed order of points' issue is 'extrude along a curve'.
(not sure why it is called that, it works on lines and arcs just as well)
I find that the shape I'm extruding flips to the wrong side of the line more than 50% of the time. I have to try reversing the points on the line, or the extruding element, or both to make it work correctly. I still have not worked out if it is the line I'm extruding along or the thing I'm extruding that is faulty - it seems to be random.

If DT can fix that problem it'd make me a happy bunny!

Bob P

Quote from: adriank on December 17, 2015, 04:25:08 PM
The worst command that I use which is affected by the 'reversed order of points' issue is 'extrude along a curve'.
(not sure why it is called that, it works on lines and arcs just as well)
I find that the shape I'm extruding flips to the wrong side of the line more than 50% of the time. I have to try reversing the points on the line, or the extruding element, or both to make it work correctly. I still have not worked out if it is the line I'm extruding along or the thing I'm extruding that is faulty - it seems to be random.

If DT can fix that problem it'd make me a happy bunny!

I would be wary of losing control over the extrusion.  While probably extremely rare, what happens when you want a twist?  Maybe what we need is a function that marks the initial point of a line or lines, so that we can fix things quickly.

Dr PR

#10
Bob,

The problem is that we have no rational control over the extrusion. The results are unpredictable. And even with fiddling with the silly "point order" we really have no control - you just accept whatever screwball result you get or give up.

A much better way to do this would be:

1. Set a point on the object to be extruded - this selects the object to be extruded and sets the reference point for the extrusion.

2. Set one or two more points on or relative to the object. The first should be "up" relative to the first point, and the second would be to the "side" of the first point. This sets a reference plane to control the orientation relative to the handle.

3. Set the starting point on the line/curve - this also selects the line/curve.

4. Set  more points on the curve, with the last serving as ending point for the extrusion. This makes the point order in the line/curve irrelevant and sets the direction of the extrusion.

Only the ending point is necessary if varying scale extrusion is not used. If multiple scales are used, set the scale for each point relative to the first point (the first point is 1:1, all other scales are relative to the first point).

5. Select the extrusion orientation. Right now most of the options are meaningless - or at least I have never been able to figure out what they mean.

We need an option to keep "up" up and "side" to the side. This would extrude along the curve with the second and third points (the object plane) always in the same orientation to the first relative to the direction of extrusion. Think of the handrail on a spiral staircase. Right now you can't do this if the line/curve changes along all three axes - the extrusion spirals unpredictably and uncontrollably around the line/curve.

Another option would be to rotate around the line/curve. We need to be able to define the total number of rotations. Think of a flat metal bar that is twisted about its long axis, and then this twisted bar is bent into a curve - something like the iron filigree on New Orleans French Quarter balconies.

I can't imagine why we would want to extrude sideways or backwards, or whatever the other existing extrusion options are supposed to do. But an option to set the angle of the object plane relative to the direction of extrusion would allow this (the default would be perpendicular to the direction of extrusion. An option to keep the plane of the extruded object constant relative to the drawing axes should also be provided.

Phil
DesignCAD user since 1987

samdavo

#11
Quote from: Bob P on December 18, 2015, 02:00:45 AM
Maybe what we need is a function that marks the initial point of a line or lines, so that we can fix things quickly.
Peripheral to the thread, but I recall Lar posting an easy way to find the first and second points of a curve (and you need both if it's a closed loop or polygon in order to get the direction)...   Just select the line or curve, open Infobox, amend one of the coordinates for Point 1, and the change to the line will give you both points 1 and 2.  Then undo with Ctrl+Z.  (2 cents) 

orzel-w

Quote from: DrollTroll on December 16, 2015, 07:48:10 PM
Can you post the portion of the drawing that is exhibiting this problem?

Here's the (current) problem child. I want the circle to appear above the horizontal line, but it insists on placing below the line. I've tried reversing the direction of all three lines and also selecting the three lines in various sequences.

Bob P

I couldn't get it to work using a couple of different methods either. Definitely a glitch.

The "geometry way" is to draw lines bisecting 2 of the intersections, then draw a line from that new-line intersection perpendicular to the third original line.  That will be a radius of the tangent circle.  Granted, a bit of a PITA...

orzel-w

Quote from: Bob P on December 20, 2015, 02:31:59 PM
The "geometry way" is to draw lines bisecting 2 of the intersections, then draw a line from that new-line intersection perpendicular to the third original line.
That's the way I got what I wanted. But as you hinted, it's an unwarranted workaround when the operation should be automatic.