Page 1 of 2

Easy way for invert brush?

Posted: Tue Aug 04, 2020 12:21 pm
by Buggie
I make 2D sheet
scr_1596539750.png
scr_1596539750.png (814 Bytes) Viewed 468 times
revolve it and add inside substracted brush.
scr_1596539806.png
Build it and got next:
scr_1596539821.png
Obviously my additive brush have wrong side for each polygone.

Exists any way invert this brush to outside?

Currently I know only one way: export to t3d, invert sign on Vertexes for each poly and import back.
Exists simpler way?

Re: Easy way for invert brush?

Posted: Tue Aug 04, 2020 12:56 pm
by Hellkeeper
That's a weeeeeeeeeird bug I've never seen so far. Your subtracted brush around the added one seems not to be taken into account as the grid is visible in the last screenshot. Maybe change the order of the brushes and rebuild?

Re: Easy way for invert brush?

Posted: Tue Aug 04, 2020 1:14 pm
by Buggie
Nope. it is not help. This additive brush work as substractive. Which very strange.
Also it ruin everything around. All glitchy rendered.

But if I manually invert sign for each Vertex all work nice:
scr_1596543130.png
Near additive cube for example.

Re: Easy way for invert brush?

Posted: Tue Aug 04, 2020 4:26 pm
by TexasGtar
It looks like you have the revolve axis square on the wrong side. Try it on the right side by the green square.
Or move the green square over where the orange square is.

Re: Easy way for invert brush?

Posted: Tue Aug 04, 2020 6:16 pm
by Buggie
TexasGtar wrote: Tue Aug 04, 2020 4:26 pmIt looks like you have the revolve axis square on the wrong side.
Already try. Result is same.
TexasGtar wrote: Tue Aug 04, 2020 4:26 pm Or move the green square over where the orange square is.
Green square say where is you rotation axis.
Orange square is "center mass" of your shape.
For revolve, all shape must be on left or on right from green point.
If you place it on other side - you can not get tube.

You can try self. .2ds file in attach.
p5.zip
(210 Bytes) Downloaded 7 times

Re: Easy way for invert brush?

Posted: Tue Aug 04, 2020 7:24 pm
by Hellkeeper
I tried with your brush and got the same result: it's inverted. I rebuilt it from scratch myself and the problem went away with mine. Just recreate it from the ground up, it's a very simple piece, it will take 2 minutes.

TexasGtar=> The green square is just the pivot, it has no influence on the geometry itself. The orange square is simply the center of the brush. These two points don't matter here.

Re: Easy way for invert brush?

Posted: Tue Aug 04, 2020 7:31 pm
by TexasGtar
Don't cross any lines when building a brush in the 2d ed.
I think this is why this happens. As soon as you cross a line over another line it gets confused, even if you don't have a crossed line at the end of making it.
Like for that one, a square with a side split 3 ways and take the 3 split vertices and move them toward the center. Should work all day long.
Just a hunch.

That other brush is an awesome bird bath brush though. I'd hang on to it. lol

Re: Easy way for invert brush?

Posted: Tue Aug 04, 2020 7:47 pm
by Buggie
Hellkeeper wrote: Tue Aug 04, 2020 7:24 pm I rebuilt it from scratch myself and the problem went away with mine.
What the hell...

I rebuilt it again and now it is OK.

IDK how this work at all because I tried rebuilt it.

But not from scratch. I add new shape, make same size and delete all old.

Maybe bad direction stored somewhere.

Re: Easy way for invert brush?

Posted: Tue Aug 04, 2020 7:51 pm
by Hellkeeper
Maybe, or something that didn't fare well with the engine, like two vertices on the same position.

Re: Easy way for invert brush?

Posted: Tue Aug 04, 2020 11:01 pm
by TexasGtar
that 2d editor doesn't always spit out a good brush. Sometimes it has a mind of it's own.
I've seen weird, unexplainable things come out of it before.

Re: Easy way for invert brush?

Posted: Tue Aug 04, 2020 11:20 pm
by Buggie
It is very strange.

How I get this file:

1. Build 4 square shape. Make triangles from it drag one vertex to another.
2. Build intersected shapes as need for me. (I need this for find intersection points of triangles)
3. Add square shape near.
4. Build from it exact same figure, as intersected near.
5. Delete all old shapes.

So in my understanding all must be exact same as built from scratch same shape, because I delete all old shapes (which can be damaged).

Obviously it is not true. Very strange.
----
I try replace existing pillar, which build as intersection of 4 brushes. So way is not short.
Of course if you know exact shape you can build it from first attempt.

Re: Easy way for invert brush?

Posted: Tue Aug 04, 2020 11:21 pm
by Red_Fist
Just thinking, how about doing what you did in reverse, not having it go inward but out, then do the other way, invert.

Start with a bulge, not a carved out curve.

I am not sure of what you are doing, but maybe you can extrapolate what the hell I am trying to say.

Re: Easy way for invert brush?

Posted: Wed Aug 05, 2020 12:06 am
by Buggie
I don't know what you want to say.
One thing I realized is that UEd is full of bugs and implicit things.
That sometimes rebuilding from scratch solves problems, because there are hidden dependencies and states, even if it seems that they should not be.

Re: Easy way for invert brush?

Posted: Wed Aug 05, 2020 2:25 am
by papercoffee
It's the UEd goblin ...he appears randomly and screws up you geometry.

Re: Easy way for invert brush?

Posted: Thu Aug 06, 2020 1:50 pm
by Hellkeeper
Buggie wrote: Wed Aug 05, 2020 12:06 am One thing I realized is that UEd is full of bugs and implicit things.
It is the case, but usually it has some logic behind it. Not in this case, this is probably a bug in the way you did the original shape.