File: ocl_clpoint.py

package info (click to toggle)
opencamlib 2023.01.11-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 29,800 kB
  • sloc: cpp: 8,722; python: 5,530; sh: 604; javascript: 310; makefile: 209
file content (15 lines) | stat: -rw-r--r-- 241 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from opencamlib import ocl
# print(ocl.version())

p = ocl.Point(1,2,3)
print(p)
cc = ocl.CCPoint(4,5,6)
print(cc)
cl = ocl.CLPoint()
print(cl)
cl2 = ocl.CLPoint(7,8,9)
print(cl2)
cl3 = ocl.CLPoint(10,11,12,cc)
print(cl3)
cc.x=77
print(cl3)