Skip to content

Instantly share code, notes, and snippets.

@mihalea
mihalea / STLtoSTEP.py
Last active October 29, 2023 15:33
Imports an STL file, attempts to refine it, and the exports it as STEP
import FreeCAD
import Mesh
import Part
import os
from PySide import QtGui
from PySide2.QtWidgets import QFileDialog
def import_stl():
# Check if there is an active document, if not create one
if FreeCAD.ActiveDocument is None:
@mihalea
mihalea / theme.rasi
Last active November 20, 2019 09:38
* {
background-color: #ccc;
}
#window {
width: 1920px;
height: 1080px;
padding: 219px 360px;
}
/**
* rofi -dump-theme output.
* Rofi version: 1.5.4
**/
* {
background-color: rgba ( 204, 204, 204, 100 % );
}
window {
width: 1920px ;
padding: 219px 360px ;