Author Topic: NanoTube Wrapper  (Read 3010 times)

0 Members and 1 Guest are viewing this topic.

Offline krabidix

  • Regular QuantumATK user
  • **
  • Posts: 22
  • Country: fi
  • Reputation: 0
    • View Profile
NanoTube Wrapper
« on: July 31, 2023, 10:37 »
Hi,
Can we use the script for Builder plugin tools for e.g for TubeWrapper ?
I didn't find any attributes in BulkConfiguration class for most of the plugins.


Best regards,
Krabidix

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5575
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: NanoTube Wrapper
« Reply #1 on: August 3, 2023, 20:40 »
The plugins that are scriptable will not appear as methods for a particular class, but rather as separate functions, generally. The TubeWrapper functionality is at the moment not available in a ready script function, but the AddOn is released in open source, so can actually quite easily reverse-engineer it. Depending on your version, the file is located in slightly different locations, but in U-version on Windows it's C:\Program Files\QuantumATK\QuantumATK-U-2022.12-SP1\atkpython\Lib\site-packages\AddOns\TubeWrapper\TubeWrapperPlugin.py. You basically just need to extract the method applyTo() and the displacement function and use angle and z_rise as parameters.