From d16b0f8603482fc8018d58f8f9317bb363df8c50 Mon Sep 17 00:00:00 2001 From: Stefan Helmert Date: Fri, 2 Aug 2024 12:20:34 +0200 Subject: [PATCH] reformated --- xyzcad/render.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xyzcad/render.py b/xyzcad/render.py index 18f376e..452009d 100644 --- a/xyzcad/render.py +++ b/xyzcad/render.py @@ -10,13 +10,13 @@ ####################################################################### +import importlib.metadata import time import numpy as np from numba import njit, objmode, prange, types from numba.typed import Dict, List from stl import mesh -import importlib.metadata tlt = [[[0]]] * 256 tlt[1] = [[0, 1, 2]] @@ -830,7 +830,7 @@ def all_njit_func(func, res, tlt): def renderAndSave(func, filename, res=1): t0 = time.time() - #version = importlib.metadata.version('xyzcad') + # version = importlib.metadata.version('xyzcad') print(__package__) print(__name__) version = importlib.metadata.version(__package__ or __name__)