mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 04:09:01 +08:00
Move the script to scripts dir
This commit is contained in:
parent
ea2b0d0480
commit
bb578be066
@ -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…
x
Reference in New Issue
Block a user