3d printer slic3r update to reflect plastic vapor smoothering

jaktoze jeste nikdo nevymyslel filtr na 3d modely, ktery by byl nauceny jak aceton smyva detaily, a model by upravil tak aby mel hrany prehranene (veci vystupky) a detaily taky prehnane, misto pahorkatin vrchoviny, misto kulatych tecek boule, proste tak aby se po aplikaci acetonovych par model vyhladil tak aby mel puvodni detaily pred filtraci..
tady ciha Nobelovka

Sort nested dict in python – OrderedDict

Nested ordered dict sort. If you need to sort your dict or OrderedDict, this snippet may come helpfull.

from collections import OrderedDict
def ordered_dict(od, reverse=False, sort_key=None):
    """Sort nested ordered dict recursively.

    - sort by dict key case insensitively:
        sort_key = lambda (k, v): k.lower()
    if not isinstance(od, OrderedDict):
        od = OrderedDict(od)

    res = OrderedDict()
    for k, v in sorted(od.items(), reverse=reverse, key=sort_key):
        if isinstance(v, dict):
            res[k] = ordered_dict(v)
            res[k] = v
    return res

# show-off
a = {chr(i+ord('a')+(i%2)*(ord('A')-ord('a'))): i for i in reversed(range(0,26))}
print(ordered_dict(a, reverse=True, sort_key=lambda (k,v): k.lower()))

kivent-robotic-visualiser (krv) documentation


Frameworks used

The 2D robot simulation program is written in Python 3.5 and uses mainly GUI module kivy and its counterpart for game logic the kivent module.

Using kivent module complex physics, graphics, and game environment was created using only Python language the low-level parts of physics interactions are written as wrappers in Cython utilizing the cymunk - python port of 2d physics engine Chipmunk2D.

The compiling and installation of the kivy and kivent modules from source codes can be done using the playbook.yml file (using ansible-playbook is an installer program) or getting help from online forums and official pages.

Celý příspěvek