Go to Post You lame pig farmer! I'm not talking about a bunch of dudes sitting around eating their packed lunches that Mommy made. - Paul Copioli [more]
Home
Go Back   Chief Delphi > Technical > CAD
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 17-08-2012, 16:56
artdutra04's Avatar
artdutra04 artdutra04 is offline
VEX Robotics Engineer
AKA: Arthur Dutra IV; NERD #18
FRC #0148 (Robowranglers)
Team Role: Engineer
 
Join Date: Mar 2005
Rookie Year: 2002
Location: Greenville, TX
Posts: 3,078
artdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond repute
Re: Trying to get the team on CAD

Create a new Boot Camp partition and install Windows natively on the Mac. CAD software needs every ounce of computing power it can get, and running it in virtual machines is robbing you of performance. You'll regret working in a VM anytime your assembly gets over a few dozen parts, which is barely enough to do a drivetrain.
__________________
Art Dutra IV
Robotics Engineer, VEX Robotics, Inc., a subsidiary of Innovation First International (IFI)
Robowranglers Team 148 | GUS Robotics Team 228 (Alumni) | Rho Beta Epsilon (Alumni) | @arthurdutra

世上无难事,只怕有心人.
Reply With Quote
  #2   Spotlight this post!  
Unread 17-08-2012, 19:12
josh.pruim josh.pruim is offline
Registered User
FRC #4014
Team Role: Programmer
 
Join Date: Aug 2012
Rookie Year: 2011
Location: United States
Posts: 36
josh.pruim will become famous soon enough
Re: Trying to get the team on CAD

For data storage, I wrote a simple program to write to a Git repository that is executed by Inventor when the file is saved, It uses a mapping (On my computers) to Z:\Incoming and Z:\Outgoing, where Incoming contains the current revision of the repository, and Outgoing contains the most recent local commit.
For the drive itself, It will be configured as if it was an internal drive, that Windows was installed to, but then it was removed. It could then be mapped to a virtual machine (If needed), as some VM apps support physical drives alongside VMDK or VDI files.
and for performance, These Macs are most likely not going to be doing the full-bot design, maybe 5-6 parts per assembly at most. The bigger assemblies will be handled on a better machine, but we only have 2 of those, and they aren't portable.
Reply With Quote
  #3   Spotlight this post!  
Unread 19-08-2012, 15:16
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,497
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
Re: Trying to get the team on CAD

Quote:
Originally Posted by artdutra04 View Post
Create a new Boot Camp partition and install Windows natively on the Mac. CAD software needs every ounce of computing power it can get, and running it in virtual machines is robbing you of performance. You'll regret working in a VM anytime your assembly gets over a few dozen parts, which is barely enough to do a drivetrain.
Ditto.

If the goal is just to get kids learning CAD a bit, and have them able to make simpler parts and assemblies, this is a solution.

If you want to do serious work, you really don't want to run through a VM.
Reply With Quote
  #4   Spotlight this post!  
Unread 20-08-2012, 16:56
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Re: Trying to get the team on CAD

I use a MacBook Air 2011 as my everyday computer, including a little bit of CAD work in SolidWorks 2011.

I work in Windows 7 95% of the time and run a tiny Mac OS X partition and a large Boot Camp Windows partition on the internal SSD. The remaining 5% of the time I'm in Ubuntu Linux, which I boot off a fast USB 2.0 Flash drive.

To be honest, I've never booted a full Windows off an external flash, but I have booted Windows PE (Hiren's Boot CD/USB).

Here are my thoughts on what you're trying to do:

0) I wouldn't do a VM approach. I've seen Parallels running Windows + SolidWorks and was not happy with the results at all. Slow, unresponsive, and getting hardware graphics acceleration working properly was a huge pain. Even with acceleration it working, it felt barely usable.

1) Not all USB sticks are created equal. I'm assuming the Macs you are using are USB 2.0 (not 3.0... argh Apple). There is a huge variation in USB 2.0 flash drives in terms of speed. If you bought the cheapest no-name ones that happened to be on sale, chances are you won't be happy with your result. Check out: http://usbflashspeed.com/ for reference. I wouldn't try running an OS off anything less than 20MB/s read and write.

2) Install rEFIt (http://refit.sourceforge.net/) on all the Macs, as it will make OS selection on boot-up much easier. rEFIt seems to be a lot less picky when it comes to booting non-Mac partitions, compared to the standard Mac boot.

3) I don't know how Windows Activation (and drivers) will work. I'm assuming all the Macs you are going to use have identical hardware? Once you activate Windows with a specific USB flash drive, you may need to use that computer/flash drive combination forever. You might not be able to interchange flash drives between computers.

4) Create an exFAT partition on the local hard drive for virtual memory, or disable virtual memory altogether. Using flash for virtual memory is not a great idea since it has a limited number of read/write cycles before it will fail. Enabling ReadyBoost is an interesting option, but I don't know if it will help if you run it on the same USB Flash drive as your OS. If you want to try it, create an extra empty exFAT partition on the flash drive.

5) I would really stay away from Windows Server if possible. Driver support always seem to be an issue with Server versions, and there is a lot of bloat you will never use. Plus it will be tuned to run background tasks with a higher priority, meaning it won't feel as responsive.

What you are trying to do really has a good use case, regardless of whether you are using a Mac or PC.

It'd be nice for teams to be able to have a stash of USB flash drives that they could send home with students and mentors, and have an instant CAD environment all ready to go.

Please keep us updated!
__________________
In life, what you give, you keep. What you fail to give, you lose forever...
Reply With Quote
  #5   Spotlight this post!  
Unread 21-08-2012, 00:22
josh.pruim josh.pruim is offline
Registered User
FRC #4014
Team Role: Programmer
 
Join Date: Aug 2012
Rookie Year: 2011
Location: United States
Posts: 36
josh.pruim will become famous soon enough
Re: Trying to get the team on CAD

Alright, so, this has changed a LOT from my original idea, but I have been making security and usage choices.

Did NOT use Server 2008, it refused to install Inventor, decided to use Windows 7 Professional, just for the master image, this may change later on.

The software still contains Inventor 2013, with Offline Help. I have added
Antivirus software
Internet-Tunneling Remote Desktop (TeamViewer) for quick admin tasks.

The flash disk I bought was just my test drive, I'm not going to buy a $50-$70 drive for the initial tests and checks. Most likely if this is a viable solution, and everyone would use it, I would then go and buy nicer drives. The writes are slower than the reads, but there are going to be very few writes to the drive in all, because most files will be saved remotely (A little tedious, but doable).

Another idea I have, is a BYOD (bring your own drive) type-thing, where I would install and configure a drive brought to me, alongside the 4 or 5 preinstalled drives.

Because the actual image resides as a Clonezilla image on my external drive, duplication is very easy.
Reply With Quote
  #6   Spotlight this post!  
Unread 21-08-2012, 14:24
josh.pruim josh.pruim is offline
Registered User
FRC #4014
Team Role: Programmer
 
Join Date: Aug 2012
Rookie Year: 2011
Location: United States
Posts: 36
josh.pruim will become famous soon enough
Re: Trying to get the team on CAD

After installing Windows 7 and Inventor, I'm getting constant bluescreens on the portable drive when booted normally. I am unable to diagnose them as the minidump files are not being written anywhere. (I checked the flash disk's C:\, and I also checked C:\ on the internal hard drive of my computer.) Is it possible that the two are causing collisions in drive assignments, and not allowing it to boot? (My setup machine was not a physical machine, I used a virtual, due to the massively long time it takes to set up over a USB2.0 line, then cloned it to a flash disk.) Is it possible to reassign C:\ to something like G:\ if this is the issue?
Reply With Quote
  #7   Spotlight this post!  
Unread 22-08-2012, 00:39
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Re: Trying to get the team on CAD

Quote:
Originally Posted by josh.pruim View Post
After installing Windows 7 and Inventor, I'm getting constant bluescreens on the portable drive when booted normally. I am unable to diagnose them as the minidump files are not being written anywhere. (I checked the flash disk's C:\, and I also checked C:\ on the internal hard drive of my computer.) Is it possible that the two are causing collisions in drive assignments, and not allowing it to boot? (My setup machine was not a physical machine, I used a virtual, due to the massively long time it takes to set up over a USB2.0 line, then cloned it to a flash disk.) Is it possible to reassign C:\ to something like G:\ if this is the issue?
Very likely the problem is Windows is expecting G:, but now that you're booting directly, it's on C: instead and is confused...

I once installed Windows to D:, then deleted the C: partition. Thus D: was reassigned to C:. It would constantly blue screen during boot.

I created a tiny placeholder C: partition, reassigned the Windows partition back to D:, and it came right back up.

You might be able to reassign C: to G: with a partitioning tool, but I'm not sure if the reassignment will persist, or if Windows will react nicely.

There's some discussion on the topic here:
http://www.sevenforums.com/installat...t-drive-2.html

The best thing might be to try and reinstall Windows again, ensuring the target drive is C: before the installation starts.
__________________
In life, what you give, you keep. What you fail to give, you lose forever...
Reply With Quote
  #8   Spotlight this post!  
Unread 22-08-2012, 01:03
josh.pruim josh.pruim is offline
Registered User
FRC #4014
Team Role: Programmer
 
Join Date: Aug 2012
Rookie Year: 2011
Location: United States
Posts: 36
josh.pruim will become famous soon enough
Re: Trying to get the team on CAD

Actually, what I was meaning is the flash disk is C:\, and my laptop has an internal drive, that is also C:\, to make a total of 2 C:\ drives at once. I was wondering if there was a way to install Windows to say, a drive G:\, so that the drive would not collide with any existing Windows installations? I would think the best way would be to mount an existing C:\ drive, then run the installation again. since the drive is an image, I am going to attempt to change the mapping of it. If that causes any issues at all, i will revert back to a reinstall with a mounted C:\ drive.
Reply With Quote
  #9   Spotlight this post!  
Unread 22-08-2012, 01:16
josh.pruim josh.pruim is offline
Registered User
FRC #4014
Team Role: Programmer
 
Join Date: Aug 2012
Rookie Year: 2011
Location: United States
Posts: 36
josh.pruim will become famous soon enough
Re: Trying to get the team on CAD

I plugged it into an older laptop, I had removed the internal hard disk drive, and it still bluescreened. I am now assuming it is not the C:\ collision, but a more serious error.
Reply With Quote
  #10   Spotlight this post!  
Unread 22-08-2012, 14:45
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Re: Trying to get the team on CAD

Windows could be complaining about the changes in "hardware" between your different setups: virtualized, physical booting, and now a completely different laptop.

This is a shot in the dark, but if you can still boot into the image in your virtual environment, try generalizing the image.

http://technet.microsoft.com/en-us/l...=ws.10%29.aspx
__________________
In life, what you give, you keep. What you fail to give, you lose forever...
Reply With Quote
  #11   Spotlight this post!  
Unread 22-08-2012, 14:53
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Re: Trying to get the team on CAD

Also, the "Phase III" section of this article might be useful.

http://ftanada.wordpress.com/2009/02...ckflash-drive/
__________________
In life, what you give, you keep. What you fail to give, you lose forever...
Reply With Quote
  #12   Spotlight this post!  
Unread 22-08-2012, 17:25
josh.pruim josh.pruim is offline
Registered User
FRC #4014
Team Role: Programmer
 
Join Date: Aug 2012
Rookie Year: 2011
Location: United States
Posts: 36
josh.pruim will become famous soon enough
Re: Trying to get the team on CAD

Quote:
Originally Posted by Mr. Lim View Post
Also, the "Phase III" section of this article might be useful.

http://ftanada.wordpress.com/2009/02...ckflash-drive/
I was actually looking for an article like this (I had been doing so many different things, but it never occurred to me to remove the USB controller from the VM during the install, I managed to get a crashdump, and it was indeed an issue with the USB drivers and how Windows unmounts and remounts USB devices that are not NTFS on boot)

The article on 'generalizing' the image appears a little difficult to understand, but from what I gather, you run
Code:
cd C:\Windows\System32\sysprep
sysprep.exe
then a box pops up that you can select "Enter OOBE" and check "Generalize"
Reply With Quote
  #13   Spotlight this post!  
Unread 23-08-2012, 20:24
josh.pruim josh.pruim is offline
Registered User
FRC #4014
Team Role: Programmer
 
Join Date: Aug 2012
Rookie Year: 2011
Location: United States
Posts: 36
josh.pruim will become famous soon enough
Re: Trying to get the team on CAD

Ah. I got the normalization working, and right now I'm imaging the disk to a file.
So far my steps were
  1. Follow this guide http://ftanada.wordpress.com/2009/02...ckflash-drive/*
  2. Install Inventor
  3. Generalize the OS
  4. Boot Clonezilla, save image
  5. Restore image to Flash Drive with Clonezilla

*Changes to Guide in my case
I Used a physical disk, partitioned to have one same-size minus 1GB as the flash disk (of what the computer sees, not what is on the label, my 32 GB drive was actually 30.9 GB, so, partition was 29.9 GB), and another occupying the rest of the disk space. Formatted both as NTFS, named the additional space (The second partition) "Image Cache" and the 29.9 GB "Windows"

Clonezilla, image the "Windows" partition to the "Image Cache" partition, then restore it to the USB drive. (My reason for imaging is so that if I need to make duplicates, it's very easy)

If you were being clever, you could get a 500GB hard disk, chop it into 5 partitions
(Windows installer disk, Windows install partition, Image cache, Clonezilla, and a universal bootloader) and make a laptop that you simply can set up, image, and prepare for restore without any external drives.
Reply With Quote
  #14   Spotlight this post!  
Unread 25-08-2012, 20:58
josh.pruim josh.pruim is offline
Registered User
FRC #4014
Team Role: Programmer
 
Join Date: Aug 2012
Rookie Year: 2011
Location: United States
Posts: 36
josh.pruim will become famous soon enough
Re: Trying to get the team on CAD

Update: I was browsing the Mac OS App Store, and found Inventor Fusion for Mac.
http://itunes.apple.com/us/app/autod...29580720?mt=12
Since it's free, I don't see any disadvantages to testing it out. It's not full-featured CAD, but it appears to export files that either Inventor Pro or NX can read.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:27.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi