boolean OBJ

AdemnusAdemnus Posts: 744
edited December 1969 in Hexagon Discussion

whenever I make even a simple object with a boolean cut and export to OBJ, hex crashes.

Any hints?

Comments

  • SzarkSzark Posts: 10,634
    edited December 1969

    Sorry don't use Hexagon but I do know never to use Booleans for export...ever. :)

  • RedSquareRedSquare Posts: 0
    edited December 1969

    Boolean's are the spawn of the devil. ;-)

  • WendyLuvsCatzWendyLuvsCatz Posts: 37,663
    edited December 1969

    select all and triagulate ngons I guess
    (I do not model in Hexagon though I want to learn oneday)
    that is how I fix mesh in Carrara or from Google Sketchup.

  • TapiocaTundraTapiocaTundra Posts: 268
    edited December 1969

    Hexagon has one of the most comprehensive boolean tool sets of all the software I have used, but if it is used carelessly it will likely give poor results.
    Just because the mesh may look ok after a cut or union etc does not mean that it is, or that your job of creating a good mesh is finished , so some things that might lead to a successful final result would be to check for duplicate points by merging, look for the number of points change in the properties panel when applying this command. Also intelligent use of the tessellation tools may be required.
    As wendy says the triangulate ngons tool will also help but I find it is mostly good for flat faces and sometimes will cause problems in other software, particularly Daz studio.
    Consider separating your object into multiple parts, it will certainly help.
    It may be an idea to collapse any dynamic geometry.
    A boolean approach may not be the suitable way to go.
    Boolean work in Hexagon can produce excellent results with a little care and thought although experience in this case is valuable so try to take time and experiment.

  • cdordonicdordoni Posts: 583
    edited December 1969

    Sometimes using Dynamic Geometry can cause problems with exporting booleans.

    Try collapsing the DG on the object you want to export. I am not sure why that should make a difference but occassionally it does.

  • Design AcrobatDesign Acrobat Posts: 459
    edited December 1969

    cdordoni said:
    Sometimes using Dynamic Geometry can cause problems with exporting booleans.

    Try collapsing the DG on the object you want to export. I am not sure why that should make a difference but occassionally it does.

    It's a documented bug and yes that's the correct solution.

  • SzarkSzark Posts: 10,634
    edited December 1969

    Very cool info thanks for that insight. Why is there a concenus out there that boolean's are crap if it works well? I really would like to know if you have the time.

  • Design AcrobatDesign Acrobat Posts: 459
    edited December 1969

    Because Booleans often leave N-GONS, which are difficult to manage in UVs, texturing, importing into other applications.

    They often leave duplicate points for which there is not a good way to deal with unless you have a utility or software like that in Lightwave, Maya etc. that can detect and fix them.

    They are generally good for small things imo, but when modeling complex objects or organic objects - not so good.

    Booleans sometimes will flip normals in the strangest places and you won't know what happened until you try to UV and texture.

    There are other things, but popcorn is calling my name - more like a scream actually. :)

  • cdordonicdordoni Posts: 583
    edited December 1969

    I have had good results using netfabb basic (free) to repair objects that become modeling dead ends. After I fix them in netfabb, I bring them back into Hexagon and do more booleans to them, until they break again.

    I am only concerned with triangulated output however, so if you need quads using nefabb alone won't help. Meshlab (also free) can convert tris to quads but unfortunately won't convert ALL tris to quads.

    The other issue is these utilities would only be useful on a non-UV mapped model. Once you export and repair them in one of these apps, you will lose any work you have done with UVs.

    I have heard of some apps like atangeo balancer http://atangeo.com/ that can maintain UVs while doing repair or decimation on the geometry, but I don't have any experience with those to mention how well they work.

  • RoygeeRoygee Posts: 2,247
    edited December 1969

    Booleans are basically shortcuts to something you could model, so where possible, rather model. You can do the shortcut and spend time fixing, or take time in the first place to do it right:)

    Used correctly, with matching edges etc., they do work well - one application in Hex where they work outstandingly well is in making complex polylines from simple shapes.

    Thanks for the heads-up on netfab - must give that a try.

    Interesting what you say about Meshlab converting tri's to quads - it has several algorithms for doing this, but I have never gotten it to work - any chance of you giving a walk-through on how you do it?

    Blender is the only free application I have found that can convert tris to quads efficiently, but will usually leave a few tris to fix manually.

    boolean.jpg
    800 x 807 - 39K
  • SzarkSzark Posts: 10,634
    edited December 1969

    Thanks Design Acrobat, cdordoni and Roygee. I think i will stick to not using booleans at all. :)

  • RoygeeRoygee Posts: 2,247
    edited December 1969

    Oh, I'm not saying don't use it at all - that would be limiting your modeling repertoire:)

    This function certainly has its uses, but like any other function, just be aware of when it is best used, when not and the limitations.

  • cdordonicdordoni Posts: 583
    edited December 1969

    Roygee said:
    Interesting what you say about Meshlab converting tri's to quads - it has several algorithms for doing this, but I have never gotten it to work - any chance of you giving a walk-through on how you do it?

    Blender is the only free application I have found that can convert tris to quads efficiently, but will usually leave a few tris to fix manually.

    Yeah, honestly I can't remember which tris to quads algorithm worked the best since, I rarely used it. I would have to go back and try it again when I have some free time.

    But Meshlab is just a pain to work with in general. I have an 8 year old version of Geomagic, which even though its still 32bit, is way better than Meshlab for most things. I was hoping to use Meshlab to replace it, since I have to run Geomagic in virtualized WinXP on my Win7 OS, but I can't seem to get away from it. If I had an extra $3000, I would upgrade the Geomagic license.

    But its good to hear Blender can accomplish this as well. I am going to have to learn that app since its useful in so many areas.

  • SzarkSzark Posts: 10,634
    edited December 1969

    Roygee said:
    Oh, I'm not saying don't use it at all - that would be limiting your modeling repertoire:)

    This function certainly has its uses, but like any other function, just be aware of when it is best used, when not and the limitations.

    Yeah cheers I got that, thanks for making sure I did. :)
  • RoygeeRoygee Posts: 2,247
    edited December 1969

    Yes, Meshlab is seriously geeky - I have no clue what 90% of its functions are for, but it does do a really great polymesh reduction job.

    I'm afraid that Blender is becoming pretty much inescapable for hobbyists who can't justify the expense of high-end apps, so I'm learning it bit-by-bit. Pretty much uphill, but getting there:)

  • Area54Area54 Posts: 10
    edited December 1969

    Ok, I am no pro with hexagon, but I know enough to be dangerous. I learned this trick from a geek at play tutorial. Hopefully it will help. If the surface you boolean cut becomes triangulated you can select the angles you want to get rid of and then hit backspace. You will get a pop-up asking if you want to dissolve vertices. Select "stray only" and it will delete the selected lines. It's not perfect but it does help a lot. Used to have Hex crash a lot when I sent boolean cut objects to Studio, but it hasn't happened once since I started using this.

Sign In or Register to comment.