mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-09 07:56:22 -06:00
Move the script to scripts dir
This commit is contained in:
parent
ea2b0d0480
commit
bb578be066
1 changed files with 2 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env python3
|
||||
# Copyright (c) 2018 Ultimaker B.V.
|
||||
# Cura is released under the terms of the LGPLv3 or higher.
|
||||
|
||||
|
@ -5,7 +6,6 @@ import copy
|
|||
import math
|
||||
import os
|
||||
import sys
|
||||
import random
|
||||
from typing import Dict, List, Optional, Tuple
|
||||
|
||||
|
||||
|
@ -98,6 +98,7 @@ def calc_intersection_distance(initial_feedrate: float, final_feedrate: float, a
|
|||
def calc_max_allowable_speed(acceleration: float, target_velocity: float, distance: float) -> float:
|
||||
return math.sqrt(target_velocity * target_velocity - 2 * acceleration * distance)
|
||||
|
||||
|
||||
class Command:
|
||||
def __init__(self, cmd_str: str) -> None:
|
||||
self._cmd_str = cmd_str # type: str
|
Loading…
Add table
Add a link
Reference in a new issue