MoI discussion forum
MoI discussion forum

Full Version: collinear line segments

Show messages: All  1-2  3-7

From: Michael Gibson
9 Aug 2024   [#3] In reply to [#1]
Hi Salvatore,

re:
> if i just select everything and launch the command Join, it will also convert connected
> lines into Polylines, which is something I don't want.

If this is the only problem you could do Join, then Rebuild, then Separate at the end to break apart the polylines.

If you don't want to have anything happen to already existing polylines, select only lines before doing the initial Join.

You can select lines in v5 in the scene browser under Types > Curves > Lines. Or a second method is to use the selection narrowing mechanism in the "Details..." object properties dialog. For that one select all then open "Details..." and in the "Types" report section that lists the various types of the current selection click the "X lines" tag.

- Michael
From: Frenchy Pilou (PILOU)
9 Aug 2024   [#4]
Have you an example image of the problem?
From: saltab
10 Aug 2024   [#5] In reply to [#3]
Hi Michael,

Thanks for the tip!

the sequence:
Join/Rebuild/Separate is effectively what works best. Is it possible to set up a shortcut to do this sequence just with one command?

I didn't know about the second method. That's works well for me.

Salvatore
From: Michael Gibson
10 Aug 2024   [#6] In reply to [#5]
Hi Salvatore,

> Is it possible to set up a shortcut to do this sequence just with one command?

Sorry no not a built in way currently. I want to make something for running a batched sequence of commands but there are some tricky pieces to work out like making an error in one command end the sequence.

The nodeeditor could be good for this though.

- Michael
From: 大道刀 (SUIYAN)
10 Aug 2024   [#7] In reply to [#1]
HI saltab

从问题的描述来看,我认为应该首先全选→重建(Refit-Delete input object)这样可以消除所有的错误控制点,避免连接时出问题。然后全选进行连接,这样能保证更多的短线条被连接成成长线条,并且大多数的连接是正确的,只是在分叉处可能会连接另一条,但所需要选择的对象少了很多,然后只需要打断少数长线条进行重新连接。
(From the description of the problem, I believe that the first step should be to select all and then rebuild (Refit Delete input object), which can eliminate all erroneous control points and avoid problems during connection. Then select all connections to ensure that more short lines are connected into longer lines, and most of the connections are correct. However, there may be another connection at the fork, but there are fewer objects to choose from. Only a few long lines need to be cut(trim-add trim points) for reconnection.)

Show messages: All  1-2  3-7