class documentation
Contains the path for the cutting torch to follow
| Method | __init__ |
Initializes Path |
| Method | algo |
Undocumented |
| Method | algo |
Undocumented |
| Method | algo |
General Traveling Salesman Problem solver |
| Method | algo |
Primitive sitching algorithm that uses simple minimum distance, i.g. which component.first_pt is closest to the current component's .last_pt |
| Method | get |
Undocumented |
| Method | get |
Sort tagged point cloud into individual objects |
| Method | get |
Traveling salesman algo |
| Method | get |
Find the size of the image grid |
| Method | get |
Create 2D representation of the calculated cutting path Note: in grid scale, not cloud scale |
| Method | get |
Find the size of the image grid |
| Method | get |
Undocumented |
| Method | stitch |
Call a primtive stitching algorithm |
| Method | visualize |
Show information about the Path object |
| Instance Variable | component |
list of component groups, i.g. group of T-beams, group of I-beams |
| Instance Variable | components |
list of individual component objects |
| Instance Variable | components |
list of components ordered to form a path for the plasma torch |
| Instance Variable | coords2d |
numpy array of 2d coordinates describing the cutting path. NOT resized |
| Instance Variable | coords3d |
numpy array of 3d coordinates describing the cutting path. Resized to original point cloud scale |
| Instance Variable | grid |
number of squares in grid per unit in the point cloud |
| Instance Variable | grid |
2D representation of the calculated cutting path in grid scale, not cloud scale |
| Instance Variable | max |
dimensions of the grid |
| Instance Variable | min |
Undocumented |
| Instance Variable | nodes |
All component objects plus component objects with paths reversed |
| Instance Variable | z |
location of the cutting plane alnog the z-axis |
Primitive sitching algorithm that uses simple minimum distance, i.g. which component.first_pt is closest to the current component's .last_pt
Show information about the Path object
Notes
o3d visualization must go before matplot display to avoid QT thread-handling issue
o3d visualization does not work on wlroots even with x-wayland. Use X11 environment instead
coords3d =
¶
numpy array of 3d coordinates describing the cutting path. Resized to original point cloud scale