Matt Dewar
Matt Dewar
TP+ ```ruby pos := P[1] linear_move.to(pos).at(100, 'mm/s').term(-1) ``` LS ```fortran /MN : ; : L P[1:pos] 100mm/sec FINE ; /POS P[1:"pos"]{ }; /END ```
e.g.: ```ruby local := R[50..90] a = x1 * (y2 - y3) - y1 * (x2 - x3) + x2 * y3 - x3 * y2 b = (Mth::pow(x1, 2)...
**tp+** ```ruby def circleCenter3Points(x1,y1,z1,x2,y2,z2,x3,y3,z3) : numreg, numreg, numreg a = x1 * (y2 - y3) - y1 * (x2 - x3) + x2 * y3 - x3 * y2 b...
```ruby local := R[70..80] def func2(val, exp) : numreg return(Mth::exp(exp * Mth::ln(val))) end power := R[20] power = ns1::func2(4, 2) ``` gives error: ``` indirect_node.rb:70:in `id': undefined method `value' for...
There is currently no way to tell if the return of a call statement in a expression is a posreg, or a numreg, due to `handle_arg_funcs` in CallNode being evaluated...
**Independent motion** ``` linear_move.to(p1).at(100, 'mm/s').term(100).independent(group(1)) joint_move.to(p1).at(100, '%').term(50).independent(group(3)) Independent GP GP1 L P[1] 50mm/s CNT100 GP3 J P[1] 100% CNT50 ``` **simultaneous motion** ``` linear_move.to(p1).at(90, 'mm/s').term(100).simultaneous(group(1)) joint_move.to(p1).at(100, '%').term(50).simultaneous(group(3)) Simultaneous GP GP1...
vision registers -> VR[] ``` VOFFSET CONDITION VR[1] L P[1] 50mm/sec CNT100 VOFFSET ```
-positions are ignoring uframe, and utool sets. -default positions are not being saved