Coder Social home page Coder Social logo

Specify WG length about siepic_ebeam_pdk HOT 9 CLOSED

lukasc-ubc avatar lukasc-ubc commented on May 24, 2024
Specify WG length

from siepic_ebeam_pdk.

Comments (9)

jaspreetj avatar jaspreetj commented on May 24, 2024

Works but needs improvement. There are some bugs eg. sometimes the layout disappears upon the completion of the resizing operation.

press Ctrl + Shift + R to run the script while having a transient selection.

from siepic_ebeam_pdk.

lukasc-ubc avatar lukasc-ubc commented on May 24, 2024

Hi Jaspreet,

A few problems:

  • Layout disappears. I've seen this before when using a GUI and performing operations. In my case, the solution was to close the GUI first, then perform layout modifications
  • if you select the waveguide, it crashes. only works if you select the path. should work for both. see my script "Waveguide_to_path"

Suggestions:

  • remove 1st and last segments; these presumably never will be useful.
  • perhaps only list eligible segments: name those whose neighbour segments point in the same direction (middle of a U-shape being the only allowable one).

Other:

  • i edited the script: message text change, and added to menu.

from siepic_ebeam_pdk.

lukasc-ubc avatar lukasc-ubc commented on May 24, 2024

fixed:

  • layout disappears
  • selection for PCell vs. GUIDING_PATH; both work
  • correctly measuring the path length including bends
  • added Undo functionality
  • removed 1st/last points.

to do:

  • quality control checking
  • perhaps only list eligible segments: name those whose neighbour segments point in the same direction (middle of a U-shape being the only allowable one).

from siepic_ebeam_pdk.

lukasc-ubc avatar lukasc-ubc commented on May 24, 2024

Bug:

  • if the segment to be moved is on the left, it applies the "diff" in the incorrect direction (makes the waveguide shorter instead of longer)

from siepic_ebeam_pdk.

jaspreetj avatar jaspreetj commented on May 24, 2024

working on the Bug and to do items.

from siepic_ebeam_pdk.

jaspreetj avatar jaspreetj commented on May 24, 2024

Fixed: if the segment to be moved is on the left, it applies the "diff" in the incorrect direction (makes the waveguide shorter instead of longer)

New Bug detected: Waveguide resizer does not work on a waveguide which has already been resized. It moves the waveguide to the origin(0,0).

Currently Working on it.

from siepic_ebeam_pdk.

lukasc-ubc avatar lukasc-ubc commented on May 24, 2024

Bug: segment says "horizontal" but it is vertical.

from siepic_ebeam_pdk.

lukasc-ubc avatar lukasc-ubc commented on May 24, 2024

did some GUI improvements.

from siepic_ebeam_pdk.

jaspreetj avatar jaspreetj commented on May 24, 2024

The script was giving me syntax errors. So I did following fixes.

I commented out the line no. 110.

and changed line no. 79 from
if len(o_selection)<>1:
to
if len(o_selection)< 1:

from siepic_ebeam_pdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.