Intersections Again

Intersections Again - Poruke

#1 Objavljeno: 18. 7. 2020. 09:08:11
ianlh

ianlh

0 svidjanja u 38 postova.

Grupa: User

Hi All,

Trying to work out a universal way of getting the length of intersecting lines, easy when lines are level, but not so (for me) others.

The image below shows a lifting lug, the angle of action can be 0 deg to 150 deg for example. I need to know the length of the lines from the red circle to the outline, individually, then I can see the shortest length, this must be for all angles, effectively tracing the intersection point through the angles. I know I can use Pythagoras, but was hoping to use something like GPC, but this works only for polygons?

lug1.JPG

Lug Horizontal.sm (26,94 KiB) preuzeto 1188 put(ova).
#2 Objavljeno: 18. 7. 2020. 13:42:58
Fridel Selitsky

Fridel Selitsky

520 svidjanja u 451 postova.

Grupa: User


Try a short circle code.
1 korisnika je svidelo ovu objavu
frapuano 18. 7. 2020. 16:52:00
#3 Objavljeno: 18. 7. 2020. 19:09:52
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

Anything helpful in there ?

Solve Circle Ellipse Strophoid NASA.sm (238,09 KiB) preuzeto 1264 put(ova).
#4 Objavljeno: 19. 7. 2020. 06:39:06
ianlh

ianlh

0 svidjanja u 38 postova.

Grupa: User

Hi Jean,

I will have a look, I'm sure I can use something.
Thanks
#5 Objavljeno: 20. 7. 2020. 05:24:38
Fridel Selitsky

Fridel Selitsky

520 svidjanja u 451 postova.

Grupa: User

ianlh, in your example it’s convenient to use the rotation matrix

Lug Horizontal1.sm (18,13 KiB) preuzeto 1203 put(ova).
1 korisnika je svidelo ovu objavu
Alvaro 21. 7. 2020. 13:49:00
#6 Objavljeno: 20. 7. 2020. 08:34:13
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

Whereas the system is built scalar wrt θ
make it more convenient local at graph display.

Lug Horizontal_2.sm (22,51 KiB) preuzeto 1217 put(ova).
#7 Objavljeno: 20. 7. 2020. 13:46:20
Martin Kraska

Martin Kraska

1.369 svidjanja u 2.283 postova.

Grupa: Moderator

This provides the shortest distance from the segments of the polygon to the circle. However, the distance isn't really to the segment but to a line through the endpoints of the segment. There is no test if the normal to the line through c is between the vertices of the segment.

For the given geometry this works. For proof of strength this is only useful if a given force may act under any angle but the force doesn't depend on that angle.

Lug Horizontal_Kr.sm (31,23 KiB) preuzeto 1197 put(ova).
2020-07-20 18_32_25-Window.png
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
2 korisnika je svidelo ovu objavu
Alvaro 21. 7. 2020. 13:48:00, sergio 20. 7. 2020. 14:10:00
#8 Objavljeno: 21. 7. 2020. 02:25:44
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: User

Wrote

Hi All,

Trying to work out a universal way of getting the length of intersecting lines, easy when lines are level, but not so (for me) others.
...



Hi. Your request it's about a complex computer graphic problem. This is a page for an undergraduated course: https://www.fing.edu.uy/inco/cursos/compgraf/

This paper have a pseudo code for solve partially your problem:

http://www.itseng.org/research/papers/topics/VLSI_Physical_Design_Automation/Physical_Verification/DRC/Geometric_Intersection_Problems/1979-Bentley.pdf

Hope that's helps.
Alvaro.
1 korisnika je svidelo ovu objavu
frapuano 21. 7. 2020. 07:03:00
#9 Objavljeno: 21. 7. 2020. 02:44:11
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: User

Wrote

ianlh, in your example it’s convenient to use the rotation matrix

Lug Horizontal1.sm (18,13 KiB) preuzeto 1203 put(ova).



Hi. This is what's actually do the Ber'f function:

Clipboard01.gif

But notice that for use matrix multiplication for translations you must to use homogeneous coords ( http://elopez.fime.uanl.mx/@materias/732/@Tema%203%20-%20Transformaciones%202D.pdf page 15)

Best regards.
Alvaro.
2 korisnika je svidelo ovu objavu
frapuano 21. 7. 2020. 07:04:00, Fridel Selitsky 21. 7. 2020. 04:23:00
#10 Objavljeno: 21. 7. 2020. 07:37:50
Fridel Selitsky

Fridel Selitsky

520 svidjanja u 451 postova.

Grupa: User

Thank you, Razonar.Aapplying homogeneous coordinates helps automate the process.

Variant with homogeneous coordinates

Lug Horizontal3.sm (17,83 KiB) preuzeto 1220 put(ova).
2 korisnika je svidelo ovu objavu
frapuano 21. 7. 2020. 09:44:00, Alvaro 21. 7. 2020. 13:48:00
#11 Objavljeno: 21. 7. 2020. 14:15:57
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: User

Wrote

...
Variant with homogeneous coordinates ...



Another variant.

Lug Horizontal4.sm (34,62 KiB) preuzeto 1235 put(ova).

Clipboard01.gif

Clipboard02.gif

Homogeneous coordinates are helpful in projective geometry and conics and quadrics. For instance, preserve the duality, because you can use line coordinates ( https://en.wikipedia.org/wiki/Line_coordinates ).

I try to modify for use that in https://en.smath.com/forum/yaf_postst17357_Conics.aspx but can't found a close end. This is my atemp for the dual of a conic, it's envelope:

Clipboard04.gif

Best regards.
Alvaro
2 korisnika je svidelo ovu objavu
Fridel Selitsky 21. 7. 2020. 15:25:00, frapuano 22. 7. 2020. 08:29:00
#12 Objavljeno: 24. 7. 2020. 09:27:21
Fridel Selitsky

Fridel Selitsky

520 svidjanja u 451 postova.

Grupa: User

Rotate around an arbitrary axis in space


3d rotate.sm (21,39 KiB) preuzeto 1243 put(ova).
2 korisnika je svidelo ovu objavu
frapuano 24. 7. 2020. 15:05:00, Alvaro 25. 7. 2020. 14:10:00
#13 Objavljeno: 27. 7. 2020. 00:37:33
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: User

Hi Ber. That's not science, that's art. Maybe you can find this book interesting: Modern Robotics.

At page 608 in the pdf, for example:

Clipboard01.gif

Clipboard02.gif

The notation isn't the best, but it can be converted to a general Rotations and translations for the forward kinematics of a robot.

Best regards.
Alvaro.
2 korisnika je svidelo ovu objavu
Fridel Selitsky 27. 7. 2020. 04:49:00, sergio 27. 7. 2020. 04:57:00
#14 Objavljeno: 27. 7. 2020. 05:31:15
Fridel Selitsky

Fridel Selitsky

520 svidjanja u 451 postova.

Grupa: User

Hello Razonar. "Modern Robotics" book
sparked my big interest. Thank you for the link.
  • Novi postovi
  • Nema novih postova