Scripting Geometry: Find nth Brillouin Zone & More

  • Thread starter Thread starter cellophane
  • Start date Start date
  • Tags Tags
    Geometry
AI Thread Summary
A script is being developed to identify the nth Brillouin zone of a reciprocal net and demonstrate its transposition into the 1st Brillouin zone. The user finds Kig's Python scripting capabilities limited, as it only allows returning a single object at a time. There is consideration of moving away from a geometry program integrated with the script. Suggestions for alternative geometry programs with better scripting capabilities are sought, along with tutorials for Kig or KSeg. A potential resource mentioned is vpython.org, which may enhance the existing Python script for improved performance and aesthetics.
cellophane
Messages
4
Reaction score
0
I want to write a script to find the nth Brillouin zone of a reciprocal net and show how it can be transposed into the 1st Brillouin zone. Kig has python scripting built into it, but it seems to be extremely limited in its use, since a script can only return a single object at a time. I'm starting to think that I should just forego having a geometry program built overtop the script, but if any of you know whether there is a good geometry program with scripting, or know of a tutorial on scripting in kig or kseg or something, I would be really appreciative.

Thanks in advance
 
Computer science news on Phys.org
Hey, thanks. I already wrote the script in python so this might be good to make it shinier and faster or something.
 
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...
Sorry if 'Profile Badge' is not the correct term. I have an MS 365 subscription and I've noticed on my Word documents the small circle with my initials in it is sometimes different in colour document to document (it's the circle at the top right of the doc, that, when you hover over it it tells you you're signed in; if you click on it you get a bit more info). Last night I had four docs with a red circle, one with blue. When I closed the blue and opened it again it was red. Today I have 3...
Back
Top