04 2022 档案
摘要:计算面积,用面积的正负判断方向,如果面积是正,则是逆时针,面积是负则是顺时针。 在计算几何里,我们知道,△ABC的面积就是“向量AB”和“向量AC”两个向量叉积的绝对值的一半。其正负表示三角形顶点是在右手系还是左手系(面积是有向面积(有正负)), 负 则是左手系,反之,右手系。 需要注意的是在屏幕坐
阅读全文
摘要:import open3d as o3d mesh = o3d.io.read_triangle_mesh("80390865_shell_occlusion_l.stl") o3d.io.write_triangle_mesh("copy_of_knot.ply", mesh) 之后可继续转为pc
阅读全文
摘要:# -*- coding: utf-8 -*-# # # Name: test # Author: yunhgu # Date: 2022/4/13 14:00 # Description: # from PIL import ImageDraw, Image def getLinearEquati
阅读全文
摘要:官方介绍地址:https://pillow.readthedocs.io/en/stable/reference/index.html # -*- coding: utf-8 -*-# # # Name: Pillow测试用例 # Author: yunhgu # Date: 2022/4/13 9
阅读全文
摘要:https://registry.npmmirror.com/binary.html?path=python/
阅读全文