Changeset View
Changeset View
Standalone View
Standalone View
add_curve_extra_objects/add_curve_spirals.py
| Context not available. | |||||
| cur_rad += step_rad | cur_rad += step_rad | ||||
| if props.spiral_type == 'LOG': | if props.spiral_type == 'LOG': | ||||
| # r = a*e^{|theta| * b} | # r = a*e^{|theta| * b} | ||||
| cur_rad = props.radius * pow(props.B_force, abs(cur_phi)) | cur_rad = props.radius * props.B_force ** abs(cur_phi) | ||||
| # ------------------------------ | # ------------------------------ | ||||
| px = cur_rad * cos(cur_phi) | px = cur_rad * cos(cur_phi) | ||||
| Context not available. | |||||