pt1 = tuple([tuple([q/1000.0 for q in p]) for p in pt])
pt = pt1
per poter importare direttamente in millimetri?
Grazie!
Codice: Seleziona tutto
pt = tuple([tuple([q for q in p]) for p in pt])
Codice: Seleziona tutto
.
.
.
gen = _ascii_read if _is_ascii_file(data) else _binary_read
for pt in gen(data):
pt1 = tuple([tuple([q/1000.0 for q in p]) for p in pt]) # Patch
pt = pt1 # Patch
# Add the triangle and the point.
# If the point is allready in the list of points, the
.
.
.