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.

Trim commands, and tangents question

Started by ChiliBill, November 18, 2013, 12:30:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ChiliBill

For the most part I can use the Trim tools without too many headaches, but I just don't understand why they were made to work like that.  An other drawing program I  have, and no longer use, you have one trim tool.  You click on the segment you want removed and that's it.  It trims back to an intersection, or between intersections.  I'm just curious as it seems the most logical way to do it.

Making things tangent on the other hand is a problem.  In fact, for me, it's the biggest cause of the trim not working.  While there are tools to make circles and lines tangent I always find it necessary at times to move a line or circle.  It amazes me how much I have to zero in on the tangent point. and it's maybe a pixel away from being so.  Sometimes I use the handles and distort the circle just to get the trim to work.  Not good if you are trying to make accurate drawings.

Is there any kind of heal command, or tolerance setting that would close these gaps?

Thanks
Bill

DrollTroll

It's made to work like that because, in a complex drawing, the line you're trying to trim may cross lots of other lines, and the "obvious" choice just as often ISN'T the one you want -- therefore it's necessary to say "Trim THIS line to THAT one".
Usually Trim Two Lines will close any small gaps; however, if you've got your arc or ellliptical arc centered incorrectly so that it doesn't actually touch the line you're trying to close with, it won't work.
25 years with DesignCAD

ChiliBill

Ah! OK I see what you mean.  Thanks DrollTroll

I know trim two lines is available, but couldn't see where is was used.  Always found Trim one, and trim between lines did almost everything.  I'll try trim two line right now.
Thanks



samdavo

#3
Just thinking about that trim command.

Seems to me that resetting hotkey "E" from "Trim One Line" to "Trim Multiple Lines"

a) gains the ability to trim many lines, and
b) is still there to trim one-only if that is what you want.

i.e.  everything to gain, nothing to lose.

The attached jpeg shows "Trim Multiple Lines" with hotkey E allocated.

And clicking 1, 2, 3, 4, then 5, trims lines 1-4 to line 5.

(or you can click 1 then 5 if you just want to trim the first line). (2 cents)

samdavo

#4
Couple of other observations :-

With Trim Multiple Lines,  you get the options of
a) Trim Shorter End, (first box only)
b) Trim Picked Segments Only, (second box only)
c) Neither, or
d) Both.

Clicking at points 1, 2, 3, 4, and 5, you get the results shown :-

Seems to me best if you don't click the first box  (although that's what I did in the post above, which trimmed the short end).

i.e. Either none-ticked, or second-box-only-ticked ("Trim Picked Segments Only") gives the most logical result  - you have to remember you have to click each of the ends of the lines at the end you want to keep (not the end you want to trim).

That way you don't have to make those close decisions as to which end really is the "short end" - i.e. you skip that decision, and just click the end you want to keep  (2 cents).

Summary,  I see no disadvantages to
1. reallocating E to Trim Multiple rather than Single Lines, and
2. always clicking the second box, and the end you want to keep.    (And once used with second box clicked, it becomes the default - think I'm right there)   

Lar

#5
Quote from: ChiliBill on November 18, 2013, 12:30:13 PM
An other drawing program I  have, and no longer use, you have one trim tool.  You click on the segment you want removed and that's it.  It trims back to an intersection, or between intersections.  I'm just curious as it seems the most logical way to do it.
Added to what DT said, with dcad you can also trim lines that don't physically intersect. I don't think many other programs can do that. Trim-1 would either cut away or extend a line so that only if the other line was extended would they physically intersect. Trim-2 would make 2 non-connecting lines meet at their 'extended intersections', whether extending and/or cutting back of either of the lines is required (ie, one line may need to be extended and the other may need to be cut back).

There's no way you could specify non-intersecting trims by clicking on one line only.

Quote from: samdavo on November 19, 2013, 02:17:07 AM
2. always clicking the second box, and the end you want to keep.
Sam, the second box, ie, 'trim picked segments only' ('tpso', for short) allows you to trim (ie, cutback or extend) a 'non-last' segment of a multi-segment line. Eg, say you have a line shaped like the letter w, and another horizontal line below it. With 'tpso' you can click on one of the interior segments and that segment will be extended to meet the horiz. line (the orig. w will have to be split into 2 lines to achieve this, of course). With multi-line trim you can click on each segment of the w line and extend them all to the horiz. line (try this with the space between these two lines being equal to the height of the w line... you would end up with 2 connecting x's, or 2 bottom-to-bottom w's, depending on how you brain is wired... or 'x o x', if your brain is creative enough... or a symbol for missionary sex, if your brain is so inclined to dwell on such a topic).

Lar

samdavo

#6
Quite right Lar,
I enclose the results of trying your experiment -
I can see the XOX, , not sure about the last image though - then again, I've never made love to a missionary - in any case, after years in the jungle, I'm sure they are more imaginative that their reputation would suggest.

Couple more comments :-
I added pointmarks just for illustration porpoises,
then hit E (as the the newly set hotkey for multiline trim - can't see the point of single-line any more),
it remembered that "tpso-only-ticked" was what I was using last night, so remains the default,
and clicked on the pointmarks in sequence (and it ignores the pointmarks as such and looks for the line there),
and the results are as shown - just as you predicted.

Trim back/cut, trim forward/extend,  give the W a haircut,  let it sink in the mud, all of the above.
Cheers

PS How does that old joke go again - "What does this remind you of?",  asks the psychiatrist  - shows him a drawing of a rectangle -  "sex!";
"and what about this?" - shows him a triangle - "sex!"
"I'm sorry sir, but you have a sex fixation".
"But you're the one drawing all the dirty pictures!"

PS I have decided I don't like the "trim shorter end" option - because, when it's a close call as to which end is shorter, it is an unnecessary frustration to do it twice.  Why not just tpso the lines you want to keep?

ChiliBill

Well it's clear to me I have a long way to go in my learning.  I think what happens is, and maybe this happens to others, I get to a point I can make something and then stop experimenting with the other tools.  Going to have to spend a day drilling down deeper,

Thanks for all this information.


samdavo

Quote from: ChiliBill on November 19, 2013, 01:36:57 PM
Well it's clear to me I have a long way to go in my learning ... have to spend a day drilling.
Me too Bill - and thanks for the question and the trigger for some research that I for one may never have broached  :)

ChiliBill

I've tried everything mentioned, and that has made trimming a little better, but the real problem in almost every case is that circles and arcs cannot be manually made tangent without a lot of very fine, very small movements.

It's really becoming a pain because you can't put a fillet against a straight line and a curved line.  If circles and arcs where treated the same as lines then there would be less of a problem.  The only way I know to do this now is to make a circle of the needed radius, and then carefully place it tangent to both the straight and curved lines.  It takes so long to do that I've resorted to going over the line to get the trimming done.  Looks really bad, but I can still make the part from it.

Even though it doesn't resolve the tangent problem, I still think a trim tool that trims to the next intersection on one click would be good.  You still have all the others to use.

I'll keep experimenting with all the tools.  DesignCAD works too well to give up on it.

minstrel

#10
Quote from: ChiliBill on November 22, 2013, 12:38:08 PM
If circles and arcs where treated the same as lines then there would be less of a problem.

Not sure if this will make a difference, but you do realize that circles and arcs can be drawn as a 'line'?
Maybe that will help you with what you are trying to accomplish.

Another option would be to snap an 'arc' [3 point or center/begin/end] to your straight and curved lines with precision, thus eliminating the 'trim' command all-together.  In other words, do the 'arc' last instead of the other way around [if possible]

edit - if you still have problems try to attach an example of what you are actually trying to do...as it is now, this is only 'guess' work.

Lar

#11
Quote from: ChiliBill on November 22, 2013, 12:38:08 PM
It's really becoming a pain because you can't put a fillet against a straight line and a curved line.
To fillet lines and circles use the Fillet command (F key, or Edit menu> Trim/Extend> Fillet). If you use a Trim command the line will be extended or cut back in some mathematical relation (unknown to me) to where you clicked on the circle. if you want a line tangential from a circle there are some circle-tangent commands (under Draw menu>Circles...) that I don't use too often so I won't have advice on tricks or pitfalls.

I fillet lines and circles a lot, with no trouble (see image 1 - note that in step 3 the circle is trimmed to the point on the circle's circumference)... long as the fillet is possible.

Fillet won't work if the radius is bigger than the space, or if the two entities are not in the same 3d plane. Even when working in 2d things can somehow end up off the 2d working plane, especially if you work between 2d and 3d {in 3d it requires 3 points to place a circle in a specific plane.. if you press enter after the 2nd point dcad will decide which plane the circle lies on, which may not be the one you want}, or when things are imported. Go to 3d mode and in ortho mode (H) gravity snap a line from the end of the straight line to the point of the circle... keep snapping at the same point until the new line connects with the circle. this new line will indicate if the entities are in the same plane).

If you draw the circle as a line or plane entity then the fillet will happen between the straight line and segment of the vectorized circle you clicked near, so the result may appear to not be tangential. If you zoom in you would see that the tangent happens in relation to the segment clicked on (see image 2).

Maybe ChiliBill can attach an example dcad file for us to analyze.

Lar

samdavo

Further to what Lar says,
a) I agree that, for accurate work, you have to stick with curves and circles, rather than vectorised versions thereof.   But when it comes to 3D facets it becomes a different story ( and minstrel is the man to ask there).

b) I enclose some examples of filleting between a circle (points 1 and 2) in layer 1 and white;
and a line (points 3 and 4) in layer 2 and red.  See A.

Point 3 is distant from the junction of line and circle ( compared to the value of the radius to be used with the filleting); 

Point 4 is closer than the tangent point.

I add points 5, 6 and 7 on the circle.
Point 6  is JUST left, and 7 just right of the line respectively.

Then I fillet between  3 and 5, 3 and 6, and 3 and 7 (See B C and D resp).

Likewise between  4 and 5, 4 and 6, and 4 and 7 (See F G and H resp).

samdavo

#13
In summary 6 and 7 determine whether the fillet starts off left or right side of the line.

and 3 and 4 determine whether you get a small (approx 90degree) quadrant;  or a large one (approx 270 degrees).    This makes sense, because 4 is too close to the circle to permit a tangent point BELOW it on the line;  and hence the line goes UP to the tangent point, and then does 270 degrees to be tangential to the circle.  (Think Los Angeles Clover Leaf).

REVERSING CURVES (Infobox\Complement of Arc)
I also add E and J, which are modified versions of D and H resp, formed by reversing the part of the circle in each case.  ( 2 cents)

E is formed from D, see the jpegs, which both apply AFTER you have reversed the large part of the circle, and just involve reversing the  smaller fillet.

All of the examples ( A - J) use the same fillet radius of 8.49  (which happens to be my bank account).

Summary: Point 4  - on the line - gives weird cloverleaf results ( because it is closer to the intersection point than the radius of the fillet.)

But the same doesn't apply to the circle in this case anyway, because points 6 and 7 are both closer to the intersection point as well.

i.e. Point 4 (on the line) is closer than 3 and gives a different result.
But
Point 6 (on the circle) is closer than 5, and gives the same result. (?)

I am confident that other options might result, but hopefully any unusual results can be corrected by reversing curves using InfoBox\Complement of Arc


PS Minor comment, but given that
the circle is layer 1
and the vertical line is layer 2
then suppose you are drawing in layer 4 (active),
guess what layer the fillet is in :)
It seems that it is (always?) in the same layer as the line, i.e. layer 2.

Also to carry out the fillet, both layers 1 and 2 must be editable.
cheers. 

ChiliBill

Oh boy!  :o  There's some stuff to digest  :)   I got everything done on the drawing, so I made a copy of it and put it back in the state it was when I first posted.  Now I don't know if the properties change when you copy and paste, or DesignCAD knows it's me and is playing a trick, but now the filets work just fine.  :-[   I'll need to try all of the examples you have posted to see what I can learn from them.

I did know I could create circles/arcs as lines, but because it defaults to something else I didn't change it to avoid getting too lost.

Sorry for bringing up these novice questions.  I'm really trying to learn this, but working alone on it leaves me scratching my head sometimes. 

Just as a side note I was reading the challenge of making the whatchamacallit ball.  If that is what I will need to know, then I have even farther to go than I thought.  Gee's O'Pete I hope I live long enough to do so.  ;D

Thanks everyone.