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.

Strangely Weird Trimming

Started by rjspear, October 15, 2012, 08:33:32 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

rjspear

Just recently my DC Max 22 trim single line function has become a greatly wonky. When I attempt to trim one line against another, it feels like the program only sees part of the line, if it sees any of it. Let me explain. If I trim one line against another, I usually use the "outside in" method. In other words. I click on the part of the line that is to be trimmed back to another line. Bad habit from earlier versions before the trim dialog box began to offer enough options to outsmart itself.

What's happening now is that sometimes DC will allow me to trim as I want, but only if I pick the portion of the line to be trimmed that's on the other side of the target line; in other words, inside out. Sometimes it won't let me trim at all, and sometimes it trims another line that's nearby. What also happens is that when I select trim one line against another is that a very small square box appears on the screen so it looks like the line snap is functional. This is confirmed because I can sometimes get the line trim to work only if I put the little square box on top of the lines involved. This is a real drag.

I must say that in all my years of using DC, the trim command has never exhibited this trait. For what it's worth, the trim two lines command operates normally. Closing and restarting the program only helps on a few occasions. It appears to me that the problem is getting worse over time. I'm beginning to think I'm losing my marble, and I only had one to begin with. Anybody else have this problem?

prl

#1
I don't have an answer but I too have encountered version 22 trimming and selecting weirdness.  Haven't been able to boil it down.

If you pop back and forth between 2d and 3d drawing modes, when in 2d mode you may want to ensure the lines you are trimming are indeed in one plane. They may look it in 2d mode but in 3d mode they may be in several planes (different z coordinates or whatever coodinates depending on your 2d work plane setting).  There are some macros (zzero.d3m, yzero, xzero) that will take the selection set and flatten them (zero out the offending 3rd coordinate) to one plane.

Also keep an eye on your ortho lock (F8), maybe that is running too.

If you find something that you can post, this may help us all find the problem.   


Edit:  Final suggestion.  Sometimes I scramble DesignCAD so that even when I shut down and restart DesignCAD, it still acts odd.  During those moments of unexplained behavior, I do a complete Windows shutdown and cold reboot.  Don't ask me why, but that often works.

Pearco

rjpera:

When you are using the trim one line tool, check to see if  the trim short line is checked or it the selected only checked. It is two totally different ways to trim.
Jim
User since ProDesign 1.5

magic

Hi all,

As I recall some years ago there was some work done on the trim command so that the trim command would work logically and also be able to extend. You'll notice that you can trim and extend lines up against each other that don't actually cross.

Generally, when you trim, you click the end of the line that you want to keep and then the line you want to trim up against. That is unless you have the Trim Shorter End checked in the Command Dialog. To make sure that you trim the right line up against the other right line in a crowded environment I usually right click (Gravity Snap) to the ends of the lines I work with.

The little square box that you see is probably because you have your Running Snap turned on.

Hope this helps.
It's a kind of magic!




Bob P

Here's a macro that makes it easy to trim the long side of a line to an intersection with another line.  It works by PointMove of the endpoint of the first line.

'ti.d3m
'Trim a line to an intersection
setpoint "Set a point on the endpoint to move and a point on the trimming line" 2
pointval x1 y1 z1 1
pointval x2 y2 z2 2
sys(1)=0

>PointMove
{
  <PointXYZ [x1,y1,z1]
<Int2 [x1, y1, z1, x2, y2, z2]
}

prl

#5
Quote from: magic on October 15, 2012, 08:07:20 PM
Generally, when you trim, you click the end of the line that you want to keep and then the line you want to trim up against.

Personally,  I consider this backwards.  But other programs do this too, so DesignCAD isn't alone.

Being a preset point user, I always use the most direct method, similar to what BobP has shown in his macro.  I snap points to ends of things with a "trim/extend this point to here" thinking.  This way I'm always stretching or pulling back the line to where I want it.

Note to Dt - the trim shorter parameter isn't available in basiccad.  I can see how having this parameter inadvertently toggled could drive someone nuts.

Magic - thanks for the post.  I suppress the dialogs so I wasn't even aware of the trim shorter parameter.

JJG

OK, guys,

on my side, I remember having some problems too when the Trim command options has appeared , I remember having some problems (v15 ?).
Finaly, I use it as before (the Trim command options appeared), ie checking "Trim picked segments only", and so, you don't need necessarily to click the end of the desired line : it works pretty good by clicking near the desired line.

To BobP : rather than use the >PointMove command (which can indeed move the point on a very bad position if the Int-search failed), using the >Extend command may be safer concerning the result, in case the intersection is not found, since the point will alway stay on the line.

To Prl : for the clarity of the requests, a such one ("the trim shorter parameter isn't available in basiccad.  I can see how having this parameter inadvertently toggled could drive someone nuts.") (that I'm totally agreed with too) sould be wrote in "SDK Feature Requests", so that it could be easily re-found later.

prl

Quote from: prl on October 16, 2012, 08:33:43 AM
Note to Dt - the trim shorter parameter isn't available in basiccad.  I can see how having this parameter inadvertently toggled could drive someone nuts.

Dt, never mind. Turns out the Trim1 and Trim2 do have the type parameter for this.  My basiccad routine for trim1 uses TrimMultiLines.  Trim1 is a subset command since trimming one line or a hundred lines against the last point is all the same.

Anyway for the TrimMultiLines command, the documentation for Type is missing but one can put it in.  I'm assuming it works or defaults to the "trim shorter" setting since that seems to be the way I operate and things are fine.

rjspear

I'm not sure what's up with the come-and-go nature of the trim operation, but I have so far been unable to resolve it using standard DC commands. Is there away to turn the snap on and off other than the "off" button on the snap menu bar, and why does the problem only happen on single line trim but not when trimming two lines?

I personally preferred the ancient method of trimming lines, and although the "trim shorter end" and "trim picked segments" option must be useful to some, they generally end up fighting me and fighting each other. I wish I could set the fillet command to zero and trim lines that way because it works most naturally, at least to my mind. DC always knows where the cursor is, so if I click on one line to trim and then move the cursor to the line to trim against, DC "knows" where I am and what I want to do. Very intuitive, very quick, and without need to tell the program which end of the line you want to move because by positioning the cursor you've already told it.

Just for those who like grinding their teeth over this, the same problem is occurring now when I try to do some measurements, and dimensioning a line is sometimes problematic because DC can't decide where the other end of the line is! If it's just me, say so. I can live with that.

I think I might try to reinstall the program to see if that will help. I'll let you know what happens.

magic

Hi rjspear,

QuoteIs there away to turn the snap on and off other than the "off" button on the snap menu bar

I guess you mean the Running Snap, so you can actually turn it off by clicking the magic wand (see below).
It's a kind of magic!




rjspear

The running snap was not enabled. But right next to it the interruptible snap was enabled. Unfortunately, disabling all snaps did not solve the problem. Grrrr.  If it's any help, the most egregious behavior that occurs during the problem is with diagonal lines more than with orthogonal lines. In the draw menu under "lines" there are some selections for ortho functions, but it isn't easy to tell whether they are selected or not. I'm glad I waited to reinstall the program because I want to work through this to see if I can learn what to do about it. So far nothing. It's a great irritation, but nothing fatal. I'm open to more suggestions, and thanks to all you Heroes.

Rob S


Can you post a drawing where the "weird result" or absence of result happens?
User since forever

DrollTroll

#12
Also pay attention to the "Trim Picked Segments Only" option. If it's unchecked, it may trim SOME OTHER SEGMENT of a polyline (in the case of two polylines crossing each other, whichever segments actually overlap will be the ones it trims. If it's checked, it will always trim the segment(s) you picked.
Also, check the line you're trimming in the Info Box -- if it has more points listed than you can see onscreen, you may have some segments that backtrack over one another, which can cause some visibly odd results.
25 years with DesignCAD

rjspear

As you are all no doubt on the edge of your chairs, waiting to read the next chapter of my adventure, here it is! :D

I finally gave up and reinstalled Max22. The installer offered to reinstall or to repair damaged files, and I chose the latter. Having been through this process with earlier versions, I knew that the repair option was usually a reinstall of the application files. The reinstall did not cure the problem, but, interestingly, it did change all the DC icons on my files from red to blue, and I thought I saw some new functionality is some of the commands. The section delete, for example, which I use a lot, now allows me to delete everything inside the box I draw or outside. Nice feature! But my question is, since the disc I used was the same disc from which I installed the upgrade, why didn't those things change before?

As to the original problem that started this thread, it looks ever more like the program is enforcing some kind of snap option, which is why I couldn't always draw diagonal lines or take diagonal measurements. Just by accident, I discovered that if I pressed the control key with the left mouse button down as I moved the cursor, the snap released and I could use the function normally. Great relief, but this must mean that the program boots with the snap function enabled, and I can't find the place to turn it off. What am I overlooking here?

Lar

Quote from: rjspear on December 07, 2012, 05:15:22 AM
Just by accident, I discovered that if I pressed the control key with the left mouse button down as I moved the cursor, the snap released and I could use the function normally. Great relief, but this must mean that the program boots with the snap function enabled, and I can't find the place to turn it off. What am I overlooking here?
Normally when you hold control and move the mouse it constrains the mouse movement 'downward' so this 'releasing a snap' is quite odd (sorry, I don't have time now to read through all the posts to determine what you exactly mean by 'snap').

Not being able to draw diagonal lines suggests that you are in 'ortho mode'  (which constrains the mouse movement horizontally and vertically) and can be toggled on and off with the 'H' key (or in the Options menu> Orthogonal Mode).

Lar