News:

Please note new Forum URL: forum.designcad.com

Main Menu
DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Linux

Started by Dr PR, February 16, 2016, 04:17:38 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Rob S

#15
Quote from: Dr PR on February 21, 2016, 07:55:04 PM
Rob,

The problem is getting a new Win 7 package.

And Microsoft isn't selling new installations of Win 7.

Phil

Assuming neither you nor anyone you know has a retail disc with a serial number available, which is not currently in use, it seems you can still buy retail package online.

For example,  I have dealt with the predecessor to this below-linked company several times with good success, and no problems getting the activation from Microsoft for the installed versions of the programs...   YMMV

http://www.softwaresituation.com/products/windows-18-1.html
User since forever

Bob P

Win 7 is also sold on EBay, typically for under USD $80.

Latheman

Dr PR,

Now I understand!

In which case, all you are interested in, from me that is, is how to transfer and set up the profile folders. All else is irrelevant.

My final point, which is just in case you haven't heard of it, is that it seems that the Cinnamon desk top version of Linux Mint v.17.3 (Rosa) has been hacked. It seems that no other version has been affected. Or perhaps it might be safer to say that as far as is known, no other version is affected. Which makes me wonder whether I should be recommending Mint as much as I do, although in my defence, I only use the Mate desk top.

Regards, and good luck with whatever you do eventually decide on.

Latheman.

Dr PR

Latheman,

I do want to run DesignCAD on the Linux machine - mainly because I am curious how well it will work.

And after I get Linux up and running on the laptop I may make my Win 7 work machine dual boot and run comparison tests of DesignCAD on the two operating systems.

Phil
DesignCAD user since 1987

Latheman

Dr PR,

Ok, this is how I got my two old versions of DesignCAD working:

Remember I'm using mainly Mint v.13 but also have Mint v.17 available. I have used similar procedures on both versions of Mint, and for both versions of DesignCAD (DC).

In both versions of Mint, I made sure that WINE was installed and ready to use. I did not use PlayOnLinux. I just loaded it in using Package Manager. Next, I inserted one of the install discs for whichever version of DesignCAD I wished to install (eg DC2000), and waited until Mint had recognised it and put up an icon on the desktop. Any options to install, run, whatever were simply ignored. I then opened the disk from the desktop (left click), looked for an appropriate file such as SETUP.EXE and then right clicked on it. On the menu that appeared I clicked on "Open with Wine Windows Program Loader". As one might expect, the normal Windows loading sequence then appeared and all the usual selections made. Eventually, the program will be installed and various entries placed in the Mint Mate Menu, equivalent to and similar to the XP menu.

Now, I like to have an icon on the bottom row of the screen. I forget what Windows calls it, but in Linux it's called the Panel. So in the Menu, right click on the entry for, in this instance, DesignCAD Pro 2000, select "Add to Panel", and hey presto, an icon now appears in the Panel which can then be used to open the program.

Also, and I know that there is an alternative to this, I have a dummy file (Startup.dc)which holds my desired setup for DC. I use a default workspace, and a macro (Startup.d3m) to do all this. Obviously I have to set it up manually initially, but once done, that's it. The same files also work for DC17 as well.

I do have it mind that one of the programs I installed this way required me to find a different way of installing it. I can't remember whether it was DC17 or it may have been Paint Shop Pro, but the obvious installation choice didn't work, but on delving further into the CD, I found another command, either setup or install, and that did work.

When I first did all this, I think I was probably using Wine v.1.4 and what I found was that clicking on a *.dc file failed to do the goods as in a Windows environment, however, I found it no great obstacle to open DC first, then within DC hunt through the folders to the required file and  open it that way. I have found recently, that double clicking on a DC file does indeed open as per the Windows environment. As I'm now on Wine v1.6, I do wonder if that's when the change occurred.

Although Wine sets up specific folders for use as C:, D: etc, I have also found that I can step (backwards) through the folder hierarchy into the place within Linux where I keep all my data files, and that DC/Wine do seem to keep some sort of record of this.

In short then, I can use DC as if it were a pure Linux program.

Finally, I know some of the above seems a bit of a mishmash. And it seems as if in some respects I'm, if you like, messing about doing this. In fact, I'm tired, I'm about to go to bed, and this has been rushed. All I can say is that for me it works, and works satisfactorily.

Any more questions, please ask. And, I do hope that you will let us know how you get on.

Regards,

Latheman


bdeck

Hi ev,

Thanks for the detailed comments.

Quote from: ev on February 20, 2016, 03:07:16 PM...PlayonLinux offers an  easy and foolproof way to install stuff into their own individual "sandboxes".  As such, each package plays in its own registry and data space.  PlayonLinux also provides plugins to install necessary dlls, various versions of wine to try, etc.

Does this mean that a, for example, DC installation may be copied from one pc to another simply by copying a directory which contains the registry, data, and code? If so, that would be a huge reason to move to Linux.

ev

Quote
Does this mean that a, for example, DC installation may be copied from one pc to another simply by copying a directory which contains the registry, data, and code? If so, that would be a huge reason to move to Linux.

Yes.  The process is somewhat reminiscent of the virtual appliances, only more straightforward and simpler.

Once an application is installed using PlayonLinux, its corresponding directory can be transferred into different PlayonLinux directories anywhere, ad infinitum.  You would only create a new launcher link in the new PlayonLinux GUI host.  Takes a few clicks.

PlayonLinux is a GUI tool that facilitates creating different wine prefixes.  Instead of throwing around terminology, I previously tried to describe this concept as a `sandbox`. Technicalities aside, it functionally is.  Using different wineprefixes for each windows app creates different registry and data space for each app, and further allows using different versions of wine for each, if needed.  The related opportunities would be way too over my head to cover.  However there's a huge body of material on this out there.

If apps are installed under wine directly, the registry morass starts festering, and that's that familiar one very hot place one's tried to escape in the first place.

One can, and in fact had to, configure different wine prefixes by hand.  PlayonLinux negates that. Anyway, wine prefix itself is, imo, a must to use.  Manual configuration certainly creates an opportunity to figure things at somewhat more fundamental levels.  May help building character, if so inclined...

Please understand that wine executes some of the virii(!) and malware as well. ( I once tested some kid's school work.  It was compiled under windows with infected libraries.  Was a fascinating event ).

In many cases, moving to Linux may understandably cause trepidation.  Trying such things under CPU virtualization environments may be useful.  Even performance hits of such environments may be tolerable for experimentation purposes, however.

Let me know, and I'll see where I can be of help.

bdeck

Quote from: ev on February 25, 2016, 02:25:04 PMIf apps are installed under wine directly, the registry morass starts festering, and that's that familiar one very hot place one's tried to escape in the first place. 

Yes, escaping the windows registry is a great motivator in the to move to linux.

The idea that a package can be installed once, and that the installation may be backed up or duplicated by a simple file copy, is appealing.

Thanks,
bd

Dr PR

ev,

If I understand you a Wine "prefix" (or your "sandbox") is effectively a private copy of the operating system for each program. Or at least a private registry for each Windows program while running under Wine on Linux.

And you would want to do this to prevent one program's registry entries from effecting another program's registry entries? I can see this would be useful if you were running multiple versions of the same program.

Phil
DesignCAD user since 1987

ev


QuoteIf I understand you a Wine "prefix" (or your "sandbox") is effectively a private copy of the operating system for each program. Or at least a private registry for each Windows program while running under Wine on Linux.


Yes.

In fact, the wine prefix creator "tool" PlayonLinux creates for itself clearly reflects this:

It creates an "entry" in the user's home directory.   This "entry" is in fact a link.  It's called `PlayOnLinux's virtual drives`.  Points to: `/home/someuseroranother/.PlayOnLinux//wineprefix/`.  `PlayOnLinux's virtual drives`, contains subdirectories in which individual apps have been installed.  Say, DCad24-64, DCad14, App#n1,..App#n.   These are in fact standalone virtual disks, each holding an invidual windows installation. 

This structure also allows _changing_ the windows version, as well as the wine version after the installation of a given app. 

There's a caveat in the terminology I use here.  I refrained from throwing around more specific wine related jargon.  Used terms what I think may involve familiar and relevant concepts for most, as that's how it was for me in the beginning.  Wine environment, as all others, has its own nomenclature, so to speak.  As one starts playing around with it and reading up along the way, concepts/paradigms relate more accurately to terms being used in that development and user space.

Looking back, I realize that I had not mentioned two things in previous posts. 
1. Macros work.  However  I didn't try anything relating to OLE, as I never used them under windows either.  I'm not aware of anyone ever attempting to use OLE under Linux environment.
2. RedSDK is not supported in the graphics domain in general.


Dr PR

#25
RedSDK demos are available for Linux so there must be some Linux support. However, getting video card hardware OpenGL driver support for Linux might be a problem.

However, virtually all of the movie industry graphics processing is done on Linux machines - all that "Star Wars" glitter and the "Avatar" 3D animation. So I'll bet there is a way to get RedSDK working at the operating system level.

Phil
DesignCAD user since 1987

Rob S


Per earlier posts it sounded like you might not need redsdk, as the linux graphic drivers were more efficient than windows ones

It would be interesting to try and rotate and or manipulate the same shaded object in Wine and in Windows on similar machines.

Dr PR, we can hardly wait for you to dive in and provide us with your extensive detailed reports on the results!!!
User since forever

ev


DesignCAD cannot enable RedSDK when running under wine.  Because it thinks it's running within windows, RedSDK  lookis for windows' proprietary hardware drivers, which do not figure into wine.

RedSDK, compiled for Linux, would of course run natively. 

Currently, the most common Linux graphics server is the X11 server.  Based on legacy Unix graphics X server.  Obviously, windows is some other proprietary code-base.  As in the SDK demo, when a binary is compiled under Linux environment, it'll run at least under X.  I haven't tried upcoming, newer generation, Wayland and MIR servers yet.  From what I understand, they should run just fine. They will have to.

All distros will automatically detect the video card architecture, and at least install OSS versions of X11 drivers.  Many distros also install proprietary drivers from the corresponding manufacturer, ie. nvidia, ati, etc., usually on an opt-in basis during an installation, in lieu of OSS versions.

Very broadly speaking, OpenGL has been native to Linux for a very long time.  OpenGL support is integral to X Windows both in vendor and open source provided drivers.  Not sure about a precise definition, but it seems OpenGL is worked into graphics drivers as if they're a part of `a` kernel.  In modern Linux, there are very few standalone drivers as we encounter them in windows.  The kernel detects, configures and controls the hardware.

Relating to RedSDK equivalence, it may be interesting to check out https://www.blender.org/features/, for instance...  This one resource itself spans from rendering to some physics simulations out of the box...  Being Python based, the plugin and programming capabilities would also provide a glimpse to what is done on that side of the fence. 

The other noteworthy thing is the science and engineering resources that live in FOSS space.  The Cern distros may also be interesting to some. Astrophysics and medical imaging - image analysis - interpretation fields come to mind.   The FEA, fluid dynamics, maths, etc. resources, are becoming more more used in universities, even in legacy engineering shops etc, as commercial software is introducing new challenges and deepening the older ones.

One may try the OSS package software MeshLAB to see what can and is done with meshes, for instance.  FE people would surely know this one already.

Guys, I don't mean to be cryptic in what say, nor too verbose.  Linux issue is in a way a new thing in this group.  I do hope more people can relate to this material aside from the posters in the thread.   I'd hate to be pedantic in any way.  I know very little, in the first place.  Many (often younger) Linux users and devs have been and can come across a bit over-enthusiastic.   I'd hate to create that impression.   I hope I can be to the point in my comments, as well as perhaps be useful in pointing to what appears to be relevant sources to expand upon the subject.

What I am sure is that this group includes very bright individuals with very good aptitude and temperament for coding.   Especially for the coding part, Linux too has exceptional opportunities.

Note: I'm sure most are aware of this.  Linux can run your rig without installing, off a live CD, or USB stick.  Also, most of the popular distros can be installed on USB sticks.   Internal disks are thus untouched.   These options have varying performance issues for CD IO is a slow thing, so is the  stick.  However, these are useful ways to discover things, test compatibility, so forth.



Latheman

Hi,
I am aware that it's been just over 12 months since the last post in this topic, but I thought that people might just be interested in my recent experiences.

As a user of Linux Mint 13 LTS (to April 2017) I have now upgraded to Mint v18.1 LTS (to April 2021). At the same time I took the opportunity to upgrade Wine to the latest version. Ideally, this should have been v2.0, the stable version, but due to my misunderstanding. I actually used v.2.2 Staging which I believe is part of the latest development cycle. (I'm open to correction on that.

Under Mint v 13, I had been using Wine 1.4, 1.6 & 1.7, not at the same time (!) but as a experimental upgrade path. I have both Design Cad 2000 (DC2K) and Design Cad 3D Max v.17.2 (DC17), and yes, I know they are old versions.

With Wine 1.4, DC2K was usable but with a few problems. DC17 was unusable.
With Wine 1.6, DC2K was more or less perfect as far as I could tell, whilst DC17 was better, but the remaining problems made it somewhat difficult to use.
With Wine 1.7, ditto, with DC17 being slightly better.

With Mint 18.1 and Wine 2.2, DC2K was as before, just about perfect, whilst DC17, still has a few problems, but was now much more usable. These are the problems I have found:

File, Image. When using the mouse pointer, the system locks when the pointer lands on Image. Previously that was it, system reset required, but now, after a short delay, it actually produces the second menu. Moving the pointer off the menu above Image, and then back on again below Image avoids the problem.

Tool Tips. In some instances, these show as a yellow rectangle with no text in them, yet other instances are ok. However, since the tool description appears in the Status line, the simple cure is to switch off Tool Tips in the Options menu.

Text & things wobbling, oscillating, whatever at times. Certain parts of the screen where semi-permanent tool access information, eg under the RHS Scroll Bar, or the RHS of the Status bar seem to, I think, flash on & off very quickly.  It doesn't seem to prevent operation so I just ignore it.

I haven't found anything else, and have used DC17 to create a simple 2D drawing satisfactorily whereas prior to that upgrade, I could have done the drawing, but I would have had other problems, eg black boxes on the screen-got rid off by either Cntrl-R or Cntrl-W, which would have made it awkward.

Overall, it seems that there is indeed an improving trend towards satisfactory use of Design Cad on Linux.

Now someone has said that they have had success using Dcad 24 on Linux. So far, I have been unable to find an English language version. Yes I know it's an old version, but I also think someone else has said something about Dcad 25 and later being different, possibly written for 64bits (?) which makes me think that there may be more chance of getting a successful Dcad24 running than there is of Dcad25. I could of course be totally wrong, but has anyone got any ideas of how I can get a fully working Dcad24 to try?

Regards,

latheman

DrollTroll

Hi Latheman,

Thanks for sharing your experience.

Regarding File/Image menu problems:
You may be able to solve this by saving the current menu as a .dma file (ascii version of a DesignCAD menu). Then delete the second two items in the File/Image sub-menu (Scan Image and Select Scanner Source). One or both of these is probably what's holding things up.
25 years with DesignCAD