b958f5b446
* working base with merged ui repo * include project search * widgets * working cards * remove .pyc files * again * add gitignore * nice hovers * interactive background working * beautiful search * working widgets * optimized * project query * all working * models show up but only from the last stream * fixed models * cleaner * model search moved * add models * UI models and bindings * rearrangement * moved folder * cleanup * rearrange * rename1 * rename2 * cleanup * rename1 * rename2 * hide old ui * bindings added * rename * still works * works * works except resize * project scroll working * scroll down * load button fixed * emit sender card to dockwidget * models cards added * model cards recognized * resize * publish works * cards created in the right order * fix order * styling * perfect model card * visuals * remove widget btn * publish button to the bottom * add and remove model cards faster * remove old code * stretch cards
16 lines
336 B
Python
16 lines
336 B
Python
import sys
|
|
import os
|
|
|
|
MESSAGE_CATEGORY = "Speckle"
|
|
|
|
|
|
def get_qgis_python_path():
|
|
if sys.platform.startswith("linux"):
|
|
return sys.executable
|
|
pythonExec = os.path.dirname(sys.executable)
|
|
if sys.platform == "win32":
|
|
pythonExec += "\\python3"
|
|
else:
|
|
pythonExec += "/bin/python3"
|
|
return pythonExec
|