hexagon logo

Is it possible to mesh an imported 2D geometry which only contains primitives (lines+circles)?

I have successfully imported an .igs file, which contains a 2D section of a motor. Is it possible somehow to mesh the geometry in 2D? Which file type do you use for 2D geometries?

Attached Files (1)
  • It's not possible to create a 2D mesh directly from those curves; you'll have to create surfaces first. In your model it was fairly easy to do this using a combination of the Filler tool and the Split Surfaces tool:
    ScreenShot1920
    There is a bit of a complication in that currently all your curves exist in separate Parts in the model, and the Filler tool will only work with curves that are in the same Part. This means you have to do a bit of preparation first and for each Filler operation move the required curves into a single Part. I used three Parts, as you can see from the different colours in the picture above.
  • Dear @Darrel Sinclair​ Darrel Sinclair,
    Thank You for your reply, and time for posting the solution and answering the question! May I have another question, What is the easiest way to move the primitive curves into a single part? So far I can only do it on the model browser by selecting each primitives individually and dragging to a common part. Or another method to get surfaces: I can make a single part by projecting (sketching tools) the lines.
     
    edit: the first method doesn't work. Although I moved primitives in a newly created part, the filler doesn't want to work? what am I missing?
  • Thanks for reminding me about the Project option - that works quite well too.
     
    For moving the curves into single part, you should be able to select them by dragging a box around them in the canvas and that will also select them in the model browser:
    snip1
    After moving into a single Part there is still the problem that the curves aren't actually connected to each other. This means that the Filler tool won't see them as a continuous loop, so you have to use the manual option in Filler: either hold Ctrl and pick all of the curves individually, or switch off the lightning bolt icon and select the curves, then activate with MMB.
  • OK it's working, but the selection order of the elements are tricky! If you selecting it wrong order then it won't create the surface. Thanks for helping me out again @Darrel Sinclair​ !
  • Image_of_overlapping_surfaces
    I apologize for disturbing You so much @Darrel Sinclair​ !
    But could you describe me, how did you get the stator part's surface? It is the surface between the outer circle and the closest lines.
    I can get a surface from the outer circle, and one from the inner geometry. But these are overlapping, and for both the inner region is surfaced.
    I thought I can split the cyan surface by curves or by surface but not! When splitting surfaces, it selects faces, not the whole surface!?
  • No apology needed! You should be able to split the cyan surface with the edges of the red surface. When you say it's only picking faces, do you mean you're getting this?
    ScreenShot1922
    If so, the surface is already split and all you need to do is delete the two overlapping faces on the inside. Does that work for you?
  • Thank You! I see what was the problem, I had to click RMB to turn on surface selecting option, now I could individually select the surfaces. So far I tried looking in the model browser, and was curious why there isn't a split surface part in the model browser. Thank You again!