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.

snap to center-of-gravitiy

Started by charly-bochum, October 19, 2008, 09:20:24 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

charly-bochum

It may look totally unimportant. But we - about 50 bureaus for accident reconstruction in Germany - are working with hundreds of vehicle drawings, whose wheels are drawn as a polygon. Rotating them around their center makes it necessary to snap it. This is difficult, if the center are near other lines like in the appending example. But that was no problem,  as long as the snap to center-of-gravitiy was functioning properly like in earlier versions of e.g. DC12. It would be very nice, if You could can give us back the old method.

Rob S


What is the specific functionality you are looking for?

In your drawing, I can snap to the centre of the x in the wheel using intersection snap. 

Thereby, if I set intersection snap, and then select the wheel by clicking near the intersection of the x, I have a handle at the CG of the wheel.

User since forever

charly-bochum

As user of DC since 1994 I know, I can get the center of the wheel with intersect snap.

But in the old versions it was possible and efficient to select the wheels center using the cog function simply by vaguely clicking at the wheel.
Now i must first zoom into the wheel to pick the center which of course is quite inconvenient.

The new cog function in most cases is working properly, but for some reason it does not work with the wheel objects anymore as it used to.

Is there some way to revert to the old behaviour?

crckrjck

The wheel seems to be a set of vectors including some crossed lines, without a defined perimiter. One straight section is actually 2 short lines.

I did a LINE BREAK (SHIFT+|) on the object and fixed the 2 segment line, then selected all the perimeter lines and combined them.


COG snap works fine on the result.
;D

charly-bochum

The wheels are simply constructed as polygon with partially crossing lines. The chosen sequence of the points is shown in the appending drawing.

Your recommended method would cost a lot of time, because we have 1440 top views of vehicles in use, as I just checked.

But Thanks for it.

prl

#5
In which versions did you get this to work?  I just tried your sample file in DOS DC 6.02, DC14 to 18 and none can find the CG of the wheel because of the odd crossing lines.  Oh yes, they all found the same point, though not the CG.

Is it possible before it was a perimeter  line and 'X' grouping and somehow this was converted to a single polyline?  Just thoughts.

paulerens

If you draw a plane A-D-E-H
you will find the center of gravity ???

Paul



crckrjck

I too played with it several ways and it was clear that you have to draw one polyline as the perimeter and a second line to create the internal crossed lines.

It only takes 2 lines and no lines are drawn over.

COG works fine when it is drawn that way.

To fix the existing tire you can select it and hit SHIFT+| (pipe) to BREAK LINE.

Then hold down CTRL and draw a selection window inside the tire touching all the inside lines only. Hit B to combine them.

Draw a selection window around the whole tire to select it and then holding down SHIFT click on the inside combined line to deselect it.

Hit B again to combine the perimeter.

COG works fine.
;D

charly-bochum

As long as we worked with DC 12 we had no problems to catch the center of the wheels with cog-snap. This problem occurred first when we used DC 17, that on the other side had a lot of advantages against DC 12.

I also found a solution for drawing the wheels in such a way, that cog-snap also works with it in DC 17 or 18. You can see the difference in the appending file. Tasting it You also will see, how much easier it is with that, to snap the center of the wheel, also when there are covering lines.

But I do not draw the vehicles myself, I buy them only with ready wheels. And the producer of these drawings will draw them in future in the new way, which is also compatible with AutoCAD, but he is not willing to change his old 1440 drawings.

Therefore it would be nice, if DC could go back to the way of DC 12, which that many colleagues are still working with.


DrollTroll

Charly, I haven't found a single version of DesignCAD where CG works in the way you describe on the provided drawing. What release date and version number of Dcad12 are you using that works this way?

DT
25 years with DesignCAD

charly-bochum

Hallo Mr DrollTroll,

the version we used before was 12.0.021 with Release-Datum 9/18/2003.

But now I found a very simple way to avoid the trouble with the following macro

>PointSelect
{
  }
>SetHandle
{
  <Type 1
  }

I am almost ashamed that I had not previously recognized this.

But many Thanks for Your help

cb

DrollTroll

Glad you found a workable solution!

DT
25 years with DesignCAD