From d1572e9331e83f897fc9dc487a5e7cb141677d21 Mon Sep 17 00:00:00 2001 From: Damien Picard Date: Sun, 14 Jan 2024 12:02:21 +0100 Subject: [PATCH] Fix: Add Mesh Extra Objects: dual tetrahedron is sometimes flipped Fix an issue with the solid mode of Add Mesh Extra Objects. The dual tetrahedron gets flipped when it has a vertex truncation of 2.0. It needs to be mirrored in the same way as the non-dual case. Noticed while looking into !105117. --- add_mesh_extra_objects/add_mesh_solid.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/add_mesh_extra_objects/add_mesh_solid.py b/add_mesh_extra_objects/add_mesh_solid.py index ef9cc541d..bc326f148 100644 --- a/add_mesh_extra_objects/add_mesh_solid.py +++ b/add_mesh_extra_objects/add_mesh_solid.py @@ -158,8 +158,6 @@ def createSolid(plato, vtrunc, etrunc, dual, snub): if vtrunc == 0: # no truncation needed if dual: vInput, fInput = source(plato) - vInput = [i * supposedSize for i in vInput] - return vInput, fInput vInput = [-i * supposedSize for i in vInput] return vInput, fInput -- 2.30.2