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.

split surface of a body; add the option to keep face for remove face "leave it open"

Otaola_FrancoOtaola_Franco Member Posts: 86 EDU
as what i was looking is to separate a face of a body (and keep the other surfaces), i would love to have this feature added maybe to the remove face, as it needs to create a copy before removing the original one, for the moment i am doing exactly this , i copy the faces i want to separate surface and after this i delete thel from the body obtaining the other surfaces (i am looking for this for easier boundary conditions for CFD).
the issue with this is that when copying surfaces, with offset surface (0mm offset) if the two surfaces are touching, then onshape will fuse the two faces.

Comments

  • lougallolougallo Member, Moderator, Onshape Employees, Developers Posts: 1,813
    @Otaola_Franco Do you have an example?  Delete face has this option today but a pictures would be best.
    Lou Gallo / PD/UX - Support - Community / Onshape, Inc.
  • Otaola_FrancoOtaola_Franco Member Posts: 86 EDU
    edited April 24
    lougallo said:
    @Otaola_Franco Do you have an example?  Delete face has this option today but a pictures would be best.
    dear lougallo,  for the example i created this file:https://cad.onshape.com/documents/f10474a542f6f6f048d5f8f4/w/73406cb95f53ef484b3bbded/e/4413a347487b86cdc22c8c66
    i it is a simplified example, here i created a body ( a quarter of cylinder) and after that i used offset face at 0cm (3 times) to have the original body, and 4 extra surfaces (the top and down of the quarter can be in the same feature, and other two for each plane face) and after that, I delete the same faces in the body (with deleate face, with the leave open option). 
    my result is the same body that i am 100% that is watertight and separate in all the faces, I am doing this at least for the moment, as when importing the STL file for the CFD modeling I am having issues to separate the boundaries (normally they use min/max angle detection between faces) but for more complex geometries it is not working propertly (I insist i am learning so, maybe there are other ways to do this...)
    thanks a lot for the quick answer!
  • john_mcclaryjohn_mcclary Member, Developers Posts: 2,855 PRO
    You want to shell or explode faces of a soild into surfaces that are not knit together.
    I bet this could be done with featurescript
  • lougallolougallo Member, Moderator, Onshape Employees, Developers Posts: 1,813
    So you want to be able to pick a solid and convert it to a surface model that is watertight?  But not make it a solid, correct?
    Lou Gallo / PD/UX - Support - Community / Onshape, Inc.
  • Otaola_FrancoOtaola_Franco Member Posts: 86 EDU
    lougallo said:
    So you want to be able to pick a solid and convert it to a surface model that is watertight?  But not make it a solid, correct?
    hello lougallo, and I tag @NeilCooke at the same time as he answered me in another discussion so it would be easier, I have found exactly my issue and i think is a little bit too outside of the onshape tools, I am going to go in a little bit of detail of why I am looking for doing this,
    I am working with OpenFOAM, it is a CFD free software, and creating my models in Onshape to use for the simulations.
    when I was working with Star CCM+ (another CFD software but in this case a commercial one) it was easy to set the boundaries of the simulations, the workflow was quite easy as I exported the model in.STEP format and in star CCM+ I could set the boundaries easily by selecting the faces I wanted (the inlet, outlet of the model, etc).
    when I begin working with openFOAM I found that this is not possible to do it directly. OF works only with .stl models, so there are three main workflows to do:
    1. use one stl file (that contains all the surfaces) this is going to be watertight, and then separate the faces by feature angle, sadly this is not appliable to my models as it would create too many extra boundaries that in reality are the same one.
    2. use post-processing tools to detect the faces by eliminating other parts of the model (this is what I am using for the moment) this use one stl model only
    3. divide the stl file in different files with each one having the faces for each corresponding boundary. (what I was trying to achieve with onshape at this moment) . The issue is that when we export the "divided" surfaces, they do not share anymore the same points in the edges of the mesh, so after we reconstruct the same model it risk that it is not watertight anymore (even if before the exportation I would select the same faces in onshape and use enclosure feature and verify that it is watertight). obviously this method would be easier and more reliable as i could see everything from the onshape environment. what i found after a research in the subject is that in the software that this is possible to do, there is the option of meshing the solid in the same software before exportation (that is why i think it is a little bit too much "outside" of the onshape tools) for example, in blender or salome this could be done, where you take the solid, you mesh it, and after meshing it you export the model in a "exploted" files. I am sorry about bothering you guys as i think is a little bit too much out of the scoop of onshape to be done. but i was looking to be able to do it before i learned half of the things i have just point (sorry).
    for the moment the solution i found is to export the model in a STEP model and do this process in salome.
    best regards, franco.
Sign In or Register to comment.