v0.7 (8/28/2009):
Added Dyed WSF and Polished Stainless materials
WSF will add $1.50 to calculated price regardless of size, so don't worry about the price per cm3 not multiplying into the total
Similarly, dyed WSF will add $4 to calculated price
Changed WSF pricing to $1.50/cm3An issue may arise when going from 0.6 to 0.7 with saved settings because of extra buttons... if something looks "wonky" when it loads, change to your preferred settings and exit, then run the script again.v0.6 (4/28/2009):
Fixed a scaling/translation bugv0.5 (4/23/2009):
Better script cleanup
Changed GUI to single column, contracting sections
Added Blender registry entries for persistent settings
Added changeable material prices
Added manifold check
Added polygon count (current and triangulated)
Added selection dimensions
Fixed Blender unit scale errors: exponent was wrong, and reversed between millimetres and metres
Slightly better support for scaling and translation calculationv0.4 (3/30/2009):
Some script cleanup
Using popup GUI form rather than script window. The new form should fit on screen more reliablyv0.3 (3/27/2009):
Fixed resizing calculation bugv0.2:
Added GUI with changeable options, VAT and markup calculation, and resizing calculation
Added quad support in addition to tris
Scaling applied without manual applicationv0.1:
Basic calculation sent to console window

Preview:

To install: extract the .py file to the base blender working directory (this may be your installation path, AppData, %HOME%, or something else on another O/S. Then start up Blender, it should be in the object->scripts menu.

I have extracted the .blender file to the base blender working directory and this inactive other scripts (thus limits my use of Blender because now I can not open .obj files).

Do I do something wrong ?]]>Emm@nuel2009-03-28T11:33:32-00:00Re: Blender Pricing Scripthttp://www.shapeways.com/forum/index.php?t=rview&goto=3592&th=778#msg_3592
You may need to reinstall blender to get the default scripts back again - it should keep your settings though.]]>loonsbury2009-03-28T13:46:23-00:00Re: Blender Pricing Scripthttp://www.shapeways.com/forum/index.php?t=rview&goto=3601&th=778#msg_3601

Quote:

If you replaced the .blender subdirectory with the one in the .zip file, yes

No I didn't do this because I had no file .blender, other scripts are placed in a folder called python25.zip

I have extracted your .blender file to the base blender working directory and this inactive other scripts which are placed in the folder called python25.zip.

I tried to extract your .blender file to the folder called python25.zip but your script doesn't appear in the object->scripts menu.

]]>Emm@nuel2009-03-28T21:04:24-00:00Re: Blender Pricing Scripthttp://www.shapeways.com/forum/index.php?t=rview&goto=3608&th=778#msg_3608
C:\Users\username\AppData\Roaming\Blender Foundation\Blender
]]>loonsbury2009-03-28T21:07:41-00:00Re: Blender Pricing Scripthttp://www.shapeways.com/forum/index.php?t=rview&goto=3611&th=778#msg_3611
Thank you so much for your help and for this very very cool and useful script.]]>Emm@nuel2009-03-28T23:46:53-00:00Re: Blender Pricing Scripthttp://www.shapeways.com/forum/index.php?t=rview&goto=3612&th=778#msg_3612
]]>loonsbury2009-03-29T00:12:58-00:00Re: Blender Pricing Scripthttp://www.shapeways.com/forum/index.php?t=rview&goto=3639&th=778#msg_3639
I think this script is very useful also for Blender users who don't use Shapeways. Once you're happy with it, please contact me on bart(at)blendernation(dot)com and I'll do a proper post about it.

Thanks!

Bart]]>bartv2009-03-30T12:09:45-00:00Re: Blender Pricing Scripthttp://www.shapeways.com/forum/index.php?t=rview&goto=3662&th=778#msg_3662
loonsbury2009-03-30T18:36:23-00:00Re: Blender Pricing Scripthttp://www.shapeways.com/forum/index.php?t=rview&goto=3874&th=778#msg_3874
I'm a little confused about the m, cm and mm buttons. They seem to operate the opposite way to how I expected. For example, if my model has the dimensions 50 x 50 x 50 in the properties, I expect the mm button to calculate price for a 50mm x 50mm x 50mm print and the cm button to be a 50 cm^3 print, but the price goes down, not up. I think it would be helpful to be able to see the xyz dimensions of the model in the applet window as a sanity check. Am I looking at this the wrong way?

Also, while I'm at it, it would be helpful to support user input of material cost so when Shapeways drops the price or includes a new material, we can input the current value.

FYI, it didn't run properly on my old version of Blender (early 2008) so I had to upgrade. And it took me a while to find the script in the scripts->objects sub menu, so mentioning that in the posts might save someone else some hunting.

For example, if my model has the dimensions 50 x 50 x 50 in the properties, I expect the mm button to calculate price for a 50mm x 50mm x 50mm print and the cm button to be a 50 cm^3 print, but the price goes down, not up.

Not sure if I'm understanding right, when you go from mm to cm, the price goes down? I just tested it on my installation and it worked right, maybe I'm overlooking something.

johngomm wrote on Fri, 10 April 2009 02:26

I think it would be helpful to be able to see the xyz dimensions of the model in the applet window as a sanity check.
Also, while I'm at it, it would be helpful to support user input of material cost so when Shapeways drops the price or includes a new material, we can input the current value.

Good ideas, these will be in the next revision

johngomm wrote on Fri, 10 April 2009 02:26

FYI, it didn't run properly on my old version of Blender (early 2008) so I had to upgrade. And it took me a while to find the script in the scripts->objects sub menu, so mentioning that in the posts might save someone else some hunting.

What version of blender had the problem? I'll also try to be more clear about the location of the script.
]]>loonsbury2009-04-10T03:01:50-00:00Re: Blender Pricing Scripthttp://www.shapeways.com/forum/index.php?t=rview&goto=3877&th=778#msg_3877
For example, my model's volume reads 804 cm3 in "cm" mode, 804245 cm3 in "mm" mode and 0.0 cm3 in "m" mode. The pricing is similarly $0 in "m" mode! Now that's a price I wouldn't be able to resist for a meter big model!

Sorry, don't know what went wrong, but I recreated it and uploaded again, hope this one works.]]>loonsbury2009-04-23T18:18:55-00:00Re: Blender Pricing Scripthttp://www.shapeways.com/forum/index.php?t=rview&goto=4025&th=778#msg_4025
Can you just post a vanilla file without zipping?

Cheers

John Gomm]]>johngomm2009-04-23T19:04:48-00:00Re: Blender Pricing Scripthttp://www.shapeways.com/forum/index.php?t=rview&goto=4026&th=778#msg_4026
loonsbury2009-04-23T19:07:37-00:00Re: Blender Pricing Scripthttp://www.shapeways.com/forum/index.php?t=rview&goto=4027&th=778#msg_4027
My display is a bit small to best use the new window layout, so I need to minimize the information section etc to see the last panel, but I realize that this is an altruistic project and you are not going to endlessly rewrite it to respond to cosmetic comments.

Thanks. The pricing results work as expected on my system now. Yay!
My display is a bit small to best use the new window layout, so I need to minimize the information section etc to see the last panel, but I realize that this is an altruistic project and you are not going to endlessly rewrite it to respond to cosmetic comments.

It's a little easier to reformat in its current form - but the information section is minimized by default after the first time you run it. I've been debating how best to make it smaller overall, maybe just cram the lines closer together.]]>loonsbury2009-04-23T19:50:08-00:00Re: Blender Pricing Scripthttp://www.shapeways.com/forum/index.php?t=rview&goto=4125&th=778#msg_4125
loonsbury2009-04-28T14:01:33-00:00Re: Blender Pricing Scripthttp://www.shapeways.com/forum/index.php?t=rview&goto=4134&th=778#msg_4134
to ¤ and £ would be usefull]]>oblenob2009-04-28T20:13:05-00:00Re: Blender Pricing Scripthttp://www.shapeways.com/forum/index.php?t=rview&goto=4135&th=778#msg_4135

oblenob wrote on Tue, 28 April 2009 20:13

would a builtin currency converter be a lot to ask for?

to ¤ and £ would be usefull

I'd like to, but with shifting values you'd practically have to put in the conversion rate every time anyway, may as well use a calculator imho.

I may just be dense in this regard, not generally needing to convert currency for myself; is my logic off?]]>loonsbury2009-04-28T20:19:13-00:00Re: Blender Pricing Scripthttp://www.shapeways.com/forum/index.php?t=rview&goto=4144&th=778#msg_4144
Just my two cents on an already very useful app]]>johngomm2009-04-28T23:05:33-00:00Re: Blender Pricing Scripthttp://www.shapeways.com/forum/index.php?t=rview&goto=5048&th=778#msg_5048
i am German and i have a german installation of Windows Vista. Does anybody in which directory do i have to put the script?
I tried to locate the C:\Users\username\AppData\Roaming\Blender Foundation\Blender
in the german windows version i manage to get to
C:\Users\username\ ...
then i dont know where to ...
any other german users which know where to put that *.py file?
Thanks
Heiner
]]>Heiner22009-06-27T17:47:46-00:00Re: Blender Pricing Scripthttp://www.shapeways.com/forum/index.php?t=rview&goto=5052&th=778#msg_5052
I suspect your problem is that when you get to the C:\Users\username directory, you cannot see the AppData directory?

If that is the problem you are having, it is because the AppData directory is a hidden system directory that is not normally shown by File Explorer.
There are two solutions, you could change the view properties to display hidden and system files.
Or you could simply type C:\Users\username\AppData into the address bar of File Manager.
You would then be able to see the remaining directory choices of 'Roaming' -> 'Blender Foundation' -> 'Blender'.

I hope that helps.

Regards,
Ian.]]>iguffick2009-06-27T20:07:55-00:00Re: Blender Pricing Scripthttp://www.shapeways.com/forum/index.php?t=rview&goto=5057&th=778#msg_5057
Again
Thanks
Heiner]]>Heiner22009-06-28T16:40:44-00:00Re: Blender Pricing Scripthttp://www.shapeways.com/forum/index.php?t=rview&goto=5629&th=778#msg_5629
When I finally figured out where to put it on my Apple OS10.5,
it worked instantly,
without restarts or nothing...
thanks so much for the manifold check!!!

]]>Yeahvle2009-08-02T10:20:17-00:00Re: Blender Pricing Scripthttp://www.shapeways.com/forum/index.php?t=rview&goto=6117&th=778#msg_6117
loonsbury2009-08-28T17:34:53-00:00Re: Blender Pricing Scripthttp://www.shapeways.com/forum/index.php?t=rview&goto=7165&th=778#msg_7165
I've been using your script for some time now and it is G.R.E.A.T.!

I just thought of something while reading this thread..
Would it be a lot of work to include density/weight as a separate section?
If you enter an estimate density for each material you could calculate the weight for each object.

Oh.. and since the latest update (1.5$ startup on WSF) I've had a minor issue;
when I start the script for the first time (during a Blender session) the black detail AND WSF buttons are both selected.
Any files I can clean/modify to fix that issue?]]>Tommy_2Tall2009-10-08T09:04:22-00:00Re: Blender Pricing Scripthttp://www.shapeways.com/forum/index.php?t=rview&goto=7637&th=778#msg_7637

Tommy_2Tall wrote on Thu, 08 October 2009 09:04

Would it be a lot of work to include density/weight as a separate section?
If you enter an estimate density for each material you could calculate the weight for each object.

I considered this, just wasn't worth the effort at the time. I'll probably put it in the next vers.

Tommy_2Tall wrote on Thu, 08 October 2009 09:04

the black detail AND WSF buttons are both selected.
Any files I can clean/modify to fix that issue?

No, I got sloppy when writing the updated arrays/registry entries. I'll fix it someday soon.]]>loonsbury2009-11-06T13:55:42-00:00Re: Blender Pricing Scripthttp://www.shapeways.com/forum/index.php?t=rview&goto=8708&th=778#msg_8708
I've contacted Loonsbury and (with his blessing) have been working on integrating my Wall Thickness script into the framework of his excellent Volume/Cost/Manifold script. I'm calling the merged script "Shapeways Tools" for now, and am still working out the bugs in the Wall Thickness portion of the script, but I have in the meanwhile fixed the registry issues and cleaned things up a bit from where Loonsbury left it - as he says, there are clear signs of someone who was done with this for now, and didn't quite finish polishing it before he went home.

I hope to be able to post the updated script within a matter of a couple of weeks, and turn the community loose on it at that point.

If anyone wants to either experiment and/or go looking at MSDSes and so forth for the material densities, then I could easily add in a Mass output together with the volume display, while I'm in there working with it. Just PM me the numbers, and please let me know whether you got those from literature or experimentally. It's not something that I'd care about much for my own work, but I can see how it would be a valuable addition to the program for some.]]>EricFinley2010-01-03T21:06:00-00:00Re: Blender Pricing Scripthttp://www.shapeways.com/forum/index.php?t=rview&goto=8791&th=778#msg_8791
this link. Enjoy!]]>EricFinley2010-01-08T03:58:25-00:00Re: Blender Pricing Scripthttp://www.shapeways.com/forum/index.php?t=rview&goto=60006&th=778#msg_60006
File "/shapeways_volume.py", line 127
print "Error loading registry data; likely due to new version, updating registry entry."
SyntaxError: invalid syntax
location:<unknown location>:-1
Python script fail, look in the console for now...

This is when I open the script in the text editor and run it just on the default blender cube. Would really appreciate any ideas for how to get this to work! Perhaps I need to run it on a different version of Blender, or tweak some setting? Thanks in advance for your help, and for building this!]]>bschlagel2013-01-11T03:39:05-00:00Re: Blender Pricing Scripthttp://www.shapeways.com/forum/index.php?t=rview&goto=71943&th=778#msg_71943
(need confirmation).]]>mavern20132013-07-22T06:48:00-00:00Re: Blender Pricing Scripthttp://www.shapeways.com/forum/index.php?t=rview&goto=72481&th=778#msg_72481
]]>bartv2013-08-01T11:50:03-00:00