Export multiple parts
All  1-5  6-8

Previous
Next
 From:  Michael Gibson
8582.6 In reply to 8582.5 
Hi Pierre,

re:
> 1) How could i choose the file folder export ???? (impossible to understand in which
> folder the files go (or it doesn't work) !!!.

For this particular script you have to open the file ExportParts.js and edit line 5 which currently reads:

code:
var pf="/Users/username/Documents/CAD/"; //change this path to your needs!!!


The path that is in there currently is a Mac path, for Windows you'd need to to use \ backslash characters and then the tricky part is you actually need to use 2 backslash characters \\ for each one because in JavaScript strings the backslash is an escape character to make stuff like \r meaning return or \t meaning tab. So on Windows you'd make it like this:

code:
var pf="c:\\ExportPartsDir\\";



re:
> 2) Is it possible to have an .skp export ?

Yes it should be, you'd need to add an entry to the file type dropdown which is in the ExportParts.htm file, similar to what's described here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=8582.3

For SKP format add another line like this:
code:
<option value=".skp">SKP</option>


re:
> 3) How could i add the java program code line to have more export pmossibilities ??

It has to go in the ExportParts.htm file which is the UI part of the script, you need to add more entries to the select dropdown in there.

Please let me know if you're still stuck.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  grandpi (PIERREARCHI)
8582.7 In reply to 8582.6 
Thank you Michael. Im going to try.
Regards,
Pierre.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  r2d3
8582.8 
Thank you Michael for answering the questions to my script!
I was in holiday... :-)
But all you answers have been RIGHT! ;-)

THX
Ralf
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-5  6-8