wsteffe

About

Username
wsteffe
Joined
Visits
278
Last Active
Roles
Member

Comments

  • Hi Matthias, I said too early I solved my problem. The dxf file is imported with the right scale but I still need the dxf_unit inside of my code in order to check if a clypping polygon is touching a dxf shape defined in the ezdxf entity (see lines …
  • Hi Matthias, thanks for clarification. PCB technlogy was created by me in Klayout/Manage Technology. It is the same as default apart of DXF file unit=1000 um in reader Options. But I have solved my problem trough a slight change of the design flow:…
  • Clear. Thanks RawrRanger.
  • Hi all, I made some progress with my layoutDD package. To test this code the content of folder https://github.com/wsteffe/layoutDD/tree/master/klayout_dot_config has to be placed in a folder named ~/.klayout/layoutDD. Then you may start klayout doin…
  • Ii doesn't work even with tech_name explicilely set in the script. I have just changed a few script lines (see loaders.py in https://github.com/wsteffe/layoutDD/tree/master/klayout_dot_config/python/layoutDD) to: cellViewId = layoutView.load_layo…
  • To better explain I would like that my call layoutView.load_layout(dxfPath,option, 2) made use the technology selected in the mainwindow, that is the technology pointed by the red arrow in next image: (Image) Actually I can't understand why this i…
  • Hi Matthias, but a fixed tech name encoded in the python script wouldn't be very useful. Isn't it possible to get the tech name from the application ? I mean something like: pya.Application.instance().current_technology()
  • Solved, I have just to use: (Quote) instead of: (Quote)
  • Hi RawrRanger, now I have added also a command named Save Active Cell based on your code. You may try the following simple sequence: 1. Use cmd "layoutDD/Import DXF" pointing, in example, to KaIMUX-PCB.dxf' 2. Use cmd "layoutDD/S…
  • Yes thanks RawrRanger. Actually, just a few minutes after writinng, I had already found it and added it to the repo. Now the only available command is importPCB, but I think I will rename it to importDXF.
  • Hi RawrRanger, I have just added the file importPCB.py (which is based on your code) in the python/layoutDD folder of https://github.com/wsteffe/layoutDD project. The function importPCB should be called from a menu action but I would like to be able…
  • I have just added RawrRanger code for layer cleaning after layerMapping. Added also automatc (lexicographic) mapping of layer names.
  • Hi RawrRanger I made a few changes in the repository which incorporate your suggestions. The default branch is changed to master.
  • Hi RawRanger please look again at the file layoutDD.lym. Previously it has not been properly updated because I had done the push from a lower directory. The error now occurs at line 38. The purpose of lines 36-40 was just to add a main entry for the…
  • (Quote)
  • Hi RawRanger thanks again for your valuable contributes. If yoy agree you may contribute directly to the project https://github.com/wsteffe/layoutDD. I will sure give you write permission if I find the way to do it. Otherwise , if you prefer, you ma…
  • Hi all, I have just created a project at https://github.com/wsteffe/layoutDD aimed to the development of a package for the Domain Decomposition of PCB structures. I do not know why but the command git push has placed the file "grain.xml" …
  • I said: (Quote) But probably i should have said: (Quote) I have to learn how to create and manage klayout pakcages
  • After having seen the last RawRanger exampes it seems to me the kind of domain decomposition I had in mind seems to be feaseble. But I think that at this point it would be better to organize the required functions in a separate python module (autom…
  • Hi RawrRanger, thanks for clarification, the only obscure point is why there are 2 entries in the Levels field. To restore visibility I had to increase the value in the sicond (the rightmost) entry. The first one doesn't have any effect. Also it i…
  • 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 …