| 00:22.43 | *** join/#brlcad teepee_ (~teepee@gateway/tor-sasl/teepee) | |
| 03:10.11 | *** join/#brlcad kintel (~kintel@unaffiliated/kintel) | |
| 04:14.32 | *** join/#brlcad YashM (~YashM@117.198.11.49) | |
| 05:03.28 | *** join/#brlcad kintel (~kintel@unaffiliated/kintel) | |
| 05:10.22 | *** join/#brlcad geekgrl_ (~geekgrl@203.115.81.74) | |
| 05:49.50 | *** join/#brlcad yukonbob (~bch@50.34.204.149) | |
| 05:49.55 | yukonbob | hello #brlcad |
| 05:55.58 | *** join/#brlcad Sricharanized (~raincrash@116.202.121.11) | |
| 05:56.10 | Sricharanized | hi! |
| 06:00.43 | Sricharanized | Hi! I am Sricharan. I would love to contribute to BRLCAD. I know OpenGL and proficient in C++ and Python. About me: http://raincrash.github.io/ . |
| 06:00.58 | nmz787 | hi! |
| 06:01.10 | nmz787 | I am working on a python-brlcad script now |
| 06:01.14 | nmz787 | so I cleaned it up some more, stopped producing cylinders for the screw holes and trying to subtract them... rather just using the 'hole' command... but the hole command isn't working http://paste.pound-python.org/show/n4iU8AL2K0dDRZygyqMN/ |
| 06:01.19 | nmz787 | this is what it looks like http://imgur.com/L9k3aSm |
| 06:01.29 | nmz787 | (repasted from another IRC room) |
| 06:01.30 | nmz787 | :) |
| 06:02.18 | nmz787 | working to create a model of this cheap geared motor http://robocraft.ru/files/datasheet/28BYJ-48.pdf |
| 07:00.02 | *** join/#brlcad shardulc (~shardul@122.170.38.245) | |
| 07:00.56 | *** part/#brlcad shardulc (~shardul@122.170.38.245) | |
| 07:07.51 | *** join/#brlcad Sricharanized1 (~raincrash@116.202.28.227) | |
| 07:09.02 | nmz787 | ok, got it to work! |
| 07:09.12 | nmz787 | kanzure: why was line 82 in http://paste.pound-python.org/show/n4iU8AL2K0dDRZygyqMN/ not throwing a readable python error? It was emitting: *** Error in `python': free(): invalid pointer: 0x0000000001865960 ***Aborted (core dumped) |
| 07:09.59 | nmz787 | shouldn't it be a NameError 'wings_block_chamfered' is not defined ? |
| 07:17.12 | *** part/#brlcad Sricharanized1 (~raincrash@116.202.28.227) | |
| 07:38.27 | *** join/#brlcad nmz787 (~nmz787@unaffiliated/nmz787) | |
| 08:26.11 | *** join/#brlcad chick_ (~chick@41.205.22.41) | |
| 09:04.35 | *** join/#brlcad Sricharanized (~raincrash@116.202.116.22) | |
| 09:05.00 | *** part/#brlcad Sricharanized (~raincrash@116.202.116.22) | |
| 09:27.13 | *** join/#brlcad chick_ (~chick@41.205.22.41) | |
| 09:39.36 | *** join/#brlcad chick_ (~chick@41.205.22.41) | |
| 10:06.59 | *** join/#brlcad YashM (~YashM@117.198.11.49) | |
| 11:08.53 | *** join/#brlcad LordOfBikes (~armin@dslb-178-010-189-123.178.010.pools.vodafone-ip.de) | |
| 11:11.29 | *** join/#brlcad chick_ (~chick@41.205.22.41) | |
| 11:27.13 | *** join/#brlcad mmu_man (~revol@vaf26-2-82-244-111-82.fbx.proxad.net) | |
| 12:06.59 | *** join/#brlcad YashM (~YashM@117.198.11.49) | |
| 12:40.43 | kanzure | nmz787: that's probably an error about union() not about combination() |
| 14:37.53 | *** join/#brlcad YashM (~YashM@117.198.11.49) | |
| 14:47.11 | *** join/#brlcad YashM_ (~YashM@117.198.11.49) | |
| 14:59.14 | *** join/#brlcad mihaineacsu (~mihaineac@92.85.10.174) | |
| 15:04.21 | *** join/#brlcad YashM_ (~YashM@117.198.11.49) | |
| 15:42.29 | *** join/#brlcad albertcoder (~quassel@202.164.45.198) | |
| 16:00.40 | *** join/#brlcad MarcTannous (bc192390@gateway/web/cgi-irc/kiwiirc.com/ip.188.25.35.144) | |
| 16:07.43 | *** join/#brlcad kintel (~kintel@unaffiliated/kintel) | |
| 16:42.39 | *** join/#brlcad mmu_man (~revol@vaf26-2-82-244-111-82.fbx.proxad.net) | |
| 16:45.23 | *** join/#brlcad teepee (~teepee@gateway/tor-sasl/teepee) | |
| 18:19.04 | *** join/#brlcad albertcoder (~quassel@117.237.9.208) | |
| 18:29.47 | *** join/#brlcad MarcTannous (bc192390@gateway/web/cgi-irc/kiwiirc.com/ip.188.25.35.144) | |
| 19:00.11 | *** join/#brlcad merzo (~merzo@59-19-132-95.pool.ukrtel.net) | |
| 19:04.26 | *** join/#brlcad Sricharanized (~raincrash@116.202.4.152) | |
| 19:17.52 | *** join/#brlcad Sricharanized (~raincrash@116.202.4.152) | |
| 19:19.31 | *** part/#brlcad Sricharanized (~raincrash@116.202.4.152) | |
| 19:27.38 | *** join/#brlcad Sricharanized (~raincrash@116.202.4.152) | |
| 19:27.46 | *** part/#brlcad Sricharanized (~raincrash@116.202.4.152) | |
| 19:31.24 | *** join/#brlcad albertcoder (~quassel@202.164.45.198) | |
| 20:07.33 | *** join/#brlcad kintel (~kintel@unaffiliated/kintel) | |
| 20:07.42 | *** join/#brlcad mikolalysenko (sid34553@gateway/web/irccloud.com/x-kbcesatxoxxdkfeb) | |
| 20:12.14 | *** join/#brlcad albert_coder (~quassel@202.164.45.208) | |
| 20:14.11 | *** join/#brlcad teepee_ (~teepee@gateway/tor-sasl/teepee) | |
| 20:56.05 | *** join/#brlcad FreezingCold (~FreezingC@135.0.41.14) | |
| 21:08.58 | *** join/#brlcad albertcoder (~quassel@202.164.45.198) | |
| 21:11.53 | nmz787 | kanzure: but why wouldn't it be throwing a NameError? |
| 21:14.53 | kanzure | because the evaluation didn't get that far |
| 21:16.08 | nmz787 | yeah it did |
| 21:17.16 | kanzure | no, it failed on the union() |
| 21:17.50 | nmz787 | my working script (that completes the modelling I expect), if I change the last string for the last combination to a variable name that doesn't exist, it doesn't complain, only throwing a malloc error |
| 21:18.14 | nmz787 | no it seriously is working fully now, but if i change the variable name to a bullshit one, i don't get the python error |
| 21:18.18 | nmz787 | exception |
| 21:18.49 | nmz787 | (I didn't ever make any progress on the segfault stuff, but indeed when I load the .g file the script creates, my model is there) |
| 21:19.35 | nmz787 | (only with 7.24.0 that I compiled from the release source, 7.24.0 and 7.24.2 from .deb files don't allow python-brlcad to produce my complete model) |
| 21:21.13 | nmz787 | i was wondering how you might think to easily modify python-brlcad to emit tcl scripts, rather than touch the brlcad libraries directly... to have a fallback in case no one is up to help me get around these segfault issues |
| 21:21.29 | nmz787 | I was thinking maybe the primitive function decorator could be useful |
| 21:21.42 | nmz787 | but I don't know enough about decorators |
| 21:22.10 | nmz787 | something like when I call the rcc function/method, it just appends the function name and args to a string |
| 21:22.26 | nmz787 | and then when the with() statement closes, it writes that string to a .tcl file |
| 21:22.50 | nmz787 | obv you'd lose interactability with the brl-cad database |
| 21:23.25 | nmz787 | but it would push the brlcad responsible code to a more stable part of the codebase (tcl I'm guessing is pretty stable) |
| 21:28.23 | nmz787 | kanzure: this is like how you were complaining about silent errors in implicitcad |
| 21:31.39 | nmz787 | kanzure: this is the fully-working script http://paste.pound-python.org/show/B1DJ44g4Ie2bpoFPdvPX/ |
| 21:32.13 | nmz787 | if I change brl_db.combination(self.final_name to brl_db.combination(self.final_name1111 it doesn't give me a Python exception |
| 21:32.31 | nmz787 | I really don't know how to go about fixing this |
| 21:33.04 | kanzure | i am completely disinterested in emitting tcl scripts, that's nuts |
| 21:33.26 | kanzure | this isn't a silent error, it's a segfault |
| 21:33.53 | kanzure | you should try and see if you get a segfault in an equivalent c program |
| 21:33.59 | kanzure | wdb_example.py was based on wdb_example.c |
| 22:00.04 | nmz787 | how would I compile it? is there a walkthrough? |
| 22:00.10 | nmz787 | or a make file? |
| 22:01.02 | nmz787 | wasn't your spiral script emitting tcl? |
| 22:14.34 | *** join/#brlcad merzo (~merzo@59-19-132-95.pool.ukrtel.net) | |
| 23:35.08 | *** join/#brlcad kintel (~kintel@unaffiliated/kintel) | |
| 23:59.01 | *** join/#brlcad merzo (~merzo@244-60-132-95.pool.ukrtel.net) | |