| wpwrak | cladamw: glad you're having fun :-) i think part of that may also be that fped allows you to think in more abstract terms. so each thing you do has a more powerful effect. | 02:01 |
|---|---|---|
| wpwrak | regarding the suppression of pins: the most direct way of suppressing pins would be to have a table, keyed by the pin's number, that says whether the pin should be shown or not | 02:02 |
| wpwrak | ah wait, and we can rename them in the process, too | 02:03 |
| wpwrak | so: | 02:03 |
| wpwrak | table { ?n, name } { 1, 1 } { 2, 2 } { 3, 3 } { 4, 4 } { 5, 5 } { 6, 0 } { 7, 0 } { 8, 6 } | 02:05 |
| wpwrak | loop if = floor(1-name/100), 0 | 02:06 |
| wpwrak | lemme check if this actually works :) | 02:06 |
| cladamw | yeah ... my problem is that I've not familiar with its conceipt of expression. :-) | 02:06 |
| wpwrak | yeah, works perfectly :) | 02:07 |
| cladamw | so if the table above it can do with just one pads frame not using two pads_t and pads_b, then i eventaully knows that table. :-) | 02:08 |
| cladamw | since i still don't know the how syntax it is. :-O | 02:09 |
| wpwrak | (expressions) the way fped does things is a bit unusual. that's because everything has to work in a reasonably natural way in a "script" and in the GUI. so it's a mix of procedural and declarative concepts. | 02:09 |
| cladamw | hehe ... could you use pastebin for me the optimized codes ? | 02:09 |
| wpwrak | you mean a modified eus.fpd ? | 02:10 |
| cladamw | yeah ... correct explainative mix of both procedural and declarative ones. | 02:11 |
| cladamw | (modified eus.fpd) yes. :-) | 02:11 |
| cladamw | but maybe your Fped is updated latestly not like mine now so that i not sure if Fped can interprete it. | 02:12 |
| wpwrak | if you want to understand the finer details of fped, you should look at the script language, described in README. i think it's easier to understand the structure of things there | 02:12 |
| wpwrak | yes, you need the latest fped for this kind of thing to work :) | 02:13 |
| cladamw | phew ~ script again. | 02:13 |
| cladamw | my priority one may not to learn it now, hehe ... keep building those needed m1r4's modules. | 02:14 |
| wpwrak | i think it's a good moment to learn what you want to learn | 02:15 |
| wpwrak | since you have a lot of opportunities to use it on real-life problems. that makes it much easier to learn. | 02:15 |
| cladamw | i have time goal now. :-) | 02:16 |
| wpwrak | ah ? | 02:16 |
| wpwrak | has wolfgang given you a deadline ? | 02:16 |
| cladamw | so maybe yesterday you mentioned another expression for older ver. of Fped. Can it ? | 02:16 |
| cladamw | Does Fped have another expression for such for my current Fped ? | 02:17 |
| wpwrak | (looking at eus.fpd) pin_b and pin_t are nearly identical. is there any specific reason why you didn't use the same frame for both types of pins ? | 02:17 |
| cladamw | wpwrak, yeah ... i tried but failed in using 'if' ... hehe | 02:18 |
| cladamw | then i seperate 'pin' into *_[b:t] frames. :-O | 02:18 |
| wpwrak | (old-style) you could just enumerate the pins: table { pos, name } { 1, 1 } { 2, 2 } { 3, 3 } { 4, 4 } { 5, 5 } { 8, 6 } | 02:19 |
| wpwrak | and remove the loop | 02:19 |
| wpwrak | what i called "pos" would be "i" in your case | 02:20 |
| wpwrak | (using if) hmm. you shouldn't need an "if" here | 02:20 |
| cladamw | All roads lead to Rome. (even I knew it's not smart codes but tried ) ha ... | 02:21 |
| wpwrak | the only possible problem i see with simplifying things is that it may be harder to get measurements. but let's see ... | 02:21 |
| cladamw | (olde-style) okay ... next module if the same case I'll try. :-) | 02:22 |
| wpwrak | by the way, to verify footprints, when you generate a postscript file and print it, fped will put one drawing at the real size. so if you have the component at hand, you can put it on the paper and verify that the footprint does indeed look right | 02:22 |
| wpwrak | thinking of it, the old-style approach is actually more efficient in this case :) | 02:23 |
| cladamw | wpwrak, okay ... that's i'd like to know from you. ( efficient) :-) thanks telling me. :-O | 02:24 |
| wpwrak | oh, and eus.fpd linke pins_t from frame outline. i think you want to link it from the root frame :) | 02:35 |
| wpwrak | here's my version: http://downloads.qi-hardware.com/people/werner/tmp/eus2.fpd | 02:42 |
| wpwrak | should also work with old versions of fped | 02:42 |
| wpwrak | that part has a funny geometry. i think the dimensions are originally in mil. | 02:44 |
| wpwrak | if a part is in mil, it's better to use the original dimensions. fped will convert them for you anyway. | 02:44 |
| wpwrak | you can also mix mil and mm. e.g., if a part is in mil, you can still use mm for measurement offsets | 02:45 |
| cladamwa | (eus2.fpd) wpwrak nice, thanks a lot. good to see smarter codes. :) | 04:04 |
| jivs_ | seen xiangfu | 11:25 |
| jivs_ | xiangfu, plz buzz me when you are online | 11:25 |
| wpwrak | grmbl. i should know better than starting with the regression tests only after already having accumulated 4k lines to test :-( | 13:55 |
| viric | wpwrak: kernel or user code? :) | 14:13 |
| wpwrak | user code (boom) | 14:15 |
| wpwrak | i better clean out the bugs accumulated so far before setting it to work on m1r4 | 14:16 |
| viric | what did "(boom)" mean? | 14:16 |
| wpwrak | comes from BOM (bill of materials). the the second O is a non-functional artistic addition :) | 14:18 |
| viric | if you made a kde frontend, you could name it kaboom | 14:19 |
| viric | ok :) | 14:19 |
| wpwrak | ;-)) | 14:20 |
| Ayla | do you know the anime Linus & Boom? | 14:20 |
| Ayla | s/anime/cartoon | 14:20 |
| viric | hm no | 14:21 |
| wpwrak | naw, i do my graphics only in SDL or Gtk. vade retro, C++ ;-) | 14:21 |
| viric | I only know Linus from Schultz | 14:21 |
| wpwrak | Ayla: is that cartoon about Mr. Torvalds rewriting memory management while having a hangover ? :) | 14:22 |
| Ayla | no, it's a lame cartoon about aliens | 14:22 |
| qi-bot | The build was successful: http://fidelio.qi-hardware.com/~xiangfu/build-nanonote/openwrt-xburst.full_system-20120530-0909 | 15:06 |
| qi-bot | [commit] Jiva Nath Bagale: bug fix for guile2 Makefile (master) http://qi-hw.com/p/openwrt-packages/5e8a25e | 15:46 |
| LunaVorax | Hello everyone | 19:46 |
| qi-bot | [commit] Werner Almesberger: b2/test/hierfld: field definitions in hierarchy (master) http://qi-hw.com/p/eda-tools/ef60e92 | 19:54 |
| qi-bot | [commit] Werner Almesberger: b2/: new option -v to control verbosity level; move hierarchy dump from parser to boom.c (master) http://qi-hw.com/p/eda-tools/b0ed436 | 19:54 |
| qi-bot | [commit] Werner Almesberger: b2/test/Common: drop that tacky "file-" prefix in pseudo-filenames (master) http://qi-hw.com/p/eda-tools/52e58cc | 19:54 |
| qi-bot | [commit] Werner Almesberger: b2/new function yywarn; make yyerror reuse yyerrorf (master) http://qi-hw.com/p/eda-tools/2239440 | 19:54 |
| qi-bot | [commit] Werner Almesberger: b2/: add test for redundant conditions in hierarchy (master) http://qi-hw.com/p/eda-tools/39382b1 | 19:54 |
| qi-bot | [commit] Werner Almesberger: b2/Makefile: run tests with bash, not with sh (master) http://qi-hw.com/p/eda-tools/4943519 | 19:54 |
| qi-bot | [commit] Werner Almesberger: b2/lang.y: don't pop fields from the stack before also handling the rule (master) http://qi-hw.com/p/eda-tools/a892b63 | 19:54 |
| qi-bot | [commit] Werner Almesberger: b2/dump.c (dump_rel): use %g also for tolerances in percent (master) http://qi-hw.com/p/eda-tools/6159bdf | 19:54 |
| qi-bot | [commit] Werner Almesberger: b2/eval.c (eval_rel): fix stop pointer when parsing absolute tolerance values (master) http://qi-hw.com/p/eda-tools/8c26e5f | 19:54 |
| qi-bot | [commit] Werner Almesberger: b2/test/hierrul: field rules in hierarchy (master) http://qi-hw.com/p/eda-tools/e66267f | 19:54 |
| qi-bot | [commit] Werner Almesberger: Merge branch 'master' of projects.qi-hardware.com:eda-tools (master) http://qi-hw.com/p/eda-tools/4fb5f26 | 19:54 |
| kristianpaul | whitequark: how went your arm + fpga combo handshake? | 22:51 |
| --- Fri Jun 1 2012 | 00:00 | |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!