Opened 6 years ago

Closed 6 years ago

#2732 closed defect (fixed)

BILD arrow shaft juts through arrowhead

Reported by: tony.schaefer@… Owned by: Greg Couch
Priority: normal Milestone:
Component: Depiction Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Windows-10-10.0.18362
ChimeraX Version: 0.92 (2020-01-08)
Description
For bild arrows, the cylinder clips through the cone. I changed chimerax/bild/bild.py line 622 to
"vertices = inverse * (vertices + [0, 0, h / 2])" 
and that stops the clipping, but I don't know if that's a proper fix for this. 

Log:
UCSF ChimeraX version: 0.92 (2020-01-08)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> toolshed show "Browse AaronTools Libraries"

[0, 6]  
[0, 1]  
found bond  
.color 0.901961 0.400000 0.301961  
.transparency 0.098039  
.arrow -3.396870 0.762210 0.286500 -2.855529 0.165503 0.103494 0.160000
0.240000 0.7  
  
[0, 1]  
found bond  
.color 0.901961 0.400000 0.301961  
.transparency 0.098039  
.arrow -3.396870 0.762210 0.286500 -2.855529 0.165503 0.103494 0.160000
0.240000 0.7  
  

> tile




OpenGL version: 3.3.0 NVIDIA 398.36
OpenGL renderer: GeForce 940M/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation

Change History (2)

comment:1 by Eric Pettersen, 6 years ago

Component: UnassignedDepiction
Owner: set to Greg Couch
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionBILD arrow shaft juts through arrowhead

comment:2 by Greg Couch, 6 years ago

Resolution: fixed
Status: assignedclosed

That is correct. The cone_geometry() returns a cone centered at the origin, so it needs an offset. It is fixed in the next daily release.

Note: See TracTickets for help on using tickets.