Untouchable line entities

Started by rjspear, March 22, 2014, 01:31:47 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

rjspear

Somewhere along the upgrade line from DC 22 and 23, odd things began to happen in some of my drawings, especially, but not entirely, when clipping off part of a circle. I've attached a file where the problem can be seen on the left side of the alto violin in its case. The circle I used for the center of an arc regenerated itself somehow, and it is a non-responsive entity. I cant clip it again, and I can't erase it. Perhaps somebody here has had this problem and discovered how to fix it. I do a lot of designs of musical instruments, and this drawing is not the only one where the problem has occurred.

Thanks!

prl

#1
You found an interesting bug.  Below is what I get when I pull up your drawing in version 22.0 and then version 22.1.   In the second graphic, you are talking about the circle with the red arrow pointing to it, being non-responsive?  The circle doesn't exist in anything before version 22.0 but it is an entity.

Bob P

I was able to select and delete the arcs by snapping to their centers.  I just couldn't select them at their edges.

Everything you do is in the same layer.  If you use separate layers for various entities, it's easy to hide things that might get in the way of a proper selection.

prl

#3
A definite bug.  The circle has an incorrect span angle.  Looking at my graphic below, you can select the unresponsive circle by gravity snapping to its invisible center point.  Once you have it highlighted, in the infobox change the circled red entry to 0.0 and the entity should repair itself by changing the span angle to 360.

I'll pass this on to Dt.  The span angle is wrong, the length is wrong, etc.  Do you remember how this was created?

Edit:  I've attached your drawing fixed with what I describe above.

rjspear

Thanks, All. So far I've been able to correct only part of the problem. My difficulty is that I can't seem to snap to the center of the circle consistently. I tried a various combination of left and right mouse clicks on the circle to the left, and finally got the center symbol for the circle. With a bit more luck, I was able to double-click without losing it and bring up the info box. I saw the span angle at 0.0 and made the correction as suggested. It still didn't work, and I just clicked away until I got the center again. The info box showed that span angle had changed itself from 360 to -360, so I deleted the minus sign and then I was able to edit the circle quite nicely.

There's another circle now on the right side of the alto drawing just opposite the one we worked on. Does it also show on the file I attached? The problem here is that it is covered by other lines and solid color hatch patterns, and I always end up selecting something else I don't want to. I moved all the overlapping lines to the back of the display order, but that only helped intermittently.

The circles were created by entering a value for their diameter when creating them. Pretty straightforward stuff.

Bob P

Quote from: rjspear on March 22, 2014, 08:35:14 PM... and I always end up selecting something else I don't want to. I moved all the overlapping lines to the back of the display order, but that only helped intermittently.

That's why, when there are many close entities in a drawing (actually, by default in 2D), I use different layers for each "type".  I put main outlines in layer 1, hidden lines in layer 2, centerlines in layer 3, visuals or minor silhouettes in layer 6, hatching in layer 5 (most of the time).  I associate line types and colors with layers automatically so it's easy to figure out what's happening, and my layer macros make showing and hiding layers easy.  8)

prl

#6
Quote from: rjspear on March 22, 2014, 08:35:14 PM
There's another circle now on the right side of the alto drawing just opposite the one we worked on. Does it also show on the file I attached?

Yes, I boiled down your file for the testing guys, focusing on the two problem circles.  The boiled down version is attached below.

rjspear

I just thought of something else I should mention in answer to the question of how the circles were drawn. I usually need only a portion of an arc of radius for the drawings of musical instruments. Once I have the portion of the circle where I want it, I snip off the unneeded portion with the section trim command. If I can take the entire unneeded portion away in one go, I do. If I can't because there are too many other objects nearby, I'll snip the circle in two places and then delete what I don't need. Once this is done, the center of the circle can't be found any more because, for some strange reason, it's no longer a circle! ;)

After that, I mostly use the trim command to trim the circle against another line or circle. Every  so often, the command will work on the opposite end of the circle and trim to itself, in effect recreating the entire circle. I then repeat the steps except that I use the extend command to trim the cirlce, which I think is a slightly more robust function. This always works. Might these changes to the arc length be the cause of the odd value for the span angle?

By the way, snapping to the center of the right circle in prl's boil-down of my file crashed the program (23).

Bob P, I use layers a lot when I'm doing 2D architectural drawings, but for a drawing like the alto and case, which I regard as a pretty simple drawing, I usually just whomp away on one level. Maybe I will have to reconsider as your way is probably better, but I'm still hoping to find out what causes the problem with the circle.

Thanks for your help, prl.

prl

Quote from: rjspear on March 23, 2014, 08:32:52 AM
Thanks for your help, prl.

Ah, the notoriously complicated section trim command.  Only a being from the future can understand that command and all that it tries to do in 2d and 3d.

Dr PR

rj,

I think I have a simpler way to create the arcs you want. After you create the first circle of known radius, just use the "Draw/Arc (center, begin, end)" function to draw an arc using the cener of the circle and the points on the circle that define the ends of the arc. Then select and delete the circle.

I think this procedure uses fewer steps and it avoids the sometimes unpredictable "Section Trim" function. Also, snipping the circle (CRTL-SHIFT) only allows you to cut the circle at one point, and the other end point (at the radius handle) may not be where you want it.

Sometimes I must use the "Intersect-2" function to find the intersections of the circle with other lines in order to set the end points for the arc. I use this function so often that I have assigned it to the "CTRL X" key combination.

If you do cut the circle you can move the end points of the resulting arcs in Point Select mode (CTRL 1 toggles it on/off) by selecting an end point and dragging it.

Phil
DesignCAD user since 1987

prl

Quote from: Dr PR on March 23, 2014, 09:07:12 AM
If you do cut the circle you can move the end points of the resulting arcs in Point Select mode (CTRL 1 toggles it on/off) by selecting an end point and dragging it.

Regarding Phil's note about point select mode,  if you hold down the shift key and gravity snap to one of the open ends of the arc (then let go of the shift key), it will hold constant the original radius as you find a new home for the endpoint.

Dr PR

prl,

Thanks! I didn't know that. I learn something new every day!

Phil
DesignCAD user since 1987

rjspear

Yes, it's a great forum, especially for the battle-weary like me! Just thought I'd mention that after a bit of work shifting entities from the problem layer to a clean layer, I was able to isolate the rogue circles and deal with them mostly harshly!  :)

Even though it was a chore, it was well worth the effort because I have a number of other drawings where this problem has occurred. Whatever I have to do to isolate the circles, it will take far less time than doing a new drawing of the same thing (especially if the problem popped up in the new drawings as well).

Press on regardless!

prl

Quote from: rjspear on March 25, 2014, 05:44:01 AM
. . . after a bit of work shifting entities from the problem layer to a clean layer, I was able to isolate the rogue circles and deal with them mostly harshly!  :)

On a duplicate drawing, try using the layer separate command found in the general layer options dialog.  It will pull apart your drawing by color.

samdavo

#14
rj,
That looked like an interesting thing to draw.
Cello?
And I understand there is a spike that you dig into a timber floor to get resonance in sympathy - during the symphony or whatever?

Anyway this is pretty amateur - just watching Aus and WIndies playing 20-20 cricket.  Close one :)
edit - well done WIndies :)