Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

Boolean Intersect with MESH

john_mcclaryjohn_mcclary Member, Developers Posts: 3,934 PRO
The end game is to convert a MESH into a solid.

By using a boolean intersect to create a part, that should let us pick and choose pieces or sections of a mesh to convert.
Rather than having it attempt to convert an entire mesh.
Also that would allow us to purposefully ignore some parts of a mesh that we know are too complex to convert. (Self intersection errors from a bad scan for example)

This is lieu of manually creating sketches and tracing / extruding from a mesh, for a more streamlined workflow.
Tagged:

Comments

  • lougallolougallo Member, Moderator, Onshape Employees, Developers, csevp Posts: 2,005
    @john_mcclary We do this today in FeatureScript but not in our current boolean. Boolean of a solid and a mesh becomes a mesh.  Would this work?
    Lou Gallo / PD/UX - Support - Community / Onshape, Inc.
  • john_mcclaryjohn_mcclary Member, Developers Posts: 3,934 PRO
    Im in vegas and too drunck to understand, ill see in a week
  • tim_hess427tim_hess427 Member Posts: 648 ✭✭✭✭
    @lougallo - What you mention may work for a project I'm working on, but I don't see anything that looks like what you describe here: https://www.onshape.com/features/custom-features

    Is this mesh-capable boolean public somewhere? 

    Thanks. 
  • owen_sparksowen_sparks Member, Developers Posts: 2,660 PRO
    @lougallo
    When has Onshape supported booleaning of meshes since?
    WHAT NOW???!!!
    Business Systems and Configuration Controller
    HWM-Water Ltd
  • S1monS1mon Member Posts: 2,933 PRO
    I tried the Boolean Featurescript. Is there any way to adjust the mesh density of the non-mesh objects? I subtracted a normal OnShape cylinder from a mesh (an imported .STL of a mechanical part). The cylinder has 16 facets on the curved part, and I can't find a way to increase the resolution.

  • jon_sorrellsjon_sorrells Onshape Employees Posts: 51
    When has Onshape supported booleaning of meshes since?
    Release 1.87
    S1mon said:
    Is there any way to adjust the mesh density of the non-mesh objects?
    No, there's currently no way to adjust that.
  • Kirbyfire73Kirbyfire73 Member Posts: 4
    Can you make a tutorial for this? I am a high school student so I don't really understand this.
  • tsimon57tsimon57 Member Posts: 2 ✭✭
    MBartlett21   Wow your FeatureScript totally solved my problem. I was trying to do booleans in Meshmixer and they always came out ragged. Your FearureScript keeps the original shapes and let me merge an STL with OnShape additions! Thanks a million!

  • colin_durranscolin_durrans Member Posts: 1
    The Boolean Script is AWESOME, just getting going using it to tweak a Pi Zero Camera Case I found over on Thingiverse.

    New to OnShape, it took me a moment to understand how to importand use the custom feature. Thanks @MBartlett21 for sharing this.

    I've used Inscribed Polygon in sketch, as an alternative to circle, to control the facets on the hole I'm cutting - the example below with 64 sides. It's easy to tweak the Inscibed Polygon to tweak the facets you need - the solution jumped out at me from the image @S1mon posted :)


    The old part for reference... next step: easy champers or radii B)




  • brunono553brunono553 Member Posts: 13 ✭✭
    Thank you SOOO much @MBartlett21 ! You saved my life today !


  • GWS50GWS50 Member Posts: 418 PRO
    Thank you SOOO much @MBartlett21 ! You saved my life today !


    Agreed this is just a fantastic feature script, thank you thank you
  • fedariofedario Member Posts: 2
    Thank you @MBartlett21 your script is pure awesomeness, many thanks
  • mithkrmithkr Member Posts: 2
    Thank you @MBartlett21 for your script. Would it be possible in future to increase the resolution for curves, when boolean mesh with solid? Maybe the export settings for STL files could be used to define the resolution. Currently I need to workaround the low resolution by exporting the solid, which I want to bool with a mesh, as STL file. Than I import the STL file as mesh to use it with your FS to boolean the mesh with the reimported mesh to have high resolution facets for any kind of curve. Or maybe your script could do this solid to mesh conversion in place in case a mesh should be boolean with a solid.
Sign In or Register to comment.