| 3D Max Shapeways Calculator v1.1 [message #3223] Wed, 04 March 2009 09:09 UTC |
 |
|
The purpose of this tool is to calculate the price of your object, in the same way the site does it for you, but without the hassle of uploading, waiting etc 
The interface, except volume/area calculation, is updated in real time.
Please be aware, that the calculation times grow exponentially with polygon count.
You can abort execution any time by pressing the ESC key.
Not sure which MAX versions work, just try it and let me know.
Please treat this code with respect. Suggestions and modification are welcome, but please keep the main repository here.
Questions, request, bugs etc are all very welcome in this topic or through Private Messaging.
Cheers,
Stijn
3D Max Shapeways Calculator v1.1!
New screenshot will follow later.
DOWNLOAD LATEST
This version got a major overhaul, please let me know if I broke something 
How to
- Start 3d Max
- Load your favorite object
- Goto menu : MAXScript->Run script...
- Find and open "ShapewaysCalculator.ms"
- Click "Calculate" !
- Play with all the options, try materials, markups, scaling etc
- Please give feedback here

The floater interface should speak for itself, I tried to keep it as intuitive as possible, and in line with the Shapeways website.
Known Bugs and Limitations
- It only works with single object meshes, not with groups, or multiple selected. Please use utilities -> collapse.
- NO built-in meshmedic
So overlapping or non-manifold meshes might produce different values than shapeways.
V1.1 New features
- Major update to config, incompatible with old version.
- SO OLD CONFIG WILL BE OVERWRITTEN ON FIRST RUN
- Layout changes/condensing
- Added object density
- Added bounding total
- Added link to (selected) material page
- Time to loose beta label

TODO (maybe)
- Export and Upload interface to Shapeways API (any help for this module?)
- Save/sync some more settings to ini, not everything sticks yet.
Todone
- Updateable configuration Beta8
- Remember settings Beta8
- Currency calculator/Pricing in Euros Beta5
- Try to make it more compatible with older max versions Beta4
- Unit flexibility - currently the script sets all units to mm where possible Beta5
- Manifold check/STL/Other model checks Beta4
- Add boundary checks for a given material Beta2
Beta11 New features
Beta10 New features
- Docking now configurable via ini file (default=left) (Try the "EDIT" button under config to see ini)
- Improved config handling, script will now create default config if none exists.
- Updated ini file now part of script itself. Click restore once to update/restore your ini.
- Added restore function for config (overwrites config with default)
Beta9 New features
- Area calculation for Glazed Ceramics (still testing)
- Density discount for WSF (still testing)
- Unencrypted source

- Many bugs squashed
Beta8 New features
- Material and other settings in ini/settings file !
- All object values are now saved with the Max file !
- Plenty of other stuff, nothing major
- Dockable
Beta7 New features :
- Updated dollar2euro
- Added Stainless Steel
- Added New WSF Pricing
Beta6 unpublished
Beta5 New features :
- More compatible with other unit systems (no more forced mm units)
- Speed and code optimizations
- Euro selection
- Showing of error-object optional and only on error
- Inverted volume correction now optional
Beta4 New features :
- Compatible with R8 and up (hopefully)
- Crude manifold check (slow, but effective)
- Status window
- Lots of roll ups, to allow custom interface placement
- Better object selection
- Overall code refactoring
Beta3 unpublished
Beta2 New features :
- Fix negative volume issues
- Mass and center of mass (WSF only and not yet fixed for negatives)
- Polygon count
- Bounding box dimensions of object
- Warning if previous exceeds material boundaries
- New WSF price

Beta 1 Features:
- Volume in CC
- Shapeways price for selected material
- Final price including VAT, markup
- VAT selection
- Target Pricing - Calculates scale which will meet target price
- Scaled Pricing - Calculate price based on scaling
- Polycount warning/bailout if over 1.000.000
[list type=circle]
[*] --
Cheers.
[Updated on: Wed, 11 July 2012 18:23 UTC] - Artist / Engineer / Designer / Shopowner / Volunteer / Moderator -
|
|
|
| Re: 3D Studio max pricing script/utility [message #3244 is a reply to message #3223 ] Thu, 05 March 2009 08:03 UTC |
  |
|
Virtox,
that is quite simply awesome!
Have others tried it yet? What do they think of it?
|
|
|
| Feedback [message #3293 is a reply to message #3223 ] Tue, 10 March 2009 10:59 UTC |
  |
|
Please don't be afraid to share any ideas you might have for this tool
Anything can be done unless proven otherwise 
[Updated on: Wed, 01 June 2011 20:38 UTC] - Artist / Engineer / Designer / Shopowner / Volunteer / Moderator -
|
|
|
| Re: 3D Max 2009 Pricing Utility BETA available [message #3294 is a reply to message #3293 ] Tue, 10 March 2009 14:10 UTC |
  |
|
wow, this is a great bennefit for the community, i'm going to test it right away!
thank you!
|
|
|
| New: 3D Max 2009 Pricing Utility BETA2 [message #3674 is a reply to message #3294 ] Mon, 30 March 2009 22:08 UTC |
  |
|
As per request I hurried a new version online.
Hope I got all the kinks out
[Updated on: Mon, 30 March 2009 22:18 UTC] - Artist / Engineer / Designer / Shopowner / Volunteer / Moderator -
|
|
|
|
| Re: Feedback [message #3745 is a reply to message #3293 ] Fri, 03 April 2009 22:59 UTC |
  |
|
|
Can you make it support Version 8? I get an error message when trying to run it.
|
|
|
| 3D Max R8-R2009 Pricing Utility Beta4 [message #3746 is a reply to message #3745 ] Fri, 03 April 2009 23:11 UTC |
  |
|
Ok, BETA4 is up, and should from 3d Max R8 and up !
Only tested in Max R8sp3 and Max R2009.
Does have some visual issues in R8, but nothing serious.
[Updated on: Sat, 04 April 2009 00:12 UTC] - Artist / Engineer / Designer / Shopowner / Volunteer / Moderator -
|
|
|
| Re: 3D Max R8-R2009 Pricing Utility Beta4 [message #3750 is a reply to message #3746 ] Sat, 04 April 2009 16:05 UTC |
  |
|
Virtox,
I think you have to change your nick into VIRTUOS.
Could you make it also as a plugin for other programs as accutrans or meshlab, or maybe as the calculator on everybodies computer?
Great work,
AO
|
|
|
| Re: 3D Max R8-R2009 Pricing Utility Beta4 [message #3756 is a reply to message #3750 ] Sat, 04 April 2009 20:35 UTC |
  |
|
Thanks
The current version is written in maxscript, the internal scripting language for 3d max, pretty straightforward with al the 3d functions.
I don't really know meshlab or accutrans, so I have no idea if they support plugins and in what format. I had a quick look and it didn't look like it, but I could be wrong, anyone with more expertise on these programs or other programs ?
I was thinking of writing a version for a good free easy to use 3d program, but I have to find a friendly "host" and get to know it, before I could write a sensible plugin. But there is of course the blenderscript by Loonsbury which solves that 
(I wish I had the time to switch to/learn blender.. max sucks sometimes , but you don't throw away 10 years of knowledge/experience/habit )
I have been thinking about a standalone application, but this would entail a whole lote more research/work. Since it would also require file format support, 3d parsing and everything.
I don't have the time for that, I also want to model ! 
And I would think Shapeways has the best angle of providing a desktop application, since they already have the server version
[Updated on: Sat, 04 April 2009 20:37 UTC] - Artist / Engineer / Designer / Shopowner / Volunteer / Moderator -
|
|
|
| Re: 3D Max R8-R2009 Pricing Utility Beta4 [message #3760 is a reply to message #3756 ] Sat, 04 April 2009 21:37 UTC |
  |
|
|
Would people really like a desktop app? Or would they prefer plug ins for the software they use?
|
|
|
| Re: 3D Max R8-R2009 Pricing Utility Beta4 [message #3765 is a reply to message #3760 ] Sun, 05 April 2009 07:31 UTC |
  |
|
Hi Joris,
I think a desktop app that can import stl or obj would be the most convenient since there are so many different softwarepackages available.
AO
|
|
|
| Re: 3D Max R8-R2009 Pricing Utility Beta4 [message #3766 is a reply to message #3756 ] Sun, 05 April 2009 07:42 UTC |
  |
|
Virtox,
Most of us are modelers and hobyist.
Having a job and also spending alot of time on modeling or writing a app like you did makes it extra hard.
The hours at night count double or even triple........the frustrations are at least triple .
Therefore don't forget to model and having fun in that.
AO
|
|
|
| Re: 3D Max R8-R2009 Pricing Utility BETA4 [message #3922 is a reply to message #3223 ] Wed, 15 April 2009 08:06 UTC |
  |
|
|
I was wondering, why does the volume-calculation (without any other checks) take so long? When using 3dsmax's own Measure-tool (under Utilities -> Measure) the volume is calculated in real time. I assume you've used a different algorithm, but why is that?
|
|
|
| Re: 3D Max R8-R2009 Pricing Utility BETA4 [message #3926 is a reply to message #3922 ] Wed, 15 April 2009 08:58 UTC |
  |
|
Hi there,
The simple answer is : maxscript IS slow
Unfortunately there is no way I can get access to the info from the measure tool from within maxscript, the only workaround is to do the calculation inside the script itself, which is just terribly slow. The actual algorithm is the same, I think.
[Updated on: Wed, 15 April 2009 11:23 UTC] - Artist / Engineer / Designer / Shopowner / Volunteer / Moderator -
|
|
|
| 3D Max R8-R2009 Pricing Utility BETA 5 [message #3928 is a reply to message #3926 ] Wed, 15 April 2009 09:57 UTC |
  |
|
Ok, I held you guys back a little, I was still testing the latest version.
But BETA 5 is here, approximately twice as fast as BETA 4.
Hope I got all the kinks out !
And as usual any feedback is welcome !
Stijn
[Updated on: Wed, 15 April 2009 11:24 UTC] - Artist / Engineer / Designer / Shopowner / Volunteer / Moderator -
|
|
|
|
| Re: 3D Max R8-R2009 Pricing Utility BETA 7 [message #6151 is a reply to message #3223 ] Sat, 29 August 2009 16:54 UTC |
  |
|
Beta 7 online, updated dollar2euro, stainless steel, new WSF pricing.
For file, see opening post.
[Updated on: Sat, 29 August 2009 16:55 UTC] - Artist / Engineer / Designer / Shopowner / Volunteer / Moderator -
|
|
|
| Re: 3D Max R8-R2009 Pricing Utility BETA 7 [message #6169 is a reply to message #6151 ] Sun, 30 August 2009 10:26 UTC |
  |
|
Thanx for the update Virtox! 
and it works good
|
|
|
| Re: 3D Max R8-R2009 Pricing Utility BETA 7 [message #6170 is a reply to message #6169 ] Sun, 30 August 2009 11:31 UTC |
  |
|
Good to hear !
Did it solve your price discrepancy I saw in another topic ?
(Quite curious where that came from)
- Artist / Engineer / Designer / Shopowner / Volunteer / Moderator -
|
|
|
| Re: 3D Max R8-R2009 Pricing Utility Beta4 [message #6261 is a reply to message #3760 ] Thu, 03 September 2009 18:54 UTC |
  |
|
Desktop App.
Build it in Adobe Flex and it will be universal... meaning it can run on PC / Mac / Linux... (with the appropriate runtime of course)
But I agree on the Desktop Part. MUCH easier. Rather than trying to manage plugins for ALL the different apps and ALL their different versions...
Welcome to Costco, I love you.
|
|
|
| Re: 3D Max R8-R2009 Pricing Utility Beta4 [message #8754 is a reply to message #6261 ] Wed, 06 January 2010 01:45 UTC |
  |
|
This is totally awesome!
Thank you so much for this tool!
So, how much ya gonna charge for V1.0?
|
|
|
| Re: 3D Max R8-R2009 Pricing Utility Beta4 [message #8755 is a reply to message #8754 ] Wed, 06 January 2010 10:14 UTC |
  |
|
Glad you like it ! Should you find any bugs or have ideas for improvements, just let me know !
v1.0 will arrive by the year 2100, or was it 2010, I forgot.
And the price will be an arm and a leg.
Nah, it's my gift to the shapeways community.
But rating of my latest models is always appreciated :
Latest models
And since I have more ideas than money, I created the
TriMatrix Special Unlimited Sponsor Edition
It has an increased markup, through which people can help and support this struggling artist 
Kind regards,
Stijn
[Updated on: Sun, 04 April 2010 08:30 UTC] - Artist / Engineer / Designer / Shopowner / Volunteer / Moderator -
|
|
|
| Re: 3D Max R8-R2009 Pricing Utility BETA 7 [message #11417 is a reply to message #3223 ] Sun, 04 April 2010 08:36 UTC |
  |
|
Just a little bump, also gauging for update needs ? Bugs found ?
Still working on a practical solution to add the wall thickness checks and improve the manifold check. But maxscript seems too sluggish and the c++ API too buggy/cumbersome.
Ah, and again I see I have neglected to update the latest version here.
I will polish up the code and add it asap. It has a user-editable config for the prices and materials infos.
And I'm thinking of an STL "quick" export (and import) feature.
Even pondering the idea of implementing the shapeways upload API, but I'm not familiar with the used http interface.
So in short : any new wishes ?
Stijn
- Artist / Engineer / Designer / Shopowner / Volunteer / Moderator -
|
|
|
| Re: 3D Max R8-R2009 Pricing Utility BETA 7 [message #12929 is a reply to message #3223 ] Mon, 17 May 2010 16:20 UTC |
  |
|
|
Just wanted to say thanks for your hard work. The plug-in is very useful.
|
|
|
| Re: 3D Max R8-R2009 Pricing Utility BETA 8 [message #13390 is a reply to message #3223 ] Fri, 04 June 2010 22:24 UTC |
  |
|
Thank you ! Always nice to hear !
I updated the script and opening post, please check it out !
[Updated on: Tue, 31 May 2011 11:47 UTC] - Artist / Engineer / Designer / Shopowner / Volunteer / Moderator -
|
|
|
| Re: Feedback [message #15798 is a reply to message #3293 ] Sat, 07 August 2010 16:05 UTC |
  |
|
Hi Virtox,
Seems to be a great app, but it doesn't work for me on MAX2009.
The object is not being calculated + there is a white square appearing in the viewing panes
Attachment: virtox.png
(Size: 344.25KB, Downloaded 146 time(s))
|
|
|
|
| Re: 3D Max R8-R2009 Pricing Utility BETA 8 [message #15804 is a reply to message #3223 ] Sun, 08 August 2010 13:53 UTC |
  |
|
|
Excellent tool, many thanks!
|
|
|
|
|
|
| Re: 3D Max R8-R2009 Pricing Utility BETA 9 [message #28354 is a reply to message #28340 ] Mon, 30 May 2011 09:53 UTC |
  |
|
Can you explain a bit more what you did to install the script + config?
What does the text in the scrollbox under checks and warnings say?
Config loaded ok?
I do not have 2012 to test unfortunately.
A screenshot might be helpful?
- Artist / Engineer / Designer / Shopowner / Volunteer / Moderator -
|
|
|
| Re: 3D Max R8-R2009 Pricing Utility BETA 9 [message #28380 is a reply to message #28354 ] Mon, 30 May 2011 18:59 UTC |
  |
|
After downloading the zip, I placed both files into:
C:\Program Files\Autodesk\3ds Max 2012\Scripts
Upon running the script it props an error immediately saying:
Ini file not found C:\User\Seth\AppData\Local\Autodesk\3dsMax\2012 - 64bit\enu\plugcfg\VirTools.ini
This directory/path doesn't exist on my system. I'm running Windows 7-64 bit with Autodesk 64-bit.
The Checks and Warnings continuously says "Test object size : TOO BIG" regardless of how small I make it. The object in question is 22mm diameter.
Hope this helps!
http://twitter.com/#!/avandius - There is no right way to create something, modeling is all about deceiving reality.
|
|
|
| Re: 3D Max R8-R2009 Pricing Utility BETA 9 [message #28386 is a reply to message #28380 ] Mon, 30 May 2011 20:40 UTC |
  |
|
Hi,
C:\User\Seth\AppData\Local\Autodesk\3dsMax\2012 - 64bit\enu\plugcfg\
is given to the script by your max program.
And is where the virtools.ini should be.
It is probably a hidden path. If you paste that into your explorer you can still browse it.
I'll see if I can find an easier install path for the config.
And because the config is not loaded there is no material info or max dimension -> everything bigger than zero is rejected.
Perhaps I'll look into error handling.
- Artist / Engineer / Designer / Shopowner / Volunteer / Moderator -
|
|
|
| Re: 3D Max R8-R2009 Pricing Utility BETA 9 [message #28387 is a reply to message #28386 ] Mon, 30 May 2011 20:51 UTC |
  |
|
Yes, it's a hidden path. 
It's working here on Max 2012.
I thought it wasn't working a couple of days ago, but I didn't see the "Calculate" button.
Seems to be working fine, now. 
Any chance of adding FUD to it?
|
|
|
| Re: 3D Max R8-R2009 Pricing Utility BETA 9 [message #28388 is a reply to message #28387 ] Mon, 30 May 2011 20:59 UTC |
  |
|
I'll try to update the config file.
- Artist / Engineer / Designer / Shopowner / Volunteer / Moderator -
|
|
|
| Re: 3D Max R8-R2009 Pricing Utility BETA 9 [message #28389 is a reply to message #28388 ] Mon, 30 May 2011 21:09 UTC |
  |
|
Attached a quick update of the ini file only.
Removed, script was updated
You can also use the "edit config" option to fiddle with the settings.
Most values should be self-explanatory (although a bit cryptic sometimes )
[Updated on: Tue, 31 May 2011 11:47 UTC] - Artist / Engineer / Designer / Shopowner / Volunteer / Moderator -
|
|
|
|
| Re: 3D Max R8-R2009 Pricing Utility BETA 9 [message #28396 is a reply to message #28386 ] Tue, 31 May 2011 03:51 UTC |
  |
|
| virtox wrote on Mon, 30 May 2011 20:40 | Hi,
C:\User\Seth\AppData\Local\Autodesk\3dsMax\2012 - 64bit\enu\plugcfg\
is given to the script by your max program.
And is where the virtools.ini should be.
It is probably a hidden path. If you paste that into your explorer you can still browse it.
I'll see if I can find an easier install path for the config.
And because the config is not loaded there is no material info or max dimension -> everything bigger than zero is rejected.
Perhaps I'll look into error handling.
|
I've posted the address into windows explorer and it still says "Windows can't find". I've tried deleting directories all the way down to AppData and it props the same error. Curious, this is an admin account if those folders are only created when using multiple UAC's. Any other suggestions?
[Updated on: Tue, 31 May 2011 03:53 UTC] http://twitter.com/#!/avandius - There is no right way to create something, modeling is all about deceiving reality.
|
|
|