LDraw.org Discussion Forums
Edges between floating vertices? - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: Models and Parts (https://forums.ldraw.org/forum-18.html)
+--- Forum: Parts Authoring (https://forums.ldraw.org/forum-19.html)
+--- Thread: Edges between floating vertices? (/thread-23710.html)

Pages: 1 2 3


Edges between floating vertices? - Willy Tschager - 2019-10-09

Guys,

honestly I'm a bit embarrassed - I really thought I knew all about authoring after all these years. However - I took the modelled head of the horse and created a flattened copy at x=0. I'd like to join every vertex at x=0 to X=a in the modelled head. Once I get all edges the modelled (main color) head will be deleted in order to get only the edges, which will be used as "altitude" guides for a patterned version.

[attachment=4092]

I could obviously do it manually but was wondering if it can be all done with just a few clicks. Any ideas?

w.


RE: Edges between floating vertices? - Philippe Hurbain - 2019-10-09

I think I have an idea, but I'd like to experiment. Can you share your "source" file?

Quote:which will be used as "altitude" guides for a patterned version.
I don't understand the idea behind that...


RE: Edges between floating vertices? - Ulrich Röder - 2019-10-09

(2019-10-09, 12:05)Philippe Hurbain Wrote: I think I have an idea, but I'd like to experiment. Can you share your "source" file?

I don't understand the idea behind that...

I think... Willy means...he wants to use these Lines as a Basic Spline ...


RE: Edges between floating vertices? - Gerald Lasser - 2019-10-09

(2019-10-09, 11:10)Willy Tschager Wrote: Guys,

honestly I'm a bit embarrassed - I really thought I knew all about authoring after all these years. However - I took the modelled head of the horse and created a flattened copy at x=0. I'd like to join every vertex at x=0 to X=a in the modelled head. Once I get all edges the modelled (main color) head will be deleted in order to get only the edges, which will be used as "altitude" guides for a patterned version.



I could obviously do it manually but was wondering if it can be all done with just a few clicks. Any ideas?

w.

Wouldn't Pathtruder work with the path just being X=o to X=a?

So you want a template for the front view?


RE: Edges between floating vertices? - Gerald Lasser - 2019-10-09

I think I've got what you want, using Edger2 and YTruder


Code:
0 // start with this set of triangles

3 16 -6.3 0 2.1 -5.1 0 -1.15 -2.35 0 1.25
3 16 -6.3 0 2.1 -2.35 0 1.25 -3.05 0 4.05
3 16 -3.05 0 4.05 -2.35 0 1.25 -.15 0 3.85
3 16 -3.05 0 4.05 -.15 0 3.85 -.45 0 5.55
3 16 -.45 0 5.55 -.15 0 3.85 2.8 0 5.55
3 16 2.8 0 5.55 -.15 0 3.85 3.55 0 3.6
3 16 3.55 0 3.6 -.15 0 3.85 3.55 0 1.05
3 16 3.55 0 3.6 3.55 0 1.05 7 0 1.7
3 16 7 0 1.7 3.55 0 1.05 7.75 0 -.75
3 16 7.75 0 -.75 3.55 0 1.05 5.9 0 -3.5
3 16 5.9 0 -3.5 3.55 0 1.05 2.25 0 -4.6
3 16 5.9 0 -3.5 2.25 0 -4.6 5.6 0 -6.6
3 16 5.9 0 -3.5 5.6 0 -6.6 10.25 0 -6.5
3 16 5.9 0 -3.5 10.25 0 -6.5 11.85 0 -4

0 // DO an Edger2
0 // INCLUDE unmatched edges
0 // THis gets you this

2 4 10.25 0 -6.5 11.85 0 -4
2 4 -5.1 0 -1.15 -2.35 0 1.25
2 4 2.8 0 5.55 -.45 0 5.55
2 4 11.85 0 -4 5.9 0 -3.5
2 4 3.55 0 1.05 2.25 0 -4.6
2 4 2.25 0 -4.6 5.6 0 -6.6
2 4 3.55 0 3.6 2.8 0 5.55
2 4 -6.3 0 2.1 -5.1 0 -1.15
2 4 5.9 0 -3.5 7.75 0 -.75
2 4 5.6 0 -6.6 10.25 0 -6.5
2 4 -.45 0 5.55 -3.05 0 4.05
2 4 -.15 0 3.85 3.55 0 1.05
2 4 7 0 1.7 3.55 0 3.6
2 4 7.75 0 -.75 7 0 1.7
2 4 -3.05 0 4.05 -6.3 0 2.1
2 4 -2.35 0 1.25 -.15 0 3.85

0 // Now select the red lines and do a YTruder
0 // with DISTANCE 20
0 // Gets you this

2 24 -6.3 0 2.1 -6.3 20 2.1
2 24 -5.1 0 -1.15 -5.1 20 -1.15
2 24 -.15 0 3.85 -.15 20 3.85
2 24 3.55 0 1.05 3.55 20 1.05
2 24 2.25 0 -4.6 2.25 20 -4.6
2 24 5.6 0 -6.6 5.6 20 -6.6
2 24 10.25 0 -6.5 10.25 20 -6.5
2 24 11.85 0 -4 11.85 20 -4
2 24 5.9 0 -3.5 5.9 20 -3.5
2 24 7.75 0 -.75 7.75 20 -.75
2 24 7 0 1.7 7 20 1.7
2 24 3.55 0 3.6 3.55 20 3.6
2 24 2.8 0 5.55 2.8 20 5.55
4 16 2.25 0 -4.6 5.6 0 -6.6 5.6 20 -6.6 2.25 20 -4.6
4 16 5.6 0 -6.6 10.25 0 -6.5 10.25 20 -6.5 5.6 20 -6.6
4 16 10.25 0 -6.5 11.85 0 -4 11.85 20 -4 10.25 20 -6.5
4 16 11.85 0 -4 5.9 0 -3.5 5.9 20 -3.5 11.85 20 -4
4 16 5.9 0 -3.5 7.75 0 -.75 7.75 20 -.75 5.9 20 -3.5
4 16 7.75 0 -.75 7 0 1.7 7 20 1.7 7.75 20 -.75
4 16 7 0 1.7 3.55 0 3.6 3.55 20 3.6 7 20 1.7
4 16 3.55 0 3.6 2.8 0 5.55 2.8 20 5.55 3.55 20 3.6
4 16 2.8 0 5.55 -.45 0 5.55 -.45 20 5.55 2.8 20 5.55
4 16 -.45 0 5.55 -3.05 0 4.05 -3.05 20 4.05 -.45 20 5.55
4 16 -3.05 0 4.05 -6.3 0 2.1 -6.3 20 2.1 -3.05 20 4.05
4 16 -6.3 0 2.1 -5.1 0 -1.15 -5.1 20 -1.15 -6.3 20 2.1
4 16 -5.1 0 -1.15 -2.35 0 1.25 -2.35 20 1.25 -5.1 20 -1.15
4 16 -2.35 0 1.25 -.15 0 3.85 -.15 20 3.85 -2.35 20 1.25
4 16 -.15 0 3.85 3.55 0 1.05 3.55 20 1.05 -.15 20 3.85
4 16 3.55 0 1.05 2.25 0 -4.6 2.25 20 -4.6 3.55 20 1.05
5 24 -.45 0 5.55 -.45 20 5.55 -3.05 0 4.05 2.8 0 5.55
5 24 -3.05 0 4.05 -3.05 20 4.05 -6.3 0 2.1 -.45 0 5.55
5 24 -2.35 0 1.25 -2.35 20 1.25 -.15 0 3.85 -5.1 0 -1.15



RE: Edges between floating vertices? - Philippe Hurbain - 2019-10-10

Ah, I didn't got what Willy wanted. If indeed the purpose is to create a wall surface around an existing top surface, Gerald method is right. See also this very old tutorial http://philohome.com/isecalc/yttut.htm (but of course use more modern tools!), or this more modern one: https://www.wiki.ldraw.org/index.php?title=Stickers:_making_a_random_shape_one (granted, a bit different: since the top here is not flat, we must use projection on plane in ytruder instead of translation by distance).


RE: Edges between floating vertices? - Willy Tschager - 2019-10-11

(2019-10-09, 12:05)Philippe Hurbain Wrote: I think I have an idea, but I'd like to experiment. Can you share your "source" file?

I don't understand the idea behind that...

I don't wanna "wall" the two shapes. I know how to do that. I'd like to have lines from every single vertex to x=a. I added a few manually in the example.

[attachment=4093]

Once I have those I remove all color 16 and bring in my pattern:

[attachment=4094]

Now I move all vertices from the pattern to a position where the lines start sticking through to get the shape right. I cannot simply project the pattern onto the current head as it would create an ton of tiny, tiny triangles.

w.


RE: Edges between floating vertices? - Philippe Hurbain - 2019-10-11

OK, I see what you need and understand the purpose. Thinking...


RE: Edges between floating vertices? - Philippe Hurbain - 2019-10-11

(2019-10-11, 18:27)Philippe Hurbain Wrote: OK, I see what you need and understand the purpose. Thinking...
Got it... Write up tomorrow!


RE: Edges between floating vertices? - Gerald Lasser - 2019-10-11

Ah, I think, I got what you want.

What I usually do in such cases I draw immediately on the template.
  • I would import the relief into LDPC.
  • Start drawing the pattern optimized to the Reference Lines (so using Ctrl-T and Ctrl-P to move the vertices to the edges, respectively the  vertices of the template)
  • At the places where you used circles, I would draw them as well without taking the Reference Lines into account, but afterwards slice it manually with the CSG tool as the SlicerPro is sometimes giving issues when triangles are getting too small.
I started doing this since I made the Monster Fighter's Train Dish with Slicer Pro, gave me about a million Micro-triangles that I had to mend together. So I find it much easier to draw with the reference lines in place.