leozide / test Goto Github PK
View Code? Open in Web Editor NEWHome Page: http://leozide.github.io/test
Home Page: http://leozide.github.io/test
Originally by me.yahoo.com/a/ra8b8s0muolekq72mhmldlbt1erlxq-- on 2008-04-27 22:11:24 -0400
Since there are no pre-compiled packages available I tired to compile LeoCAD on my 64 bit Ubuntu 7.10 system. I tried both the 0.75 stable release and the latest SVN trunk. See attached for the output of running "make config" and "make". I do have all the dependencies installed, including libjpeg, libpng & zlib. Let me know if you need more info.
Originally by leocad.gerf.org on 2007-06-13 20:26:20 -0400
Originally on 2009-06-05 21:42:31 -0400
A suggestion: when choosing to highlight the new pieces on each step, I now get the new pieces highlighted in pink. I think that makes them hard to see. I have a suggestion for an alternate way to do it, that I have seen on one of the LEGO clones' instructions. They display all pieces in each step in gray except the ones that are new to each step. This makes them very easy to follow, I think. Perhaps it could be an option to use either of these two methods?
Originally on 2009-06-05 21:43:23 -0400
I was wondering if there were some features (or plans for) to create a limited set of parts to mimic kits from Mindstorms or other contest kits. It would be nice to limit the parts kids use to what is in the kits both in quantity and type. This would allow them to be aware of limited resources when designing vehicles.
Originally by leocad.gerf.org on 2007-05-29 14:40:49 -0400
Originally by leocad.gerf.org on 2006-10-02 12:48:40 -0400
Selecting a file that doesn't exist anymore from the recent menu doesn't give an error message.
Originally by lzide.myopenid.com on 2008-04-17 17:29:49 -0400
If you rotate one of the side cameras it will create a new one to
keep the "Left" camera always pointing left. Do you see new cameras
when you use the pan/zoom functions?
No new cameras got created when using pan or zoom, Only when rotating one
of the views other than main. It just would be nice if there was an option
that would set the main camera to be the current view rather than creating
a new camera. I tend to end up having 4 or more cameras from constantly
switching from the main view to one of the others and then rotating the
camera.
If you hold the control key down when using the zoom extents
function it will zoom all views, not only the active one but I think
zooming after resetting the cameras is a good idea so I'll add it.
Using the control key with zoom extends seams to make all the cameras zoom
out slightly farther then if I just chose the zoom extends for each view.
Originally by [email protected] on 2006-05-16 16:27:22 -0400
I can play with the minifig wizard a fair bit. If I try to alter the legs, that will result almost always in a crash with a segmentation fault.
First if I alter the Right Leg (which is in a box that is on the left of the figure, and vice versa), then the left leg in the wizard goes blank, and the right leg changes its setup. If I then alter the same drop down selection again - the right leg changes again. If I then select the drop down box which currently reads only "left leg" - I am guaranteed a seg fault.
I can change all other parts, including colours, with no problems. Click ok will insert the minifig into my document. But playing with the "left leg" drop down on the right guarantees a crash - even not having played with the right leg first.
I am currently using leocad-0.75.1 freshly installed from the RPM on Suse Linux 10.0. This has been tried with, and without supplying "--libgl /usr/lib/libMesaGL.so". That file comes from xorg-x11-Mesa-6.8.2-100. I am relatively sure this has little to do with the NVidia issue.
Cheers,
Danny
Originally by leocad.gerf.org on 2007-05-29 15:06:17 -0400
Originally by brickcentral.livejournal.com on 2009-04-30 06:29:43 -0400
I downloaded the source tree of version 0.76. I ran 'make config' and 'make'. Unfortunately the build process exits with an error.[[BR]]
$make
linux/dialogs.cpp
linux/dialogs.cpp:19:21: error: globals.h: No such file or directory
linux/dialogs.cpp:24:21: error: message.h: No such file or directory
In file included from linux/dialogs.cpp:16:
common/system.h:68: error: 'u32' has not been declared
common/system.h:68: error: 'u32' has not been declared
In file included from common/piece.h:10,
from linux/dialogs.cpp:20:
common/object.h:35: error: 'u32' does not name a type
common/object.h:64: error: 'u32' has not been declared
common/object.h:144: error: 'u32' has not been declared
common/object.h:145: error: 'u32' has not been declared
common/object.h:146: error: 'u32' has not been declared
common/object.h:146: error: 'u32' has not been declared
common/object.h:147: error: 'u32' has not been declared
common/object.h:147: error: 'u32' has not been declared
common/object.h:151: error: 'u32' has not been declared
In file included from linux/dialogs.cpp:20:
common/piece.h:38: error: 'u32' has not been declared
common/piece.h:38: error: 'u32' has not been declared
common/piece.h:39: error: 'u32' has not been declared
common/piece.h:39: error: 'u32' has not been declared
common/piece.h:57: error: 'u32' has not been declared
common/piece.h:58: error: 'u32' has not been declared
common/piece.h:64: error: 'u32' has not been declared
common/piece.h:65: error: 'u32' has not been declared
common/piece.h:83: error: 'u32' does not name a type
common/piece.h:84: error: 'u32' does not name a type
common/piece.h:86: error: 'u32' does not name a type
linux/dialogs.cpp: In function 'void preferencesdlg_ok(GtkWidget*, void*)':
linux/dialogs.cpp:1595: error: 'struct LC_PREFERENCESDLG_OPTS' has no member named 'nGridSize'
linux/dialogs.cpp: In function 'int preferencesdlg_execute(void*)':
linux/dialogs.cpp:2133: error: 'struct LC_PREFERENCESDLG_OPTS' has no member named 'nGridSize'
linux/dialogs.cpp: In function 'void propertiesdlg_ok(GtkWidget*, void*)':
linux/dialogs.cpp:2165: error: 'struct LC_PROPERTIESDLG_OPTS' has no member named 'strAuthor'
linux/dialogs.cpp:2166: error: 'struct LC_PROPERTIESDLG_OPTS' has no member named 'strDescription'
linux/dialogs.cpp:2170: error: 'struct LC_PROPERTIESDLG_OPTS' has no member named 'strComments'
linux/dialogs.cpp: In function 'int propertiesdlg_execute(void*)':
linux/dialogs.cpp:2187: error: 'struct LC_PROPERTIESDLG_OPTS' has no member named 'strFilename'
linux/dialogs.cpp:2188: error: 'struct LC_PROPERTIESDLG_OPTS' has no member named 'strFilename'
linux/dialogs.cpp:2190: error: 'struct LC_PROPERTIESDLG_OPTS' has no member named 'strTitle'
linux/dialogs.cpp:2236: error: 'struct LC_PROPERTIESDLG_OPTS' has no member named 'strFilename'
linux/dialogs.cpp:2374: error: 'struct LC_PROPERTIESDLG_OPTS' has no member named 'strAuthor'
linux/dialogs.cpp:2388: error: 'struct LC_PROPERTIESDLG_OPTS' has no member named 'strDescription'
linux/dialogs.cpp:2407: error: 'struct LC_PROPERTIESDLG_OPTS' has no member named 'strComments'
linux/dialogs.cpp:2409: error: 'LC_MAXCOLORS' was not declared in this scope
linux/dialogs.cpp:2410: error: 'totalcount' was not declared in this scope
linux/dialogs.cpp:2411: error: 'struct LC_PROPERTIESDLG_OPTS' has no member named 'lines'
linux/dialogs.cpp:2413: error: 'struct LC_PROPERTIESDLG_OPTS' has no member named 'count'
linux/dialogs.cpp:2441: error: 'col' was not declared in this scope
linux/dialogs.cpp:2443: error: 'colornames' was not declared in this scope
linux/dialogs.cpp:2454: error: 'row' was not declared in this scope
linux/dialogs.cpp:2456: error: 'struct LC_PROPERTIESDLG_OPTS' has no member named 'lines'
linux/dialogs.cpp:2461: error: 'struct LC_PROPERTIESDLG_OPTS' has no member named 'count'
linux/dialogs.cpp:2466: error: 'row' was not declared in this scope
linux/dialogs.cpp:2466: error: 'struct LC_PROPERTIESDLG_OPTS' has no member named 'names'
linux/dialogs.cpp:2471: error: 'struct LC_PROPERTIESDLG_OPTS' has no member named 'count'
linux/dialogs.cpp:2472: error: 'col' was not declared in this scope
linux/dialogs.cpp:2472: error: 'struct LC_PROPERTIESDLG_OPTS' has no member named 'count'
linux/dialogs.cpp:2479: error: 'row' was not declared in this scope
linux/dialogs.cpp:2485: error: 'col' was not declared in this scope
linux/dialogs.cpp: In function 'void modifydlg_update_list(lcObject*)':
linux/dialogs.cpp:3026: error: 'class lcObject' has no member named 'GetKeyTypeCount'
linux/dialogs.cpp:3028: error: 'class lcObject' has no member named 'GetKeyTypeInfo'
linux/dialogs.cpp:3029: error: 'class lcObject' has no member named 'GetKeyTypeValue'
linux/dialogs.cpp:3033: error: 'const struct LC_OBJECT_KEY_INFO' has no member named 'description'
linux/dialogs.cpp:3036: error: 'const struct LC_OBJECT_KEY_INFO' has no member named 'size'
linux/dialogs.cpp: In function 'void modifydlg_listener(int, void*, void*)':
linux/dialogs.cpp:3057: error: 'LC_MSG_FOCUS_CHANGED' was not declared in this scope
linux/dialogs.cpp: In function 'void modifydlg_create()':
linux/dialogs.cpp:3137: error: 'messenger' was not declared in this scope
make: *** [linux/dialogs.o] Error 1
Originally by leocad.gerf.org on 2005-11-08 17:59:58 -0500
Originally on 2009-10-12 21:09:57 -0400
Originally by leocad.gerf.org on 2005-11-02 18:55:40 -0500
Code is all commented out, rendering needs to be updated to work like the other overlays.
Originally by [email protected] on 2006-01-13 03:24:08 -0500
It compiles :-), but now I ran into a segmentation fault:
Program received signal SIGSEGV, Segmentation fault.
0xb76cfaf1 in strstr () from /lib/tls/i686/cmov/libc.so.6
The full bt is rather large:
0 0xb76cfaf1 in strstr () from /lib/tls/i686/cmov/libc.so.6
#1 0x0808073a in GL_ExtensionSupported (extension=0x80b7e10 "GL_ARB_multitexture")
at common/opengl.cpp:1151
#2 0x080807d0 in GL_InitializeExtensions () at common/opengl.cpp:1189
#3 0x080ad680 in View::OnInitialUpdate (this=0x8117928) at common/view.cpp:101
#4 0x08063b6f in realize_event (widget=0x815abc0, data=0x0) at linux/glwindow.cpp:25
#5 0xb799aab3 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#6 0xb798f3a8 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#7 0xb799db13 in g_signal_stop_emission () from /usr/lib/libgobject-2.0.so.0
#8 0xb799f150 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#9 0xb799f4c3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#10 0xb7e13771 in gtk_widget_realize () from /usr/lib/libgtk-x11-2.0.so.0
#11 0xb7e1392f in gtk_widget_map () from /usr/lib/libgtk-x11-2.0.so.0
#12 0xb7ca42f6 in gtk_container_get_focus_hadjustment () from /usr/lib/libgtk-x11-2.0.so.0
#13 0xb7ced9f0 in gtk_frame_new () from /usr/lib/libgtk-x11-2.0.so.0
#14 0xb7ca2a3a in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#15 0xb7ca432f in gtk_container_get_focus_hadjustment () from /usr/lib/libgtk-x11-2.0.so.0
#16 0xb799aab3 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#17 0xb798ed75 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#18 0xb798f3a8 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#19 0xb799d769 in g_signal_stop_emission () from /usr/lib/libgobject-2.0.so.0
#20 0xb799f150 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#21 0xb799f4c3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#22 0xb7e138d0 in gtk_widget_map () from /usr/lib/libgtk-x11-2.0.so.0
#23 0xb7ca42f6 in gtk_container_get_focus_hadjustment () from /usr/lib/libgtk-x11-2.0.so.0
#24 0xb7d4daf8 in gtk_paned_add1 () from /usr/lib/libgtk-x11-2.0.so.0
#25 0xb7ca2a3a in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#26 0xb7ca432f in gtk_container_get_focus_hadjustment () from /usr/lib/libgtk-x11-2.0.so.0
#27 0xb7d4d4ba in gtk_paned_get_type () from /usr/lib/libgtk-x11-2.0.so.0
#28 0xb799aab3 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#29 0xb798ed75 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#30 0xb798f3a8 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#31 0xb799d769 in g_signal_stop_emission () from /usr/lib/libgobject-2.0.so.0
#32 0xb799f150 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#33 0xb799f4c3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#34 0xb7e138d0 in gtk_widget_map () from /usr/lib/libgtk-x11-2.0.so.0
#35 0xb7ca42f6 in gtk_container_get_focus_hadjustment () from /usr/lib/libgtk-x11-2.0.so.0
#36 0xb7c69d58 in gtk_box_reorder_child () from /usr/lib/libgtk-x11-2.0.so.0
#37 0xb7ca2a3a in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#38 0xb7ca432f in gtk_container_get_focus_hadjustment () from /usr/lib/libgtk-x11-2.0.so.0
#39 0xb799aab3 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#40 0xb798ed75 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#41 0xb798f3a8 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#42 0xb799d769 in g_signal_stop_emission () from /usr/lib/libgobject-2.0.so.0
#43 0xb799f150 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#44 0xb799f4c3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#45 0xb7e138d0 in gtk_widget_map () from /usr/lib/libgtk-x11-2.0.so.0
#46 0xb7ca42f6 in gtk_container_get_focus_hadjustment () from /usr/lib/libgtk-x11-2.0.so.0
#47 0xb7c69d58 in gtk_box_reorder_child () from /usr/lib/libgtk-x11-2.0.so.0
#48 0xb7ca2a3a in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#49 0xb7ca432f in gtk_container_get_focus_hadjustment () from /usr/lib/libgtk-x11-2.0.so.0
#50 0xb799aab3 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#51 0xb798ed75 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#52 0xb798f3a8 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#53 0xb799d769 in g_signal_stop_emission () from /usr/lib/libgobject-2.0.so.0
#54 0xb799f150 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#55 0xb799f4c3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#56 0xb7e138d0 in gtk_widget_map () from /usr/lib/libgtk-x11-2.0.so.0
#57 0xb7e1d1d5 in gtk_window_reshow_with_initial_size () from /usr/lib/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#58 0xb799aab3 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#59 0xb798ed75 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#60 0xb798f3a8 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#61 0xb799d769 in g_signal_stop_emission () from /usr/lib/libgobject-2.0.so.0
#62 0xb799f150 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#63 0xb799f4c3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#64 0xb7e138d0 in gtk_widget_map () from /usr/lib/libgtk-x11-2.0.so.0
#65 0xb7e1f3de in gtk_window_get_position () from /usr/lib/libgtk-x11-2.0.so.0
#66 0xb799aab3 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#67 0xb798ed75 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#68 0xb798f3a8 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#69 0xb799d769 in g_signal_stop_emission () from /usr/lib/libgobject-2.0.so.0
#70 0xb799f150 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#71 0xb799f4c3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#72 0xb7e14066 in gtk_widget_show () from /usr/lib/libgtk-x11-2.0.so.0
#73 0x0805ce1a in main (argc=1, argv=0xbfc034c4) at linux/main.cpp:700
Originally by [email protected] on 2006-03-21 05:00:55 -0500
Could the piece library setting be stored in the .leocad settings file instead of the environment variable?
That way, its location could be selected from the GUI on first run, and then also re-set from a configuration dialog inside the app.
Originally by leocad.gerf.org on 2006-01-30 13:33:37 -0500
Hello Leonardo,
I got a problem with .ldr import in LeoCAD. test0.ldr joined was initially generated with LeoCad, and exported in LDraw format. Test1.ldr is the same file with a 60° rotation done using MLCad. This file displays correctly in MLCad, but when imported in LeoCAD it shows some parts with a completely wrong orientation.
Happy New Year !
Philo
0 Model exported from LeoCAD
0 Original name: pw-rays.ldr
0 ROTATION CENTER 0 0 0 1 "Custom"
0 ROTATION CONFIG 0 0
1 0 -30 0 40 -1 0 0 0 -0.5 0.866025 0 0.866025 0.5 32062.DAT
1 7 -45 -34.641 20 0 1 0 -0.5 0 0.866025 0.866025 0 0.5 44374.dat
1 7 -35 -34.641 20 0 1 0 -0.5 0 0.866025 0.866025 0 0.5 44374.dat
1 7 0 -34.641 20 -1 0 0 0 -0.5 0.866025 0 0.866025 0.5 32073.DAT
0 STEP
1 7 -20 17.321 50 -1 0 0 0 -0.5 0.866025 0 0.866025 0.5 32039.DAT
1 7 -20 -34.641 20 0 0 1 0.866025 -0.5 0 0.5 0.866025 0 3713.DAT
0 STEP
1 7 -5 -34.641 20 0 -1 0 -0.5 0 -0.866025 0.866025 0 -0.5 44374.dat
1 7 5 -34.641 20 0 -1 0 -0.5 0 -0.866025 0.866025 0 -0.5 44374.dat
1 7 20 -34.641 20 0 0 1 0.866025 -0.5 0 0.5 0.866025 0 3713.DAT
0 STEP
1 7 -20 138.564 120 0 1 0 -0.866025 0 -0.5 -0.5 0 0.866025 6536.DAT
1 0 -20 259.808 190 -1 0 0 0 -0.5 0.866025 0 0.866025 0.5 32013.DAT
1 0 -20 181.865 145 0 0 1 0.866025 -0.5 0 0.5 0.866025 0 3707.DAT
1 7 -20 112.583 105 1 0 0 0 -0.5 -0.866025 0 0.866025 -0.5 6538B.DAT
1 0 -20 60.622 75 0 0 1 0.866025 -0.5 0 0.5 0.866025 0 3706.DAT
1 0 -10 -34.641 59.999 -1 0 0 0 -1.00344 -0.0019873 0 -0.0019873 1.00344 32062.DAT
1 7 -20 -34.64 79.999 -1 0 0 0 -1.00344 -0.0019873 0 -0.0019873 1.00344 32039.DAT
0 STEP
1 0 -20 -34.637 359.992 -1 0 0 0 -1.00344 -0.0019873 0 -0.0019873 1.00344 32013.DAT
1 0 -20 -34.637 269.994 0 0 1 0.0030127 -0.994782 0 0.994782 0.0030127 0 3707.DAT
1 7 -20 -34.639 189.996 1 0 0 0 -1.00344 0.0019873 0 -0.0019873 -1.00344 6538B.DAT
1 0 -20 -34.64 129.997 0 0 1 0.0030127 -0.994782 0 0.994782 0.0030127 0 3706.DAT
0 STEP
1 7 -20 -207.852 119.991 0 1 0 0.859352 0 -0.508442 -0.508442 0 -0.859352 6536.DAT
1 7 -20 -34.63 -179.999 0 1 0 -0.0019873 0 1.00344 1.00344 0 0.0019873 6536.DAT
1 0 -20 -329.09 -150 1 0 0 0 -0.5 -0.866025 0 0.866025 -0.5 32013.DAT
1 0 -20 -251.147 -105 0 0 1 0.866025 -0.5 0 0.5 0.866025 0 3707.DAT
1 7 -20 -181.865 -65 1 0 0 0 -0.5 -0.866025 0 0.866025 -0.5 6538B.DAT
1 0 -20 -129.904 -35 0 -1 0 -0.866025 0 0.5 -0.5 0 -0.866025 3706.DAT
1 0 -10 -69.282 0 -1 0 0 0 0.5 -0.866025 0 -0.866025 -0.5 32062.DAT
1 7 -20 -86.603 -10 -1 0 0 0 0.5 -0.866025 0 -0.866025 -0.5 32039.DAT
1 0 -20 259.817 -149.996 -1 0 0 0 0.503442 0.868013 0 0.868013 -0.503442 32013.DAT
1 0 -20 -329.099 189.996 1 0 0 0 0.503442 -0.868013 0 0.868013 0.503442 32013.DAT
1 0 -20 -251.144 144.994 0 0 1 0.863013 0.494782 0 -0.494782 0.863013 0 3707.DAT
1 0 -20 181.862 -104.994 0 0 1 0.863013 0.494782 0 -0.494782 0.863013 0 3707.DAT
1 7 -20 112.581 -64.996 1 0 0 0 0.503442 -0.868013 0 0.868013 0.503442 6538B.DAT
1 7 -20 -181.863 104.996 1 0 0 0 0.503442 -0.868013 0 0.868013 0.503442 6538B.DAT
1 0 -20 -129.903 74.998 0 -1 0 -0.859352 0 -0.508442 0.508442 0 -0.859352 3706.DAT
1 0 -20 60.621 -34.998 0 0 1 0.863013 0.494782 0 -0.494782 0.863013 0 3706.DAT
1 0 -30 -69.282 39.999 -1 0 0 0 -0.503442 -0.868013 0 -0.868013 0.503442 32062.DAT
1 7 -20 -86.602 49.999 -1 0 0 0 -0.503442 -0.868013 0 -0.868013 0.503442 32039.DAT
1 0 -10 -0.001 0.001 -1 0 0 0 0.503442 0.868013 0 0.868013 -0.503442 32062.DAT
1 7 -20 17.32 -9.999 -1 0 0 0 0.503442 0.868013 0 0.868013 -0.503442 32039.DAT
1 0 -20 -34.649 -320.006 1 0 0 0 -1.00344 0.0019873 0 -0.0019873 -1.00344 32013.DAT
1 0 -20 -34.648 -230.008 0 0 1 0.0030127 -0.994782 0 0.994782 0.0030127 0 3707.DAT
1 7 -20 -34.643 -149.996 1 0 0 0 -1.00344 0.0019873 0 -0.0019873 -1.00344 6538B.DAT
1 0 -20 -34.642 -89.997 0 -1 0 0.0019873 0 1.00344 -1.00344 0 0.0019873 3706.DAT
1 0 -30 -34.642 -19.999 -1 0 0 0 1.00344 0.0019873 0 0.0019873 -1.00344 32062.DAT
1 7 -20 -34.642 -39.999 -1 0 0 0 1.00344 0.0019873 0 0.0019873 -1.00344 32039.DAT
0
0
0
0 Model exported from LeoCAD
0 Original name: pw-rays.ldr
0 ROTATION CENTER 0 0 0 1 "Custom"
0 ROTATION CONFIG 0 0
1 0 -30 0 40 -1 0 0 0 -1 0 0 0 1 32062.DAT
1 7 -45 0 0 0 1 0 -1 0 0 0 0 1 44374.dat
1 7 -35 0 0 0 1 0 -1 0 0 0 0 1 44374.dat
1 7 0 0 0 -1 0 0 0 -1 0 0 0 1 32073.DAT
0 STEP
1 7 -20 0 60 -1 0 0 0 -1 0 0 0 1 32039.DAT
1 7 -20 0 0 0 0 1 0 -1 0 1 0 0 3713.DAT
0 STEP
1 7 -5 0 0 0 -1 0 -1 0 0 0 0 -1 44374.dat
1 7 5 0 0 0 -1 0 -1 0 0 0 0 -1 44374.dat
1 7 20 0 0 0 0 1 0 -1 0 1 0 0 3713.DAT
0 STEP
1 7 -20 0 200 0 1 0 0 0 -1 -1 0 0 6536.DAT
1 0 -20 0 340 -1 0 0 0 -1 0 0 0 1 32013.DAT
1 0 -20 0 250 0 0 1 0 -1 0 1 0 0 3707.DAT
1 7 -20 0 170 1 0 0 0 -1 0 0 0 -1 6538B.DAT
1 0 -20 0 110 0 0 1 0 -1 0 1 0 0 3706.DAT
1 0 -10 -34.64 20 -1 0 0 0 -0.499999 -0.869998 0 -0.869998 0.499999 32062.DAT
1 7 -20 -51.96 30 -1 0 0 0 -0.499999 -0.869998 0 -0.869998 0.499999 32039.DAT
0 STEP
1 0 -20 -294.44 169.999 -1 0 0 0 -0.499999 -0.869998 0 -0.869998 0.499999 32013.DAT
1 0 -20 -216.499 125 0 0 1 -0.86 -0.5 0 0.5 -0.86 0 3707.DAT
1 7 -20 -147.22 85 1 0 0 0 -0.499999 0.869998 0 -0.869998 -0.499999 6538B.DAT
1 0 -20 -95.26 54.999 0 0 1 -0.86 -0.5 0 0.5 -0.86 0 3706.DAT
0 STEP
1 7 -20 -173.2 -100.01 0 1 0 0.87 0 0.49 0.49 0 -0.87 6536.DAT
1 7 -20 173.21 -99.99 0 1 0 -0.869998 0 0.499999 0.499999 0 0.869998 6536.DAT
1 0 -20 0 -340 1 0 0 0 -1 0 0 0 -1 32013.DAT
1 0 -20 0 -250 0 0 1 0 -1 0 1 0 0 3707.DAT
1 7 -20 0 -170 1 0 0 0 -1 0 0 0 -1 6538B.DAT
1 0 -20 0 -110 0 -1 0 0 0 1 -1 0 0 3706.DAT
1 0 -10 0 -40 -1 0 0 0 1 0 0 0 -1 32062.DAT
1 7 -20 0 -60 -1 0 0 0 1 0 0 0 -1 32039.DAT
1 0 -20 294.45 170.01 -1 0 0 0 -0.5 0.87 0 0.87 0.5 32013.DAT
1 0 -20 -294.45 -170.01 1 0 0 0 -0.5 -0.87 0 0.87 -0.5 32013.DAT
1 0 -20 -216.499 -125 0 0 1 0.86 -0.5 0 0.5 0.86 0 3707.DAT
1 0 -20 216.499 125 0 0 1 0.86 -0.5 0 0.5 0.86 0 3707.DAT
1 7 -20 147.22 85 1 0 0 0 -0.5 -0.87 0 0.87 -0.5 6538B.DAT
1 7 -20 -147.22 -85 1 0 0 0 -0.5 -0.87 0 0.87 -0.5 6538B.DAT
1 0 -20 -95.261 -55 0 -1 0 -0.87 0 0.49 -0.49 0 -0.87 3706.DAT
1 0 -20 95.261 55 0 0 1 0.86 -0.5 0 0.5 0.86 0 3706.DAT
1 0 -30 -34.64 -20 -1 0 0 0 0.5 -0.87 0 -0.87 -0.5 32062.DAT
1 7 -20 -51.96 -30 -1 0 0 0 0.5 -0.87 0 -0.87 -0.5 32039.DAT
1 0 -10 34.64 20 -1 0 0 0 -0.5 0.87 0 0.87 0.5 32062.DAT
1 7 -20 51.96 30 -1 0 0 0 -0.5 0.87 0 0.87 0.5 32039.DAT
1 0 -20 294.45 -170.01 1 0 0 0 -0.499999 0.869998 0 -0.869998 -0.499999 32013.DAT
1 0 -20 216.51 -125.01 0 0 1 -0.86 -0.5 0 0.5 -0.86 0 3707.DAT
1 7 -20 147.22 -85 1 0 0 0 -0.499999 0.869998 0 -0.869998 -0.499999 6538B.DAT
1 0 -20 95.26 -54.999 0 -1 0 0.869998 0 0.499999 -0.499999 0 0.869998 3706.DAT
1 0 -30 34.64 -20 -1 0 0 0 0.499999 0.869998 0 0.869998 -0.499999 32062.DAT
1 7 -20 51.96 -30 -1 0 0 0 0.499999 0.869998 0 0.869998 -0.499999 32039.DAT
0
0
0
Originally by leocad.gerf.org on 2007-05-29 15:01:07 -0400
Think of more user friendly default shortcuts, keeping in mind that users usually have their right hand on the mouse and left on the keyboard, even if the new keys are less intuitive.
Originally by andrewmin.com on 2008-04-02 17:22:57 -0400
I've created a Debian package for those of us who use Ubuntu. I tested it successfully on my Kubuntu Gutsy install.
Originally on 2009-06-05 21:41:23 -0400
LeoCAD should use a dummy placeholder for pieces it can't find in its library.
Originally on 2009-10-09 14:36:29 -0400
Originally on 2009-10-09 14:30:15 -0400
Originally by brickcentral.livejournal.com on 2009-05-13 04:41:22 -0400
Hi there. First of all thanks for fixing building of leocad on linux recently (issue 40). Sadly, it fails again. I hope you can fix it.
The error messages are:
$ LANG=C make
common/im_png.cpp:6:19: error: #if with no expression
common/im_jpg.cpp:7:20: error: #if with no expression
common/image.cpp:147:20: error: #if with no expression
common/image.cpp:157:19: error: #if with no expression
common/image.cpp:199:20: error: #if with no expression
common/image.cpp:210:19: error: #if with no expression
linux/profile.cpp
linux/dialogs.cpp
linux/dialogs.cpp: In function 'int propertiesdlg_execute(void*)':
linux/dialogs.cpp:2166: warning: unused variable 'table'
linux/dialogs.cpp:2166: warning: unused variable 'list'
linux/dialogs.cpp:2166: warning: unused variable 'scroll_win'
linux/dialogs.cpp: In function 'void preferencesdlg_default(GtkWidget*, void*)':
linux/dialogs.cpp:1652: warning: 'grid_size' is used uninitialized in this function
linux/dialogs.cpp: In function 'int propertiesdlg_execute(void*)':
linux/dialogs.cpp:2197: warning: 'vbox2' is used uninitialized in this function
linux/dialogs.cpp: At global scope:
linux/dialogs.cpp:2847: warning: 'void modifydlg_update_list(lcObject*)' defined but not used
linux/dlgpiece.cpp
linux/dlgfile.cpp
linux/main.cpp
linux/main.cpp: In function 'void init_paths(char*)':
linux/main.cpp:78: warning: deprecated conversion from string constant to 'char*'
linux/system.cpp
linux/toolbar.cpp
linux/toolbar.cpp:804: warning: 'void statusbar_listener(int, void*, void*)' defined but not used
linux/gtkmisc.cpp
linux/libdlg.cpp
common/algebra.cpp
common/camera.cpp
common/console.cpp
common/file.cpp
common/group.cpp
common/image.cpp
common/image.cpp:147:20: error: #if with no expression
common/image.cpp:157:19: error: #if with no expression
common/image.cpp:199:20: error: #if with no expression
common/image.cpp:210:19: error: #if with no expression
make: *** [common/image.o] Error 1
Originally by leocad.gerf.org on 2005-11-08 17:58:56 -0500
Searching for officer creates a Minifig subgroup with all minifigs, pieces in the search results shouldn't get grouped together.
Originally by [email protected] on 2005-09-29 12:23:02 -0400
I downloaded from SVN and compiled LeoCAD on September 26, 2005.
There is an issue with the action button toolbar that results in the actions being scrambed, i.e. when one clicks on rotate the translate button and action are selected.
I traced this down to the main.h file and found the problem to be that the list of ID_ACTION_... defines omits the value corresponding to typedef.h's LC_ACTION_SELECT_REGION. The translation between the two that is performed in OnCommand when calling SetAction is thus producing the wrong action number.
Line 314 in system.cpp "gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), TRUE);" can be removed as well, as the active button needen't be set now.
System: Fedora Core 4, Running KDE with Gnome libraries installed.
As a note, I'd like to thank you for this application, I've enjoyed it both in the windows and linux formats.
Originally by [email protected] on 2006-01-07 15:28:36 -0500
Hello, I'm trying to compile leocad under Linux, but I'm getting a compilation
error. I know my way around C, but C++ is not my cup of tea :)
g++ -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -Wall -Ilinux -Icommon -DLC_LINUX -g -c -o linux/profile.o linux/profile.cpp
linux/profile.cpp: In function ‘bool save_var(const char_, const char_, const char_)’:
linux/profile.cpp:101: error: no matching function for call to ‘FileMem::ReadString(char [1024], int)’
common/file.h:42: note: candidates are: void File::ReadString(String&)
linux/profile.cpp:125: error: no matching function for call to ‘FileMem::ReadString(char [1024], int)’
common/file.h:42: note: candidates are: void File::ReadString(String&)
linux/profile.cpp:155: error: no matching function for call to ‘FileMem::ReadString(char [1024], int)’
common/file.h:42: note: candidates are: void File::ReadString(String&)
make: *_* [linux/profile.o] Error 1
Originally on 2009-10-12 21:08:57 -0400
Originally by Philo on 2005-09-28 15:45:48 -0400
I see from milestone:LeoCAD%200.76%20or%20Later that foreign translation is considered. When a strings file is created I volunteer for the French translation...
PS: using spaces in milestone names doesn't seem to be wise...
Originally by leocad.gerf.org on 2006-04-19 12:10:08 -0400
Originally on 2008-04-17 17:24:04 -0400
There should be a way to keep comments when importing ldraw files.
Originally by lzide.myopenid.com on 2009-01-16 18:28:41 -0500
Originally by [email protected] on 2007-02-21 05:56:59 -0500
sxpert@raph-dell ~/leocad $ make
g++ -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -Wall -Ilinux -Icommon -DLC_LINUX -g -c -o linux/profile.o linux/profile.cpp
common/file.h:42: error: ‘i32’ has not been declared
common/file.h:44: error: ‘u32’ has not been declared
common/file.h:44: error: ‘void File::ReadInt(int*)’ cannot be overloaded
common/file.h:42: error: with ‘void File::ReadInt(int*)’
common/file.h:48: error: ‘i32’ has not been declared
common/file.h:50: error: ‘u32’ has not been declared
common/file.h:50: error: ‘void File::WriteInt(int)’ cannot be overloaded
common/file.h:48: error: with ‘void File::WriteInt(int)’
make: *** [linux/profile.o] Error 1
Originally by Miek Gieben [email protected] on 2006-01-09 09:05:17 -0500
I saw you fixed the compile error, but now I get another one:
linux/dialogs.cpp:25:20: error: libman.h: No such file or directory
the above desc. says it all. In leocad 0.73 libman.h /is/ included, but it
is not there for the trunk version of leocad. Is libman.h depricated? Removing
the include does not help btw.
Thanks
Originally by [email protected] on 2006-10-05 17:39:59 -0400
The main website does not reflect the existance of this wiki site at all. At least I new that it existed, but yet had to find it.
The manual should maybe point to the documentation project here (which should at least have what is in there, and then the ability of being updated helps), along with acknowledging the wiki.
It is in fact beginning to feel like the main landing site leocad.gerf.org is being neglected in favour of this, but the fact that it is the main landing site should be borne in mind.
Originally by brickcentral.livejournal.com on 2009-05-13 04:49:32 -0400
When I visit the timeline tab of the leocad trac website, I'd like to visit changeset-links. But after clicking on such a link, an error appears; 'Environment not found'.
Originally by leocad.gerf.org on 2006-01-12 20:57:43 -0500
Stickers render with a lot of Z fighting.
Originally by [email protected] on 2005-10-16 16:25:35 -0400
When building the make config target on some systems with a working libpng, it
refuses to acknowledge that png will work.
I edited config.mk to make the compile step where it looks for libpng link the
math library (-lm). I needed to do this because zlib needs math on those
systems.
I just figured I'd let you know.
Originally by leocad.gerf.org on 2006-01-30 13:44:36 -0500
Hello,
I have found a display problem, when you insert a 1x1 round plate between 4 studs, the 4 studs are no longer displayed:
1 7 0 8 0 1 0 0 0 1 0 0 0 1 3031.DAT
1 4 0 0 0 1 0 0 0 1 0 0 0 1 6141.DAT
Stangely enough, this problem does not occur with a 1x1 round brick instead of plate...
Philo
Originally on 2009-10-12 21:08:20 -0400
In Linux it is custom not to use spaces in filenames, so I had a model
called "Elevator_Cabin.ldr". In the "Recent Files" list under "File"
in the menu it appears as "ElevatorCabin.ldr", with the C underlined.
Just a small cosmetic error, it opens without problems. (works fine in
Windows)
Originally by lzide.myopenid.com on 2008-04-17 17:57:19 -0400
Originally by leocad.gerf.org on 2007-05-29 14:57:21 -0400
Originally by leocad.gerf.org on 2006-01-05 14:00:02 -0500
Animations aren't exported to POV-Ray
Originally by [email protected] on 2006-11-06 04:45:29 -0500
Hi!
We would really like to translate LeoCAD to Hungarian :-)
If you can send files to localize (for SW, piece database, and possibly sources for documentation as well) we would be happy to make a Hungarian version, and assist (technically) in any other translation.
Let me know your thoughts about this topic,
Laszlo Kovacs
TEK Localizations
E-mail: [email protected]
Web: www.tek.hu
Originally by leocad.gerf.org on 2007-07-23 18:41:55 -0400
if the locale is not the standart one, the povray export may produce
invallid output. This is caused by writing float values to the .pov file
with use of the fprintf function in common/project.cpp
I fixed it by adding
setlocale(LC_NUMERIC, "C");
to the start of the
case LC_FILE_POVRAY:
Originally by [email protected] on 2006-03-02 13:47:34 -0500
I get the following error when trying to compile svn503. Running arch linux.
[tom@terra leocad]$ make config
Automatic configuration
checking size of char... 1
checking size of short... 2
checking size of long... 4
checking size of int... 4
checking size of void *... 4
checking size of long long... 8
Determining endianess... little endian
Checking if GLIB and GTK+ are installed... ok
Checking for jpeg support... ok
Checking for zlib support... ok
Checking for png support... ok
[tom@terra leocad]$ make
g++ -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -Wall -Ilinux -Icommon -DLC_LINUX -g -c -o linux/profile.o linux/profile.cpp
g++ -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -Wall -Ilinux -Icommon -DLC_LINUX -g -c -o linux/dialogs.o linux/dialogs.cpp
linux/dialogs.cpp: In function 'void librarydlg_update_list(GtkWidget*)':
linux/dialogs.cpp:2751: error: 'project' was not declared in this scope
linux/dialogs.cpp: In function 'void librarydlg_update_tree(GtkWidget*)':
linux/dialogs.cpp:2778: error: 'project' was not declared in this scope
linux/dialogs.cpp: At global scope:
linux/dialogs.cpp:2539: warning: 'void groupeditdlg_ok(GtkWidget*, void*)' defined but not used
linux/dialogs.cpp:2776: warning: 'void librarydlg_update_tree(GtkWidget*)' defined but not used
linux/dialogs.cpp:2797: warning: 'void librarydlg_treefocus(GtkCTree*, GtkCTreeNode*, gint, void*)' defined but not used
linux/dialogs.cpp:2802: warning: 'void librarydlg_command(GtkWidget*, void*)' defined but not used
make: *** [linux/dialogs.o] Error 1
Originally by leocad.gerf.org on 2006-02-15 18:24:19 -0500
Fix animation playback to use a timer instead of calling the application event loop.
Originally by leocad.gerf.org on 2006-12-11 14:03:18 -0500
When you export to LDraw, hidden pieces are deleted. Imho they should
either be exported normally, better "commented out", even better
commented out MLCad style:
0 MLCAD HIDE 1 383 -1 0 0 1 0 0 0 1 0 0 0 1 53788.dat
Originally by leocad.gerf.org on 2007-04-09 19:03:43 -0400
Originally by leocad.gerf.org on 2007-05-14 18:37:26 -0400
Add a better combination of mouse + key options for moving/rotating the camera.
Originally by leocad.gerf.org on 2006-10-10 20:34:26 -0400
When importing LDraw files LeoCAD should search the directory where that file is located for subfiles. This is causing files loaded from the recent menu to not load correctly.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.