Wings 3D Development Forum
Volume & Area Tool [SOLVED] - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Bug Reports (https://www.wings3d.com/forum/forumdisplay.php?fid=12)
+--- Thread: Volume & Area Tool [SOLVED] (/showthread.php?tid=58)



Volume & Area Tool [SOLVED] - optigon - 11-25-2012

Is it just the master or is the volume & area tool broken?
I'm not getting results I would expect.


RE: Volume & Area Tool - optigon - 11-25-2012

Micheus, is this fixed?
I noticed you addressed this in the old forum.


RE: Volume & Area Tool - ggaliens - 11-25-2012

Optigon ... I have patched this up locally. Can't recall if I did a GITHUB push or not.

As I recall ... the problem was not with the calculations so much as the io tools used to do the reporting.

This is from my wings.erl file in function get_object_info.


Code:
ToString = fun(Item) ->
    case Item of
        Item when is_float(Item) ->
        lists:flatten(hd(io_lib:format("~.4f", [Item])));
        Item when is_integer(Item) ->
        integer_to_list(Item);
        Item when is_list(Item) ->
        Item
    end
    end,



RE: Volume & Area Tool - Fonte Boa - 11-25-2012

Here it seems to be working. At picture three cubes, two of them scaled uniform to -100% and less, via TAB key. Those ones with negative volume are indicated at that window. There isnt a command to select objects by negative volume.

[Image: wingsvolume.jpg]

Uploaded with ImageShack.us


RE: Volume & Area Tool - micheus - 11-27-2012

(11-25-2012, 03:22 PM)optigon Wrote: Micheus, is this fixed?
I noticed you addressed this in the old forum.
Yeah. I supposedly fixed it. Smile


RE: Volume & Area Tool - optigon - 11-27-2012

(11-27-2012, 04:41 PM)micheus Wrote:
(11-25-2012, 03:22 PM)optigon Wrote: Micheus, is this fixed?
I noticed you addressed this in the old forum.
Yeah. I supposedly fixed it. Smile

Was it added to the master?


RE: Volume & Area Tool - micheus - 11-27-2012

It's one of my pull requests (Some new bug fixes for wings 1.4.1) - still not approved by dgud.


RE: Volume & Area Tool - optigon - 11-27-2012

(11-27-2012, 04:58 PM)micheus Wrote: It's one of my pull requests (Some new bug fixes for wings 1.4.1) - still not approved by dgud.

I'll take a look and see if I can recommend this to Dan.