wsteffe

About

Username
wsteffe
Joined
Visits
565
Last Active
Roles
Member

Comments

  • I have just understood that the problem on geometry visibility vcan be fixed by increasing the levels (the second entry in the levels) (Image) But what deos it means ?
  • Hi RawRanger, I have loost all the geometry after creating a new layout in the same panel Following image is before adding new layout: (Image) Following image is after adding new layout: In this case I had manually added (ln,dt) to each layer o…
  • Hi Matthias, I do not consider the duplicate circles as a valid geometry so, in my opinion, it is just an export problem that occurs when the dxf file is generated from a 3D shape of a FreeCAD document. So the lesson lerned to me is: never export …
  • Hi RawRanger, I see and indeed it is very good. But would it be possible to do all that in the GUI ?: 1) Load originalGeometry.dxf possibly with locked layers 2) Create a new cell named cell1 and make both visibles in the same newport 3) Draw the …
  • Hi RawRanger, I do not understand the purpose of your last code. The following image shows the result I get with this code: (Image) Apart of the @1 appended to layer names (which I don't know what it means) it seems to me that it is the same as t…
  • Hi dick_freebird. The geometry was exported from FreeCAD in separate dxf files which was merged in librecad using the command "Import Block". The stiching vias were firstly defined in a FreeCAD sketch and then extruded (using FreeCAD pad …
  • I have just solved this problem. The new annexed dxf file is displaying properly also in klayout.
  • One thing I can't really understand of klayout is cell creation and cell management. I am only able to create top level cells but I can't find a way to make them childs of another cell. I have also tried to select a polygon (which was defined in a l…
  • After a thinking I came to the following requirements: I need to separate the following structures in different layaout (and files): * The layout1 of original shapes (imported from dxf file coming from the EDA tool) * The layout2 of the splitting …
  • (Quote) I think it would be a very complex task to do. Actually I have no need to change the original shapes. I just want to use klayout only to properly position a few clipping polygons but, for a good placement, I have to do it in a window in wh…
  • I just went trhough the following steps 1. open the test case "ebp.dxf" in klayout 2. create a new layer ln/dt=100/0 named "clypPolys" 3. add a polygon (4 edges) to the new layer 100/0 4. save into a new file "ebp2.dxf&…
  • Now I am reconsidering the whole process: It would like to avoid merge operations and savings to gds2 (which is required for having more than one top cell). This is because I would like to preserve circles (not converting them to polygons) and also …
  • Hi RawrRanger, I have just tested your code (that one in your second last message) and it worked well. Next first image shows the selected polygon in the TOP cell while the second image shows what has been placed in cell subdomain1 (Image)
  • I have just understood the probable cause of my problems. The test case I am using (see previous image) is based on a dxf file that I have converted from an ODB++ file I had received. Layer index and datatype are not defined in the dxf file. Only la…
  • Now I have tried to use a lyp file in order to restore layer names in the gds project. In fact loadig lyp file restores the layer names but all geometry is lost.
  • Another big problem is that, because I have created a new top cell (named subdomain1) the project can not be saved in a dxf file. I saved it into a gds2 file but in this process I have lost all layer names. And this is very bad.
  • Another experiment which should be closer to what I would like to have. As a next update I would like to restrict the function copyClippedPolys() to visible layers. import pyaimport mathlayoutView = pya.Application.instance().main_window().curren…
  • I tried to experiment using code snippets taken from RawrRange examples: import pyaimport mathlayoutView = pya.Application.instance().main_window().current_view()layout = layoutView.active_cellview().layout()def layerPolygons(cell, ln, dt): re…
  • Yes, RawrRanger support is really very good and I am sorry for late replay (I had a very busy week). The last example given by RawrRanger is very helpful but it would be better to extract shapes from all visible layers instead of using the focused l…
  • Hi RawrRanger, thanks again for your hints. The code seems nice but there are some parts I can not understand very well. The most difficult to understand is the function sortClipPolygons(pool). What does it do exactly ? It seems that target polygon…
  • Hi RawrRanger Many thanks for your example. It is a very nice code. The main difference with respect to my requirement is that I would like to split regions using more general polygons instead of simple rectangles (Boxes). I also do not need the ext…
  • I have started this post after having tried a SiEPIC example. It was a long time since I used klayout. But now I see that the problem is very general and it happens with any kind of klayout project. I was using klayout 0.28.10 on ubuntu 22.04 but I…
  • The problem is that saving doesn't add ".gds" extension to the file name. Now I have renamed "filename" to "filename.gds" and it is seen by Open command. No matter if I am using "All Files (.*)" or "GDS2…
  • Ok Matthias. I think that it will not be a problem for layout2fc which can be restructured to use FC internal libraries for merge operations (instead of using klayout). But I thinks that it is a pitty that internal representatoin of kalyout is lim…
  • Hi Matthias, I would like to ask you if it were possible to have an option to reconstruct arcs and circles after merging operation. Circles discretization is a very big problem for 3D CAD structures (see last posts at https://github.com/realthund…
  • Thanks dick, Display Full Hierarchy solved the problem.
  • I have just understood why the line on layer 61/0 was not written into file "test_case_SPLIT_1.dxf" . It was simply deleted by the merge operation which was applied to all layers. Only closed polygons survive to this operation. So now I ha…
  • @Matthias, thanks for your interest. I forgot to say but I have already put this script into the git repository https://github.com/wsteffe/layout2fc But I think that only you may tell why the file "test_case_SPLIT_1.dxf" (written for laye…
  • Hi Matthias, I would like to extend a little bit the capabilities of my script. To do that I need to extend also the stack format adding two columns holding (for each layer) the kind of operation and the insertion order. In the previous version I wa…