mirror of
https://github.com/nophead/NopSCADlib.git
synced 2025-08-03 14:07:25 +02:00
Fixed typos.
This commit is contained in:
@@ -157,7 +157,7 @@ if __name__ == '__main__':
|
|||||||
break
|
break
|
||||||
j += 1
|
j += 1
|
||||||
|
|
||||||
# Print verson info
|
# Print version info
|
||||||
print('%s [%s](%s "show release") %s %s' % ('#' * (level + 1), ver, url + '/releases/tag/' + ver, type, diff), file = file)
|
print('%s [%s](%s "show release") %s %s' % ('#' * (level + 1), ver, url + '/releases/tag/' + ver, type, diff), file = file)
|
||||||
|
|
||||||
# Print commits excluding merges
|
# Print commits excluding merges
|
||||||
|
@@ -57,13 +57,13 @@ def set_config(target, usage = None):
|
|||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
if not targets:
|
if not targets:
|
||||||
print("Not a muli-configuration project (no config_<target>.scad files found)")
|
print("Not a multi-configuration project (no config_<target>.scad files found)")
|
||||||
if usage:
|
if usage:
|
||||||
usage()
|
usage()
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
if not target in targets:
|
if not target in targets:
|
||||||
print(target + " is not a configuration, avaliable configurations are: " + valid_targets_string())
|
print(target + " is not a configuration, available configurations are: " + valid_targets_string())
|
||||||
if usage:
|
if usage:
|
||||||
usage()
|
usage()
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
@@ -127,8 +127,8 @@ function sweep_transforms(path, loop = false, twist = 0) =
|
|||||||
i = i + 1,
|
i = i + 1,
|
||||||
rot = i < len ? rotate_from_to(tangents[i - 1], tangents[i]) * rot : undef) rot],
|
rot = i < len ? rotate_from_to(tangents[i - 1], tangents[i]) * rot : undef) rot],
|
||||||
|
|
||||||
missmatch = loop ? calculate_twist(rotations[0], rotations[last]) : 0,
|
mismatch = loop ? calculate_twist(rotations[0], rotations[last]) : 0,
|
||||||
rotation = missmatch + twist
|
rotation = mismatch + twist
|
||||||
)
|
)
|
||||||
[for(i = [0 : last])
|
[for(i = [0 : last])
|
||||||
let(za = rotation * lengths[i] / length)
|
let(za = rotation * lengths[i] / length)
|
||||||
|
Reference in New Issue
Block a user