gCAD3D: a 3D CAD program

Stuff that has yet to be sorted into a category.
Message
Author
User avatar
miriam
Posts: 373
Joined: Wed 06 Dec 2006, 23:46
Location: Queensland, Australia
Contact:

#31 Post by miriam »

Hi puppyoutsider.

I have the same thing. I installed it easily and it worked with no problems until I tried the CAD radio button... and gCAD3D disappeared. So I tried starting it from the commandline (one of the nice things about Linux). I went to the folder where gCAD3D is, started up a new terminal by pressing the ` key, then typed:
./gCAD3D

Then when I tried the CAD button it responded with "segmentation fault". I don't know why. If anybody else has a clue I'd be happy to learn more. I wonder if it has anything to do with Gtk_Toolbox. I know gCAD3D requires Gtk_Toolbox, and I'm pretty sure Puppy uses Gtk_Toolbox already, but if there are some slight differences in the version Puppy uses and the version gCAD3D wants then it could cause problems with gCAD3D. This is just speculation though. I don't really know.

Suggestions anybody?
[color=blue]A life! Cool! Where can I download one of those from?[/color]

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#32 Post by muggins »

miriam,

i noticed that a new version, v1.12, has been released, and was hoping that it would resolve this issue. but it has the same problem.

i ran the program via gdb, clicked the CAD radiobutton, and it gave this output:

Code: Select all

Program received signal SIGSEGV, Segmentation fault.
0xb7eccc38 in gtk_widget_hide () from /usr/lib/libgtk-x11-2.0.so.0
but what this means i'm not sure. but i've sent off a query to the developers, so i'll see what their response is.

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#33 Post by charlie6 »

Hi Muggins,
muggins wrote:...new version, v1.12, has been released...
I am now trying to install gCAD3D 1.24; I went through all the steps you 'walked' in till here with "erreur de segmentation" (french translation of 'segmentation default'); and of course I cannot go farther as I am a linux newbie...I wonder if 'segfault' could be an irrevesible error or whether it could be fixed.

I am using CAD softwares and have tried some; I believe gCAD3D to be interesting as I could use it (not fully)on WinXP.

My PC run toutoulinux4.1.2 (= french translation of puppylinux4.1.2)
+ devx_412.sfs + kernel2.6.25.15.patched.sfs + xorg_dri_openchrome-7.3-0.2.903.pet from
http://download.mcpup.org/pets/drivers/ ... .2.903.pet
(straight installation without having to look for and install extra dependencies :) )
...and was hoping that it would resolve this issue. but it has the same problem..
...no change as yet..

I downloaded and installed in /root/my_documents :gCAD3D-devel-1.144.tar.gz by doing
#tar -xzvf gCAD3D-devel-1.144.tar.gz
Afterwards I downloaded also in /root/my_documents gCAD3D-1.24-Linux-x86;
gXinstall do not need be installed according to developpers.

doing
#./gCAD3D-1.24-Linux-x86
gave a dialog box asking for 'choose which language for installation';
I first choose english which validation caused dialog box extinction...!
I afterwards choose 'german' which gave another diaolog box asking for
'installieren' (...) whether 'abbrechen' (= exit); I choose installieren ... and something went further till...'Program wird erfolgreich installiert' (= program succesfully installed);
Here I wonder if there could be mysfunction(s) due to trivial translation (from EN to DE) mismatch...?
I got a /root/gCAD3D folder and did as follows:
# pwd
/root
# ls
....gCAD3D...
# cd gCAD3D
# ls
....gCAD3D...

then I launched

# ./gCAD3D
program ran till 'erreur de segmentation' as detailled hereafter

Code: Select all

# ./gCAD3D
+++++++++++++ Start xa   1
0|./gCAD3D|
0|./gCAD3D|
OS_Init_ |./gCAD3D|
 basedir = |/root/gCAD3D/|
 tmpdir = |/root/gCAD3D/tmp/|
 AP_dir_open=|/root/gCAD3D/dat/|
 AP_lang=|fr|
 AP_browser=|mozilla|
UTX_memFind1 40 2
ex UTX_memFind1 found 19
 AP_printer=|lpr -l -PCUPS-PDF|
 Modelname=|unknown.gcad|
 AP_dir_save=|/root/gCAD3D/dat/|
 AP_dir_prg=|/root/gCAD3D/prg/|
 active application=||
AP_DllLst_write 
UI_win_main 90
GUI_init || 0
UI_fontsizX/Y=7,7
UI_menCB |Iact|
UI_menCB |Bar1|
UI_menCB |Bar2|

=================================================
UI_butCB |VWR|

=================================================
UI_butCB |MAN|
DemoAnim1.so
DemoAssy1.so
Demo_Decode_Obj.so
DemoKondensatorplatte.so
DemoPlugin_Create.so
DemoPlugin_Dialog.so
DemoPlugin_Hili.so
DemoPlugin_Resolv.so
DemoPostProc.so
Demosimple.so
APP_GIS1.so
Erreur de segmentation
# 
i ran the program via gdb, clicked the CAD radiobutton, and it gave this output:
what is the syntax to run the program via gdb?
...but i've sent off a query to the developers, so i'll see what their response is.
did you receive an answer from them ?
I plan to contact them (I did it ca. one year ago trying to run it on WinXP but I dismissed because of strange display behaviour; and had no more motivation to keep searching to fix the problem on WinXP... :wink: )

Furthermore I did (as documented in you post..):

Code: Select all

# pwd
/
# ldd /root/gCAD3D/gCAD3D
        linux-gate.so.1 =>  (0xffffe000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7d62000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb7d00000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb7ce9000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb7cd9000)
        libm.so.6 => /lib/libm.so.6 (0xb7cb7000)
        libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb7cae000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb7c7f000)
        libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb7c22000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7c02000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7bff000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7bfb000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7b6d000)
        libGLU.so.1 => /usr/lib/libGLU.so.1 (0xb7aee000)
        libGL.so.1 => /usr/X11R7/lib/libGL.so.1 (0xb7a98000)
        libc.so.6 => /lib/libc.so.6 (0xb799d000)
        libX11.so.6 => /usr/X11R7/lib/libX11.so.6 (0xb78cc000)
        libXfixes.so.3 => /usr/X11R7/lib/libXfixes.so.3 (0xb78c8000)
        libfontconfig.so.1 => /usr/X11R7/lib/libfontconfig.so.1 (0xb78a1000)
        libXext.so.6 => /usr/X11R7/lib/libXext.so.6 (0xb7895000)
        libXrender.so.1 => /usr/X11R7/lib/libXrender.so.1 (0xb788e000)
        libXrandr.so.2 => /usr/X11R7/lib/libXrandr.so.2 (0xb7888000)
        libXcursor.so.1 => /usr/X11R7/lib/libXcursor.so.1 (0xb7880000)
        /lib/ld-linux.so.2 (0xb7fc4000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb785a000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb77fc000)
        libz.so.1 => /lib/libz.so.1 (0xb77ed000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb77d0000)
        libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb779f000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb76b7000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb76ac000)
        libXxf86vm.so.1 => /usr/X11R7/lib/libXxf86vm.so.1 (0xb76a7000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7692000)
        libdrm.so.2 => /usr/X11R7/lib/libdrm.so.2 (0xb768a000)
        libXau.so.6 => /usr/X11R7/lib/libXau.so.6 (0xb7686000)
        libXdmcp.so.6 => /usr/X11R7/lib/libXdmcp.so.6 (0xb7681000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb7665000)
# 
to verify these libs to be present:
libGLU.so.1 => /usr/lib/libGLU.so.1 (0xb7aee000)
libGL.so.1 => /usr/X11R7/lib/libGL.so.1 (0xb7a98000)

I did not create any symlink as mentionned in earlier posts.

Many thanks for answering.
Cheers from Belgium, :D Charlie

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#34 Post by muggins »

Hello charlie6,

no, I gave up on gCAD3D. Have you tried searching for cad here?

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#35 Post by charlie6 »

Hi Muggins,
I run the french translation of Puppy412 with kernel2.6.25.16. Would you indicate me where to download and which an OpenGLWindow package (if possible .pet) which is compatible?
Cheers, Charlie

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#36 Post by muggins »

charlie6,

if you install xorg_xorg_dri-7.3-1.pet this will provide openGL...but gCAD3D will still crash with a segmentation fault. Have you looked at any alternatives?

medusa4
turbocad
qcad-2.0.5.0-1-i486.pet
varkon

User avatar
bambuko
Posts: 578
Joined: Wed 14 Nov 2007, 14:03
Location: North Devon

#37 Post by bambuko »

And don't forget Varicad
I know it is not open source, nor is it free (but student licence is very reasonable) - this one comes closest to my idea of mechanical engineering solution.
It works very well on Puppy as well!

User avatar
vtpup
Posts: 1420
Joined: Thu 16 Oct 2008, 01:42
Location: Republic of Vermont
Contact:

#38 Post by vtpup »

Also, I've mentioned CollabCad before, and have run it in limited fashion on Puppy.

If you're looking for 3D and free, and running native in Linux this one is available. As Bambuko says, documentation is lacking, it might be tricky to dimension in a way that you like, and some of the very advanced collaborative features haven't been implemented yet. But it might be of interest as a try-out anyway.

http://www.murga-linux.com/puppy/viewto ... 19&t=36240

Most of the others mentioned by muggins are 2D programs, but certainly good ones. I've been unable to crash Turbocad 4L on wine 1.1.14 as I could with earlier Wine versions, so it looks stable to me.

Qcad is an old standby, and my former dislike of its vector typestyles is gone since the user can now create new ones.

I try late version TurboCad and DesignCad 3D programs with every new release of Wine. Designcad is close nowadays but crashes after opening at odd moments. I'm pretty confident that with the right tweaking and dll substitutions somebody could get it to work. These apps are frequently available at very low prices. I got a TurboCad 14 Professional once for $19 at a Staples store markdown.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#39 Post by muggins »

Just saw this on freshmeat:
Changes:
This release creates parametric points upon selection of surface. Segfaults at startup have been fixed for Puppy Linux.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#40 Post by muggins »

Following charlie6's post, below, I've repackaged it as a .pet, and added it to page1 of this thread.
Last edited by muggins on Sun 08 Mar 2009, 03:07, edited 1 time in total.

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#41 Post by charlie6 »

Hi,
since my last post I had some mails exchange with gcad3d developper Franz Reiter, and yesterday got it installed and working on toutoulinux4.1.2k2.6.25.16 frugal (french translation of Puppy).

I did the following:
installation of prerequisites:
1. OpenGL with installation of xorg_xorg_full_dri-7.3.pet
(verify installation doing in a console; if "Yes" answer for direct rendering then is OpenGL active).

Code: Select all

#pwd
# /
# glxinfo 
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
...
#

2. GCC with installation of dev_412.sfs
verify installation doing

Code: Select all

#gcc
gcc: no input files
#
2.1. ldconfig looks to be active (not necessary to install ldconfig.tar.gz)

3. dependencies: all 3 downloaded from debian-packages.org (in package contents)
libglib2.0-0_2.16.6-1_i386.deb
libgtkgl2.0-1_2.0.0-1_i386.deb
libselinux1_2.0.65-5_i386.deb
copy them under /
there do in a console (where xxx is the respective name of the above libs ) :

Code: Select all

#pwd
/
#undeb libxxx_i386.deb
4. others: nihil as now (I asked where to find libc.2.4.4 - recommended on gcad3d.org; I did not found it till now)

5. graphic card: mine is intel 82845G and seems not render textures ("OpenGL-binding error") I hope it does not matter as I need only drawing lines circles etc..

afterwards download gCAD3D-1.26-Linux-x86
and copy it to / ;
render it executable (right clik on it; permissions; select 'a+x executable' OK)

in a console:

Code: Select all

#pwd
/
#ls
gCAD3D-1.26-Linux-x86
#./gCAD3D-1.26-Linux-x86
...
box: choose language - enter
...
box: agree on license - enter
...
etc
...
box: installation finished
#
there has been a /root/gCAD3D folder created
and here we are; again in a console:

Code: Select all

# cd /root/gCAD3D
# ./gCAD3D
...
or
from rox-filler '/root/gCAD3D' drag and drop the white-and-red-cross on the desktop background and click on it...

there the program is running, display of a "rugby balloon" in viewer mode (move it pressing Ctrl or Shift or both while moving the mouse).
Now select CAD or MAN or NC: if no shutdown of the program then gCAD3D looks running OK.
(I could not anymore re-display the rugby-balloon...never mind?!)

Now read manual to learn using it.
Sorry for my poor english...!
Many thanks to Franz Reiter for his time and efforts!
Cheers
Charlie

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#42 Post by charlie6 »

Hi Muggins,
muggins wrote: qcad-2.0.5.0-1-i486.pet
I did not succeded to install it. I clicked on its .pet archive and..nothing..?
I find it a tiny interessant 2D drawing soft for simple mechanical applications (already used under WinXP)

Did someone get it working?

Cheers
Charlie

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#43 Post by muggins »

Hi charlie6,

I'm glad you persevered & managed to get gCAD3D working...I used an incompatible libselinux!

Anyway, thanks to the developer's work, it appears to be working on puppy now, so I've packaged it as a .pet, plus the required debian libraries, and added it to the first post of this thread.

Regarding qcad, you need to install qt-3.3.8.pet, then reboot, then run it from Menu->Graphic->QCad

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#44 Post by charlie6 »

Hi muggins,
thanks!
I got qt-3.3.8.pet installed and qcad as well. It works.
Do you (or anybody else) have experience with printing with Qcad?
I wonder how to get a print from it?
Print preview gives a white page...(printer is CUPS-pdf; printer setup indicates CUPS-pdf at localhost)
There is no dialod box asking where to save the *.pdf document...

Cheers
Charlie

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#45 Post by muggins »

Unfortunately I don't have a printer to test on...but I wonder whether you could try printing to a file, as a .ps document, then try printing the .ps doc using the default .ps viewer?

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#46 Post by muggins »

Uploaded v1.28.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#47 Post by muggins »

Uploaded v1.30.

User avatar
jrb
Posts: 1536
Joined: Tue 11 Dec 2007, 19:56
Location: Smithers, BC, Canada

#48 Post by jrb »

I have packaged gCAD3D and its 3 dependencies as ch-gCAD3D-1.30.sfs. You will still need OpenGL.

I am not a CAD user (yet!) but so far it seems to run well in ChoicePup 412 and should run as well in other pups. The help function doesn't find a browser but the numerous help files may be accessed in /usr/local/gCAD3D/doc.

Thanks Muggins, J

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#49 Post by muggins »

jrb,

I wonder which browser you're using? As browser works with p412, (although there are some docs missing in English as haven't been translated.)

If you run, in console:

/usr/local/gCAD3D/gCAD3D

does it detect your browser?

User avatar
jrb
Posts: 1536
Joined: Tue 11 Dec 2007, 19:56
Location: Smithers, BC, Canada

#50 Post by jrb »

muggins wrote:I wonder which browser you're using?
Netsurf is my defaulthtmlviewer and browser until another is loaded. I was running Opera as my defaultbrowser when I tried accessing help files.
If you run, in console: /usr/local/gCAD3D/gCAD3D
returns:

Code: Select all

 **** kein HTML-Browser gefunden
** ERROR: cannot find a browser to display file  /usr/local/gCAD3D/doc/gCAD3D_startMAN_en.htm
If I go to the /doc subfolder I can click on any of the htm files and they open in netsurf.

I'd try it in p412 but I don't have that setup with OpenGL. Maybe I'll do that later this evening.

Post Reply