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.

Combine hatch points

Started by adriank, May 19, 2010, 10:17:51 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Adrian 2.0

Because the trim commands don't work on hatches, I constantly find myself tediously selecting points in point select mode, and combining them one at a painfull time to remove unwanted sections of hatches. (IE, removing a trimmed out circle from a larger hatch entity)
If I could select the hatch, highlight all the points to be combined and ask the program to combine them into one point it may postpone my insanity!

Rob S

#1
Not what you're asking for but maybe sufficiently easier to put off the insanity for a few days at least  ;D

While in point-select mode, hold down shift&ctrl - you will see a minus sign in the cursor when you hover over a point - and click on any points you don't want.  This actually deletes the superfluous points instead of relocating them on top of others.

If you have a very large number of points, a macro to do this should be possible.
User since forever

Rob S

All sanity restored - I just tried this and it works for me in both V17 and V20

In point select mode, you can select those points of the hatch that you don't want, and type the macro command deletepoints into the command line.

(access command line by hitting the spacebar)
User since forever

Lar

Wow!

Rob, right now you are my bestest friend in the whole world.  :-*

Lar

Lar

Actually, adriank, there is a Join Endpoints command in Edit menu>Trim\Extend where you box a number of points and they come together at their center of gravity (option, among others, to work on only endpoints or not).

But tell me something... how do you combine the points so you can delete them as one?

Lar

MikeAller

That's a Double WOW!!  That's great Rob!

Rob S

#6
QuoteBut tell me something... how do you combine the points so you can delete them as one?

I suspect Adrian was effectively "hiding" the excess points by placing them on top of another existing point which he would retain.

Also, it seems the "join endpoints" command only works for points of lines, and not for points defining hatches.  I never use that command, because there is no way to define where the new common point will be - it would be more useful if it would ask the user to set the new common point for the join.
User since forever

Adrian 2.0

Rob, you are my hero too!
I must admit, when I posted this I thought someone may know the answer - I actually thought I was probably the only one who did not know the answer, happily I was not alone!
And yes Rob, I have been hiding points on top of each other all along.

Thanks again.

Adrian

DrollTroll

Um... you guys do know you can drag-select points in Point Select Mode, and delete them with the Delete key, right?

Never mind. Doesn't work for Hatch entities. Sorry.
25 years with DesignCAD

Rob S

The drag-select and delete does not seem to work for selected points of lines for me either - is it supposed to ???
User since forever

DrollTroll

Um... apparently not.  ::) Nothing to see here folks. Move along. DT had a "senior moment".
25 years with DesignCAD

Bob P

Quote from: DrollTroll on May 20, 2010, 09:58:28 AM
Um... apparently not.  ::) Nothing to see here folks. Move along. DT had a "senior moment".

You should try my current experience: Senior Lifetime...

On an actually thread-related note, ::) I'm working on a macro that records all the points of a line or hatch entity into a file.  With it, you can then re-create the hatch as a border line, act on its points, then either hatch it or get the new points for a new hatch.  I used to use something like this (getentity to a file) in DOS all the time to record points.  Very handy.

Lar

I have a macro that draws a plane using the points of a hatch. When trimming this plane will be trimmed as well (it will close itself, as opposed to a vector which will be opened and may break into 2 segments), then converted to a vector to be used with the Hatch-Line command, then the original hatch will be deleted BUT... I can't find that macro. Bummer.

Lar

ps: DT, if you select something, highlight some points then press delete you would be deleting the whole entity, right...?


Rob S


Yeah, exactly, my entire line disappeared when I did that.

Hey, DT, they won't leave well enough alone, will they?

I s'pose we're all amazed to find that Trolls have some human qualities (failings) after all ;D

User since forever

Pearco

Rob;

Trolls have human traits. Note the senior moments.
Jim
User since ProDesign 1.5